Manuscript Offprint
arXiv:2610.06520Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Cameron Schofield, Luca Ghafourpour, Philip H. Wong, Costas A. Anastassiou and Richard E. Turner
University of Cambridge, Cedars-Sinai Medical Center, California Institute of Technology, Archimedes AI, Athena Research Center
These authors contributed equally to this work
Corresponding author: ldg34@cam.ac.uk
Neurons of the brain exhibit a rich repertoire of electrophysiology dynamics with the same repeated stimulus eliciting very different voltage responses from the same cell. One common approach in biophysically detailed models is to capture this variability through ensembles of deterministic parametrizations, at a cost of hundreds of thousands of CPU hours. Existing machine learning surrogates inherit the same limitation, where a stimulus is mapped to a single voltage response. We address this challenge by learning a conditional generative model for single-neuron electrophysiology, using flow matching with a velocity field conditioned on the input current. On biophysically detailed models of two human cortical interneuron types, the generated responses closely reproduce the electrophysiological feature distributions, spike-time structure, and excitability profiles, even matching the experimental recordings from the corresponding human cortical neurons. Near the firing threshold, firing and non-firing responses coexist at the same stimulus amplitude, and at high amplitudes, ensembles may split into low- and high-firing modes near depolarization block. We show that our model recovers both modes in each case, while a neural operator baseline suppresses spiking near threshold and blurs the gap between modes at depolarization block.
1. Introduction
Neurons in the mammalian brain exhibit a wide range of electrophysiological responses that are area-, type-, state-, and time-specific. This is also reflected in trial-to-trial variability where the same input to the same cell typically results in very different responses in terms of spike timing, firing rate, and burstiness [1–4]. Capturing such diverse dynamics faithfully is essential for any single-neuron model intended to support bio-realistic circuit-level modeling [5–7], and especially so for the human brain, where cell types differ in transcriptomic, morphological, and electrophysiological identity [8–11].
Biophysically detailed, multi-compartment PDE models grounded in cable theory provide an avenue to study these dynamics under perturbations that are experimentally infeasible in humans [12, 13], with ion channel conductances tuned by evolutionary optimization to match multimodal experimental recordings [14–17]. Because many parametrizations perform comparably along the Pareto front [18], an ensemble of “hall-of-fame” (HoF) parametrizations is retained for each neuron and is often treated as a representation of the neuron’s variability. This substitution is imperfect: each HoF model is itself deterministic, so the ensemble reflects uncertainty in the model parametrization rather than genuine trial-to-trial variability. Obtaining it also requires on the order of hundreds of thousands of CPU hours [16, 17]. An alternative introduces stochasticity directly into the mechanistic model [19–21], but this requires making assumptions on the noise source and form and relies on repeated numerical integration of the underlying dynamical system.
These limitations have motivated machine learning surrogates for single-neuron electrophysiology. Neural networks, physics-informed neural networks [22–24], and neural operators [25–27] have been applied to canonical point-neuron models such as FitzHugh-Nagumo [28, 29] and Hodgkin-
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
Huxley [30], with promising results for predicting spiking membrane potentials [31–38]. These approaches are largely deterministic, producing a single voltage response per stimulus, and are evaluated predominantly within the regular firing regime, with performance in the highly nonlinear transition around firing threshold less clear. NOBLE [39] addresses both limitations, learning a neural operator conditioned on an embedding of interpretable electrophysiological descriptors that identifies each member of a HoF ensemble. Interpolating this embedding yields responses for models beyond the finite set obtained through optimization, something the underlying biophysical models do not support in parameter space. The operator nevertheless remains deterministic given a stimulus and embedding: variability arises from sampling the embedding space rather than from learning a conditional distribution over membrane potentials.
Generative modeling provides a natural alternative in which the voltage response distribution itself becomes the target. Rather than introducing variability through an intermediate model representation, single-neuron electrophysiology can be formulated as the conditional generation of a membrane potential V given an applied current I, directly targeting . Learning this distribution requires a model to represent multimodality in spike timing and spike count, preserve translation equivariance to shifts in the applied stimulus, resolve both sharp action potentials and smooth subthreshold dynamics across multiple temporal scales, and generate a coherent full voltage trace. Denoising generative models such as diffusion and flow matching are well suited to these requirements as they generate complete high-dimensional samples from noise while conditioning on auxiliary inputs [40–42]. In particular, flow matching [42] learns a continuous velocity field that transports samples from a simple source distribution to the target data distribution. Conditioning this velocity field on the time-aligned applied current yields a direct model of , where different samples from the source noise produce different membrane potential trajectories for the same stimulus. Variability is therefore represented directly within the response distribution, without requiring an explicit neuron-model embedding. This distinction matters most where the conditioning input places the underlying deterministic dynamics near a bifurcation. There, the response distribution becomes genuinely multimodal, and a surrogate trained with a pointwise objective moves towards an intermediate response that belongs to neither mode.
• We show that our generative model captures multimodal response distributions that deterministic surrogates fail to represent. Near firing threshold, where firing and non-firing responses coexist at the same stimulus amplitude, our model reproduces both modes. In contrast, NOBLE suppresses spiking near threshold and shifts the apparent firing threshold towards higher currents.
• We benchmark against biophysically detailed models of two distinct human interneuron types. Across input current amplitudes, the generated responses reproduce electrophysiological feature distributions, spike-time structure, and F-I relationships, with consistent performance across dynamical regimes.
• We validate our evaluations with real human cortex recordings, rather than simulation alone. Key statistics of the generated responses are compared directly with experimental recordings from the corresponding neurons and match qualitatively.
• We generalize to unseen stimulation protocols. Conditioning on the full input waveform, a model trained on complex time-varying stimuli generalizes to entirely new families of input stimuli.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli

