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

视觉Transformer的注意力多层融合

Attentive multilayer fusion for vision transformers

Hector Fellow Academy(海克荣誉院士协会);BIFOLD;University of Tübingen(图宾根大学);Tübingen AI Center(图宾根人工智能中心);Helmholtz Munich(亥姆霍兹慕尼黑);Technical University Munich(慕尼黑技术大学);MCML(慕尼黑机器学习中心);Aignostics, Berlin(柏林Aignostics);RIKEN AIP(理化学研究所AIP)

Laure Ciernik, Marco Morik, Lukas Thede, Luca Eyring, Shinichi Nakajima, Zeynep Akata, Lukas Muttenthaler

AI总结:

研究如何让大规模基础模型有效适应下游任务,提出注意力多层融合方法,通过动态融合视觉Transformer各层表示,识别最相关层并结合不同层次线索,在多数据集和模型上比标准线性探测有显著提升,强调中间层价值。

摘要:

随着大规模基础模型的兴起,有效使其适应下游任务仍是核心挑战。线性探测冻结主干并训练轻量级头部,计算高效但常限于最后层表示。我们表明任务相关信息分布在网络层次结构中。为利用此信息分布,我们应用注意力探测机制动态融合视觉Transformer各层表示。这种注意力层融合(ALF)学习识别目标任务最相关层,并结合低级结构线索和高级语义抽象。在20个不同数据集和多个预训练基础模型上,ALF比标准线性探测有持续显著提升。注意力热图进一步揭示与预训练域不同的任务从中间表示中受益最大。总体而言,我们的发现强调中间层的价值,并展示了一种基于原则、任务感知的方法来释放其基于探测的适应潜力。

英文摘要:

With the rise of large-scale foundation models, efficiently adapting them to downstream tasks remains a central challenge. Linear probing, which freezes the backbone and trains a lightweight head, is computationally efficient but often restricted to last-layer representations. We show that task-relevant information is distributed across the network hierarchy rather than encoded solely in the last layers. To leverage this distribution of information, we apply an attentive probing mechanism that dynamically fuses representations from all layers of a Vision Transformer. This attentive layer fusion (ALF) learns to identify the most relevant layers for a target task and combines low-level structural cues with high-level semantic abstractions. Across 20 diverse datasets and multiple pretrained foundation models, ALF achieves consistent, substantial gains over standard linear probes. Attention heatmaps further reveal that tasks different from the pre-training domain benefit most from intermediate representations. Overall, our findings underscore the value of intermediate layers and demonstrate a principled, task-aware approach for unlocking their potential for probing-based adaptation.

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

↑