TL;DR
Vision Transformers (ViTs) face high computational costs due to the complexity of self-attention mechanisms. RAPID is a new framework that implements layer-wise redundancy-aware pruning and importance-driven token merging to optimize token reduction based on how representations change across layers.
✦ Why It Matters
Engineers can use RAPID to enhance the efficiency of Vision Transformers in resource-limited settings.
Key Takeaways
How It Works
RAPID employs a bifurcated strategy for token reduction. In shallow to middle layers, it uses a redundancy-similarity aware pruning metric to eliminate redundant local patterns.
In deeper layers, it transitions to an importance-similarity aware merging mechanism that protects critical tokens based on classification token attention weights while merging similar, less important tokens.
Related