通过对齐视觉与语言语义子空间,提升视觉语言模型在测试时的自适应性能。
Subspace Alignment for Vision-Language Model Test-time Adaptation
- 提取双模态主子空间并最小化弦距离,缓解跨模态差异。
- 将视觉特征投影到任务相关的文本子空间,过滤无关噪声。
- 适用于需要快速适配新数据分布的视觉语言模型部署场景。
视觉语言模型(VLM)虽具备出色的零样本能力,但易受分布偏移影响。测试时自适应(TTA)是应对未标注测试数据的主流策略。然而,现有方法严重依赖零样本预测生成伪标签进行自训练,在分布偏移下可能不可靠,且存在两个根本缺陷:一是模态间隙(Modality Gap),分布偏移导致视觉与文本模态间出现差距,使跨模态关联失准;二是视觉干扰(Visual Nuisance),视觉嵌入包含丰富但任务无关的噪声,常在分布偏移下掩盖任务语义。为此,本文提出SubTTA,通过对齐双模态语义子空间,增强零样本预测以更有效指导TTA过程。为弥合模态间隙,SubTTA提取双模态主子空间,并通过最小化弦距离将视觉流形对齐至文本语义锚点。为消除视觉干扰,SubTTA将对齐后的视觉特征投影至任务特定的文本子空间,约束其位于有效语义范围内,从而过滤无关噪声,再在净化空间中执行标准TTA以优化决策边界。在多个基准和模型架构上的实验表明,SubTTA相比最先进方法平均提升2.24%。代码已开源。
原文摘要 · Abstract (English)
Vision-language models (VLMs), despite their extraordinary zero-shot capabilities, are vulnerable to distribution shifts. Test-time adaptation (TTA) emerges as a predominant strategy to adapt VLMs to unlabeled test data on the fly. However, existing TTA methods heavily rely on zero-shot predictions as pseudo-labels for self-training, which can be unreliable under distribution shifts and misguide adaptation due to two fundamental limitations.First (Modality Gap), distribution shifts induce gaps between visual and textual modalities, making cross-modal relations inaccurate. Second (Visual Nuisance), visual embeddings encode rich but task-irrelevant noise that often overwhelms task-specific semantics under distribution shifts. To address these limitations, we propose SubTTA, which aligns the semantic subspaces of both modalities to enhance zero-shot predictions to better guide the TTA process. To bridge the modality gap, SubTTA extracts the principal subspaces of both modalities and aligns the visual manifold to the textual semantic anchor by minimizing their chordal distance. To eliminate visual nuisance, SubTTA projects the aligned visual features onto the task-specific textual subspace, which filters out task-irrelevant noise by constraining visual embeddings within the valid semantic span, and standard TTA is further performed on the purified space to refine the decision boundaries. Extensive experiments on various benchmarks and VLM architectures demonstrate the effectiveness of SubTTA, yielding an average improvement of 2.24% over state-of-the-art TTA methods. Our code is available at https://github.com/zhichenz98/SubTTA_EMNLP26.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。