arXiv:2508.07570cs.CV2025-08被引 2

动态调整阈值,让视觉语言模型在无标注数据下更稳定适应分布偏移。

Adaptive Cache Enhancement for Test-Time Adaptation of Vision-Language Models

  • 用动态类特定阈值筛选高置信度样本存入缓存
  • 在15个基准数据集上显著提升分布外场景的鲁棒性
  • 适合需要在线自适应的视觉语言模型部署场景

视觉语言模型虽具备出色的零样本泛化能力,但在下游任务中遇到分布偏移时性能会下降,尤其在缺乏标注数据的情况下。测试时自适应(TTA)通过推理阶段在线优化模型来缓解此问题。基于缓存的TTA方法利用历史知识,维护一个包含低熵或高置信度样本的动态记忆缓存,以高效适应分布外数据。然而,这类方法面临两大挑战:(1) 在显著分布偏移下置信度指标不可靠,导致缓存中累积错误,降低适应性能;(2) 决策边界僵化,难以应对大幅分布变化,造成预测不佳。为此,我们提出自适应缓存增强(ACE)框架,通过动态、类相关的阈值选择每类的高置信度或低熵图像嵌入进行缓存存储,初始阈值基于零样本统计,并通过指数移动平均和探索增强更新迭代优化。该方法实现自适应的类级决策边界,确保在多种视觉分布下仍具鲁棒性和准确性。在15个多样化基准数据集上的大量实验表明,ACE达到当前最优性能,在挑战性的分布外场景中表现优于现有TTA方法。

原文摘要 · Abstract (English)

Vision-language models (VLMs) exhibit remarkable zero-shot generalization but suffer performance degradation under distribution shifts in downstream tasks, particularly in the absence of labeled data. Test-Time Adaptation (TTA) addresses this challenge by enabling online optimization of VLMs during inference, eliminating the need for annotated data. Cache-based TTA methods exploit historical knowledge by maintaining a dynamic memory cache of low-entropy or high-confidence samples, promoting efficient adaptation to out-of-distribution data. Nevertheless, these methods face two critical challenges: (1) unreliable confidence metrics under significant distribution shifts, resulting in error accumulation within the cache and degraded adaptation performance; and (2) rigid decision boundaries that fail to accommodate substantial distributional variations, leading to suboptimal predictions. To overcome these limitations, we introduce the Adaptive Cache Enhancement (ACE) framework, which constructs a robust cache by selectively storing high-confidence or low-entropy image embeddings per class, guided by dynamic, class-specific thresholds initialized from zero-shot statistics and iteratively refined using an exponential moving average and exploration-augmented updates. This approach enables adaptive, class-wise decision boundaries, ensuring robust and accurate predictions across diverse visual distributions. Extensive experiments on 15 diverse benchmark datasets demonstrate that ACE achieves state-of-the-art performance, delivering superior robustness and generalization compared to existing TTA methods in challenging out-of-distribution scenarios.

视觉语言模型测试时自适应缓存机制

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