arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.22394cs.CV
收藏

视觉变换器需要更多的寄存器

Vision Transformers Need More Than Registers

School of Computing and Data Science, The University of Hong Kong(计算与数据科学学院,香港大学);Sun Yat-sen University(中山大学)

Cheng Shi, Yizhou Yu, Sibei Yang

AI总结:

本文通过系统分析发现视觉变换器的 artifacts 来源于懒惰聚合行为,通过选择性整合 patch 特征提升性能。

摘要:

视觉变换器(ViTs)在大规模数据上预训练后,能为多种下游任务提供通用表示。然而,ViTs 中的 artifacts 在不同监督范式和下游任务中普遍存在。通过系统分析,我们发现其根本机制尚未充分阐明。本文通过系统分析得出,这些 artifacts 源于懒惰聚合行为:ViT 使用语义无关的背景 patch 作为快捷方式来表示全局语义,受全局注意力和粗粒度语义监督驱动。我们的解决方案选择性地将 patch 特征整合到 CLS token 中,减少背景主导的快捷方式影响,并在 12 个基准测试中一致提升性能。我们希望这项工作能为 ViT 行为提供新的视角。

英文摘要:

Vision Transformers (ViTs), when pre-trained on large-scale data, provide general-purpose representations for diverse downstream tasks. However, artifacts in ViTs are widely observed across different supervision paradigms and downstream tasks. Through systematic analysis of artifacts in ViTs, we find that their fundamental mechanisms have yet to be sufficiently elucidated. In this paper, through systematic analysis, we conclude that these artifacts originate from a lazy aggregation behavior: ViT uses semantically irrelevant background patches as shortcuts to represent global semantics, driven by global attention and Coarse-grained semantic supervision. Our solution selectively integrates patch features into the CLS token, reducing the influence of background-dominated shortcuts and consistently improving performance across 12 benchmarks under label-, text-, and self-supervision. We hope this work offers a new perspective on ViT behavior.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