paper-with-me

홈 › Papers

Elucidating the theoretical underpinnings of surrogate gradient learning in spiking neural networks

2024-04-23 · Julia Gygax, Friedemann Zenke

Training spiking neural networks to approximate universal functions is essential for studying information processing in the brain and for neuromorphic computing. Yet the binary nature of spikes poses a challenge for direct gradient-based training. Surrogate gradients have been empirically successful in circumventing this problem, but their theoretical foundation remains elusive. Here, we investigate the relation of surrogate gradients to two theoretically well-founded approaches. On the one hand, we consider smoothed probabilistic models, which, due to the lack of support for automatic differentiation, are impractical for training multi-layer spiking neural networks but provide derivatives equivalent to surrogate gradients for single neurons. On the other hand, we investigate stochastic automatic differentiation, which is compatible with discrete randomness but has not yet been used to train spiking neural networks. We find that the latter gives surrogate gradients a theoretical basis in stochastic spiking neural networks, where the surrogate derivative matches the derivative of the neuronal escape noise function. This finding supports the effectiveness of surrogate gradients in practice and suggests their suitability for stochastic spiking neural networks. However, surrogate gradients are generally not gradients of a surrogate loss despite their relation to stochastic automatic differentiation. Nevertheless, we empirically confirm the effectiveness of surrogate gradients in stochastic multi-layer spiking neural networks and discuss their relation to deterministic networks as a special case. Our work gives theoretical support to surrogate gradients and the choice of a suitable surrogate derivative in stochastic spiking neural networks.

📄 PDF Abstract BibTeX arXiv:2404.14964

Code (1)

fmi-basel/surrogate-gradient-theory 공식 구현 jax

Tasks

Relation

Similar Papers 제목 키워드 기반

Adaptive Surrogate Gradients for Sequential Reinforcement Learning in Spiking Neural Networks

2025-10-28 · Korneel Van den Berghe, Stein Stroobants, Vijay Janapa Reddi, G. C. H. E. de Croon arxiv

Neuromorphic computing systems are set to revolutionize energy-constrained robotics by achieving orders-of-magnitude efficiency gains, while enabling native temporal processing. Spiking Neural Networks (SNNs) represent a…

Reinforcement Learning

Directly Training Temporal Spiking Neural Network with Sparse Surrogate Gradient

2024-06-28 · Yang Li, Feifei Zhao, Dongcheng Zhao, Yi Zeng

Brain-inspired Spiking Neural Networks (SNNs) have attracted much attention due to their event-based computing and energy-efficient features. However, the spiking all-or-none nature has prevented direct training of SNNs …

SpikingGamma: Surrogate-Gradient Free and Temporally Precise Online Training of Spiking Neural Networks with Smoothed Delays

2026-02-02 · Roel Koopman, Sebastian Otte, Sander Bohté arxiv

Neuromorphic hardware implementations of Spiking Neural Networks (SNNs) promise energy-efficient, low-latency AI through sparse, event-driven computation. Yet, training SNNs under fine temporal discretization remains a m…

Towards Reliable Evaluation of Adversarial Robustness for Spiking Neural Networks

2025-12-27 · Jihang Wang, Dongcheng Zhao, Ruolin Chen, Qian Zhang 외 arxiv

Spiking Neural Networks (SNNs) utilize spike-based activations to mimic the brain's energy-efficient information processing. However, the binary and discontinuous nature of spike activations causes vanishing gradients, m…

Adversarial RobustnessAdversarial Attack

A generalized neural tangent kernel for surrogate gradient learning

2024-05-24 · Luke Eilers, Raoul-Martin Memmesheimer, Sven Goedeke

State-of-the-art neural network training methods depend on the gradient of the network function. Therefore, they cannot be applied to networks whose activation functions do not have useful derivatives, such as binary and…