Membrane Sensitivity and Deployment Fragility of Learnable Time Constants in Spiking Neural Networks

Chiu-Chang Cheng, Ya-Ning Chang, Chao-Hung WangNeurIPS 2026

TL;DR

Spiking Neural Networks (SNNs) perform much better on time-dependent tasks when you let them learn their own internal "memory leak" rates—until you deploy them onto real analog neuromorphic chips, where slight hardware imperfections can crash their accuracy by over 27 percentage points. The authors uncover the mathematical culprit behind this fragility—a snowballing quantity called membrane sensitivity—and introduce MARS, a lightweight training regularizer that suppresses this sensitivity to keep deployed networks rock-solid with zero inference overhead.

What Problem Does This Paper Address?

Unlike standard neural networks that pass continuous numbers around, Spiking Neural Networks (SNNs) mimic biology: neurons accumulate electrical charge (membrane potential, $V$) over time and fire discrete spikes when they cross a threshold. Between spikes, that charge slowly leaks away, governed by a decay factor $\beta$.

In standard SNNs, $\beta$ is fixed. Recently, researchers found that letting the network learn $\beta$ alongside its synaptic weights dramatically boosts accuracy on temporal tasks, allowing neurons to tune their own integration timescales.

Here is the catch: SNNs are destined for ultra-low-power analog and mixed-signal neuromorphic hardware. Analog silicon is messy—transistor mismatch and temperature drift mean the $\beta$ your chip actually realizes at inference time ($\tilde{\beta} = \beta + \epsilon$) won't quite match what you trained in software. The authors show that optimizing $\beta$ creates a hidden deployment vulnerability: on temporally rich audio tasks, a realistic 20% hardware variation causes learnable-$\beta$ models to plummet in accuracy, whereas fixed-$\beta$ models barely flinch.

Methods

Instead of relying on chip-in-the-loop calibration or blindly injecting random noise during training, the authors ask: how does a tiny error in $\beta$ actually propagate through a spiking neuron?

Using a first-order Taylor expansion alongside standard surrogate gradients (smooth approximations of the non-differentiable spike step function), they isolate membrane sensitivity, $\Psi_t = \partial V_t / \partial \beta$. $\Psi_t$ is the exact local amplification factor turning a hardware decay mismatch into a membrane voltage error.

What is novel and practical here is that $\Psi_t$ doesn't require storing massive past histories to compute. The authors derive a closed-form online recursion that updates $\Psi_t$ right alongside the normal forward pass using just one extra state vector per layer. They then introduce MARS (Membrane-Aware Robustness through Sensitivity Regularization), which simply adds the time-averaged energy of this sensitivity ($\|\Psi_t\|_2^2$) as a penalty to the training loss. By penalizing $\Psi$, MARS teaches the network to solve the task without relying on razor-thin, fragile integration dynamics. They also back this up with a worst-case theoretical error bound and a realistic "typical-case" diagnostic metric.

Figure 2: Sensitivity visualization and diagnostic analysis on SHD-FC. (a) Per-neuron sensitivity |Ψ(l) t | (neurons × timesteps) for clean vs. MARS models. Bright pixels indicate high sensitivity to β-perturbation; the MARS columns are near-dark. MARS suppresses Ψ by 51× in hidden layer 1 and 5.8× in hidden layer 2. (b) Worst-case vs. typical-case diagnostics. All training modes have large worst-case propagation factors λr ≫1, but MARS is the only mode below the typical-case diagnostic threshold ˜λr < 1 in both hidden layers (0.89/0.94); Clean and Noise Aug exceed it.

Datasets

The authors evaluate existing benchmarks across four SNN architecture families (feedforward, recurrent, convolutional, and residual):

  • Spiking Heidelberg Digits (SHD) & Spiking Speech Commands (SSC): Audio spike-train datasets with strong temporal dependencies.
  • DVS-Gesture: An event-camera dataset for recognizing hand gestures.
  • CIFAR-10: Converted into repeated static frames as a non-temporal control benchmark.

Key Insights and Ideas

  • Fragility only strikes when time truly matters: Perturbing $\beta$ barely scratches static vision models (CIFAR-10 drops $\le 0.2$ percentage points), because those networks aren't integrating complex temporal histories. Fragility concentrates heavily in audio tasks where timing is everything.
  • Coherent drift exposes hidden weaknesses: When every neuron gets independent random noise, errors partially average out across a layer. When hardware experiences layer-wise or global drift (like a chip heating up), networks like SSC—which looked resilient to per-neuron noise—suddenly suffer noticeable drops.
  • A unifying mechanism for robustness: Standard noise augmentation (training with random $\beta$ jitter) never computes $\Psi$, yet post-hoc analysis reveals it shrinks sensitivity energy by $4.67\times$ (MARS shrinks it by $78.2\times$). Across non-MARS models, sensitivity energy correlates tightly with accuracy drops ($r = 0.94$), proving $\Psi$ is the fundamental physical dial governing robustness.
  • Selective temporal compression: MARS doesn't give the network amnesia; it preserves task-relevant sequence order while discarding "generic" raw input history it doesn't actually need.

