← 研踪 PaperTrailarXiv:2608.00264 · v2
Pruning as a Lens: Understanding the Functional Roles of Attention Heads in Vision Transformers
首次提交 2026-08-01 04:14
版本更新 2026-12-02 21:46
雷达观测 2026-12-03 12:51
摘要
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.
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v2 · 2026-12-02 21:46 · 最新观测版本
Pruning as a Lens: Understanding the Functional Roles of Attention Heads in Vision Transformers
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.
查看此版本解读 →查看此版本原文 ↗