parallel computing of action potentials in the hogkin
TRANSCRIPT
![Page 1: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/1.jpg)
Parallel Computing of Action Potentials in the Hodgkin-Huxley Model
via the Parareal Algorithm
Eric Boerman, Khanh Pham, Katie PeltierVirtual Research and Creative Activity Day
West Chester UniversityApril 29th, 2021
![Page 2: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/2.jpg)
The Action PotentialAbove: Numerical approximation of an action potential in the Hodgkin-Huxley model
Below: Numerical solution as reported by Hodgkin and Huxley in 1952
Source: A Quantitative Description of Membrane Current and its Application to Conductionand Excitation in Nerve, Hodgkin & Huxley, 1952
![Page 3: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/3.jpg)
The Cell Membrane
Source: Action Potential in the Neuron, Harvard Extension School. https://www.youtube.com/watch?v=oa6rvUJlg7o
Cell ExteriorHigher steady-state concentration of Na+
Cell InteriorHigher steady-state concentration of K+
= Na+
= K+
![Page 4: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/4.jpg)
The Cell Membrane
Source: Action Potential in the Neuron, Harvard Extension School. https://www.youtube.com/watch?v=oa6rvUJlg7o
![Page 5: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/5.jpg)
The Hodgkin-Huxley ModelOhmโs Law โ current equals voltage times conductance
Total current is the sum of all component currents:
๐ผ = ๐ผ1 + ๐ผ2 +โฏ+ ๐ผ๐
For each ionic current, Iion = conductance (gion) times distance from voltage equilibrium:
๐ผ = ๐๐พ ๐ โ ๐๐ + ๐๐๐ ๐ โ ๐๐๐ + ๐๐ ๐ โ ๐๐ + ๐ถ๐๐๐ฃ
๐๐ก
where ๐ถ๐๐๐ฃ
๐๐กis the current from the membraneโs function as a capacitor
![Page 6: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/6.jpg)
The Hodgkin-Huxley ModelConductance for Na+ and K+ (gNa and gK) are gated by voltage
n, m, and h are proportions (0 โค n, m, h โค 1) that vary with voltage and define gate activation or inactivation
๐๐๐ and ๐๐พare the maximum possible conductances for a given set of parameters
๐๐พ = ๐๐๐๐4
๐๐๐ = ๐๐พ๐3โ
gl does not meaningfully vary with voltage, and is treated as constant
![Page 7: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/7.jpg)
The Hodgkin-Huxley Model
๐ ๐ผ๐ ๐ฝ๐
m2.5 + 0.1๐
๐2.5+0.1๐ โ 1
4๐๐18
n0.01๐ + 0.1
๐0.1๐+1 โ 1
0.125๐๐80
h0.07๐
๐20 1
1 + ๐3+0.1๐
๐๐ฃ
๐๐ก= (๐ผ โ ๐๐พ๐
4 ๐ โ ๐๐ โ ๐๐๐๐3โ ๐ โ ๐๐๐ โ ๐๐ ๐ โ ๐๐ )/๐ถ๐
๐๐
๐๐ก= ๐ผ๐ 1 โ๐ โ ๐ฝ๐๐
๐๐
๐๐ก= ๐ผ๐ 1 โ ๐ โ ๐ฝ๐๐
๐โ
๐๐ก= ๐ผโ 1 โ โ โ ๐ฝโโ
![Page 8: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/8.jpg)
Numerical MethodsForward Euler Methodโข Fastest numerical method
โข Relatively inaccurate: 1st-order accuracy
4th-Order Runge-Kutta Methodโข Increased accuracy given same parameters
โข Computationally more expensive
For both methods, V, n, m, and h are solved for simultaneously within each step.
![Page 9: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/9.jpg)
Experimental Results
![Page 10: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/10.jpg)
Experimental Results
10 20 30
![Page 11: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/11.jpg)
Experimental Results
![Page 12: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/12.jpg)
PararealโขA unique parallel-in-time algorithm, developed by Lions, Meday, and Turinici in 2001
โขUtilizes two temporal discretizations โ one coarse, one fine โ and solves them numerically
โขPredicts reasonable starting values, then calculates fine mesh values in parallel
โขConverges to a solution over multiple iterations
โขDoes not increase accuracy over sequential method, but can offer significant time savings
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
0 0.5 1 1.5 2 2.5 3
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
0 0.5 1 1.5 2 2.5 3
Coarse and Fine Propagation
![Page 13: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/13.jpg)
PararealPreliminary estimations for parallelization in a 48-CPU system suggest a significant possible decrease in computational time
At 47 iterations time savings is negative compared to sequential calculations, but the Parareal algorithm finishes well before then, even for tolerances within 1/100,000,000th of a millivolt
At increased CPU counts (100, 200, etc.), iteration count seems to fall around ~5% of maximum at this tolerance level
While computational overhead limits maximum possible time savings, preliminary results suggest that for most real-world scenarios increasing the CPU count will increase efficiency
Tolerance (mV) Iterations (47 max)
10^-5 3
10^-6 4
10^-7 4
10^-8 5
![Page 14: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/14.jpg)
ReferencesHodgkin, A L, and A F Huxley. โA Quantitative Description of Membrane Current and Its
Application to Conduction and Excitation in Nerve.โ Bulletin of Mathematical Biology, vol. 52, no. 1-2, 1990, pp. 500โ544., doi:10.1016/s0092-8240(05)80004-7.
Staff, Gunnar A. The Parareal Algorithm, 2003, pp. 3โ25.
Burden, Richard L., and J. Douglas Faires. Numerical Analysis. Thomson Brooks/Cole, 2005.
Action Potential in the Neuron, Harvard Extension School. https://www.youtube.com/watch?v=oa6rvUJlg7o
Jacques-Louis Lions, Yvon Maday, Gabriel Turinici. Rรฉsolution dโEDP par un schema en temps <pararรฉel>. Comptes rendus delโAcadรฉmie des sciences. Sรฉrie I, Mathรฉmatique, Elsevier, 2001, 332(7), pp.661-668. hal-00798372
![Page 15: Parallel Computing of Action Potentials in the Hogkin](https://reader030.vdocuments.mx/reader030/viewer/2022021610/620a8cbeacba8e765706a010/html5/thumbnails/15.jpg)
Questions?