Submitted:
24 July 2026
Posted:
27 July 2026
You are already at the latest version
Abstract
Large-scale spiking neural network simulation requires numerical integration that preserves membrane dynamics and spike timing without making fine-resolution updates prohibitively expensive. This balance is difficult for conductance-based leaky integrate-and-fire (LIF) networks because synaptic decay, threshold crossings, resets, and refractory periods form a hybrid dynamical system. To address this difficulty, we introduce a spike-aware propagation (SAP) approximation method, which combines exact receptor-trace updates, analytic homogeneous membrane propagation, Gauss–Legendre quadrature, and spike localization, achieving an improvement on the accuracy-efficiency Pareto frontier. We establish an error bound and conditional convergence under consistent refinement for the proposed SAP. In million-neuron network experiments across four activity regimes, SAP achieved favorable accuracy-efficiency performance. Together, the analysis and experiments show that SAP can improve the accuracy-efficiency balance of conductance-based LIF simulation, highlighting the practical value in large-scale spiking neural network applications.
Keywords:
conductance-based LIF equations
; approximate algorithm
; Gauss–Legendre quadrature
; spike localization
1. Introduction
Large-scale spiking neural network (SNN) simulation connects cellular dynamics with collective circuit behavior. Reduced point-neuron models make such studies computationally tractable, and the leaky integrate-and-fire (LIF) description offers a useful compromise between biophysical detail and numerical efficiency [1,2]. Conductance-based LIF models additionally retain receptor-specific decay and voltage-dependent synaptic driving forces that are absent from purely current-based descriptions [3]. These models support studies ranging from canonical recurrent circuits to data-constrained cortical and brain-scale systems [4,5,6,7,8,9]. As network scale and biological scope increase, the neuronal update kernel is executed ever more frequently. Its numerical accuracy and efficiency therefore place direct limits on feasible simulation duration, parameter exploration, and network size.
The principal difficulty is that a conductance-based LIF network is a hybrid dynamical system, not merely a smooth ordinary differential equation (ODE). Receptor traces decay continuously between synaptic arrivals and jump when spikes arrive. The membrane voltage follows a nonautonomous linear ODE whose coefficients depend on those traces, while threshold crossings trigger resets and refractory clamps. Fine temporal resolution can track these mechanisms but requires repeated updates even when much of the state evolves predictably. Coarser resolution reduces this workload but may displace or miss a threshold crossing and delay its downstream effect. Because event timing changes later resets and synaptic inputs, a local error can propagate through the recurrent network. An effective integration strategy must therefore balance continuous voltage accuracy, discrete event timing, and computational efficiency.
Modern simulators improve throughput through parallel execution, code generation, graphics processing units (GPUs), and communication-aware spike delivery [10,11,12,13,14,15]. The accuracy available at a chosen temporal resolution nevertheless remains controlled by the neuronal integration and spike-detection scheme. Exact propagation is possible for time-invariant linear subthreshold systems [16], while off-grid methods improve spike timing within globally time-driven simulations [17,18]. Event-driven and retrospective tests provide accurate threshold handling for selected point-neuron models [19,20], and analytical conductance-based schemes exploit additional model structure [21,22]. These developments solve complementary parts of the problem, but combining exact receptor-trace updates, economical propagation under time-dependent conductance, and spike localization remains challenging in large recurrent networks.
Here we develop a spike-aware propagation (SAP) approximation for this combined setting. SAP updates visible receptor traces exactly, applies an analytic homogeneous propagator to the membrane equation, and uses Gauss–Legendre quadrature only for the remaining integral. A bisection is then applied to localize a spike when there is a candidate threshold crossing within a scan interval, which separates the roles of ODE updating width and spike-localization tolerance. The analysis establishes an error bound and a conditional convergence result for a prescribed visible-arrival schedule and fixed event itinerary. Large-scale comparisons use sampled-voltage error relative to a fine NEST reference and neuronal ODE-solving time to identify the accuracy-efficiency performance of Euler, SAP, and NEST. The SAP ablations then determine the sensitivity of its main hyperparameters. Together, the analysis and experiments show that SAP can improve the accuracy-efficiency Pareto frontier of conductance-based LIF simulation, highlighting the practical value in large-scale spiking neural network applications.
2. Related Work
2.1. Large-Scale Spiking Network Models
Large-scale SNN models have progressively increased both biological scope and data dependence. Early large recurrent and thalamocortical models established how reduced spiking neurons can reproduce collective regimes that are difficult to study at the single-cell level [2,23]. Subsequent work integrated cell-type-specific connectivity into a full-scale cortical microcircuit [4], reconstructed neocortical microcircuitry at greater cellular detail [5], and linked local microcircuits across multiple macaque cortical areas [6]. Data-constrained mouse visual-cortex models extended this program by jointly using structural and functional measurements [7]. More recent brain-computing studies have pursued human-scale simulation and assimilation on large GPU systems [8,9]. These studies motivate numerical methods that remain economical when the same point-neuron update is executed many billions of times. The present work does not propose a new biological network architecture; it focuses on the integration kernel used to advance conductance-based LIF neurons within such large recurrent simulations.
2.2. Simulation Platforms and Scalability
General-purpose neural simulators balance model expressiveness, reproducibility, and performance in different ways [24]. NEURON and its optimized CoreNEURON engine support detailed neuronal models [25,26], whereas NEST targets large networks of point neurons with shared-memory and distributed parallelism [10]. Brian and Brian 2 use high-level model definitions and code generation to combine flexible specification with compiled execution [11,27]. NESTML extends this code-generation approach to portable descriptions of neuron and synapse models and makes the separation between model equations, event handling, and numerical integration explicit [28].
Hardware-oriented work has reduced the cost of both neuronal updates and spike delivery. GeNN generates accelerator-specific code for SNN simulation [12], while Brian2CUDA supplies a GPU backend for the Brian 2 model language [13]. Procedural connectivity reduces GPU memory pressure by generating connections when required [14], and NEST GPU studies have demonstrated both single-GPU and multi-GPU acceleration [29,30]. On distributed-memory systems, communication and data-structure optimizations have supported petascale and prospective exascale simulation [15,31,32]. Direct NEST–GeNN benchmarks further show that the preferable platform depends on model size, connectivity, hardware, and setup costs [33]. This body of work addresses where and how simulation workloads are executed. SAP is complementary: it changes the per-neuron propagation and threshold-localization procedure while retaining a shared scan schedule suited to parallel execution.
2.3. Time-Driven, Event-Driven, and Exact Integration
Numerical strategies for SNNs are commonly organized by how continuous flows and discrete spike events are scheduled. Globally time-driven methods update neuronal states on a shared grid and are straightforward to parallelize, but a grid-constrained threshold test quantizes spike times. Globally event-driven methods advance from one event to the next and can avoid inactive updates. However, they require reliable prediction of the next event and may introduce model-specific data structures. These are not mutually exclusive categories: hybrid schemes combine global time stepping with exact or off-grid operations inside each step [24].
For linear, time-invariant subthreshold dynamics, matrix-exponential propagation gives an exact grid-to-grid update [16]. Morrison et al. combined exact subthreshold integration with continuous spike times in a discrete-time network schedule [17], and Hanuschkin et al. extended precise spike localization to nonlinear point-neuron models by iterative localization [18]. Event-driven algorithms have also been developed for nonlinear integrate-and-fire dynamics [19]. When a trajectory can cross and return below threshold between grid points, retrospective state-space tests can guarantee detection for selected linear subthreshold models [20]. Collectively, these methods show that exact propagation and accurate event timing can be combined with scalable scheduling. Their guarantees nevertheless depend on the subthreshold dynamics and on how incoming events are exposed to the neuron.
2.4. Conductance-Based Analytical Approximations
Conductance-based synapses are more difficult than current-based synapses because the synaptic input multiplies the membrane voltage. Brette developed an exact event-driven treatment for an integrate-and-fire model with exponential synaptic conductances under specific analytic restrictions [21]. Rudolph and Destexhe derived analytical conductance-based LIF models suited to event-driven strategies [22]. Related exact methods for exponential synaptic currents permit multiple time constants but apply to a different, current-based coupling structure [34]. Continued work on reduced conductance models, including simplified NMDA-receptor dynamics, illustrates the ongoing need to balance receptor detail and tractability [35].
SAP takes a different approximation route. It preserves the exponential decay and jumps of each visible receptor trace, so no numerical ODE solver is required for those variables. The resulting membrane equation is treated by variation of constants: the homogeneous factor is evaluated analytically, and only the intractable forcing integral is approximated. This construction draws on the theory of exponential propagation and high-order Gaussian quadrature [36,37,38]. Threshold crossings and visible arrivals are then handled as explicit discontinuities, consistent with the general principle that a smooth solver must be coupled to event treatment for discontinuous ODE problems [39]. The distinction from the earlier conductance-based analytical schemes is therefore not that SAP makes the full hybrid trajectory exact. Rather, it isolates the approximation to a smooth integral and spike localization, which permits a direct decomposition of the resulting errors while retaining a common scan schedule for parallel execution.
3. Methods
3.1. Conductance-Based LIF Equations
For neuron i, let denote the membrane potential, the membrane capacitance, and the leak conductance. The leak, threshold, and reset potentials are , , and , respectively, and is the absolute refractory period. The active receptor set is . For , the receptor trace has decay time , conductance scale , and reversal potential . The synaptic weight from neuron j is , and the kth corresponding arrival occurs at . With constant external drive , the network dynamics are written in area-normalized units: time is measured in , voltage in , capacitance density in , conductance density in , and current density in . The traces and multipliers are dimensionless.
The membrane equation in (1) is equivalently expressed through the synaptic current .
Let denote a batch-delivery interval of length . The state at comprises the membrane potentials, receptor traces, refractory variables, and all presynaptic arrivals visible under the prescribed schedule. SAP scans the interval through common bins of width h, with a possibly shorter final bin. Although all neurons share this scan schedule, propagation for an individual neuron may begin within a bin when its refractory period ends. Under batched spike delivery, spikes emitted in enter the postsynaptic traces at . Hence H determines the delivery cadence, whereas h determines the grid used to identify candidate spikes.
3.2. Spike-Aware Propagation Approximation
Consider a predictor interval , with , on which the dynamics are smooth between visible arrivals. For , define
These coefficients reduce the subthreshold voltage dynamics to a scalar nonautonomous linear equation. Once the visible arrival set is fixed, the receptor traces can be updated exactly. Let contain the index pairs for arrivals visible to neuron i through receptor u after the initial trace has been formed. Then
Equation (3) is exact for the prescribed visible arrivals. In the parallel implementation, spikes emitted during a batch are accumulated and become visible to postsynaptic traces at . Propagation inside the batch therefore uses the visible-arrival set fixed at its left boundary.
Applying variation of constants to the membrane equation gives
where . On an arrival-free segment, , and hence
Visible arrivals partition the predictor interval into arrival-free segments, on each of which this propagator is exact. SAP therefore evaluates the homogeneous contribution analytically. Numerical approximation is confined to the inhomogeneous integral and spike localization.
SAP approximates the remaining integral by an M-node Gauss–Legendre rule on :
Equation (5) approximates only the smooth forcing integral; receptor decay and homogeneous attenuation remain exact. The analysis assumes and the endpoint-screening condition of Theorem 1. On each active scan bin, the no-reset predictor must either remain subthreshold or possess one unique threshold zero followed by a suprathreshold right endpoint. The endpoint test then detects that crossing, while prevents a second spike after the reset within the same bin. Within a bin , neuron i remains clamped until . If , Equation (5) propagates the neuron over from traces decayed to . Otherwise, the neuron remains clamped. A suprathreshold endpoint prediction marks a candidate spike, and the same predictor localizes its time within the bin. The localized spike time determines the next refractory release, and the bin-end voltage is reset. Because , the neuron cannot spike again in the unscanned remainder of that bin. Propagation resumes from the neuron-specific refractory release time in a later bin. Emitted spikes are accumulated and inserted into postsynaptic traces at .
Algorithm 1 summarizes the resulting SAP workflow. For each scan bin, it constructs refractory-aware initial states, advances the neurons with Equation (5), localizes candidate spikes, and accumulates emitted spikes for delivery at the batch boundary.
| Algorithm 1: SAP: spike-aware propagation approximation |
|
4. Error Analysis
4.1. One-Batch Voltage-Error and Conditional Convergence Analysis
To isolate the propagation and spike-localization errors, fix one neuron i and one batch interval . Let denote the exact voltage trajectory and let denote the SAP trajectory. The two trajectories start from the same voltage, receptor traces, and refractory status at , and they use the same prescribed visible-arrival data during the batch. Values at resets are taken right-continuously. A receptor trace jump at does not instantaneously change the voltage, so the endpoint error is evaluated at . This construction keeps the theorem focused on the observable membrane voltage while retaining the event times needed to control reset and refractory effects.
Let be the collection of active predictor intervals obtained by cutting the scan bins at visible arrivals and refractory releases. Thus every is smooth, , and . For , define
and
Theorem 1
(One-batch voltage error for spike-aware propagation). Fix and an integer . Assume the following conditions on .
- 1.
- The visible-arrival sequence is finite, and the functions in Equation (6) have bounded derivatives through order on every .
- 2.
- The exact and SAP trajectories remain in a bounded neighborhood with the same finite event itinerary. In particular, they have the same number and ordering of threshold crossings, resets, and refractory releases, and no such event coincides with a scan or batch boundary.
- 3.
- The endpoint screen is complete on this itinerary. On every active scan bin, the SAP no-reset predictor either remains below threshold throughout the bin, or it has exactly one threshold zero and is suprathreshold at the right endpoint. Every exact crossing has one corresponding predictor zero in a common initial bracket of width .
- 4.
-
Let be the smooth unreset continuation of the exact pre-spike voltage on . Its threshold crossing is transversal, andThe corresponding SAP predictor zero also lies in .
Let index the crossings in the batch, and define the bisection remainder
Then there exist constants and such that
The constants are uniform on the stated event-itinerary neighborhood. They depend on the model parameters, H, the transversality bounds, and local flow sensitivities, but not on h, , or B. Here is dimensionless, whereas has units of voltage per unit time.
If uniformly and along an itinerary-preserving refinement sequence, then
Thus the one-batch voltage error is under the stated refinement conditions.
Proof.
We first estimate the defect of one smooth predictor. Fix and . For an initial voltage v, the exact unreset flow is
The SAP map replaces only the integral by the M-node Gauss–Legendre rule,
where
The Gauss–Legendre remainder formula and give
This estimate is uniform in x, so it applies both to accepted endpoint updates and to predictor evaluations made during bisection.
If the exact and numerical segment maps start from different voltages v and , then
On the bounded neighborhood in the theorem, for some finite . Products of these smooth propagation factors over the batch are therefore bounded by , independently of the number of scan intervals.
We next examine a threshold crossing. Let be the zero of the exact unreset continuation , let be the corresponding zero of the SAP predictor before bisection truncation, and let be the returned bisection time. Denote the uniform discrepancy between the exact unreset continuation and the numerical predictor on their common bracket by . Because and the SAP predictor equals at , transversality and the mean-value theorem yield
This argument uses the smooth unreset continuation, not the physical voltage after its reset.
The retained bisection bracket contains . Its width is at most when the requested tolerance is reached and at most when the iteration cap is reached. Hence
and Equations (15) and (16) give
It remains to propagate these defects through the batch with constants that do not grow with the number of scan intervals. Order the physical events in the common itinerary and regard the intervening members of as smooth stages. At a regular endpoint of a smooth stage, let be the voltage discrepancy and let be the magnitude of the crossing- or refractory-release-time discrepancy that is currently carried by the two trajectories; set when no such offset is active. Bounded derivatives of the flow on the itinerary-preserving neighborhood give uniform constants such that, for a smooth stage of length ,
Indeed, the first coefficient is the usual smooth-flow stability factor, so . The dependence on a displaced event endpoint enters through the vector field integrated over ; hence its coefficient satisfies . The final term follows from Equation (14). These quantitative scalings are essential because the number of smooth stages may increase as h decreases.
Choose a fixed conversion factor with units of voltage per unit time, define , and choose . Since for , Equations (18) and (19) imply
Consequently, discrete Gronwall, or direct telescoping of Equation (20), over any consecutive smooth block gives
The sum of all smooth-stage lengths in the batch is at most H. Thus their combined amplification is at most , independently of h and of the number of scan intervals.
We now separate the physical event maps from these smooth stages. The fixed event itinerary contains a finite number of visible-arrival jumps, crossing/reset pairs, and refractory releases; is independent of the scan partition. For a crossing event, uniform smooth-stage estimates on its common bracket and Equation (13) bound the predictor discrepancy by
Equation (17) then controls the new timing error. Both trajectories receive the same reset voltage, and the timing error is carried to the corresponding refractory release. At that release, boundedness of the vector field gives Lipschitz dependence of the restarted voltage on the release time. Visible-arrival jumps occur at the same prescribed times and are also locally Lipschitz. It follows that the jth physical event map satisfies
where the defect term is taken as zero for an event with no associated predictor interval. The constants and are dimensionless, whereas has units of voltage per unit time. They are uniform on the stated neighborhood: in particular, the factors from Equation (17) are bounded there.
Finally, telescope the alternating smooth-block estimates (21) and the event-map estimates (22). With
where an empty maximum is zero, the common initial data yield
The fixed finite event count, the total-length bound, and the uniform local coefficients show explicitly that neither multiplier depends on h, , or B. Taking and proves Equation (9).
Finally,
Combining this inequality with the uniform derivative bound and the assumed bisection scaling proves Equation (10). □
Equation (9) is a conditional one-batch voltage estimate. It applies to any batch whose initial data and event itinerary satisfy the stated conditions. The theorem provides an error and convergence analysis of the SAP voltage update; the experiments below separately evaluate the tested accuracy-efficiency behavior of the recurrent implementation.
5. Results and Discussion
5.1. Million-Neuron Network Experiments
We evaluated Euler, SAP, and NEST [10] across four constant-drive regimes. The input current densities produced same-input NEST reference firing rates of , , , and , respectively. This range allowed the solver comparison to include both weakly and strongly driven network activity. All main comparisons retained the same three-solver suite; the subsequent parameter sweeps varied SAP only. The complete configuration-level records are provided in Supplementary File S1.
5.1.1. Experimental Design and Evaluation Metrics
The topology, neuronal and synaptic parameters, external drive, initialization, and output-sampling grid were fixed across solver configurations. The experimental network contained neurons, comprising excitatory and inhibitory neurons. Each neuron had fixed average in-degree . Each experiment covered with a batch-delivery interval of under one of four constant drives, .
The same fixed topology artifact was reused by every solver. Each target neuron received 100 distinct presynaptic neurons sampled without replacement, with self-connections excluded; the graph therefore contained neither autapses nor repeated source–target pairs. The first source indices were excitatory and entered the AMPA channel, while the remaining were inhibitory and entered the channel. Each active connection used a fixed dimensionless multiplier drawn during topology construction.
The area-normalized membrane parameters were , , and . All neurons started at with zero receptor traces and were not initially refractory. The threshold and reset potentials were and , respectively, and . AMPA and had reversal potentials 0 and and decay times 2 and , respectively. Their base conductance densities were and , followed by the common scale . Thus, a connection produced conductance-density increments and in the two channels.
The NEST parameter conversion used an effective membrane area of : , , and . Excitatory and inhibitory NEST connection weights were and , respectively. The custom solvers stored voltage, receptor traces, quadrature data, and event times in double precision, while the sparse topology and weight arrays used single precision. Sampled voltage arrays were recorded in single precision.
The numerical settings varied only by solver and by the planned SAP ablations. Euler and SAP were implemented as graphics processing unit (GPU) solvers and were evaluated at . The main SAP configuration used , , and at most 15 bisection iterations. The ablations varied and . Every tested scan width satisfied . NEST 3.10.0-rc.2 used the iaf_cond_exp model with a delay. For each drive, the NEST simulation at served as the numerical reference.
All configurations were evaluated on the same Dell Precision 7960 workstation, equipped with an Intel Xeon w5-3525 processor, 125 GiB of system memory, and three NVIDIA GeForce RTX 4090 GPUs with 24 GiB of memory each. Each Euler or SAP configuration used one RTX 4090 and PyTorch 2.11.0 with CUDA 12.6. NEST 3.10.0-rc.2 ran on the same workstation with eight CPU threads.
The interpretation of h depends on the solver. For SAP, h is the common scan width, although propagation may begin later within a bin when a refractory period ends. For NEST, h is the simulation resolution that bounds each interval advanced by the adaptive Runge–Kutta–Fehlberg integrator in the GNU Scientific Library.
We quantified voltage accuracy by the sampled-neuron root-mean-square error (RMSE). We sampled neurons at intervals of . Let denote the resulting sampling grid and the sampled-neuron set. For numerical voltage and reference voltage , the metric is
We quantified computational cost by neuronal ordinary differential equation (ODE)-solving time. For every solver, this metric retains only work used to advance the neuronal differential equations. The SAP value consists of two parts: the pure ODE-solving time in the main propagation stage and the pure ODE-solving time of the predictor evaluations performed during bisection for spike localization. Data movement, input/output, recording, post-processing, synaptic delivery, and NEST voltage polling are excluded. The metric therefore compares neuronal ODE work rather than end-to-end wall-clock performance.
5.1.2. Sampled-Neuron Voltage Dynamics
Before comparing aggregate error and cost, we examined the membrane-voltage trajectory of one sampled neuron. Figure 1 compares the high-activity regime across four Euler/SAP step sizes over the first . The same recording grid and the fixed NEST reference were used in every row.
At , the fixed trace shows several early reset events for which SAP and NEST are recorded at nearby sampling points, whereas Euler records the corresponding events later. The remaining rows show how the recorded Euler and SAP trajectories change as their step sizes are reduced. The repeated threshold approaches, abrupt resets, and plateaus provide a qualitative illustration of the hybrid LIF dynamics for one prespecified neuron. The aggregate comparison below uses all 1000 sampled neurons over the complete simulation.
5.1.3. Accuracy-Efficiency Pareto Frontiers Across Activity Regimes
The central empirical comparison concerns sampled-neuron voltage RMSE and pure neuronal ODE-solving time over the tested configurations. Figure 2 plots every evaluated operating point under these two metrics. Their lower-left envelope is the tested Pareto frontier: moving toward it reduces error, cost, or both, and a point directly dominates a comparator when it improves both quantities.
Within the fixed-seed experiments, the clearest joint reductions occurred in the two high-activity regimes shown in panels (c) and (d). At , SAP had both lower RMSE and lower pure ODE-solving time than the corresponding NEST configurations. The RMSE reductions were and , while the corresponding NEST-to-SAP ODE-time ratios were and . These points are direct lower-left improvements over those same-resolution NEST configurations under the reported metrics.
The same tested ordering appeared in selected cross-resolution comparisons with Euler. SAP at had lower RMSE than Euler at in both high-activity regimes, despite using a 100-fold larger scan width. The RMSE reductions were and , and SAP required less than half the pure ODE-solving time. When SAP at was compared with Euler at , it reduced RMSE by and while reducing pure ODE-solving time by factors exceeding four.
Selected approximately cost-matched points showed the same ordering in the two high-activity runs. Relative to Euler at , SAP at reduced RMSE from to at and from to at . Thus, the observed frontier ordering was not restricted to points with markedly different pure ODE-solving costs.
The lower-activity regimes bound this result. SAP at was used approximately of the pure ODE-solving time of Euler at , but their RMSE values differed by only in either direction. The ordering against NEST also changed as h decreased. At , SAP had lower RMSE only in the highest-activity regime; at , NEST had lower RMSE in all four regimes while SAP remained less expensive. Figure 2 therefore supports an activity- and configuration-dependent frontier improvement rather than uniform solver dominance.
5.1.4. SAP Hyperparameter Ablations
We next examined which SAP hyperparameters produced useful operating points using RMSE and pure ODE-solving time as the respective accuracy and efficiency metrics. The sweep separated the effects of quadrature order, spike-localization tolerance, and scan width. Table 1 and Table 2 report the slices because they isolate the two local parameters at the coarsest tested scan width. The supplementary records contain all four scan widths. Figure 3 complements the absolute values in the tables by showing the accuracy change and ODE-time multiplier relative to the coarsest setting in each sweep.
Increasing M from 1 to 2 reduced RMSE in all four regimes. This change increased pure ODE-solving time by approximately , yielding an accuracy-efficiency tradeoff rather than free improvement. Beyond , the errors changed by at most and were not consistently smaller. In particular, required approximately 49– more pure ODE-solving time than . Its RMSE was equal or larger in three regimes, while at it improved RMSE by only . Thus, remained the practical compromise: it captured most of the order-dependent gain without moving to the high-cost, low-return end of the SAP frontier, as summarized in Figure 3a,d.
Tightening from to reduced RMSE by at and by at . The corresponding pure ODE-solving times increased by approximately . The same tolerance change altered RMSE by only and in the two lower-drive cases. Further tightening to increased cost by another 37– without a consistent RMSE reduction. Hence, the tolerance sweep places near the knee of the tested SAP frontier for the two high-activity regimes; the tighter setting buys little additional accuracy (Figure 3b,e).
Across the tested scan widths, the accuracy-efficiency ordering depended on the activity regime. For example, at with and , RMSE was , , , and as h decreased from 1 to . The associated pure ODE-solving time increased from to . At , moving across the same settings changed RMSE by only while increasing pure ODE-solving time by more than 200-fold. Thus, the lower-left operating points in this sweep were concentrated at intermediate or coarse settings (Figure 3c,f).
5.1.5. Discussion
Within the tested sweep, selected coarse SAP configurations produced favorable sampled-voltage accuracy-efficiency points, particularly in the two higher-activity regimes. The quadrature-order and localization-tolerance ablations showed that intermediate settings captured the useful operating points without incurring the largest ODE-solving costs. These observations motivate the use of and in the main SAP comparisons.
The NEST run at serves consistently as the numerical reference. All reported rankings concern sampled-neuron voltage RMSE and pure neuronal ODE-solving time for the fixed-topology million-neuron network, four constant-current densities, and explicitly tested configurations. Within this scope, intermediate SAP settings occupied favorable points of the tested accuracy-efficiency frontier.
6. Conclusions
We introduced SAP for conductance-based LIF equations by combining analytic homogeneous propagation, Gauss–Legendre quadrature, and spike localization. For a prescribed visible-arrival schedule and fixed bracketed transversal spiking event itinerary, the accompanying analysis bounds the one-batch voltage error and gives conditional convergence under consistent refinement. In the million-neuron network experiments, selected SAP configurations in the two higher-activity regimes yielded lower sampled-voltage RMSE at comparable pure ODE-solving time, or lower pure ODE-solving time at comparable RMSE, than the tested Euler and NEST configurations. The ablations identified and as practical intermediate settings for the higher-activity cases. The results show that SAP can improve the accuracy-efficiency Pareto frontier of conductance-based LIF simulation, highlighting its practical value in large-scale spiking neural network applications.
Supplementary Materials
The following supporting information can be downloaded at the website of this paper posted on Preprints.org. Supplementary File S1: Additional algorithms, ablation studies, and detailed results for the spike-aware propagation approximation.
Author Contributions
Conceptualization, W.L. and Y.Y; Methodology, Validation, Formal analysis, Writing–original draft, Y.Y.; Resources, Q.Z.; Review and editing, W.L.; Supervision, W.L. and Q.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the STI 2030-Major Projects, grant number 2021ZD0200407, and the Lingang Laboratory, grant number LGL-1987.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The implementation code will be made available upon reasonable request.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| GPU | Graphics processing unit |
| LIF | Leaky integrate-and-fire |
| ODE | Ordinary differential equation |
| RMSE | Root-mean-square error |
| SAP | Spike-aware propagation |
| SNN | Spiking neural network |
References
- Burkitt, A.N. A review of the integrate-and-fire neuron model: I. Homogeneous synaptic input. Biological Cybernetics 2006, 95, 1–19. [CrossRef]
- Brunel, N. Dynamics of sparsely connected networks of excitatory and inhibitory spiking neurons. Journal of Computational Neuroscience 2000, 8, 183–208. [CrossRef]
- Destexhe, A.; et al. Synthesis of models for excitable membranes, synaptic transmission and neuromodulation using a common kinetic formalism. Journal of Computational Neuroscience 1994, 1, 195–230. [CrossRef]
- Potjans, T.C.; Diesmann, M. The cell-type specific cortical microcircuit: relating structure and activity in a full-scale spiking network model. Cerebral Cortex 2014, 24, 785–806. [CrossRef]
- Markram, H.; et al. Reconstruction and Simulation of Neocortical Microcircuitry. Cell 2015, 163, 456–492. [CrossRef]
- Schmidt, M.; Bakker, R.; Shen, K.; Bezgin, G.; Diesmann, M.; van Albada, S.J. A multi-scale layer-resolved spiking network model of resting-state dynamics in macaque visual cortical areas. PLoS Computational Biology 2018, 14, e1006359. [CrossRef]
- Billeh, Y.N.; et al. Systematic integration of structural and functional data into multi-scale models of mouse primary visual cortex. Neuron 2020, 106, 388–403.e18. [CrossRef]
- Lu, W.; et al. Imitating and exploring the human brain’s resting and task-performing states via brain computing: scaling and architecture. National Science Review 2024, 11, nwae080. [CrossRef]
- Lu, W.; et al. Simulation and assimilation of the digital human brain. Nature Computational Science 2024, 4, 890–898. [CrossRef]
- Gewaltig, M.O.; Diesmann, M. NEST (NEural Simulation Tool). Scholarpedia 2007, 2, 1430. [CrossRef]
- Stimberg, M.; Brette, R.; Goodman, D.F.M. Brian 2, an intuitive and efficient neural simulator. eLife 2019, 8, e47314. [CrossRef]
- Yavuz, E.; et al. GeNN: a code generation framework for accelerated brain simulations. Scientific Reports 2016, 6, 18854. [CrossRef]
- Alevi, D.; et al. Brian2CUDA: flexible and efficient simulation of spiking neural network models on GPUs. Frontiers in Neuroinformatics 2022, 16, 883700. [CrossRef]
- Knight, J.C.; Nowotny, T. Larger GPU-accelerated brain simulations with procedural connectivity. Nature Computational Science 2021, 1, 136–142. [CrossRef]
- Jordan, J.; Ippen, T.; Helias, M.; Kitayama, I.; Sato, M.; Igarashi, J.; Diesmann, M.; Kunkel, S. Extremely scalable spiking neuronal network simulation code: from laptops to exascale computers. Frontiers in Neuroinformatics 2018, 12, 2. [CrossRef]
- Rotter, S.; Diesmann, M. Exact digital simulation of time-invariant linear systems with applications to neuronal modeling. Biological Cybernetics 1999, 81, 381–402. [CrossRef]
- Morrison, A.; et al. Exact subthreshold integration with continuous spike times in discrete-time neural network simulations. Neural Computation 2007, 19, 47–79. [CrossRef]
- Hanuschkin, A.; Kunkel, S.; Helias, M.; Morrison, A.; Diesmann, M. A general and efficient method for incorporating precise spike times in globally time-driven simulations. Frontiers in Neuroinformatics 2010, 4, 113. [CrossRef]
- Tonnelier, A.; Belmabrouk, H.; Martinez, D. Event-driven simulations of nonlinear integrate-and-fire neurons. Neural Computation 2007, 19, 3226–3238. [CrossRef]
- Krishnan, J.; et al. Perfect detection of spikes in the linear sub-threshold dynamics of point neurons. Frontiers in Neuroinformatics 2018, 11, 75. [CrossRef]
- Brette, R. Exact simulation of integrate-and-fire models with synaptic conductances. Neural Computation 2006, 18, 2004–2027. [CrossRef]
- Rudolph, M.; Destexhe, A. Analytical integrate-and-fire neuron models with conductance-based dynamics for event-driven simulation strategies. Neural Computation 2006, 18, 2146–2210. [CrossRef]
- Izhikevich, E.M.; Edelman, G.M. Large-scale model of mammalian thalamocortical systems. Proceedings of the National Academy of Sciences 2008, 105, 3593–3598. [CrossRef]
- Brette, R.; et al. Simulation of networks of spiking neurons: a review of tools and strategies. Journal of Computational Neuroscience 2007, 23, 349–398. [CrossRef]
- Hines, M.L.; Carnevale, N.T. The NEURON simulation environment. Neural Computation 1997, 9, 1179–1209. [CrossRef]
- Kumbhar, P.; Hines, M.; Fouriaux, J.; Ovcharenko, A.; King, J.; Delalondre, F.; Schuermann, F. CoreNEURON: an optimized compute engine for the NEURON simulator. Frontiers in Neuroinformatics 2019, 13, 63. [CrossRef]
- Goodman, D.; Brette, R. Brian: a simulator for spiking neural networks in Python. Frontiers in Neuroinformatics 2008, 2, 5. [CrossRef]
- Linssen, C.; Babu, P.N.; Eppler, J.M.; Koll, L.; Rumpe, B.; Morrison, A. NESTML: a generic modeling language and code generation tool for the simulation of spiking neural networks with advanced plasticity rules. Frontiers in Neuroinformatics 2025, 19, 1544143. [CrossRef]
- Golosio, B.; Tiddia, G.; De Luca, C.; Pastorelli, E.; Simula, F.; Paolucci, P.S. Fast simulations of highly-connected spiking cortical models using GPUs. Frontiers in Computational Neuroscience 2021, 15, 627620. [CrossRef]
- Tiddia, G.; Golosio, B.; Albers, J.; Senk, J.; Simula, F.; Pronold, J.; Fanti, V.; Pastorelli, E.; Paolucci, P.S.; van Albada, S.J. Fast simulation of a multi-area spiking network model of macaque cortex on an MPI–GPU cluster. Frontiers in Neuroinformatics 2022, 16, 883333. [CrossRef]
- Thibeault, C.M.; Minkovich, K.; O’Brien, M.J.; Harris, F.C.; Srinivasa, N. Efficiently passing messages in distributed spiking neural network simulation. Frontiers in Computational Neuroscience 2013, 7, 77. [CrossRef]
- Kunkel, S.; Schmidt, M.; Eppler, J.M.; Plesser, H.E.; Masumoto, G.; Igarashi, J.; Ishii, S.; Fukai, T.; Morrison, A.; Diesmann, M.; et al. Spiking network simulation code for petascale computers. Frontiers in Neuroinformatics 2014, 8, 78. [CrossRef]
- Schmitt, F.J.; Rostami, V.; Nawrot, M.P. Efficient parameter calibration and real-time simulation of large-scale spiking neural networks with GeNN and NEST. Frontiers in Neuroinformatics 2023, 17, 941696. [CrossRef]
- Brette, R. Exact simulation of integrate-and-fire models with exponential currents. Neural Computation 2007, 19, 2604–2609. [CrossRef]
- Skaar, J.E.W.; Haug, N.; Plesser, H.E. A simplified model of NMDA-receptor-mediated dynamics in leaky integrate-and-fire neurons. Journal of Computational Neuroscience 2025, 53, 475–487. [CrossRef]
- Moler, C.; Van Loan, C. Nineteen dubious ways to compute the exponential of a matrix, twenty-five years later. SIAM Review 2003, 45, 3–49. [CrossRef]
- Hochbruck, M.; Ostermann, A. Exponential integrators. Acta Numerica 2010, 19, 209–286. [CrossRef]
- Trefethen, L.N. Is Gauss quadrature better than Clenshaw–Curtis? SIAM Review 2008, 50, 67–87. [CrossRef]
- Dieci, L.; Lopez, L. A survey of numerical methods for IVPs of ODEs with discontinuous right-hand side. Journal of Computational and Applied Mathematics 2012, 236, 3967–3991. [CrossRef]
Figure 1.
Sampled-neuron membrane-voltage trajectories during the first of the million-neuron network experiment at . Rows (a)–(d) show Euler and SAP at , , , and , respectively. NEST uses the fixed reference configuration in every row. SAP used , , and at most 15 localization iterations. Markers are displayed at selected common recording times, and lines connect all values recorded on the grid. Horizontal guides identify the threshold and reset voltages. All curves use the common experimental configuration. SAP denotes spike-aware propagation.
Figure 1.
Sampled-neuron membrane-voltage trajectories during the first of the million-neuron network experiment at . Rows (a)–(d) show Euler and SAP at , , , and , respectively. NEST uses the fixed reference configuration in every row. SAP used , , and at most 15 localization iterations. Markers are displayed at selected common recording times, and lines connect all values recorded on the grid. Horizontal guides identify the threshold and reset voltages. All curves use the common experimental configuration. SAP denotes spike-aware propagation.