Spike-Triggered Averages
F-I curve
Time from spike peak (ms)
Current (nA)
Figure 1 | Performance on different neurons. From left to right, columns show: (1) voltage traces generated by our model; (2) voltage traces generated by PDE simulations; (3) spike-triggered voltage averages from our model, PDE simulations, and experimental recordings; and (4) F-I curves from our model, PDE simulations, and experimental recordings. For columns (3) and (4), the solid line represents the median, and the shaded area represents the interquartile range of the responses.
2. Bio-Realistic Neuron Modeling
The biophysical single neuron PDE models are built using high resolution morphological reconstructions of human cortical neurons from Patch-seq datasets [8–10]. For simulation, the models are instantiated via the BioNet interface [43] in the NEURON environment [44]. In each PDE model, active ion channels are placed in an “all-active” configuration [16, 17], distributing conductances across both somatic and dendritic compartments throughout the full morphology.
The multi-objective evolutionary optimization is organized in two stages [14–16]. In the first stage, passive subthreshold membrane properties are optimized against non-spiking electrophysiological responses. In the second stage, active ion channel conductances are included in the optimization to account for spiking dynamics and the frequency-current (F-I) curve. In each generation of optimization, candidate HoF PDE models are ranked by mean z-score error across a biologically relevant set of electrophysiological features. After 250 generations, the best-performing parameter sets across all generations are retained as the HoF ensemble.
To evaluate the benefits of generative modeling, we focus on one parvalbumin-positive (PVALB) neuron and one vasoactive intestinal peptide (VIP) neuron from an inhibitory interneuron Patch-seq dataset of the human middle temporal gyrus [10]. PVALB neurons are specialized fast-spiking interneurons that orchestrate high-frequency gamma oscillations (30–80 Hz) [45]. VIP neurons are often found in disinhibitory circuit motifs where they target other inhibitory interneurons and release excitatory cells from dendritic inhibition [46–48]. These two cell types exhibit qualitatively distinct firing regimes. While PVALB neurons coordinate high-frequency rhythms, VIP neurons operate on a slower timescale [9, 49], allowing us to test the generalization of our framework across electrophysiological phenotypes.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
3. Method
3.1. Problem Formulation
We aim to learn a conditional generative model that approximates the distribution of the membrane potential given an applied current , where both are discretized traces in . To capture variability, we treat the responses from an ensemble of HoF models as samples from . We construct the dataset by simulating the voltage responses of randomly paired input currents and HoF models. Our model captures ensemble variability through source noise and conditions on the full current waveform to produce time-aligned voltage responses. Since the full stimulus waveform is available at inference time, we generate the voltage response jointly rather than autoregressively, allowing temporal dependencies to be represented across the complete response.
3.2. Conditional Flow Matching
Let be a distribution over . A continuous normalizing flow [50] transforms a tractable prior to using a time-dependent velocity field , which generates a flow through the ordinary differential equation
Writing for , the marginals of this process form a probability path from to which generates. Samples from are generated by drawing and solving the initial value problem (Figure 2).
The objective of flow matching is to fit a model to the velocity field that targets . This model can be trained with the Conditional Flow Matching (CFM) [42] objective
which constructs as a mixture of conditional paths with conditional velocities .

Figure 2 | Flow matching transforms noise to data. Columns show: (1) a draw from the pointwise Gaussian noise source; (2) and (3) intermediate states at selected flow times ; and (4) the generated trace .
We use the linear conditional path [42, 51], taking and . This gives the target velocity
which is constant in flow time t.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
The time-aligned conditioner is added as an additional input to the velocity network . Taking and training pairs , the minimizer of the CFM objective is the marginal velocity field generating [52].
3.3. Training Details
We parameterize the velocity field with a five-resolution one-dimensional U-Net [53], using dilated convolutions at the bottleneck to capture long-range temporal dependencies. The input current is encoded and injected at each resolution, while flow time is embedded sinusoidally. Models are trained with AdamW [54] for 200 epochs and sampled using 20 midpoint steps. Full architectural, optimization, and sampling details, together with associated ablations, are provided in Appendix A.2.
As reported in [39], the numerical solver takes 36,200 seconds to generate 10,000 voltage responses. We record the time necessary to generate 10,000 samples on a single NVIDIA A100 GPU using our trained generative model. Each sample requires 40 network evaluations. When doing one inference at a time, we generate 10,000 samples in 6,600 seconds, a speedup of approximately . Using a batch size of 1000, the model generates 10,000 samples in approximately 865 seconds, a speedup of approximately . Inference cost can be reduced further, either by taking fewer network evaluations per sample or by distilling the learned velocity field into a few-step generator [55–57], in both cases at a fixed cost in fidelity.
4. Results
In the following subsections, we compare our trained generative model against the HoF models, NOBLE as trained by the original authors and released at https://github.com/neuraloperator/noble/, and real experimental human cortex recordings.
4.1. Recovering Response Distributions at Unseen Currents
We first assess the generated ensemble of full voltage traces at unseen current amplitudes. Figure 1 qualitatively showcases that for both the PVALB and VIP neurons, the generated ensembles closely resemble those produced by the HoF models, capturing both the response dynamics and their variability. To compare spike shape more directly, we compute spike-triggered averages, where the median and interquartile range of the generated responses closely match those of the HoFs, while the experimental curves lie within the same range. We observe similar agreement in the F-I curves, where the generated firing-rate distributions track the HoFs across stimulation amplitudes and the experimental measurements align closely with the median response. These results indicate that our model recovers the underlying conditional response distribution at unseen currents.
To assess whether the model preserves electrophysiological structure beyond individual voltage traces, we compute a set of electrophysiological features for each response (see Appendix A.1 for definitions). These features are robust to small temporal shifts in voltage traces that can otherwise produce large pointwise errors, providing a more representative measure of electrophysiological similarity. Figure 3A qualitatively compares the resulting feature distributions with NOBLE, the HoF models, and experimental recordings. Our generated distributions closely match the HoFs across features and stimulation amplitudes. A rather clear distinction from NOBLE appears in the firing threshold regime. At 0.02nA, the HoF data contain both firing and non-firing responses, which our model captures, while NOBLE produces no firing responses at all. We add to Appendix A.4 the raw ensemble of traces in Figure A.4, which showcases this failure to capture the bimodality present in the firing regime.
We quantify the agreement between the feature distributions generated by the HoF models and our generative model in Figure 3B using explained variance. Our model captures most of the
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
A

B
C
Figure 3 | PVALB feature distributions and firing probability. A) Distribution of key electrophysiological features for a PVALB neuron from experimental recordings (grey), PDE simulations (blue), NOBLE (red), and our model (green) across three representative amplitudes. Arrows indicate the fraction of values outside of the displayed axis range. B) Explained variance (EV, %) across quantile levels of generated and PDE distributions. C) , the empirical firing probability given current amplitude for PDE simulations (blue; dashed), NOBLE (red), and our model (green).
variability in the HoF feature distributions, with explained variance above 95% for several features across amplitudes. Performance is lower for inverse inter-spike interval (ISI) values, consistent with Figure 3A. Figure A.5 separates this agreement into location and spread. The normalized mean bias stays within about 0.25σ for every feature and amplitude. The largest discrepancy is in dispersion, with generated inter-spike intervals under-dispersed at 0.10nA, consistent with the lower explained variance for inverse ISI.
Figure 3C highlights the current shortcoming of NOBLE in regimes where both firing and non-firing responses coexist by plotting firing probability as a function of stimulation amplitude. Our model closely follows the HoF distribution, whereas NOBLE shows a clear shift towards higher firing thresholds. One possible explanation is its deterministic relative L4 objective. Near threshold, the HoF distribution contains both firing and non-firing responses at the same stimulation amplitude. NOBLE minimizes a pointwise relative L4 objective over this multimodal distribution, which can prefer an intermediate response rather than either mode. Ultimately, this can suppress spiking near threshold and shift the predicted firing threshold towards higher currents. The firing threshold is precisely the regime where the underlying dynamics sit near a bifurcation, which is why it discriminates between the two approaches more sharply than either the sub- or supra-threshold regime.
Table 1 quantifies the agreement between the generated and HoF feature distributions using the Wasserstein-2 distance. Overall, the distances remain small across features relative to the under-
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
| Regime | AP width (μs) | AHP depth (mV) | mean AP amplitude (mV) | inv ISI (Hz) | mean frequency (Hz) |
|---|---|---|---|---|---|
| All | 25.3 | 0.595 | 1.14 | 0.533 | 0.334 |
| Threshold | 43.7 | 1.186 | 2.23 | 0.509 | 0.783 |
| Low-firing | 27.0 | 0.533 | 1.22 | 0.419 | 0.240 |
| High-firing | 22.9 | 0.592 | 1.03 | 0.605 | 0.361 |
Table 1 | Performance by dynamical regime. Wasserstein-2 distances between reference and generated feature distributions, averaged across amplitudes in different regime types. These regimes are: (1) threshold amplitudes, where at least one HoF model produces a steady state response and at least one HoF model produces a firing response, (2) low-firing amplitudes, which produce mean spike counts between 5 and 17, and (3) high-firing amplitudes, which produce mean spike counts between 18 and 37.
lying variance in feature distributions. However, since averaging across all amplitudes could hide regime-specific failure modes, we repeat the analysis separately across three firing regimes: threshold (where firing and non-firing responses coexist across all HoFs), low-firing (with mean spike counts between 5 and 17) and high-firing (with mean spike counts between 18 and 37). Performance remains consistent across these regimes, with no regime-specific failure mode. The threshold regime is noticeably more challenging for several features, but the overall agreement remains strong.
Corresponding results for the VIP neuron are provided in Appendix A.5.
4.2. Capturing Spike-Timing Variability

Figure 4 | Spike-timing variability. Spike peak timing at representative PVALB and VIP current amplitudes, comparing smoothed spike-time densities from PDE simulations (blue), Generative (green), and NOBLE (red) voltage responses.
Matching electrophysiological feature distributions alone does not ensure that the temporal structure of spiking is preserved. Spike timing determines when information is transmitted to downstream neurons, and can thus affect the resulting network dynamics even when summary electrophysiological features such as firing rate or spike width match. In Figure 4 we show the distribution of spike times across representative current amplitudes for the PVALB and VIP neuron. Our
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
generative model closely follows the HoF spike-time densities across regimes, while NOBLE shows larger discrepancies, and as seen before, does not capture spikes at amplitudes within the threshold regime.
4.3. Capturing Multimodal Dynamics
At sufficiently high current amplitudes, the VIP HoF ensemble approaches depolarization block. Differences across HoF parametrizations place models on either side of this transition, with some continuing to fire while others enter a low-firing state. This produces a multimodal conditional response distribution. Figure 5 shows this clearly at 0.28nA, where the HoF spike-count distribution separates into distinct low- and high-firing modes. Our generative model recovers both modes and their approximate probability mass, whereas NOBLE spreads mass across the range and resolves neither mode. Importantly, this difference would be obscured by the mean response alone. As such, our model can qualitatively represent distinct dynamical modes under the same conditioning input rather than collapsing them into a single response.

