LF-ViT: Reducing Spatial Redundancy in Vision Transformer for Efficient Image Recognition
Youbing Hu, Yun Cheng, Anqi Lu, Zhiqiang Cao, Dawei Wei, Jie Liu,, Zhijun Li

TL;DR
LF-ViT reduces spatial redundancy in vision transformers by combining low-resolution processing with a focus mechanism on discriminative regions, significantly decreasing computational costs while maintaining high accuracy.
Contribution
Introduces LF-ViT, a novel two-phase model with NGCA for efficient image recognition, reducing FLOPs by 63% and doubling throughput without performance loss.
Findings
FLOPs reduced by 63% compared to Deit-S
Throughput doubled in empirical tests
Maintains accuracy with lower computational cost
Abstract
The Vision Transformer (ViT) excels in accuracy when handling high-resolution images, yet it confronts the challenge of significant spatial redundancy, leading to increased computational and memory requirements. To address this, we present the Localization and Focus Vision Transformer (LF-ViT). This model operates by strategically curtailing computational demands without impinging on performance. In the Localization phase, a reduced-resolution image is processed; if a definitive prediction remains elusive, our pioneering Neighborhood Global Class Attention (NGCA) mechanism is triggered, effectively identifying and spotlighting class-discriminative regions based on initial findings. Subsequently, in the Focus phase, this designated region is used from the original image to enhance recognition. Uniquely, LF-ViT employs consistent parameters across both phases, ensuring seamless end-to-end…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsCCD and CMOS Imaging Sensors · Infrared Target Detection Methodologies
MethodsAttention Is All You Need · Linear Layer · Residual Connection · Layer Normalization · Multi-Head Attention · Byte Pair Encoding · Absolute Position Encodings · Dense Connections · Position-Wise Feed-Forward Layer · Label Smoothing
