Boosting the Robustness-Accuracy Trade-off of SNNs by Robust Temporal Self-Ensemble

Authors

  • Jihang Wang Institute of automation, Chinese academy of science University of Chinese Academy of Sciences
  • Dongcheng Zhao Beijing Institute of AI Safety and Governance Beijing Key Laboratory of Safe Al and Superalignment
  • Ruolin Chen Institute of automation, Chinese academy of science University of Chinese Academy of Sciences
  • Qian Zhang Institute of automation, Chinese academy of science University of Chinese Academy of Sciences Beijing Institute of AI Safety and Governance Beijing Key Laboratory of Safe Al and Superalignment
  • Yi Zeng Institute of automation, Chinese academy of science University of Chinese Academy of Sciences Beijing Institute of AI Safety and Governance Beijing Key Laboratory of Safe Al and Superalignment

DOI:

https://doi.org/10.1609/aaai.v40i31.39833

Abstract

Spiking Neural Networks (SNNs) offer a promising direction for energy-efficient and brain-inspired computing, yet their vulnerability to adversarial perturbations remains poorly understood. In this work, we revisit the adversarial robustness of SNNs through the lens of temporal ensembling, treating the network as a collection of evolving sub-networks across discrete timesteps. This formulation uncovers two critical but underexplored challenges—the fragility of individual temporal sub-networks and the tendency for adversarial vulnerabilities to transfer across time. To overcome these limitations, we propose Robust Temporal self-Ensemble (RTE), a training framework that improves the robustness of each sub-network while reducing the temporal transferability of adversarial perturbations. RTE integrates both objectives into a unified loss and employs a stochastic sampling strategy for efficient optimization. Extensive experiments across multiple benchmarks demonstrate that RTE consistently outperforms existing training methods in robust-accuracy trade-off. Additional analyses reveal that RTE reshapes the internal robustness landscape of SNNs, leading to more resilient and temporally diversified decision boundaries. Our study highlights the importance of temporal structure in adversarial learning and offers a principled foundation for building robust spiking models.

Downloads

Published

2026-03-14

How to Cite

Wang, J., Zhao, D., Chen, R., Zhang, Q., & Zeng, Y. (2026). Boosting the Robustness-Accuracy Trade-off of SNNs by Robust Temporal Self-Ensemble. Proceedings of the AAAI Conference on Artificial Intelligence, 40(31), 26285–26293. https://doi.org/10.1609/aaai.v40i31.39833

Issue

Section

AAAI Technical Track on Machine Learning VIII