← SciSim / Neuroscience
· · SciSim ·

Stochastic Hodgkin-Huxley

Channel Noise · Fox-Lu Model · Langevin Equations

🧠 Tier: Graduate · Stochastic Neuroscience
Version:
§ 01
Interactive Simulation
Variable 1
Variable 2
Input
Output
Count
0
State
Time
0
ms
Playback
Preset
Parameters
Parameter 15.0
Parameter 25.0
Input I5.0
T sim (ms)500
Overlays
§ 02
The Idea, Step by Step
▸ Why a Neuron's Tiny Doors Flicker
START — TINY RANDOM DOORS
A neuron fires because thousands of microscopic gates — its ion channels — pop open to let charged atoms rush across the membrane. Each gate is like a tiny door on a faulty spring: it flips open and shut at random, on its own schedule. Watch one door and you can never predict the exact instant it opens. But when millions of doors share the job, their random flickers mostly cancel and the cell behaves smoothly. The fewer doors there are, the more each one's private coin-flip shows through — that leftover randomness is channel noise.
BUILD — RANDOMNESS SHRINKS WITH NUMBERS
Call the number of channels $N$. Because each opens or closes like an independent coin toss, the relative size of the jitter shrinks as $1/\sqrt{N}$. With $N=100$ channels the current wobbles by roughly 10%; with $N=10{,}000$ it wobbles by only about 1%. So a fat axon carrying billions of channels is almost noiseless, while a thin dendrite or a tiny soma — with only a few hundred — is genuinely jittery. Channel noise is fundamentally a small-cell problem.
DEEPEN — THE FOX–LU LANGEVIN PICTURE
Rather than track every door, Fox & Lu (1994) keep the smooth Hodgkin–Huxley gating variables $m,h,n$ and add a random kick: $\frac{dm}{dt}=\alpha_m(1-m)-\beta_m m+\xi_m(t)$. The kick's strength comes straight from binomial channel statistics, $\sigma_m^2=\frac{\alpha_m\beta_m}{(\alpha_m+\beta_m)^2 N_{Na}}$ — the same $1/N$ rule in disguise. The physiological consequences are real: spike times jitter by about $0.1$–$1\,\text{ms}$, the firing threshold softens into a fuzzy band instead of a sharp line, and the cell can fire spontaneously even when the input current $I$ sits just below the deterministic threshold (rheobase).
TRY THIS IN THE SIM ABOVE
① Set Input I just below the firing threshold and lengthen T sim — with noise on, watch the occasional unprompted spike a noiseless neuron could never produce. ② Treat Parameter 1 as the channel count: lower it (fewer doors) and spike timing scatters more; raise it and the train sharpens back up. ③ Hold Input I fixed and sweep Parameter 2 to compare a jittery small cell against a near-deterministic large one.
§ 03
Equation Derivation
▸ Stochastic Hodgkin-Huxley (Fox-Lu)
$$\frac{dV}{dt}=\frac{1}{C_m}[I-\bar{g}_{Na}m^3h(V-E_{Na})-\bar{g}_Kn^4(V-E_K)-g_L(V-E_L)]$$ $$\frac{dm}{dt}=\alpha_m(1-m)-\beta_m m+\xi_m(t), \quad \sigma_m^2=\frac{\alpha_m\beta_m}{(\alpha_m+\beta_m)^2 N_{Na}A}$$
STEP 1 — Channel Noise
N_Na ≈ 60/μm², N_K ≈ 18/μm². Conductance variance: σ²_gNa = N_Na × A × m³h(1-m³h) × γ_Na². For soma area A=100 μm²: σ_gNa ≈ 0.1 nS → voltage fluctuation ≈ 0.5 mV. Significant for small neurons.
STEP 2 — Fox-Lu Langevin
Fox & Lu (1994): replace 8-state Markov chain with Langevin SDEs for m,h,n. Noise amplitude from binomial statistics. Valid when N>>1. For small neurons (N<100): exact Markov simulation required. Computational cost: deterministic HH + 4 random numbers per step.
STEP 3 — Effects on Coding
Channel noise: spike-timing jitter ~0.1–1 ms; spontaneous spikes at sub-rheobase I; soft effective threshold. For large neurons: negligible. For small neurons (soma < 100 μm²): physiologically significant — constrains the minimum coding precision.
▸ Primary References

Fox & Lu (1994) Phys Rev E 49:3421; Goldwyn & Shea-Brown (2011) PLoS Comput Biol

