Frequency-Aware Token Reduction for Efficient Vision Transformer

Dong-Jae Lee, Jiwan Hur, Jaehyun Choi, Jaemyung Yu, Junmo Kim

Abstract

Vision Transformers (ViTs) face significant computational challenges due to the quadratic complexity of self-attention. While token reduction methods like pruning and merging aim to alleviate this, they often ignore the frequency-domain characteristics of the model. This paper introduces a frequency-aware token reduction strategy that addresses "rank collapse" and "over-smoothing" by selectively preserving high-frequency tokens and aggregating low-frequency tokens into a single "DC token." This approach achieves a superior balance between efficiency and accuracy, often outperforming full-length baselines.

What Problem Does This Paper Address?

The primary hurdle for scaling Vision Transformers is the "computational tax" of self-attention. Existing reduction techniques—pruning (discarding tokens) or merging (combining tokens)—frequently overlook how self-attention interacts with image frequencies.

The authors observe that deep ViTs suffer from rank collapse and over-smoothing, where token representations become increasingly uniform. Mathematically, stacking self-attention blocks behaves like a repeated low-pass filter. As tokens pass through deeper layers, they lose high-frequency details, eventually converging toward a "Direct Current" (DC) or zero-frequency component. Standard reduction methods can exacerbate this by discarding the sparse but critical high-frequency tokens that maintain representational diversity.

Self-attention acts as a low-pass filter, reducing high-frequency components as depth increases.

Methods: Frequency-Aware Reduction

The proposed method treats tokens differently based on their spectral contributions, avoiding the heavy overhead of explicit Fourier Transforms.

  1. HF/LF Partitioning: The attention matrix ($A$) is decomposed into a low-pass component ($A^{LP}$) and a high-pass component ($A^{HP}$). By analyzing the high-pass component, the model identifies tokens that contribute most to high-frequency (HF) details versus those dominated by low-frequency (LF) signals.
  2. Selective Preservation: The top $r$ tokens with the highest HF scores are kept intact to preserve fine-grained details.
  3. DC Token Aggregation: Instead of discarding LF tokens, their signals are compressed into a single DC token. This maintains global low-frequency context while drastically reducing the token count.
  4. Learnable Reweighting: To compensate for the naturally lower attention scores an aggregated token might receive, the authors introduce learnable parameters ($\omega_1, \omega_2$) to rebalance the importance of HF and DC tokens during a brief fine-tuning phase.

Key Insights and Ideas

The paper's core thesis is that protecting high-frequency components is essential for maintaining model expressivity.

  • Pruning vs. Merging: Merging methods (like ToMe) can inadvertently accelerate rank collapse in early layers by blurring high-frequency signals. Pruning is more effective at detail preservation, provided the selection criteria are frequency-aware.
  • Regularization Effect: Interestingly, in models like DeiT-T and ViT-S, the reduced version sometimes outperformed the original. This suggests that frequency-aware reduction acts as a regularizer, actively fighting over-smoothing and making features more discriminative.
Analysis of high-frequency (HF) and low-frequency (LF) tokens across layers.

As shown in the analysis above, HF tokens maintain lower similarity to the DC signal and are more sensitive to noise (AWGN), indicating they carry the unique, detailed information that standard layers tend to smooth out.

Key Results

The researchers validated their approach on ImageNet-1K, ImageNet-21K, and ADE20K:

  • Efficiency vs. Accuracy: On DeiT-S, the method reduced computational cost (MACs) from 4.6G to 3.0G while maintaining baseline accuracy (79.8%), outperforming EViT and ToMe.
  • Throughput in Dense Prediction: For semantic segmentation on ADE20K, the method achieved a 4× increase in throughput (from 21.7 to 92.1 img/s) with a negligible 0.5% drop in mIoU.
  • Broad Applicability: The strategy proved robust across different training paradigms, including supervised (DeiT), masked autoencoders (MAE), and self-supervised (DINO) models.

Conclusion

Frequency-aware token reduction offers a principled way to scale Vision Transformers. By recognizing the low-pass nature of self-attention and explicitly protecting high-frequency information, this method enables significant throughput gains without the typical accuracy trade-offs associated with token pruning or merging. Future work may extend these spectral insights to Large Language Models and multi-modal architectures.

Summary updated

BibTeX
@inproceedings{lee2025frequency,
  author = {Dong-Jae Lee and Jiwan Hur and Jaehyun Choi and Jaemyung Yu and Junmo Kim},
  title = {{Frequency-Aware Token Reduction for Efficient Vision Transformer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Dr06Wjh45k},
}
Figure