Key Results

Accuracy curves across five SNN settings under increasing per-neuron decay mismatch, showing MARS maintaining flat accuracy where clean models collapse.

Figure 1: Accuracy under increasing per-neuron β mismatch across five settings. Every hidden neuron receives its own perturbed decay ˜βi = clip(βi(1 + ξi), 0.01, 0.99) with independent ξi ∼ N(0, CV2); layer-wise trained decays are expanded to one value per neuron before perturbation. Top row: temporally dependent settings. Bottom row: DVS-Gesture and CIFAR-10 controls. Each checkpoint is evaluated with 10 mismatch draws per CV level; markers show the mean over 5 training seeds, faint dots the individual seeds, and error bars the 95% bootstrap confidence interval across seeds.

Under a demanding 20% coefficient of variation ($\text{CV} = 0.2$) in $\beta$:

  • Massive error reduction: On feedforward SHD, unregularized learnable-$\beta$ models lose 27.3 percentage points (pp) of accuracy (and 11.7 pp on recurrent SHD). MARS slashes these losses to 0.4 pp and 0.3 pp, respectively, while preserving nominal clean accuracy (~77.0% and ~84.8%).
  • Resilience across drift types: Across per-neuron, layer-wise, and global mismatch on all temporally dependent tasks, MARS keeps accuracy degradation below 0.8 pp.
  • Beats naive regularizers: Simple baselines like L2 weight decay, bounding $\beta \in [0.1, 0.9]$, or spectral normalization still suffer 8.9–46.5 pp drops because they fail to stop sensitivity from accumulating over time.
  • Zero inference cost: Once trained, $\Psi$ is discarded. MARS also holds up when combined with 5% weight/threshold mismatch and 8-bit/6-bit post-training weight quantization.

Limitations and Future Work

  • Software simulation only: All mismatch evaluations are hardware-grounded software simulations rather than physical measurements on analog neuromorphic silicon, omitting factors like readout circuit noise.
  • Training overhead & quantization: Tracking $\Psi$ during backpropagation through time increases training step time by $1.35\text{--}2.06\times$ and peak training memory by $1.13\text{--}2.30\times$. Furthermore, MARS does not prevent nominal accuracy drops caused by aggressive (6-bit) weight quantization itself.
  • Scope of theory and scale: Theoretical bounds strictly cover feedforward networks (recurrent and delay-learning models are validated empirically). Testing MARS on large-scale event datasets, Transformer-based SNNs, or tasks requiring long generic memory remains open for future work.

Summary updated

Abstract

Learnable neuronal dynamics improve temporal processing in spiking neural networks (SNNs), but can also create a hidden deployment vulnerability: parameters optimized for temporal integration can become fragile to hardware mismatch. We study this failure mode for learnable membrane decay factors $\beta$. Across feedforward, recurrent, convolutional, and residual SNNs under hardware-grounded, controlled inference-time mismatch at a demanding 20% coefficient of variation (CV), learnable-$\beta$ models lose up to $27.3$ percentage points (pp) of accuracy on temporally dependent tasks, whereas vision models with weaker temporal dependence lose at most $0.8$ pp under per-neuron mismatch. We show that, under a surrogate-linearized first-order analysis, this fragility is governed by the membrane sensitivity $\Psi=\partial V/\partial\beta$, which quantifies how perturbations of the learned decay are amplified into membrane-potential deviations. $\Psi$ admits an online recursion requiring only one additional state per layer, and regularizing its time-averaged energy yields $\textbf{MARS}$ ($\textbf{M}$embrane-$\textbf{A}$ware $\textbf{R}$obustness through $\textbf{S}$ensitivity Regularization). We prove a conservative worst-case bound for feedforward networks and give a typical-case diagnostic explaining why $\Psi$ remains informative when worst-case constants are vacuous. On the temporally dependent settings, MARS reduces mismatch-induced losses from up to $27.3$ pp to below $0.8$ pp under per-neuron, layer-wise, and global mismatch while preserving nominal accuracy, remains effective under additional weight and threshold mismatch or 8/6-bit weight quantization, and incurs no inference overhead. The same sensitivity energy also tracks the robustness conferred by noise augmentation, suggesting a common mechanism underlying robustness to perturbations of learned neuronal dynamics. Code is available at https://github.com/eason891023/MARS-NeurIPS2026.
BibTeX
@inproceedings{cheng2026membrane,
  author = {Chiu-Chang Cheng and Ya-Ning Chang and Chao-Hung Wang},
  title = {{Membrane Sensitivity and Deployment Fragility of Learnable Time Constants in Spiking Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=wa6O4eAtIZ},
}
Figure