Spiking Neural Networks Need High-Frequency Information

Yue-Tong Fang, Deming Zhou, Ziqing Wang, Hong-Wei Ren, Ze-Cui Zeng +3 more
5/1/2025
21 citations
transformer-attention

Official code: bic-L/MaxFormer (64 stars, Python, last commit 2026-01-19).

Abstract

Spiking Neural Networks promise brain-inspired and energy-efficient computation by transmitting information through binary (0/1) spikes. Yet, their performance still lags behind that of artificial neural networks, often assumed to result from information loss caused by sparse and binary activations.

Show full abstract

In this work, we challenge this long-standing assumption and reveal a previously overlooked frequency bias: spiking neurons inherently suppress high-frequency components and preferentially propagate low-frequency information. This frequency-domain imbalance, we argue, is the root cause of degraded feature representation in SNNs. Empirically, on Spiking Transformers, adopting Avg-Pooling (low-pass) for token mixing lowers performance to 76.73% on Cifar-100, whereas replacing it with Max-Pool (high-pass) pushes the top-1 accuracy to 79.12%. Accordingly, we introduce Max-Former that restores high-frequency signals through two frequency-enhancing operators: (1) extra Max-Pool in patch embedding, and (2) Depth-Wise Convolution in place of self-attention. Notably, Max-Former attains 82.39% top-1 accuracy on ImageNet using only 63.99M parameters, surpassing Spikformer (74.81%, 66.34M) by +7.58%. Extending our insight beyond transformers, our Max-ResNet-18 achieves state-of-the-art performance on convolution-based benchmarks: 97.17% on CIFAR-10 and 83.06% on CIFAR-100. We hope this simple yet effective solution inspires future research to explore the distinctive nature of spiking neural networks. Code is available: https://github.com/bic-L/MaxFormer.

View on arXivView PDF

Code Implementations(1)

bic-L/MaxFormerOfficial100%

[Neurips 2025] Max-Former.

647Python, ShellJul 13, 202510 months ago
spiking-neural-networksspiking-transformervision-transformer

Similar Papers

Cite this paper

@article{fang2025spiking,
  title  = {Spiking Neural Networks Need High-Frequency Information},
  author = {Yue-Tong Fang and Deming Zhou and Ziqing Wang and Hong-Wei Ren and Ze-Cui Zeng and Lu-Song Li and Shibo Zhou and Renjing Xu},
  year   = {2025},
  eprint = {2505.18608},
  archivePrefix = {arXiv},
  doi    = {10.52202/085713-3455},
  url    = {https://doi.org/10.52202/085713-3455},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.18608.svg)](https://codeofpaper.com/paper/2505.18608)

Discussion