NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Efficient Training of Deep Spiking Neural Networks with Input-Driven Derivative-Free Updates

Yongbo Zhang, Xinzhe Li, Katsuma Inoue, Mitsumasa Nakajima, Toshikazu Hashimoto, Yasuo Kuniyoshi, Kohei NakajimaNeurIPS 2026

TL;DR

Training brain-inspired Spiking Neural Networks (SNNs) usually requires unfolding their entire history through time and constantly peeking inside every neuron—a memory-hogging nightmare for physical hardware. This paper introduces IDDFT, a training method that skips the time-travel and internal readouts by generating learning signals directly from a neuron's current inputs. The result is a massive drop in training memory, state-of-the-art accuracy, and a model that is surprisingly tough against adversarial attacks.

What Problem Does This Paper Address?

Spiking Neural Networks (SNNs) mimic the brain by communicating via discrete, event-driven pulses ("spikes"), making them ultra-energy-efficient candidates for neuromorphic chips. The catch? A spike is an all-or-nothing step function. Its derivative is zero almost everywhere and infinite at the threshold, which breaks standard gradient-based learning.

The mainstream workaround is Backpropagation Through Time (BPTT) paired with Surrogate Gradients (SG). During the backward pass, SG swaps the spiky step function for a smooth, fake derivative based on the neuron's internal "membrane potential" (its accumulated electrical charge).

While effective, BPTT-SG has two glaring headaches:

  1. The Memory Tax: Unfolding the network across $T$ time steps requires storing the entire history of every neuron's internal state, scaling memory costs by $O(T)$.
  2. Hardware Hostility: On physical neuromorphic chips (like photonic or memristive systems), continuously reading out internal membrane potentials adds heavy I/O overhead, introduces measurement noise, and can physically disturb the neuron's delicate dynamics. Even recent memory-saving shortcuts still rely on reading these internal potentials.

Methods

The authors propose Input-Driven Derivative-Free Training (IDDFT). They observe that at any single time step, a neuron's membrane potential is just its current synaptic input plus a historical state carried over from the past.

Instead of pushing error signals backward through that historical state and calculating surrogate derivatives around the internal firing threshold, IDDFT treats the historical state as a fixed background condition. During the backward pass, it completely bypasses the membrane potential and routes credit directly to the current input drive using a "relaxed" nonlinear function, $\phi(I_t)$.

Figure 1: Illustration of unfolded computational graphs for BPTT, OTTT, SLTT, and the proposed method, together with a comparison between SG-based and IDDF update signals.

Because it never looks inside the neuron during the backward pass, IDDFT cuts temporal memory complexity from $O(T)$ to $O(1)$ and can treat the neuron itself as a black box.

To make spatial error routing (passing errors layer-to-layer) equally hardware-friendly, the authors pair IDDFT with an existing bio-inspired technique called uniform sign-concordant feedbacks (uSF). Standard backpropagation requires multiplying errors by the exact transpose of the forward weights. uSF ditches full-precision weights in the backward pass and only transmits their signs ($+1$ or $-1$), turning expensive 32-bit matrix multiplications into simple sign-controlled additions and subtractions.

Datasets

The authors evaluate their combined uSF-IDDFT framework on four standard vision benchmarks (no new datasets are introduced):

  • Static Images: CIFAR-10, CIFAR-100, and Tiny-ImageNet.
  • Event-Based Vision: CIFAR10-DVS (recorded with a neuromorphic dynamic vision sensor that outputs asynchronous spike streams).

Key Insights and Ideas

  • Close enough is good enough for credit assignment: Why does applying an arbitrary function to the input work as well as taking a careful derivative of the membrane potential? The authors prove mathematically that as long as the input nonlinearity is positively correlated (in a broad statistical sense) with a traditional surrogate derivative, the update vector points within $90^\circ$ of the true descent direction—which is sufficient to learn.
  • Extreme forgiveness in function choice: Traditional SG fails unless its smooth curve is tightly tuned around the neuron's exact firing threshold. IDDFT—especially when paired with uSF—is wildly forgiving. Even when using a cosine wave as the backward nonlinearity (which causes standard BPTT-SG to flatline at random-guessing 10% accuracy), uSF-IDDFT smoothly learns and clears 80% accuracy on CIFAR-10.