Figure 5 | Multimodal spike counts near depolarization block. Spike count versus input current amplitude for VIP neuron. Lines plot the mean spike count in the conditional voltage responses. Histograms plot the spike count distribution for the PDE (blue), Generative (green), and NOBLE (red) responses at current amplitudes 0.1nA, 0.18nA, and 0.28nA.
4.4. Generalization to Time-Varying Stimulation Protocols
While the previous sections consider DC-step inputs, conditioning on the full time-aligned stimulus waveform allows the model to handle more general stimulation protocols. We therefore generated a new dataset of time-varying current waveforms (Appendix A.3) and trained a separate model on this broader stimulus distribution, using the same model, optimizer, and training hyperparameters as the model trained on DC step waveforms.
Table 2 repeats the dynamical-regime evaluation of Table 1, but using the model trained on more complex time-varying stimuli. Performance remains comparable across threshold, low-firing, and high-firing regimes, with no new regime-specific failure mode. Hence, expanding the training distribution to time-varying inputs does not substantially degrade the model's ability to reproduce the response distributions elicited by DC steps.
We next evaluate both models on unseen time-varying stimuli. Figure 6 compares their generated response ensembles on representative held-out waveforms. The DC-trained model generalizes to some non-DC stimuli by producing spikes in the correct regions, but blur in the generated ensembles indicates poor ISI consistency. Because the same kernels apply everywhere, any input that locally resembles a DC step within the kernel's receptive field is indistinguishable from a step, so the model stitches locally step-like predictions across the trace. This provides good local behavior, but poor
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
| Regime | AP width (μs) | AHP depth (mV) | mean AP amplitude (mV) | inv ISI (Hz) | mean frequency (Hz) |
|---|---|---|---|---|---|
| All | 27.9 | 0.786 | 1.60 | 0.627 | 0.378 |
| Threshold | 43.6 | 1.120 | 2.87 | 0.767 | 0.962 |
| Low-firing | 26.8 | 0.865 | 1.59 | 0.620 | 0.289 |
| High-firing | 27.1 | 0.658 | 1.45 | 0.623 | 0.404 |
Table 2 | Performance by dynamical regime when trained on time-varying stimuli.
Wasserstein-2 distances between reference and generated feature distributions, averaged across square pulse currents in different regime types. High-firing amplitude range is cut off at 0.18nA to match the max amplitude in the time-varying stimuli dataset.
global consistency. Figure A.6 demonstrates that the performance of the DC-trained model on the distribution of ISIs suffers more when the input frequency exceeds 40 Hz, at which point the kernel weights learned for locally step-like behavior are no longer suitable. This failure motivates training on time-varying stimuli. Figure 6 and Figure A.7 qualitatively show that our model, when trained on complex time-varying currents, can capture the time-varying voltage dynamics of the PDE simulations. This requires no architectural change and allows the model to generalize across stimulus families.


Figure 6 | Generalization to unseen time-varying stimuli. Predicted PVALB responses to unseen time-varying stimuli, comparing PDE simulations with generative models trained on time-varying and DC-step currents.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
5. Conclusion
We introduced a conditional flow matching model of voltage dynamics that learns directly, representing variability directly without an ad hoc distribution over latent feature embeddings. Trained on ensembles of PDE simulations for PVALB and VIP neurons, it recovers the response distribution at unseen currents, captures temporal dependencies and multimodal dynamics, and transfers across stimulus families. These properties make conditional generative surrogates a promising route toward large-scale circuit modeling, where biophysically detailed simulations become prohibitively expensive. Extending the framework from single neurons to interacting populations, while using distillation or few-step generation to approach the speed of deterministic surrogates such as NOBLE, are natural directions for future work.
Acknowledgments
C.A.A. is supported by the National Institutes of Health R01-NS120300 and R01-NS130126. P.H.W. is supported by the National Institutes of Health R01-NS130126.
References
[1] Zachary F. Mainen and Terrence J. Sejnowski. Reliability of spike timing in neocortical neurons. Science, 268(5216):1503–1506, 1995.
[2] Zachary F. Mainen and Terrence J. Sejnowski. Influence of dendritic structure on firing pattern in model neocortical neurons. Nature, 382(6589):363–366, 1996.
[3] Costas A. Anastassiou, Rodrigo Perin, Henry Markram, and Christof Koch. Ephaptic coupling of cortical neurons. Nature Neuroscience, 14(2):217–223, 2011.
[4] A. Aldo Faisal, Luc P. J. Selen, and Daniel M. Wolpert. Noise in the nervous system. Nature Reviews Neuroscience, 9(4):292–303, 2008.
[5] Rodney J. Douglas, Christof Koch, Misha Mahowald, Kevan A. C. Martin, and Humbert H. Suarez. Recurrent excitation in neocortical circuits. Science, 269(5226):981–985, 1995.
[6] György Buzsáki. Neural syntax: cell assemblies, synapsembles, and readers. Neuron, 68(3): 362–385, 2010.
[7] Liqun Luo. Architectures of neuronal circuits. Science, 373(6559):eabg7285, 2021.
[8] Jim Berg, Staci A. Sorensen, Jonathan T. Ting, Jeremy A. Miller, Thomas Chartrand, Anatoly Buchin, Trygve E. Bakken, Agata Budzillo, Nick Dee, Song-Lin Ding, et al. Human neocortical expansion involves glutamatergic neuron diversification. Nature, 598(7879):151–158, 2021.
[9] Nathan W. Gouwens, Staci A. Sorensen, Fahimeh Baftizadeh, Agata Budzillo, Brian R. Lee, Tim Jarsky, Lauren Alfiler, Katherine Baker, Eliza Barkan, Kyla Berry, et al. Integrated morphoelectric and transcriptomic classification of cortical GABAergic cells. Cell, 183(4):935–953, 2020.
[10] Brian R. Lee, Rachel Dalley, Jeremy A. Miller, Thomas Chartrand, Jennie Close, Rusty Mann, Alice Mukora, Lindsay Ng, Lauren Alfiler, Katherine Baker, et al. Signature morphoelectric properties of diverse GABAergic interneurons in the human neocortex. Science, 382(6667): eadf6484, 2023.
[11] Kimberly Siletti, Rebecca Hodge, Alejandro Mossi Albiach, Ka Wai Lee, Song-Lin Ding, Lijuan Hu, Peter Lönnnerberg, Trygve Bakken, Tamara Casper, Michael Clark, et al. Transcriptomic diversity of cell types across the adult human brain. Science, 382(6667):eadd7046, 2023.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
[12] Christof Koch. Biophysics of computation: information processing in single neurons. Oxford University Press, 2004.
[13] Michael W. Reimann, Costas A. Anastassiou, Rodrigo Perin, Sean L. Hill, Henry Markram, and Christof Koch. A biophysically detailed model of neocortical local field potentials predicts the critical role of active membrane currents. Neuron, 79(2):375–390, 2013.
[14] Shaul Druckmann, Yoav Banitt, Albert A. Gidon, Felix Schürmann, Henry Markram, and Idan Segev. A novel multiple objective optimization framework for constraining conductance-based neuron models by experimental data. Frontiers in Neuroscience, 1:56, 2007.
[15] Werner Van Geit, Michael Gevaert, Giuseppe Chindemi, Christian Rössert, Jean-Denis Courcol, Eilif B. Muller, Felix Schürmann, Idan Segev, and Henry Markram. BluePyOpt: leveraging open source software and cloud infrastructure to optimise model parameters in neuroscience. Frontiers in Neuroinformatics, 10:17, 2016.
[16] Anirban Nandi, Thomas Chartrand, Werner Van Geit, Anatoly Buchin, Zizhen Yao, Soo Yeun Lee, Yina Wei, Brian Kalmbach, Brian Lee, Ed Lein, et al. Single-neuron models linking electrophysiology, morphology, and transcriptomics across cortical cell types. Cell Reports, 40(6), 2022.
[17] Anatoly Buchin, Rebecca de Frates, Anirban Nandi, Rusty Mann, Peter Chong, Lindsay Ng, Jeremy Miller, Rebecca Hodge, Brian Kalmbach, Soumita Bose, et al. Multi-modal characterization and simulation of human epileptic circuitry. Cell Reports, 41(13), 2022.
[18] Pablo Achard and Erik De Schutter. Complex parameter landscape for a complex neuron model. PLoS Computational Biology, 2(7):e94, 2006.
[19] Liam Paninski, Jonathan Pillow, and Jeremy Lewi. Statistical models for neural encoding, decoding, and optimal stimulus design. Progress in Brain Research, 165:493–507, 2007.
[20] William D. O'Neill, James C. Lin, and Ying-Chang Ma. Estimation and verification of a stochastic neuron model. IEEE Transactions on Biomedical Engineering, 33(7):654–666, 1986.
[21] Shinsuke Koyama and Robert E. Kass. Spike train probability models for stimulus-driven leaky integrate-and-fire neurons. Neural Computation, 20(7):1776–1795, 2008.
[22] Maziar Raissi, Paris Perdikaris, and George E. Karniadakis. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378:686–707, 2019. doi:10.1016/j.jcp.2018.10.045.
[23] Maziar Raissi, Paris Perdikaris, and George E. Karniadakis. Physics informed deep learning (Part I): Data-driven solutions of nonlinear partial differential equations. arXiv preprint arXiv:1711.10561, 2017.
[24] Maziar Raissi, Paris Perdikaris, and George E. Karniadakis. Physics informed deep learning (Part II): Data-driven discovery of nonlinear partial differential equations. arXiv preprint arXiv:1711.10566, 2017.
[25] Kamyar Azizzadenesheli, Nikola Kovachki, Zongyi Li, Miguel Liu-Schiaffini, Jean Kossaifi, and Anima Anandkumar. Neural operators for accelerating scientific simulations and design. Nature Reviews Physics, 6:320–328, 2024.
[26] Nikola Kovachki, Zongyi Li, Burigede Liu, Kamyar Azizzadenesheli, Kaushik Bhattacharya, Andrew Stuart, and Anima Anandkumar. Neural operator: Learning maps between function spaces with applications to PDEs. Journal of Machine Learning Research, 24(89):1–97, 2023.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
[27] Julius Berner, Miguel Liu-Schiaffini, Jean Kossaifi, Valentin Duruisseaux, Boris Bonev, Kamyar Azizzadenesheli, and Anima Anandkumar. Principled approaches for extending neural architectures to function spaces for operator learning. Nature Machine Intelligence, 8(7):1173–1181, 2026.
[28] Richard FitzHugh. Mathematical models of threshold phenomena in the nerve membrane. The Bulletin of Mathematical Biophysics, 17:257–278, 1955.
[29] Jinichi Nagumo, Suguru Arimoto, and Shuji Yoshizawa. An active pulse transmission line simulating nerve axon. Proceedings of the IRE, 50(10):2061–2070, 1962.
[30] Alan L. Hodgkin and Andrew F. Huxley. A quantitative description of membrane current and its application to conduction and excitation in nerve. The Journal of Physiology, 117(4):500–544, 1952.
[31] Wei-Hung Su, Ching-Shan Chou, and Dongbin Xiu. Deep learning of biological models from data: applications to ODE models. Bulletin of Mathematical Biology, 83(3):19, 2021.
[32] Johann Rudi, Julie Bessac, and Amanda Lenzi. Parameter estimation with dense and convolutional neural networks applied to the FitzHugh–Nagumo ODE. In Mathematical and Scientific Machine Learning, pages 781–808. PMLR, 2022.
[33] Matteo Ferrante, Andrea Duggento, and Nicola Toschi. Physically constrained neural networks to solve the inverse problem for neuron models. arXiv preprint arXiv:2209.11998, 2022.
[34] Pavel V. Kuptsov, Nataliya V. Stankevich, and Elmira R. Bagautdinova. Discovering dynamical features of Hodgkin–Huxley-type model of physiological neuron using artificial neural network. Chaos, Solitons & Fractals, 167:113027, 2023.
[35] Yan Barbosa Werneck, Rodrigo Weber dos Santos, Bernardo Martins Rocha, and Rafael Sachetto Oliveira. Replacing the FitzHugh–Nagumo electrophysiology model by physics-informed neural networks. In International Conference on Computational Science, pages 699–713. Springer, 2023.
[36] Himanshu Pandey, Anshima Singh, and Ratikanta Behera. An efficient wavelet-based physics-informed neural networks for singularly perturbed problems. arXiv preprint arXiv:2409.11847, 2024.
[37] Yichen Wang and Wenlian Lu. Neural operators for modeling of neuronal electrophysiological dynamics under complex stimulation. In 2026 IEEE 27th China Conference on System Simulation Technology and its Applications (CCSSTA), pages 780–787. IEEE, 2026.
[38] Edoardo Centofanti, Massimiliano Ghiotto, and Luca F. Pavarino. Learning the Hodgkin–Huxley model with operator learning techniques. Computer Methods in Applied Mechanics and Engineering, 432:117381, 2024.
[39] Luca Ghafourpour, Valentin Duruisseaux, Bahareh Tolooshams, Philip H. Wong, Costas A. Anastassiou, and Anima Anandkumar. NOBLE: Neural operator with biologically-informed latent embeddings to capture experimental variability in biological neuron models. In Advances in Neural Information Processing Systems, volume 38, 2025.
[40] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In Advances in Neural Information Processing Systems, volume 33, pages 6840–6851, 2020.
[41] Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In 9th International Conference on Learning Representations, 2021.
[42] Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In 11th International Conference on Learning Representations, 2023.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
[43] Sergey L. Gratiy, Yazan N. Billeh, Kael Dai, Catalin Mitelut, David Feng, Nathan W. Gouwens, Nicholas Cain, Christof Koch, Costas A. Anastassiou, and Anton Arkhipov. BioNet: A Python interface to NEURON for modeling large-scale networks. PLoS ONE, 13(8):e0201630, 2018.
[44] Michael L. Hines and Nicholas T. Carnevale. NEURON: a tool for neuroscientists. The Neuroscientist, 7(2):123–135, 2001.
[45] Tae Kim, Stephen Thankachan, James T. McKenna, James M. McNally, Chun Yang, Jee Hyun Choi, Lichao Chen, Bernat Kocsis, Karl Deisseroth, Robert E. Strecker, et al. Cortically projecting basal forebrain parvalbumin neurons regulate cortical gamma band oscillations. Proceedings of the National Academy of Sciences, 112(11):3535–3540, 2015.
[46] Hyun-Jae Pi, Balázs Hangya, Duda Kvitsiani, Joshua I. Sanders, Z. Josh Huang, and Adam Kepecs. Cortical interneurons that specialize in disinhibitory control. Nature, 503(7477): 521–524, 2013.
[47] Alvar Prönneke, Bianca Scheuer, Robin J. Wagener, Martin Möck, Mirko Witte, and Jochen F. Staiger. Characterizing VIP neurons in the barrel cortex of VIPcre/tdTomato mice reveals layer-specific differences. Cerebral Cortex, 25(12):4854–4868, 2015.
[48] Julia Veit, Gregory Handy, Daniel P. Mossing, Brent Doiron, and Hillel Adesnik. Cortical VIP neurons locally control the gain but globally control the coherence of gamma band rhythms. Neuron, 111(3):405–417, 2023.
[49] Robin Tremblay, Soohyun Lee, and Bernardo Rudy. GABAergic interneurons in the neocortex: from cellular properties to circuits. Neuron, 91(2):260–292, 2016.
[50] Ricky T. Q. Chen, Yulia Rubanova, Jesse Bettencourt, and David K. Duvenaud. Neural ordinary differential equations. In Advances in Neural Information Processing Systems, volume 31, 2018.
[51] Michael S. Albergo and Eric Vanden-Eijnden. Building normalizing flows with stochastic interpolants. In 11th International Conference on Learning Representations, 2023.
[52] Yaron Lipman, Marton Havasi, Peter Holderrieth, Neta Shaul, Matt Le, Brian Karrer, Ricky T. Q. Chen, David Lopez-Paz, Heli Ben-Hamu, and Itai Gat. Flow matching guide and code. arXiv preprint arXiv:2412.06264, 2024.
[53] Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-Net: Convolutional networks for biomedical image segmentation. In International Conference on Medical Image Computing and Computer-Assisted Intervention, pages 234–241. Springer, 2015.
[54] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In 7th International Conference on Learning Representations, 2019.
[55] Yang Song, Prafulla Dhariwal, Mark Chen, and Ilya Sutskever. Consistency models. arXiv preprint arXiv:2303.01469, 2023.
[56] Zhengyang Geng, Mingyang Deng, Xingjian Bai, Zico Kolter, and Kaiming He. Mean flows for one-step generative modeling. In Advances in Neural Information Processing Systems, volume 38, pages 75460–75482, 2025.
[57] Tim Salimans and Jonathan Ho. Progressive distillation for fast sampling of diffusion models. arXiv preprint arXiv:2202.00512, 2022.
[58] Zhifeng Kong, Wei Ping, Jiaji Huang, Kexin Zhao, and Bryan Catanzaro. Diff Wave: A versatile diffusion model for audio synthesis. In 9th International Conference on Learning Representations, 2021.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
[59] Aäron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. WaveNet: A generative model for raw audio. In Proceedings of the 9th ISCA Speech Synthesis Workshop (SSW), page 125, Sunnyvale, CA, USA, 2016.
[60] Md Amirul Islam, Sen Jia, and Neil D. B. Bruce. How much position information do convolutional neural networks encode? In 8th International Conference on Learning Representations, 2020.
[61] Osman Semih Kayhan and Jan C. van Gemert. On translation invariance in CNNs: Convolutional layers can exploit absolute spatial location. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 14262–14273, 2020.
[62] Ilya Loshchilov and Frank Hutter. SGDR: Stochastic gradient descent with warm restarts. In 5th International Conference on Learning Representations, 2017.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
Appendix
A.1. Electrophysiological Features
For electrophysiological feature extraction and metrics, we use code defined in the Electrophys Feature Extraction Library (eFEL) available at https://github.com/BlueBrain/eFEL. The formulas, codes, and definitions about each electrophysiological feature can be found at https://efel.readthedocs.io/en/latest/eFeatures.html.
Below, we list the electrophysiological features considered in this work (where AP denotes action potential and AHP denotes after-hyperpolarization). We use the default spike-detection threshold of -20 mV and pool vector-valued features when comparing distributions.
• AHP_depth: Collection of relative voltage values after each AHP
• AP_width: Collection of widths of each spike computed at the spike-detection threshold
• inv_ISI_values: 1.0 over all interspike intervals
• mean_AP_amplitude: The mean of all of the AP amplitudes
• mean_frequency: The mean frequency of the firing rate
• spikecount: Number of spikes in the trace, including outside of stimulus interval
A.2. Model Architecture and Training Details
We evaluated design choices on a small dataset of voltage responses for a single PVALB neuron, obtained by producing all 60 HoF responses at 119 fixed current amplitudes spanning the range [-0.11, 0.28]nA.
A.2.1. Velocity Architecture
We compared the U-Net against Diff Wave [58], a non-autoregressive adaptation of WaveNet that operates at full temporal resolution using a deep stack of dilated convolutions to grow the receptive field. The U-Net was selected because it was far better at preserving global consistency in generated traces; the Diff Wave model struggled to generate consistent ISIs (Table A.1) because of a weaker global representation. At approximately matched parameter counts (4,973,569 for U-Net and 5,225,569 for Diff Wave), the U-Net was additionally three times faster per network evaluation.
| AP width (μs) | AHP depth (mV) | mean AP amplitude (mV) | inv ISI (Hz) | Spike count | |
|---|---|---|---|---|---|
| Diff Wave | 30.1 | 0.99 | 3.08 | 3.53 | 0.48 |
| U-Net | 49.3 | 0.87 | 4.19 | 0.76 | 0.25 |
Table A.1 | Wasserstein-2 distances between reference and generated feature distributions, averaged over amplitudes, for the Diff Wave and U-Net models.
The selected velocity model is a one-dimensional U-Net [53] with residual blocks at five resolutions, stride-two downsampling, and skip concatenations to a mirrored decoder (Figure A.1). At the lowest resolution, we use a stack of bidirectional dilated convolutions with geometrically increasing dilation instead of self-attention, providing a receptive field covering the full trace at linear computational cost [58, 59]. We use replicate padding to avoid introducing a constant boundary from which
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
↓ injected into every residual block

