AdaS-ViT: Test-Time Adaptive Routing for Spiking Vision Transformers with Ultra-High Energy Efficiency

Zecheng Hao, Zihan Huang, Shenghao Xie, Jiyuan Zhang, Zhaofei Yu, Tiejun HuangarXiv 2026

TL;DR

AdaS-ViT introduces a test-time adaptive routing mechanism for Spiking Vision Transformers (S-ViTs) that dramatically slashes energy consumption. By dynamically routing salient image regions to high-precision firing patterns and background regions to energy-frugal ones, it achieves an accuracy-per-energy ratio 32× to 72× higher than previous state-of-the-art spiking models on ImageNet-1k.

What Problem Does This Paper Address?

Spiking Neural Networks (SNNs) are the "green" alternative to traditional deep learning, mimicking the brain's event-driven communication via discrete spikes. However, current Spiking Vision Transformers (S-ViTs) suffer from a major efficiency leak: they treat every part of an image equally. Whether a pixel belongs to a central object or a blurry background, the model uses the same fixed, uniform firing scheme.

This creates massive computational redundancy. To reach "ultra-high" energy efficiency, SNNs need to be smarter about where they spend their "spike budget." The challenge is doing this adaptively at test time across three dimensions—temporal (when to fire), spatial (where to fire), and channel (which features to fire)—without crashing the model's accuracy.

Methods

The authors propose AdaS-ViT, an architecture built on three novel pillars:

  1. AdaE-IF (Adaptive Efficient Integrate-and-Fire) Model: Traditional spiking neurons have a linear relationship between input current and firing rate. AdaE-IF breaks this by using a bit-level mapping scheme. It decouples representation precision from the number of spikes, allowing the model to represent complex information with far fewer spikes ($O(\log F)$ instead of $O(F)$). Crucially, it routes tokens to either "efficient" (low spike count) or "fine-grained" (high precision) firing patterns based on their importance.
  2. Gated Spiking Modules (S-GSA & S-LGU): The researchers designed Spiking Gated Self-Attention (S-GSA) and Spiking Local-Gated Units (S-LGU). These modules use a dual-branch structure to calculate "salience scores." These scores act as a traffic controller, deciding which tokens deserve high-precision routing and suppressing redundant computations in less important regions.
  3. Progressive Spatio-Temporal Curriculum: Training an adaptive routing system is notoriously unstable. The authors use a dual-scheduling strategy that gradually introduces firing-pattern quantization and token-routing ratios, ensuring the model learns to prioritize salient regions effectively.
Figure 3. Architecture of AdaS-ViT. Top: the macro pipeline stacks dual-mode AdaS-Blocks (S-GSA followed by S-LGU or S-FFN) over progressively downsampled token maps. Bottom: data flow of S-GSA, S-LGU and the parameterized S-FFN variants (I)(II) with convolution kernel size k and expansion ratio r.

Datasets

The model was evaluated on a diverse set of benchmarks:

  • ImageNet-1k: The gold standard for large-scale static image classification.
  • CIFAR-10 & CIFAR-100: Standard small-scale image datasets.
  • CIFAR10-DVS: A neuromorphic (event-based) dataset, testing the model's ability to handle native spiking data from event cameras.

Key Insights and Ideas

  • Salience-Guided Budgeting: The "aha moment" is using the attention scores from the S-GSA module as a built-in importance map. Since the transformer is already calculating what's important to look at, AdaS-ViT simply reuses that information to decide where to save energy.
  • Breaking the Linear Spike Constraint: By moving to a bit-level representation (where spikes at different time-steps represent different numerical magnitudes via shift operations), the model can achieve high precision with exponentially fewer spikes.
  • Test-Time Adaptivity: Unlike models that are pruned or compressed during training, AdaS-ViT adjusts its computational effort on-the-fly for every single image it sees.
Comparison of AdaE-IF vs traditional spiking neurons

Key Results

AdaS-ViT establishes a new Pareto frontier for accuracy vs. energy:

  • Ultra-Low Energy: On ImageNet-1k, it consumes only 1.02 to 2.45 millijoules (mJ) per image. For context, it outperforms the popular Spikformer while using significantly less power.
  • Superior Efficiency Ratio: The authors use a metric called Ratio AE (Accuracy per millijoule). AdaS-ViT achieves scores between 32.22 and 72.58 %/mJ, while most prior S-ViTs struggle to cross the 15 %/mJ mark.
  • State-of-the-Art Accuracy: Despite the energy savings, it hits 78.94% top-1 accuracy on ImageNet-1k, surpassing many larger and more power-hungry spiking models.
  • Neuromorphic Success: On the CIFAR10-DVS dataset, it achieved 88.8% accuracy in just 4 time-steps, showing it is highly effective for real-time edge applications.
Figure 1. AdaS-ViT establishes a compelling accuracy-energy frontier for spiking vision transformers. (a) Qualitative compar- ison of training paradigms over six axes covering training cost and inference behavior: prior paradigms trade these objectives against one another, whereas our test-time adaptive routing maintains a uniformly strong profile across all of them. (b) Quantitative com- parison with prior SNN-based works on ImageNet-1k. The hor- izontal axis denotes top-1 accuracy and the vertical axis reports Ratio AE, i.e., the accuracy delivered per millijoule of inference energy. AdaS-ViT occupies the top-right region alone with the smallest bubble area, indicating markedly higher energy efficiency at a fraction of the parameters of prior art.

Limitations and Future Work

While the paper demonstrates massive theoretical energy savings, the actual realization of these gains depends on neuromorphic hardware that can efficiently support bit-level shift operations and dynamic routing. Most current general-purpose GPUs won't see the full mJ-level benefits described.

The authors suggest that future work could involve scaling this adaptive routing to even larger "Spiking Large Models" and exploring more complex downstream tasks like object detection or segmentation where spatial redundancy is even higher.

Summary updated

Abstract

Spiking Neural Networks (SNNs) promise event-driven and energy-efficient vision, yet existing spiking vision transformers (S-ViTs) largely confine spiking tokens to fixed and uniform firing schemes along the temporal, spatial and channel dimensions, whereas suppressing the computational redundancy thus incurred calls for adaptive firing mechanisms that operate jointly across all three axes at test time. To this end, we propose the Adaptive Efficient Integrate-and-Fire (AdaE-IF) model, which consults the attention score of each spiking token and routes salient regions to fine-grained firing patterns while assigning energy-frugal coarse patterns to the remaining regions. Building on AdaE-IF, we further introduce Spiking Gated Self-Attention (S-GSA) and Spiking Local-Gated Unit (S-LGU), which enforce selective spike emission at token and channel granularity. We integrate the aforementioned mechanisms and modules into AdaS-ViT, a test-time adaptive-routing architecture trained with a progressive spatio-temporal curriculum that stabilizes the co-adaptation of firing precision and routing masks. Extensive experiments across benchmarks spanning diverse data scales and modalities demonstrate that AdaS-ViT consistently achieves highly competitive performance. Notably, on ImageNet-1k it consumes only 1.02 to 2.45 millijoules per image and attains an accuracy-per-energy ratio of 32$\times$ to 72$\times$, operating in an economical inference regime and thereby pushing the energy-efficiency boundary further.
BibTeX
@misc{hao2026adas,
  author = {Zecheng Hao and Zihan Huang and Shenghao Xie and Jiyuan Zhang and Zhaofei Yu and Tiejun Huang},
  title = {{AdaS-ViT: Test-Time Adaptive Routing for Spiking Vision Transformers with Ultra-High Energy Efficiency}},
  year = {2026},
  eprint = {2611.23728},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.23728},
}

Loading related content...

Figure