Gerstner et al. — Neuronal Dynamics (neuronaldynamics.epfl.ch, free) · Dayan & Abbott — Theoretical Neuroscience (MIT Press) · Izhikevich — DSN (dynamicalsystems.org, free)

§ 04
Frequently Asked Questions
🧠 ConceptualWhat is the core mathematical insight of Stochastic Hodgkin-Huxley?
The Stochastic Hodgkin-Huxley framework provides a rigorous bridge between microscopic neural parameters and macroscopic observables. The key insight is that complex emergent behaviours — oscillations, memory, coding precision — can be derived from simple mathematical rules governing individual neurons and their connections. The quantitative framework enables testable predictions about circuit function from experimentally measurable quantities.
Key: Mathematical rigour connects single-neuron parameters to network behaviour. Every emergent property (oscillation, attractor, code) is derivable from the microscopic rules.
🌍 AppliedHow is Stochastic Hodgkin-Huxley used in neurotechnology?
The Stochastic Hodgkin-Huxley framework is directly applied in brain-computer interfaces and computational medicine. Mathematical models derived from these principles optimise stimulation parameters for DBS, predict drug effects on network dynamics, decode neural signals for BCI applications, and guide the design of neuromorphic hardware. The quantitative framework enables model-based optimisation rather than empirical trial-and-error approaches in clinical settings.
Key: Direct applications in BCI design, DBS parameter optimisation, pharmacological modelling, and neuromorphic chip architecture.
🔬 SimulationHow do I use the simulation for Stochastic Hodgkin-Huxley?
Configure the parameter sliders on the right panel, select a preset to set up a canonical example, then press Play. The Main View shows the primary mathematical relationship; the Phase Plane shows geometric structure; the Time Series shows temporal evolution; the Parameter Sweep reveals sensitivity to inputs. All displayed quantities correspond directly to terms in the equations in Section 2. Export the data as CSV for further analysis.
Key: Each tab maps to a specific aspect of the mathematics. Use Parameter Sweep to find bifurcation points and Phase Plane to understand stability.
💡 Non-ObviousWhat is counterintuitive about Stochastic Hodgkin-Huxley?
The most surprising result in Stochastic Hodgkin-Huxley research is that small parameter changes can produce qualitatively different dynamics (bifurcations). A system that is stable for one parameter value can suddenly oscillate, burst, or become chaotic with a tiny perturbation. This sensitivity to parameters is the hallmark of nonlinear systems and has profound implications: the same neural circuit can perform completely different computations depending on its neuromodulatory state, which shifts parameters near bifurcation boundaries.
Key: Bifurcations: tiny parameter changes → qualitative behavioural change. Neuromodulators exploit this by operating near bifurcation points to switch neural circuit function.
📐 ComputationalWhat numerical methods and pitfalls apply to Stochastic Hodgkin-Huxley?
The appropriate numerical method depends on stiffness: for near-spike dynamics (HH, AdEx) use RK4 with dt ≤ 0.025 ms or implicit methods; for mean-field equations (WC, Amari) use Euler or RK4 with dt ≤ 0.5–1 ms. Always verify accuracy by halving dt and checking solution convergence. The most common errors: wrong units (mixing mV, ms, nS), missing initial conditions (not setting w₀=b×v₀ in Izhikevich), and incorrect boundary conditions in Fokker-Planck or cable equation simulations.
Key: Verify stability by halving dt. Most errors: wrong units, incorrect initial conditions, violated model assumptions. Check the model validity range before trusting any result.
§ 04 Resources
§ 05
Misconceptions & Common Errors
Sub-block A — Conceptual
"The Stochastic Hodgkin-Huxley model is only theoretical with no experimental support."
The Stochastic Hodgkin-Huxley framework has been extensively validated. Key predictions have been confirmed in electrophysiology, imaging, and pharmacological experiments. Modern neuroscience uses these models as quantitative tools integrated with the experimental cycle — for prediction, interpretation, and guidance of experiments.
📖 Fox & Lu (1994) Phys Rev E 49:3421; Goldwyn & Shea-Brown (2011) PLoS Comput Biol
Sub-block B — Numerical
Applying Stochastic Hodgkin-Huxley equations outside their range of validity (wrong N, dt, or approximation regime).
Every model has a validity regime. Always check: (1) Is N large enough for mean-field? (2) Is dt small enough (halve dt and verify solution converges)? (3) Are units consistent (mV, ms, nS throughout)? (4) Are initial conditions correct? When in doubt, compare to direct simulation of the full system.
🔍 Why: Violating assumptions gives quantitatively or qualitatively wrong results — and the error is often invisible without explicit validation.
§ 05 References