Figure A.1 | U-Net model for predicting the flow matching velocity from the interpolated voltage state , flow time , and input current . Resolution is halved at each encoder stage and restored by interpolation in the decoder; skip connections carry full-resolution features around the bottleneck. Flow time and current conditioning enter every residual block.
convolutional filters could infer absolute position [60, 61]. The input current is encoded by a convolutional stack, resampled to each resolution, and injected additively into every residual block. Flow time is sinusoidally embedded and likewise added to each block.
The same residual block is used at each resolution and in the bottleneck. Each block applies GroupNorm, SiLU, a convolution, and GroupNorm; adds the flow-time embedding broadcast across the trace as well as the resolution's current features; and then applies SiLU, dropout, and a second convolution. The output is the sum of this result and the input, divided by .
A.2.2. Training Objective
The L2 loss is minimized by the conditional mean that recovers the marginal velocity field required to transport probability mass from to q. The L1 loss is minimized by the conditional median; for multimodal distributions, the minimizer is pulled toward whichever mode carries more mass, rather than averaging across divergent paths. This yields a biased field that may fail to transport the distribution to q.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
Despite this theoretical limitation, we tested both loss functions to see if mode selection would sharpen individual traces that averaging would blur under spike-timing jitter. Empirically, L1 reduces subthreshold noise and improves spike amplitude accuracy (Table A.2). However, L2 better preserves the firing distribution while L1 has a greater tendency to have mode collapse. We used the L2 loss to train our models.
| Wasserstein-2 distance, spiking amplitudes | Subthreshold noise | |||||
|---|---|---|---|---|---|---|
| AP width (μs) | AHP depth (mV) | mean AP amplitude (mV) | inv ISI (Hz) | Spike count | residual RMS (mV) | |
| L1 | 62.6 | 1.33 | 2.20 | 0.80 | 0.34 | 0.07 |
| L2 | 49.3 | 0.87 | 4.19 | 0.76 | 0.25 | 0.21 |
Table A.2 | Wasserstein-2 distances between reference and generated feature distributions, averaged over amplitudes, for U-Net models trained with L1 and L2 losses. The final column is the RMS of the high-frequency residual in non-spiking traces averaged over subthreshold amplitudes, for which the reference value is 0.003 mV (closer to this is better).
A.2.3. Sampling Method
We compared Euler, midpoint, and fourth-order Runge–Kutta integration at matched numbers of function evaluations (NFE) in terms of sample quality (Figure A.2). All three converge to a common limit by 200 NFE, set by error in the learned velocity field rather than in the integration. Midpoint converges fastest, reaching the common limits in 10 to 20 NFE. We sample with 20 midpoint steps (40 NFE) so that the reported results are not confounded by integration error, although fewer steps can still produce high-quality samples.

