SAGE Improves Spiking Transformer Training with Adaptive Gradients

Kiran Nair, Rodrigue Rizk, KC Santosh· August 17, 2026 View original

Key takeaways

  • Training Spiking Neural Networks (SNNs) is challenging due to non-differentiable spike functions.
  • SAGE adapts surrogate-gradient slopes using self-attention entropy in SNN Transformers.
  • This method improves SNN accuracy without affecting energy-efficient inference.
  • SAGE enhances optimization flexibility for SNNs, making them more viable.

Who benefits

Edge AIIoTAI HardwareRoboticsAutonomous Systems

Summary

Researchers introduced SAGE, an uncertainty-modulated surrogate-gradient mechanism for Spiking Neural Networks (SNNs) based on Transformer architectures. SAGE uses self-attention entropy to adapt the surrogate-gradient slope during training, leading to improved accuracy on CIFAR-10/100 without altering the SNN's energy-efficient inference model.

Spiking Neural Networks (SNNs) are gaining attention as an energy-efficient alternative to traditional deep neural networks, primarily due to their sparse, event-driven computation. However, training SNNs presents a significant challenge because the non-differentiable nature of spike functions necessitates the use of surrogate gradients. The fixed shape of these surrogate gradients can often be suboptimal across different layers and various stages of the training process, hindering performance. To address this, a new mechanism called SAGE (Surrogate-gradient Adaptation via Attention-Guided Entropy) has been developed for Transformer-based SNNs. SAGE introduces an uncertainty-modulated approach that dynamically adjusts the surrogate-gradient slope during training. It achieves this by estimating block-level uncertainty directly from the normalized self-attention entropy within the Transformer architecture. Crucially, SAGE only modifies the training-time surrogate parameter, leaving the inference model completely unchanged. This preserves the original architecture and the low deployment cost that makes SNNs attractive, while significantly enhancing optimization flexibility. Experiments conducted on CIFAR-10 and CIFAR-100 datasets demonstrated that SAGE consistently achieved 1-2% accuracy gains over baselines that use fixed-surrogate gradients across multiple simulation time steps. These results highlight the potential of using attention-derived uncertainty as a lightweight yet effective training signal for adaptive surrogate-gradient learning in energy-efficient Transformer-based SNNs.

Why it matters

For professionals developing energy-efficient AI hardware and software, SAGE offers a significant advancement in training Spiking Neural Networks. It enables higher accuracy in SNNs without sacrificing their inherent energy efficiency, making them more viable for edge computing and low-power applications.

How to implement this in your domain

  1. 1Evaluate current SNN training methods for performance limitations due to fixed surrogate gradients.
  2. 2Investigate integrating SAGE's attention-guided entropy mechanism into your SNN Transformer architectures.
  3. 3Benchmark SNN models trained with SAGE against traditional SNNs on relevant datasets.
  4. 4Explore the application of SAGE in edge computing or low-power AI inference scenarios.
  5. 5Contribute to the development of more sophisticated adaptive surrogate gradient techniques for SNNs.

Original post by Kiran Nair, Rodrigue Rizk, KC Santosh

"arXiv:2608.13702v1 Announce Type: new 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 fun…"

View on X

Originally posted by Kiran Nair, Rodrigue Rizk, KC Santosh on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses