parallel computing of action potentials in the hogkin

15
Parallel Computing of Action Potentials in the Hodgkin-Huxley Model via the Parareal Algorithm Eric Boerman, Khanh Pham, Katie Peltier Virtual Research and Creative Activity Day West Chester University April 29 th , 2021

Upload: others

Post on 15-Feb-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Parallel Computing of Action Potentials in the Hogkin

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

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

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

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

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

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

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

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

Experimental Results

Page 10: Parallel Computing of Action Potentials in the Hogkin

Experimental Results

10 20 30

Page 11: Parallel Computing of Action Potentials in the Hogkin

Experimental Results

Page 12: Parallel Computing of Action Potentials in the Hogkin

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

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

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

Questions?