Figure A.2 | Wasserstein-2 distance between reference and generated feature distributions, as a function of solver and NFE. Both axes are log-scaled.
A.2.4. Hyperparameters
We performed a hyperparameter sweep on the U-Net to determine an optimal configuration. We use a base width of 32 channels, channel multipliers (1, 2, 4, 4, 4), three residual blocks per resolution level, kernel size 5, group normalization with 8 groups, and dropout 0.03. The bottleneck uses dilations (1, 2, 4, 8, 16, 32, 64). Flow-time embeddings use dimension 64 with hidden dimension 128.
Models are optimized using AdamW [54] with a base learning rate of , weight decay applied to parameters of dimension two or higher, and momentum coefficients and .
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
We use a five-epoch linear warmup with initial factor 0.2, followed by cosine annealing [62] to a minimum learning rate of . An exponential moving average with rate 0.9995 is maintained throughout training, and gradient norms are clipped at 1.0. Models are trained for 200 epochs with batch size 32, with the checkpoint of lowest validation loss used for evaluation. All training is performed on NVIDIA A100 GPUs.
A.3. Dataset Generation
The voltage response datasets for the PVALB (with DC step inputs and time-varying inputs) and VIP (with DC step inputs) neurons are generated from a single neuron morphology and a set of 60 HoF conductance parametrizations obtained by multi-objective evolutionary optimization, of which 50 are used for training. For each model we draw 1,680 stimuli, giving 100,800 current–voltage pairs; every stimulus is paired with a single model, so a conditioner is almost never observed more than once. Responses are simulated in NEURON [44] at a 0.02ms timestep over a 400 ms activation window and cropped to 45 ms before onset, the activation window, and 115 ms after it. Traces are then low-pass filtered and decimated by a factor of three, which preserves the fidelity of the extracted features while reducing computational expense [39], giving 9,334 samples at ms. Current and voltage traces are min-max scaled to , fit on the training split. The 50 training models contribute 84,000 traces, split 90/10 into 75,600 training and 8,400 validation examples.
A.3.1. Current Amplitude Sampling

