Event-Clocked Diagonal State-Space Models

Spiking neural networks save energy because neurons that do not fire do not trigger computation downstream. The recent spiking state-space models, however, still run on a global clock. These are sequence models whose memory is a bank of simple linear filters. At every tick, every filter's internal state is decayed or rotated whether or not anything arrived. We propose to remove that clock.

The approach rests on one property. When the filter bank is diagonal, meaning each memory channel evolves on its own as a single decaying or oscillating number, the state between inputs follows a closed-form curve. A channel can therefore sit untouched while its input is silent. When an input event finally arrives, the channel jumps its state forward by the elapsed time in one step. Its next output spike can be scheduled analytically instead of being checked for on every tick. The claim is that compute and memory traffic then scale with the number of events rather than with sequence length times width. The results are the same as clock-driven execution, or differ only by a measurable approximation.

This matters because at the spike rates spiking state-space models now reach, the per-tick state updates plausibly outweigh the synaptic work that energy papers usually count. SPikE-SSM reports Path-X accuracy "94.37% … with a spiking rate of only 0.07%". Take a channel with fan-in 256 as an illustrative number of our own. At that rate the channel receives about $256 \times 0.0007 \approx 0.18$ input spikes per tick. It still performs one complex state update per tick, roughly four real multiplies. On that arithmetic, the clock-driven state update, not synaptic accumulation, dominates by an order of magnitude. That is the cost this proposal attacks.

Core Claim

A diagonal state-space model (SSM) keeps a hidden state $h_t$ updated as $h_t = A h_{t-1} + B x_t$. Here $A$ is the state-transition matrix, $B$ maps inputs into the state, and $x_t$ is the input. When $A$ is diagonal, each channel $i$ is a scalar filter with a complex pole $\lambda_i$. Diagonal State Spaces are as Effective as Structured State Spaces showed diagonal $A$ loses nothing in expressivity relative to more structured forms. Provable Benefits of Complex Parameterizations for Structured State Space Models showed complex poles give an exponential parameter advantage for oscillatory signals. We supply the method-level fact these works imply but do not use. If channel $i$ last received input at time $t_{k-1}$ and next receives input at $t_k$, its exact update is

$$h_i(t_k) = e^{\lambda_i (t_k - t_{k-1})}\, h_i(t_{k-1}) + \sum_{j \in \mathcal{E}_k} B_{ij},$$

where $\mathcal{E}_k$ is the set of presynaptic neurons that spiked at $t_k$. The sum is accumulate-only because inputs are binary spikes. A dense $A$ would need a matrix exponential per event and would couple every channel to every other. A diagonal $A$ needs only one scalar complex multiply per active channel, with the factor $e^{\lambda_i \Delta}$ read from a per-channel table indexed by a quantized interval $\Delta$.

The total number of state updates in a layer is then bounded by its synaptic events rather than by $d \cdot T$ (for $d$ channels and $T$ ticks):

$$N_{\text{update}} \;\le\; \min\big(d \cdot T,\; N_{\text{syn}}\big).$$

Here $N_{\text{syn}}$ counts incoming synaptic events. The bound holds because a channel is touched only when at least one of its inputs fires.

Output spikes are the one place where skipping time is not free. For a purely real, decaying channel with an upward threshold, the state moves monotonically toward zero between inputs. An upward threshold crossing can therefore only happen at an input time, so event-clocked execution is exact.

Complex channels are different. Their real part oscillates, so they can cross threshold in the gaps between inputs. We handle this with the damped-oscillator trajectory. Its local maxima occur at closed-form times, and successive peak amplitudes shrink by $e^{-\pi\,|\mathrm{Re}\,\lambda_i| / |\mathrm{Im}\,\lambda_i|}$ per half-cycle. After each input, the channel therefore needs to schedule only the few peaks whose amplitude still exceeds threshold. It emits a spike at each such peak and schedules nothing once peaks fall below threshold.

Research Program

We will build the model, a training procedure for it, and an energy accounting that counts everything.

The model is reset-free, so training stays parallel in time. It follows the choice made by A Spiking Heterogeneous Harmonic Resonate-and-Fire State Space Model for Time Series, which formulates oscillating resonate-and-fire neurons as a diagonal SSM, drops the hard reset, and trains with parallel scans. It uses the SSM-style parameterization of Structured State Space Model Dynamics and Parametrization for Spiking Neural Networks: learned timesteps, log-domain decays and complex poles. Both papers supply our neuron. Both also run it clock-driven, and that is exactly what we change.

We train directly on the event clock rather than on a uniform grid. The sequence presented to each layer is its list of input event times. The associative scan used by Simplified State Space Layers for Sequence Modeling and Resurrecting Recurrent Neural Networks for Long Sequences remains valid when each step carries its own decay factor $e^{\lambda_i \Delta_k}$. That makes training parallel and exact under the same dynamics used at inference. Scheduled peak spikes enter training through surrogate gradients on the peak amplitude, the standard device for differentiating through a threshold catalogued by The Heidelberg spiking datasets for the systematic evaluation of spiking neural networks.

This also addresses the irregular-interval problem that FLAMES treats with spike-interval-modulated decay. FLAMES does so inside a normal-plus-low-rank, partly floating-point memory. Our version is purely diagonal and accumulate-only on the input side.