Figure 2: Performance of BPTT-SG, BP-IDDFT, and uSF-IDDFT under relaxed nonlinear functions. (a) Accuracy under different Gaussian settings. (b) Training curves under a cosine nonlinearity.
  • Ignoring internal states builds natural armor: Because small input perturbations can drastically alter internal membrane potentials and shift spike timings, standard SG-trained networks are fragile. By decoupling learning signals from subtle membrane-potential fluctuations, IDDFT yields models that are inherently much harder to fool with adversarial attacks.

Key Results

  • Memory Savings: Under identical task settings, IDDFT slashes peak training memory by 67% compared to standard BPTT-SG. Combining with uSF also shrinks backward-weight storage by up to $32\times$.
  • Competitive Accuracy: Using simple neurons and tiny simulation windows, uSF-IDDFT goes toe-to-toe with complex state-of-the-art methods: 96.71% on CIFAR-10 (4 time steps), 78.88% on CIFAR-100 (4 time steps), 83.88% on CIFAR10-DVS (10 time steps), and 62.70% on Tiny-ImageNet (4 time steps).
  • Adversarial Robustness: Tested against gradient-based attacks (FGSM and iterative PGD) across multiple attack sources, uSF-IDDFT consistently retains the highest accuracy. Under a heavy PGD-40 attack on CIFAR10-DVS, uSF-IDDFT holds an average accuracy of 47.29%, whereas BPTT-SG collapses to 19.08% (and uSF-SG drops to 21.57%, proving IDDFT is the secret sauce behind the resilience).

Limitations and Future Work

  • Simulations Only (For Now): Despite strong theoretical alignment with digital (e.g., Intel Loihi 2), photonic, and memristive chips, all experiments were run in software (PyTorch). Physical hardware deployment is left for future work.
  • Domain Scope: Evaluations are limited to visual classification. Because IDDFT severs temporal error propagation, testing it on tasks with deep, long-range temporal dependencies—like speech recognition or sequence prediction—remains an open next step.
  • Theoretical Bounds: While the authors show why positive correlation yields useful updates, they do not establish strict mathematical convergence guarantees for arbitrary networks or datasets, nor have they systematically optimized the relaxed nonlinearities for specific architectures.

Summary updated

Abstract

Spiking neural networks (SNNs) are a promising paradigm for efficient neuromorphic computing, yet their training remains challenging due to the non-differentiability nature of spike firing. Backpropagation through time (BPTT) with surrogate gradients (SG) has become a mainstream approach due to its superior performance. However, this method incurs high computational and memory demands during training, while its update rule depends on specific neuronal dynamics. Furthermore, when targeting neuromorphic hardware implementation, the temporal error-propagation process and the full membrane-potential access required by SG are difficult to realize; these can introduce additional readout overhead, measurement noise, or perturbations to the system dynamics. To address these issues, we propose the input-driven derivative-free training (IDDFT) method. Rather than relying on membrane-potential-based surrogate derivatives, IDDFT constructs derivative-free error signals by applying a relaxed nonlinearity to the inputs, thereby avoiding the temporal error-propagation process and reducing the dependence of the update rule on specific neuronal dynamics. By eliminating access to internal membrane-potential states, our method reduces computational and memory costs, enhances compatibility with neuromorphic hardware, and enables training of black-box SNN models. We validate the IDDFT method through theoretical analysis and systematic experiments, demonstrating its effectiveness as an input-driven, derivative-free mechanism for constructing update signals. When integrated with a biologically inspired training strategy, IDDFT maintains comparable performance while substantially enhancing robustness to the choice of relaxed nonlinearities. Based on the resulting bio-inspired combined framework, we conduct evaluations on CIFAR-10, CIFAR-100, CIFAR10-DVS, and Tiny-ImageNet. Experimental results demonstrate that our method achieves performance comparable to BPTT and state-of-the-art methods, while exhibiting remarkable robustness under adversarial attacks.
BibTeX
@inproceedings{zhang2026efficient,
  author = {Yongbo Zhang and Xinzhe Li and Katsuma Inoue and Mitsumasa Nakajima and Toshikazu Hashimoto and Yasuo Kuniyoshi and Kohei Nakajima},
  title = {{Efficient Training of Deep Spiking Neural Networks with Input-Driven Derivative-Free Updates}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Q8vwmOQdzh},
}
Figure