Figure A.3 | Empirical distribution of DC step amplitudes in nA considered.
We use square DC step currents, the standard protocol for characterizing neuron behavior in electrophysiological experiments. Amplitudes are drawn from a truncated skew-normal distribution on nA (Figure A.3), the range over which the HoF models are experimentally validated. Its mode is placed within the peri-threshold window, where responses transition abruptly between non-spiking and spiking and the map from current to response is most nonlinear, and its positive skew provides coverage of the sustained spiking regime. This distribution is the same used for the NOBLE training data [39], making the comparisons fair.
A.3.2. Time-Varying Stimulus Construction
Time-varying stimuli are constructed by summing a random number of sine, step, ramp and chirp basis components, each with independently sampled amplitude, onset and duration, and with frequency parameters additionally sampled for the oscillatory components (see Table A.3). At least one ramp is always included, so no pure square pulse occurs in this dataset and evaluation on step currents is a test of transfer. The summed waveform is smoothly compressed to lie within amplitude bounds of nA.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
| Basis | Quantity | Symbol | Distribution |
|---|---|---|---|
| Sine: for ; zero otherwise. | |||
| count | Uniform{0, 1, 2} | ||
| amplitude | Uniform(0.5, 1.5) | ||
| frequency | Uniform(20, 80) Hz | ||
| phase | Uniform(0, 2) rad | ||
| start time | Uniform(1, 200) ms | ||
| duration | Uniform(50, 300) ms | ||
| Step: constant value for ; zero otherwise. | |||
| count | Uniform{0, 1, 2} | ||
| amplitude | Uniform(-1, 1) | ||
| start time | Uniform(1, 100) ms | ||
| duration | Uniform(50, 300) ms | ||
| Ramp: for , then held at for the remainder of the activation window. | |||
| count | Uniform{1, 2} | ||
| slope | Uniform(-0.015, 0.015) generator units/ms | ||
| start time | Uniform(1, 100) ms | ||
| duration | Uniform(30, 300) ms | ||
| Chirp: for , where s. | |||
| count | Uniform{0, 1} | ||
| amplitude | Uniform(0.5, 1.0) | ||
| start time | Uniform(1, 100) ms | ||
| frequency ramp rate | Uniform(1000, 2000) Hz/s | ||
| base frequency | Uniform(50, 100) Hz | ||
Table A.3 | Construction of the custom current waveforms. For each waveform, the number of components of each basis type is sampled first from the discrete distribution shown. Conditional on a component being included, its parameters are sampled independently, each from the listed distributions. Times are relative to the activation window onset.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
A.4. Supplementary Results for the PVALB Neuron
A.4.1. Voltage Trace Ensembles

Figure A.4 | Examples of sets of reference and generated traces for square pulse input currents to the PVALB neuron at different amplitudes. From left to right, columns show voltage traces given by (1) PDE simulations, (2) our model, and (3) NOBLE.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
A.4.2. Electrophysiological Feature Distribution Alignment

AHP_depth
inv_ISI_values
mean_AP_amplitude
mean_frequency
Figure A.5 | Variance ratio ( ) and normalized mean bias for PVALB feature distributions at selected amplitudes.
A.4.3. Frequency Sensitivity Comparison

Figure A.6 | Wasserstein-2 distances between the reference and generated inv_ISI_values distributions for sine wave inputs of varying frequencies. Voltage responses are generated for sine waves with amplitudes 0.06nA, equilibrium position 0.05nA, and frequencies from 2 Hz to 500 Hz. Smoothed Wasserstein-2 distances are plotted for the DC-step-trained model (green) and the time-varying-trained model (orange).
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
A.4.4. Generalization to Complex Time-Varying Protocols
Input current
PDE
Generative (time-varying-trained)
Generative (DC-step-trained)

Figure A.7 | Additional examples of sets of reference and generated traces for unseen time-varying protocols. From left to right, columns show: (1) the input current trace, (2) the voltage traces generated by PDE simulations, (3) the voltage traces generated by our model when trained on time-varying current inputs, and (4) the voltage traces generated by our model when trained on DC step inputs.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
A.5. Supplementary Results for the VIP Neuron
A.5.1. Voltage Trace Ensembles

Figure A.8 | Examples of sets of reference and generated traces for square pulse input currents to the VIP neuron at different amplitudes. From left to right, columns show voltage traces given by (1) PDE simulations, (2) our model, and (3) NOBLE.
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
A.5.2. Performance Across Dynamical Regimes
| Regime | AP width (μs) | AHP depth (mV) | mean AP amplitude (mV) | inv ISI (Hz) | mean frequency (Hz) |
|---|---|---|---|---|---|
| All | 37.7 | 0.905 | 3.00 | 2.514 | 2.264 |
| Threshold | 39.2 | 1.903 | 5.91 | - | 0.750 |
| Low-firing | 34.8 | 0.860 | 2.60 | 1.748 | 0.981 |
| High-firing | 39.3 | 0.907 | 3.16 | 2.939 | 3.009 |
Table A.4 | Performance by dynamical regime, VIP neuron. Wasserstein-2 distances between reference and generated feature distributions, averaged across amplitudes in different regime types. Inv ISI is omitted in the threshold regime, where firing responses contain too few spikes to yield interspike intervals.
A.5.3. Electrophysiological Feature Distributions
A

B
C
Figure A.9 | A) Distribution of key electrophysiological features for a VIP neuron from experimental recordings (grey), PDE simulations (blue), NOBLE (red), and our model (green) across three representative amplitudes. Arrows indicate the fraction of values outside of the displayed axis range. B) Explained variance (EV, %) across quantile levels of generated and PDE distributions. C) , the empirical firing probability given current amplitude for PDE simulations (blue; dashed), NOBLE (red), and our model (green).
Conditional Flow Matching for Single-Neuron Electrophysiology: Capturing Multimodal Responses Across Stimuli
A.5.4. Electrophysiological Feature Distributions Alignment

AHP_depth
inv_ISI_values
mean_AP_amplitude
mean_frequency
Figure A.10 | Variance ratio ( ) and normalized mean bias for VIP feature distributions at selected amplitudes.