cs.LGAug 13, 2026

SAGE: Surrogate-gradient Adaptation via Attention-Guided Entropy for Spiking Transformers

Authors: Kiran Nair, Rodrigue Rizk, KC Santosh

Organizations: USD Artificial Intelligence Research Lab Department of Computer Science University of South Dakota Vermillion, SD 57069, USA

Abstract

Spiking neural networks (SNNs) offer an energy-efficient alternative to conventional deep neural networks by exploiting sparse event-driven computation, but their training remains challenging because the non-differentiable spike function requires surrogate gradients whose fixed shape may be suboptimal across layers and training stages. In this work, we introduce SAGE, an uncertainty-modulated surrogate-gradient mechanism for Transformer-based SNNs. SAGE estimates block-level uncertainty from normalized self-attention entropy and uses this signal to adapt the surrogate-gradient slope during training while leaving the inference model unchanged. By modulating only the training-time surrogate parameter, the proposed method preserves the original architecture and deployment cost while improving optimization flexibility. Experiments on CIFAR-10/100 demonstrate that SAGE achieves improved accuracy over fixed-surrogate baselines, with results up to 1-2% consistent gains across multiple simulation time steps. These results highlight the potential of attention-derived uncertainty as a lightweight training signal for adaptive surrogate-gradient learning in transformer-based SNNs.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. A2SG:Adaptive and Asymmetric Surrogate Gradients for Training Deep Spiking Neural Networks

    May 29, 2026Yechan Kang, Yongjin Kweon, Mingyeong Seo +8Neural Network OptimizationSpiking Neural Networks

  2. Advancing Direct Training for Spiking Neural Networks with Circulate-Firing Neurons and Learnable Gradients

    May 14, 2026Feifan Zhou, Xiang Wei, Yang Liu +1Spiking Neural NetworksNeural Network Training Dynamics