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

SCAP:通过基于支持团的属性提示实现直推式测试时适应

SCAP: Transductive Test-Time Adaptation via Supportive Clique-based Attribute Prompting

Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所)

Chenyu Zhang, Kunlun Xu, Zichen Liu, Yuxin Peng, Jiahuan Zhou

AI总结:

针对直推式TTA中批次内跨样本关联与文本模态利用不足的问题,本文提出SCAP框架,通过无监督支持团生成、聚合并动态更新细粒度属性提示,显著提升VLM的域偏移泛化性能。

摘要:

视觉-语言模型(VLM)在适应由数据分布变化引起的域偏移时面临相当大的挑战。测试时适应(TTA)已成为在此类条件下提升VLM性能的一种有前景的方法。在实践中,测试数据通常以批次形式到达,这引发了人们对直推式TTA设置日益增长的兴趣。然而,现有TTA方法主要关注单个测试样本,忽视了批次内关键的跨样本相关性。尽管近期基于ViT的TTA方法引入了批次级适应,但由于对文本模态的整合不足,它们对于VLM而言仍非最优。为解决这些局限,我们提出了一种新颖的直推式TTA框架——基于支持团的属性提示(Supportive Clique-based Attribute Prompting,SCAP),该框架通过跨测试批次生成细粒度属性提示,有效结合视觉与文本信息以增强适应能力。SCAP首先基于视觉相似性以无监督方式形成测试样本的支持团,并为每个团学习一个属性提示,以捕捉对适应至关重要的共享属性。对于每个测试样本,SCAP聚合来自其相关团的属性提示,从而提供丰富的上下文信息。为确保随时间变化的适应性,我们引入了一个保留模块,在新数据到达时动态更新属性提示及其相关属性。在多个基准上进行的综合实验表明,SCAP优于现有最先进方法,显著推进了VLM在域偏移下的泛化能力。我们的代码可在https://github.com/zhoujiahuan1991/CVPR2025-SCAP获取。

英文摘要:

Vision-language models (VLMs) encounter considerable challenges when adapting to domain shifts stemming from changes in data distribution. Test-time adaptation (TTA) has emerged as a promising approach to enhance VLM performance under such conditions. In practice, test data often arrives in batches, leading to increasing interest in the transductive TTA setting. However, existing TTA methods primarily focus on individual test samples, overlooking crucial cross-sample correlations within a batch. While recent ViT-based TTA methods have introduced batch-level adaptation, they remain suboptimal for VLMs due to inadequate integration of the text modality. To address these limitations, we propose a novel transductive TTA framework, Supportive Clique-based Attribute Prompting (SCAP), which effectively combines visual and textual information to enhance adaptation by generating fine-grained attribute prompts across test batches. SCAP first forms supportive cliques of test samples in an unsupervised manner based on visual similarity and learns an attribute prompt for each clique, capturing shared attributes critical for adaptation. For each test sample, SCAP aggregates attribute prompts from its associated cliques, providing enriched contextual information. To ensure adaptability over time, we incorporate a retention module that dynamically updates attribute prompts and their associated attributes as new data arrives. Comprehensive experiments across multiple benchmarks demonstrate that SCAP outperforms existing state-of-the-art methods, significantly advancing VLM generalization under domain shifts. Our code is available at https://github.com/zhoujiahuan1991/CVPR2025-SCAP.

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

↑