The accounting counts synaptic accumulates, state-update multiplies, exponential-table reads and state memory reads and writes. It does this separately for clock-driven and event-clocked execution of identical weights. This matters because every energy figure in the section-2 papers is either a theoretical 45nm arithmetic estimate or a projection. That covers the "~69x" EigenWorms figure of SH²RFSSM and the WikiText-103 figure of SPikE-SSM ("60.68 mJ" versus "1265 mJ"). For each of these, the file does not show whether per-tick state updates and memory traffic were counted. We will recompute them under a stated model.

Measurement is layered. The primary measurement is an event-driven CPU implementation with wall-clock timing. A Loihi 2 deployment is a stretch goal. We are cautious about that goal because Sigma-Delta Neural Network Conversion on Loihi 2 found host-to-chip I/O and static power large enough that a Jetson retained the better energy-delay product. This negative result constrains our design. We will not claim hardware energy gains from operation counts alone, and we will report the static and I/O share separately if we reach silicon.

Baselines

The naive reference point is the same trained network executed clock-driven. It has the same weights, the same spikes and the same accuracy, with every channel updated every tick. This is also the ablation that isolates the key ingredient, because only the execution schedule differs. Beating it means a lower total operation and memory-access count, and lower wall-clock time, at identical outputs for real channels. For complex channels, it means matching output within a stated spike-timing tolerance.

A second, stronger naive baseline skips a whole layer's tick when no input arrives anywhere in that layer. This is the obvious trick. Our per-channel update beats it only if silence is structured per channel rather than per layer.

The strongest spiking competitors are two. The first is C-SiLIF/SiLIF, run from its published recipe on SSC and GSC. Reported results there are 82.03% on SSC and "95.88% with delays" on GSC, the latter "using approximately half the computational cost" of dense S4D in synaptic operations (Structured State Space Model Dynamics and Parametrization for Spiking Neural Networks). The second is SH²RFSSM on EigenWorms and PPG-DaLiA. There the file reports only relative results ("outperformed Mamba and S6 by roughly 9% and 5.5%"), and for PPG-DaLiA no reported absolute result was found on Lacuna. On SHD, the strongest number in the file is RPSU at "92.49%" (Efficient Training Spiking Neural Networks with Parallel Spiking Unit). On DVS Gesture, the strongest figures are FLAMES at "96.5% accuracy with just 0.51M parameters" and the TrueNorth system of A Low Power, Fully Event-Based Gesture Recognition System at "94.59%" on 11 classes.

For fairness, we match parameter count, give every model the same hyperparameter-search budget in GPU-hours, and retrain competitors ourselves when needed. We then count operations for all of them with our single accounting model rather than their own.

Beating these baselines means reaching accuracy within one point of the best spiking competitor on each task at a strictly lower fully-counted operation count.

We also include a dense non-spiking diagonal model (LRU or S4D) as the accuracy ceiling. A second ablation, real-only channels versus complex channels with peak scheduling, tells us whether oscillatory channels earn their scheduling overhead.

Why not just…?

Why not just use a coarser clock? Binning events into wider ticks reduces updates just as directly, and on SHD-like audio it may cost little accuracy. This is a real threat. We will sweep tick width for the clock-driven baseline and plot accuracy against total operations. The event clock is only worth having if its curve lies above this sweep. We expect that on bursty streams such as DVS Gesture and long sparse sequences, and less so on dense audio. If coarse binning matches us everywhere, we will report that the gain is really just temporal downsampling.

Why not just apply delta or sigma-delta thresholding to a trained LRU? Delta Networks for Optimized Recurrent Network Computation and the Loihi 2 conversion work skip matrix products when an input has barely changed. They still advance every state every tick, and Neil et al. report state drift unless thresholds are trained in the loop. Our accounting will show how much of their remaining cost is exactly the per-tick state update we remove. A converted LRU with a trained delta threshold is included in the operation-count comparison.

Why not keep the hard reset, which SiLIF argues is an important nonlinearity? Fabre et al. do find the reset expressive, and that directly contradicts our reset-free choice. We address it with an arm that uses a subtractive reset. Subtractive reset keeps dynamics linear between events, so event-clocked inference stays exact, though training must then be sequential or use boundary solving like SPikE-SSM's. If the reset arm is clearly more accurate at equal event-clocked cost, we adopt it at inference and accept the slower training.

Proposed Experiments

We will run SHD, SSC and GSC for audio and DVS Gesture for native event vision. EigenWorms (18,000 steps) and PPG-DaLiA (about 50,000 steps) cover long horizons, and Path-X covers extreme sparsity.

The decisive first check is cheap and can kill the idea. For the trained C-SiLIF and SH²RFSSM-style models, we measure what fraction of fully-counted clock-driven cost is per-tick state updating. If it is below roughly a quarter on these tasks, the proposal's premise fails and we stop.

The second check is exactness. It compares event-clocked and clock-driven spike trains using identical weights, on a fine reference grid. It reports missed or shifted spikes from peak scheduling as a function of pole damping.

The third check is the Pareto comparison against the baselines above: accuracy against total counted operations and wall-clock time, with the tick-width sweep as the adversarial reference.

The last check is whether event-clock training, as opposed to grid training followed by event-clocked execution, is needed for accuracy on irregular DVS Gesture streams.