Abstract
In computational neuroscience the transmission of electrical signals of neurons is normally simulated by means of point process neurons, which mainly reflect the scale in time, or the classical cable equation which additionally introduces one space dimension. Here we present a fully resolved electrical model based on Gauss’ law and the conservation of charges which considers all space dimensions and is capable to simulate the extracellular and intracellular potential. For these simulations three dimensional volume meshes are required and due to the inherent complexity of the neuronal structure, these 3D-reconstructions yield large data-sets and need efficient solving strategies. The UG4-simulation framework is a powerful software for the solution of partial differential equations on unstructured grids in one, two and three space dimensions and with its efficient, parallel solvers is well suited for this task. Computations of the 3D-cable equation on a simple geometry and on a three-dimensionally reconstructed neuron were performed on the Hazel Hen supercomputer, testing for weak scalability.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
The human brain consists of \(\approx 8.6 \cdot 10^{10}\) neuronal cells and modeling neuronal signal transmission in large networks of neurons has become extremely important recently. The electrical signal is often described by means of point process simulations, which describes neuronal activity by ordinary partial differential equations, i.e. only the change of the membrane potential in time is considered. The traditional cable equation describes the electrical signal by means of a partial differential equation, which considers the changes in the membrane potential in time and in one space dimension. The underlying assumption states that current of the core conductor flows parallel to the cylinder axis along the x-axis, neglecting the other space dimensions.
An electrical model considering all three space dimensions was first introduced by [1]. The three dimensional cable equation can be derived from Gauss’ law, which states: \(\nabla \cdot \vec {E} = \frac{\rho }{\epsilon _0}\) and conservation of charge: \(\nabla \cdot \vec {J} = - \frac{\partial \rho }{\partial t}\). Since we assume static magnetic fields, the electric field can be expressed as the gradient of the potential: \(\vec {E} = - \mathbf {\nabla } \varPhi \). The membrane potential is defined as the potential difference between the intra- and extracellular space: \(V_m = \varPhi _{in} - \varPhi _{out}\). Thus a three dimensional model of the cable equation can be described by the following system of PDEs:
\(\sigma _{in}\) and \(\sigma _{out}\) describe the conductivity in the intracellular and extracellular medium. The membrane currents are composed of an input current and Hodgkin Huxley currents [2]:
where
where \(i = \{n, m, h\}\). The result of \(\frac{di}{dt} = \frac{i_\infty - i(t)}{\tau _i}\) is computed in such a way that it is used as right hand side in \(\frac{di}{dt} = f\), which will make the solution of that ODE with the explicit Euler method the analytical solution for one time step with constant \(V_m\):
Since neurons have a complex three dimensional geometry resulting in a huge number of degrees of freedom (DoF) efficient solving strategies are necessary. Weak scaling was tested for an AMG-GMG hybrid solver setup on a relatively simple geometry.
2 Neuronal Reconstructions for Simulations and Geometries
The database neuromorpho.org gives free access to a wide range of experimentally reconstructed neurons in terms of swc files [3], which contain coordinate and diameter information. Since neuronal reconstructions often display errors, such as neurite-neurite intersections or sharp curves, with regard to 3D-reconstructions, corrections were performed interactively in ProMesh [4]. To solve the partial differential equations on a suitable domain a water-tight surface mesh was created from a layer 3 pyramidal cell from primary rat motor cortex (M1) [5] downloaded from Neuromorpho.org using AnaMorph [6] in a first step. This tool ensures that the aspect ratio is close to 1 which is necessary in Finite Volume discretization. Subsequently, a subset for the outer space was created in and tetrahedrization was realized with ProMesh [4, 7] (see Fig. 1). As this results in quite complex geometries with a total of 3.915.236 DOFs (increasing with an increase in refinements) for the described problem, a minimal test geometry, replacing the neuronal geometry with a simple cube (see Fig. 1 right), was built with ProMesh to investigate weak scaling for this model.
3 Simulation Setup
UG4 is a simulation environment designed to efficiently solve partial differential equations on unstructured grids, with a strong focus on high performance computing. It provides a great variety of numerical solvers. For computation of the system of equations (1–2), the domain of the cube was distributed to 6–3072 cores on Hazel Hen. A well-balanced distribution of the neuronal surface components (\(\varGamma \)) was ensured by the ParMetis library, which becomes especially important when calculating on the complex structure of neurons. The change of the membrane potential in time was investigated for 10 ms, with a 5–6 ms long stimulus of 900 \(\frac{\text {C}}{\text {mV } \text {ms } \mu \text {m}^2}\).
The system of PDEs was solved with a geometric multigrid (GMG) with a Gauss Seidel preconditioner. GMG convergence was strongly increased with an increasing number of pre- and post-smoothing steps (optimal = 80). An algebraic multigrid (AMG), with Gauss Seidel smoother, was chosen as base solver for the GMG. As base solver for the AMG SuperLU [8] was selected.
4 Results
As shown in Fig. 2 an action potential can be observed on the cube membrane (\(\varPhi _{in}\)). The extracellular signal (\(\varPhi _{out}\)) displays the same behavior as in neuron morphologies, but is much smaller (minimal amplitude in neuron: \(\approx \)-0.03 mV; minimal amplitude in cube: −4.8\(\cdot \) 10\(^{-5}\) mV). Thus it can be assumed that the morphology has an influence on the characteristics and size of the extracellular potential.
It has been shown in the past, that the GMG implemented in UG4 shows good weak scalability [4] and as we want to calculate large realistic networks in the future, we tested the GMG-AMG hybrid for our coupled system of partial differential equations on the cube grid. Table 1 shows the time taken for certain solving steps in seconds. As this is a time dependent problem, the mean time of time step preparation, right hand side assembly and solving is given. Overall 500 time steps were performed. Domain loading, distribution and refinement and system assembly is only performed once.
It can be assumed from Table 1 that solving and assembly, which are of major importance, are not yet scaling well.
For the given geometry the convergence rate of the AMG is \(\approx 0.15\), the convergence rate of the GMG is \(\approx 0.003 - 0.008\). AMG convergence becomes even worse for the more complex geometries of neuronal reconstructions and thus improving AMG convergence is necessary.
5 Discussion
This was the first investigation of weak scalability of the system of partial differential equations describing the electric properties of neurons in three space dimensions. Currently the solver setup is still optimized. The investigation of the given problem shows no weak scalability, which requires a closer investigation of the properties of the assembled matrix. Furthermore, AMG convergence has to be improved in order to compute digitally reconstructed neurons in three space dimensions.
References
K. Xylouris, G. Wittum, A three-dimensional mathematical model for the signal propagation on a neuron’s membrane. Front. Comput. Neurosci. 9, 1–9 (2015)
A.L. Hodgkin, A.F. Huxley, A quantitative description of membrane current and its application to conduction and excitation in nerve. J. Physiol. 117, 500–544 (1952)
G. A. Ascoli, Mobilizing the base of neuroscience data: the case of neuronal morphologies. Nat. Rev. Neurosci. 7(4), 318–324 (2006)
Sebastian Reiter, Andreas Vogel, Ingo Heppner, Martin Rupp, Gabriel Wittum, A massively parallel geometric multigrid solver on hierarchically distributed grids. Comp. Vis. Sci. 16(4), 151–164 (2013)
T. Radman, R.L. Ramos, J.C. Brumberg, M. Bikson, Role of Cortical Cell Type and Morphology in Sub- and Suprathreshold Uniform Electric Field Stimulation. Brain Stimul. 2(4), 215–228 (2009)
K. Mörschel, M. Breit, G. Queisser, Generating neuron geometries for detailed three-dimensional simulations using anamorph. Neuroinformatics (2017)
A. Vogel, S. Reiter, M. Rupp, A. Nägel, G. Wittum, UG 4: A novel flexible software system for simulating PDE based models on high performance computers. Comp. Vis. Sci. 16(4), 165–179 (2013)
X.S. Li, An overview of superlu: Algorithms, implementation, and user interface. Toms (2005)
Acknowledgements
We thank the HLRS for the opportunity to use Hazel Hen and their kind support.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Huymayer, M., Lampe, M., Nägel, A., Wittum, G. (2021). First Steps Towards a Scaling Analysis of a Fully Resolved Electrical Neuron Model. In: Nagel, W.E., Kröner, D.H., Resch, M.M. (eds) High Performance Computing in Science and Engineering '19. Springer, Cham. https://doi.org/10.1007/978-3-030-66792-4_39
Download citation
DOI: https://doi.org/10.1007/978-3-030-66792-4_39
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-66791-7
Online ISBN: 978-3-030-66792-4
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)