跳到正文
arXiv cs.AI· Kamil Ksi\k{a}\.zek, Micha{\l} Jan W{\l}odarczyk, Piotr Suszy\'nski, Jacek Tabor, Przemys{\l}aw Biecek·· 3 天前AI 评分36

从剪枝视角理解 Vision Transformer 注意力头的功能角色

Pruning as a Lens: Understanding the Functional Roles of Attention Heads in Vision Transformers

AI 导读

研究者提出 Laplace maps,一种基于注意力激活 Laplacian 特征向量的频谱分析与可视化技术,用于刻画 DINOv2 等 Vision Transformer 中单个注意力头的功能特化,识别出局部卷积处理、拓扑路由和复杂语义解析三类角色。

正文 · 原文

View PDF HTML (experimental)

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.
Subjects: Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI)
MSC classes: 68T07
ACM classes: I.2.6
Cite as: arXiv:2608.00264 [cs.CV]
  (or arXiv:2608.00264v2 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.2608.00264

arXiv-issued DOI via DataCite

Submission history

From: Kamil Książek [view email]
[v1] Fri, 31 Jul 2026 20:14:03 UTC (4,541 KB)
[v2] Wed, 2 Dec 2026 13:46:49 UTC (15,307 KB)

来源:arXiv cs.AI · arxiv.org