arXiv:2509.17598cs.CV2025-09被引 3

用视觉语言模型实现无标签共享的测试时自适应,提升跨域泛化能力。

COLA: Context-aware Language-driven Test-time Adaptation

  • 基于预训练视觉语言模型,通过上下文感知模块融合任务、领域与先验知识。
  • 在多个目标域上实现零样本迁移,准确率显著优于现有方法。
  • 适用于标签空间不一致的场景,适合研究跨域泛化与隐私保护应用。

测试时自适应(TTA)因其在应对分布偏移问题的同时保护数据隐私而日益受到关注。然而,多数先前方法假设源域模型与目标域共享相同的标签空间,严重限制了其适用性。本文研究了一种更通用的源模型,可在无需共享标签的情况下适配多个目标域。通过使用预训练的视觉语言模型(如CLIP),该模型可借助类别描述进行图像识别。尽管视觉语言模型具备出色的零样本性能,但难以有效捕捉目标域的独特属性。为此,我们提出一种新方法——上下文感知的语言驱动测试时自适应(COLA)。该方法引入一个轻量级的上下文感知模块,包含三个关键组件:任务感知适配器、上下文感知单元和残差连接单元,分别用于探索任务特定知识、来自视觉语言模型的领域特定知识以及模型先验知识。值得注意的是,该模块可无缝集成到冻结的视觉语言模型中,实现最小开销与参数效率。此外,我们设计了类别平衡伪标签策略(CBPL),以缓解类别不平衡带来的负面影响。实验表明,该方法不仅在测试时自适应任务中表现优异,还在类别泛化任务中展现出强鲁棒性。源代码已公开于https://github.com/NUDT-Bai-Group/COLA-TTA。

原文摘要 · Abstract (English)

Test-time adaptation (TTA) has gained increasing popularity due to its efficacy in addressing ``distribution shift'' issue while simultaneously protecting data privacy. However, most prior methods assume that a paired source domain model and target domain sharing the same label space coexist, heavily limiting their applicability. In this paper, we investigate a more general source model capable of adaptation to multiple target domains without needing shared labels. This is achieved by using a pre-trained vision-language model (VLM), \egno, CLIP, that can recognize images through matching with class descriptions. While the zero-shot performance of VLMs is impressive, they struggle to effectively capture the distinctive attributes of a target domain. To that end, we propose a novel method -- Context-aware Language-driven TTA (COLA). The proposed method incorporates a lightweight context-aware module that consists of three key components: a task-aware adapter, a context-aware unit, and a residual connection unit for exploring task-specific knowledge, domain-specific knowledge from the VLM and prior knowledge of the VLM, respectively. It is worth noting that the context-aware module can be seamlessly integrated into a frozen VLM, ensuring both minimal effort and parameter efficiency. Additionally, we introduce a Class-Balanced Pseudo-labeling (CBPL) strategy to mitigate the adverse effects caused by class imbalance. We demonstrate the effectiveness of our method not only in TTA scenarios but also in class generalisation tasks. The source code is available at https://github.com/NUDT-Bai-Group/COLA-TTA.

测试时自适应视觉语言模型跨域泛化零样本学习

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