"Since 2014, our software can simulate about one percent of the neurons in the human brain with all their connections", stated Markus Diesmann, Director at the Jülich Institute of Neuroscience and Medicine (INM-6). In order to achieve this impressive feat, the software requires the entire main memory of petascale supercomputers, such as the K computer in Kobe and JUQUEEN in Jülich. Markus Diesmann has been working for more than twenty years on the simulation software NEST - a free, open-source simulation code in widespread use by the neuroscientific community and a core simulator of the European Human Brain Project (HBP).
With NEST, the behaviour of each neuron in the network is represented by a handful of mathematical equations. In HBP, Markus Diesmann leads projects in the areas of Theoretical Neuroscience and on the High-Performance Analytics and Computing Platform. Future exascale computers, such as the post-K computer planned in Kobe and JUWELS in Jülich, will exceed the performance of today's high-end supercomputers by a ten- to a hundredfold. For the first time, researchers will have the compute power available to simulate neuronal networks on the scale of the human brain.
While current simulation technology enabled researchers to begin studying large neuronal networks, it also represented a dead end on the way to exascale technology. Supercomputers are composed of about a hundred thousand small computers, called nodes, each equipped with a number of processors doing the actual calculations. "Before a neuronal network simulation can take place, neurons and their connections need to be created virtually, which means that they need to be instantiated in the memory of the nodes. During the simulation a neuron does not know on which of the nodes it has target neurons, therefore, its short electric pulses, need to be sent to all nodes. Each node then checks which of all these electric pulses are relevant for the virtual neurons that exist on this node", stated Susanne Kunkel of KTH Royal Institute of Technology in Stockholm.
The current algorithm for network creation is efficient because all nodes construct their particular part of the network at the same time. However sending all electric pulses to all nodes is not suitable for simulations on exascale systems. "Checking the relevance of each electric pulse efficiently requires one Bit of information per processor for every neuron in the whole network. For a network of 1 billion neurons a large part of the memory in each node is consumed by just this single Bit of information per neuron", added Markus Diesmann.
This is the main problem when simulating even larger networks: the amount of computer memory required per processor for the extra Bits per neuron increases with the size of the neuronal network. At the scale of the human brain, this would require the memory available to each processor to be one hundred times larger than in today's supercomputers. This, however, is unlikely to be the case in the next generation of supercomputers. The number of processors per compute node will increase but the memory per processor and the number of compute nodes will rather stay the same.
The breakthrough reported in a recent publication is a new way of constructing the neuronal network in the supercomputer. Due to the algorithms, the memory required on each node no longer increases with network size. At the beginning of the simulation, the new technology allows the nodes to exchange information about who needs to send neuronal activity data to whom. Once this knowledge is available, the exchange of neuronal activity data between nodes can be organized such that a node only receives the information it requires. An additional Bit for each neuron in the network is no longer necessary.
While testing their new ideas, the scientists made an additional key insight, reported Susanne Kunkel: "When analyzing the new algorithms we realized that our novel technology would not only enable simulations on exascale systems but it would also make simulations faster on presently available supercomputers." In fact, as the memory consumption is now under control, the speed of simulations becomes the main focus of further technological developments. For example, a large simulation of 0.52 billion neurons connected by 5.8 trillion synapses running on the supercomputer JUQUEEN in Jülich previously required 28.5 minutes to compute one second of biological time. With the improved data structures simulation time is reduced to 5.2 minutes.
"With the new technology we can exploit the increased parallelism of modern microprocessors a lot better than previously, which will become even more important in exascale computers", remarked Jakob Jordan, lead author of the study, at Forschungszentrum Jülich. "The combination of exascale hardware and appropriate software brings investigations of fundamental aspects of brain function, like plasticity and learning unfolding over minutes of biological time within our reach", added Markus Diesmann.
With one of the next releases of the simulation software NEST, the researchers will make their achievement freely available to the community as open source.
"We have been using NEST for simulating the complex dynamics of the basal ganglia circuits in health and Parkinson's disease on the K computer. We are excited to hear the news about the new generation of NEST, which will allow us to run whole-brain-scale simulations on the post-K computer to clarify the neural mechanisms of motor control and mental functions", stated Kenji Doya of Okinawa Institute of Science and Technology (OIST).
"The study is a wonderful example of the international collaboration in the endeavor to construct exascale computers. It is important that we have applications ready that can use these precious machines from the first day they are available", concluded Mitsuhisa Sato of the RIKEN Advanced Institute for Computer Science in Kobe.
Jakob Jordan, Tammo Ippen, Moritz Helias, Itaru Kitayama, Mitsuhisa Sato, Jun Igarashi, Markus Diesmann and Susanne Kunkel are the authors of the paper titled " Extremely Scalable Spiking Neuronal Network Simulation Code: From Laptops to Exascale Computers ". The paper has been published inFrontiers in Neuroinformatics, 16 February 2018.
At Jülich the work is supported by the Simulation Laboratory Neuroscience, a facility of the Bernstein Network Computational Neuroscience. Partial funding comes from the European Union Seventh Framework Programme under grant agreement no. 604102 - Human Brain Project (HBP) - and the European Union's Horizon 2020 research and innovation programme under grant agreement no. 720270 (HBP SGA1) and the Exploratory Challenge on Post-K Computer - Understanding the neural mechanisms of thoughts and its applications to AI - of the Ministry of Education, Culture, Sports, Science and Technology (MEXT) Japan. With their joint project between Japan and Europe the researchers hope to contribute to the formation of an International Brain Initiative (IBI).