Figure 2.
Tested sampled-voltage accuracy-efficiency operating points across four million-neuron activity regimes. Panels (a)–(d) correspond to , 1, 2, and , with same-input reference firing rates of , , , and , respectively. Each method curve reports sampled-neuron root-mean-square voltage error (RMSE) against pure neuronal ODE-solving time; marker shapes identify h, and movement toward the lower left indicates improvement in both quantities. Lines connect tested operating points for visualization and do not imply continuous interpolation. The zero-RMSE NEST reference at is omitted from the logarithmic ordinate. SAP denotes spike-aware propagation.
Figure 2.
Tested sampled-voltage accuracy-efficiency operating points across four million-neuron activity regimes. Panels (a)–(d) correspond to , 1, 2, and , with same-input reference firing rates of , , , and , respectively. Each method curve reports sampled-neuron root-mean-square voltage error (RMSE) against pure neuronal ODE-solving time; marker shapes identify h, and movement toward the lower left indicates improvement in both quantities. Lines connect tested operating points for visualization and do not imply continuous interpolation. The zero-RMSE NEST reference at is omitted from the logarithmic ordinate. SAP denotes spike-aware propagation.

Figure 3.
Relative effects of SAP hyperparameters across the four constant-drive regimes. Panels (a,d) vary quadrature order at , , and at most five localization iterations. Panels (b,e) vary localization tolerance for and ; the setting used at most five iterations, whereas the tighter settings used at most 15. Panels (c,f) vary scan width for , , and at most 15 iterations. The upper panels report the change in sampled-voltage RMSE from the coarsest setting of each sweep, so negative values indicate improved accuracy. The lower panels report the corresponding pure ODE-solving-time multiplier. All connected points use the common seed-1 experimental configuration. SAP denotes spike-aware propagation.
Figure 3.
Relative effects of SAP hyperparameters across the four constant-drive regimes. Panels (a,d) vary quadrature order at , , and at most five localization iterations. Panels (b,e) vary localization tolerance for and ; the setting used at most five iterations, whereas the tighter settings used at most 15. Panels (c,f) vary scan width for , , and at most 15 iterations. The upper panels report the change in sampled-voltage RMSE from the coarsest setting of each sweep, so negative values indicate improved accuracy. The lower panels report the corresponding pure ODE-solving-time multiplier. All connected points use the common seed-1 experimental configuration. SAP denotes spike-aware propagation.

Table 1.
Quadrature-order ablation for SAP at and , with at most five localization iterations. Each order reports sampled-voltage RMSE in and pure neuronal ODE-solving time in .
Table 1.
Quadrature-order ablation for SAP at and , with at most five localization iterations. Each order reports sampled-voltage RMSE in and pure neuronal ODE-solving time in .
| () | RMSE | Time | RMSE | Time | RMSE | Time | RMSE | Time |
| 1 | ||||||||
| 2 | ||||||||
| 3 | ||||||||
Table 2.
Spike-localization-tolerance ablation for SAP at . The setting used at most five localization iterations; the tighter settings used at most 15. Each setting reports RMSE in and pure neuronal ODE-solving time in .
Table 2.
Spike-localization-tolerance ablation for SAP at . The setting used at most five localization iterations; the tighter settings used at most 15. Each setting reports RMSE in and pure neuronal ODE-solving time in .
| () | RMSE | Time | RMSE | Time | RMSE | Time |
| 1 | ||||||
| 2 | ||||||
| 3 | ||||||
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.