Frequency-Aware Token Reduction for Efficient Vision Transformer
Dong-Jae Lee, Jiwan Hur, Jaehyun Choi, Jaemyung Yu, Junmo Kim
TL;DR
Vision Transformers incur high self-attention costs and suffer from rank collapse and over-smoothing as depth grows. The authors propose a frequency-aware token reduction that splits tokens into high-frequency and low-frequency groups, preserves HF tokens, and aggregates LF content into a DC token, augmented by learnable attention reweighting to prevent collapse. The method includes a practical HF/LF token selection via decomposing attention into low- and high-frequency parts, the use of local DC tokens, and an attention update that integrates DC information, showing consistent accuracy gains and reduced MACs across models and pretrained configurations. This approach yields practical benefits for efficient ViTs and offers insights into why prior token reduction methods may fail from a frequency perspective, with demonstrated applicability to dense prediction as well as classification tasks.
Abstract
Vision Transformers have demonstrated exceptional performance across various computer vision tasks, yet their quadratic computational complexity concerning token length remains a significant challenge. To address this, token reduction methods have been widely explored. However, existing approaches often overlook the frequency characteristics of self-attention, such as rank collapsing and over-smoothing phenomenon. In this paper, we propose a frequency-aware token reduction strategy that improves computational efficiency while preserving performance by mitigating rank collapsing. Our method partitions tokens into high-frequency tokens and low-frequency tokens. high-frequency tokens are selectively preserved, while low-frequency tokens are aggregated into a compact direct current token to retain essential low-frequency components. Through extensive experiments and analysis, we demonstrate that our approach significantly improves accuracy while reducing computational overhead and mitigating rank collapsing and over smoothing. Furthermore, we analyze the previous methods, shedding light on their implicit frequency characteristics and limitations.
