Patch Pruning Strategy Based on Robust Statistical Measures of Attention Weight Diversity in Vision Transformers
Yuki Igaue, Hiroaki Aizawa

TL;DR
This paper introduces a novel patch pruning strategy for vision transformers that uses statistical measures of attention weight diversity to improve computational efficiency while maintaining accuracy.
Contribution
It proposes a patch pruning method based on variance and median absolute deviation of attention weights, enhancing efficiency and robustness in vision transformers.
Findings
Improved throughput with maintained classification accuracy.
Robust statistical measures effectively identify redundant patches.
Overlapping patch embeddings further enhance performance.
Abstract
Multi-head self-attention is a distinctive feature extraction mechanism of vision transformers that computes pairwise relationships among all input patches, contributing significantly to their high performance. However, it is known to incur a quadratic computational complexity with respect to the number of patches. One promising approach to address this issue is patch pruning, which improves computational efficiency by identifying and removing redundant patches. In this work, we propose a patch pruning strategy that evaluates the importance of each patch based on the variance of attention weights across multiple attention heads. This approach is inspired by the design of multi-head self-attention, which aims to capture diverse attention patterns across different subspaces of feature representations. The proposed method can be easily applied during both training and inference, and…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · EEG and Brain-Computer Interfaces · Visual Attention and Saliency Detection
