Pruning as a Lens: Understanding the Functional Roles of Attention Heads in Vision Transformers
cs.CV, cs.AI
Submitted: 2026-07-31
Updated: 2026-12-02
License: http://creativecommons.org/licenses/by/4.0/
The gist: Vision foundation models, such as DINOv2, learn highly expressive representations but rely on massive, opaque architectures that demand substantial computational and memory resources.
Terminology
Abstract
Vision foundation models, such as DINOv2, learn highly expressive representations but rely on massive, opaque architectures that demand substantial computational and memory resources. To provide an interpretability-guided and efficient solution to this issue, we first propose Laplace maps, a novel spectral analysis and visualization technique for individual attention heads based on the Laplacian eigenvectors of attention activations. This allows us to categorize the functional specializations of individual heads, uncovering local convolutional processing, topological routers, and complex semantic parsing. Building upon recent observations regarding contiguous representational phases in vision transformers, we extend this discovery to the head level, assess their similarity, and identify functional redundancies. Leveraging these insights, we introduce Soft Attention PrunER (SAPER), an end-to-end differentiable pruning framework powered by the LapSum Soft top-k operator. By clearing redundant heads, SAPER significantly reduces FLOPs while preserving core model performance, allowing us to quantitatively assess the architectural importance of router heads under constrained capacity.
Sources
- The Case for Model Science: Verify, Explore, Steer, Refine
- Adaptive MLP Pruning for Large Vision Transformers
- HEART-VIT: Hessian-Guided Efficient Dynamic Attention and Token Pruning in Vision Transformer
- D squared-VPR: A Parameter-efficient Visual-foundation-model-based Visual Place Recognition Method via Knowledge Distillation and Deformable Aggregation
Related papers
- Lightweight Adaptation of General-Purpose VLMs for Multispectral and SAR Image Understanding
- Systematic Evaluation of Underwater Image Reconstruction
- InteracVid: Building a Real Interactive Audio-Visual Response Dataset from Live-Chat Videos
- Count Anything
- Shot-Aware Frame Sampling for Video Understanding
- Reduce Tokens, Refine Semantics: Training-Free Acceleration of Vision-Language Models