arXiv:2507.09500cs.CV2025-07中稿 · the 33rd ACM Inter…被引 12

提升视觉语言模型在分布偏移下的测试时自适应可靠性。

Advancing Reliable Test-Time Adaptation of Vision-Language Models under Visual Variations

  • 用一致性约束重加权熵值,动态维护高质量缓存。
  • 通过类文本嵌入的高斯建模,自适应调整分类边界。
  • 在真实分布偏移下表现优于现有方法,适合部署场景。

视觉语言模型(VLMs)虽具强大零样本能力,但在下游任务中因分布偏移且无标注数据而表现下降,促使测试时自适应(TTA)技术发展。现有基于缓存的方法依赖低熵样本构建动态缓存,但面临两个可靠性问题:(1)分布偏移下熵值不可靠,导致缓存噪声累积;(2)固定决策边界难以应对大范围视觉变化。为此,提出可靠测试时自适应(ReTA)方法,从两方面提升可靠性。首先,引入一致性感知熵重加权(CER),利用预测一致性约束对熵值加权,避免仅依赖低熵引入噪声,保障缓存质量。其次,提出多样性驱动分布校准(DDC),将类别文本嵌入建模为多元高斯分布,实现可自适应的分类边界,提升跨视觉多样性的预测精度。大量实验表明,ReTA在真实分布偏移下持续优于现有最优方法。代码已开源。

原文摘要 · Abstract (English)

Vision-language models (VLMs) exhibit remarkable zero-shot capabilities but struggle with distribution shifts in downstream tasks when labeled data is unavailable, which has motivated the development of Test-Time Adaptation (TTA) to improve VLMs' performance during inference without annotations. Among various TTA approaches, cache-based methods show promise by preserving historical knowledge from low-entropy samples in a dynamic cache and fostering efficient adaptation. However, these methods face two critical reliability challenges: (1) entropy often becomes unreliable under distribution shifts, causing error accumulation in the cache and degradation in adaptation performance; (2) the final predictions may be unreliable due to inflexible decision boundaries that fail to accommodate large downstream shifts. To address these challenges, we propose a Reliable Test-time Adaptation (ReTA) method that integrates two complementary strategies to enhance reliability from two perspectives. First, to mitigate the unreliability of entropy as a sample selection criterion for cache construction, we introduce Consistency-aware Entropy Reweighting (CER), which incorporates consistency constraints to weight entropy during cache updating. While conventional approaches rely solely on low entropy for cache prioritization and risk introducing noise, our method leverages predictive consistency to maintain a high-quality cache and facilitate more robust adaptation. Second, we present Diversity-driven Distribution Calibration (DDC), which models class-wise text embeddings as multivariate Gaussian distributions, enabling adaptive decision boundaries for more accurate predictions across visually diverse content. Extensive experiments demonstrate that ReTA consistently outperforms state-of-the-art methods, particularly under real-world distribution shifts. Code: https://github.com/Evelyn1ywliang/ReTA.

视觉语言模型测试时自适应分布偏移可靠性

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