arXiv:2605.25799cs.CV2026-05中稿 · CVPR被引 2

解决视觉语言模型在少样本跨域学习中注意力坍缩问题

Addressing Exacerbated Attention Sink for Source-Free Cross-Domain Few-Shot Learning

论文配图:Addressing Exacerbated Attention Sink for Source-Free Cross-Domain Few-Shot Learning
图 1 · 摘自论文原文
  • 动态重加权目标域令牌,抑制简单令牌的过度聚焦
  • 实验显示该方法显著减少注意力坍缩,提升类别区分度
  • 适合研究少样本学习与跨域迁移的学者参考

视觉语言模型(如CLIP)虽具备强大泛化能力,但在跨域少样本学习(CDFSL)中的潜力尚未充分挖掘。本文发现:标准的目标域少样本微调会加剧注意力坍缩现象,导致类别区分能力下降。通过实验分析,我们揭示这是模型为适应域间差异而产生的捷径学习——倾向于将原本接近目标类别的简单令牌进一步拉近,从而忽略初始较远但更具判别性的困难令牌。为此,我们提出一种动态重加权策略,在微调过程中根据令牌与目标类别的相关性调整权重,显式抑制对简单令牌的依赖,增强对困难令牌的学习,减少坍缩令牌数量。在四个基准数据集上的实验证明该方法有效,达到新SOTA性能。代码已开源。

原文摘要 · Abstract (English)

Vision-language models (VLMs) like CLIP have shown impressive generalization capabilities, yet their potential for Cross-Domain Few-Shot Learning (CDFSL) remains underexplored, where the model needs to transfer source-domain information to target domains with scarce training data. While the attention sink phenomenon has been observed in VLMs for certain tasks, its role in CDFSL scenarios has not been studied. In this paper, we uncover a critical issue overlooked by prior works: standard target-domain few-shot fine-tuning in CDFSL significantly exacerbates the attention sink problem, leading to poor discriminability across classes. To understand this phenomenon, through extensive experiments, we interpret it as the model's shortcut learning for domain adaptation: to overcome the huge domain gap between the source and target domains, the model shows a high tendency to push tokens that are initially closer to target-domain classes (i.e., simple tokens) to be even closer to these classes, exacerbating the attention sink and wasting the capability of learning other discriminative but initially further tokens (i.e., hard tokens). To address this, we propose a novel approach to dynamically re-weight tokens according to their relevance with target-domain classes during the target-domain finetuning, which explicitly suppresses the model's reliance on these simple tokens and enhances the learning of hard tokens, reducing sink tokens and enhancing discriminability. Extensive experiments on four benchmark datasets validate the rationale of our method, demonstrating new state-of-the-art performance. Our codes are available at https://github.com/shuaiyi308/TIR.

少样本学习跨域迁移注意力机制视觉语言模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。