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

视觉-语言模型测试时自适应的自适应缓存增强

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

Deakin University(德克萨斯大学);Sungkyunkwan University(成均馆大学)

Khanh-Binh Nguyen, Phuoc-Nguyen Bui, Hyunseung Choo, Duc Thanh Nguyen

AI总结:

针对视觉-语言模型(VLMs)在分布偏移下零样本泛化性能下降的问题,提出自适应缓存增强(ACE)框架,通过动态类特定阈值优化缓存样本选择,实现更稳健的测试时自适应,在15个基准数据集上超越现有方法。

摘要:

视觉-语言模型(VLMs)展现出卓越的零样本泛化能力,但在下游任务的分布偏移下性能会下降,尤其是在没有标签数据的情况下。测试时自适应(TTA)通过在推理过程中对VLMs进行在线优化来应对这一挑战,无需标注数据。基于缓存的TTA方法通过维护低熵或高置信度样本的动态内存缓存来利用历史知识,促进对分布外数据的高效自适应。然而,这些方法面临两个关键挑战:(1)在显著分布偏移下置信度指标不可靠,导致缓存内误差累积并降低自适应性能;(2)刚性决策边界无法适应大幅分布变化,导致次优预测。为克服这些局限,我们引入自适应缓存增强(ACE)框架,该框架通过维护每个类别的低熵或高置信度图像嵌入的动态内存缓存来利用历史知识,在动态、类特定阈值的引导下选择性存储低熵或高置信度图像嵌入——这些阈值从零样本统计初始化,并使用指数移动平均和探索增强更新进行迭代优化。这种方法实现了自适应的、类级别的决策边界,确保在多样视觉分布上的稳健且准确的预测。在15个多样化基准数据集上的广泛实验表明,ACE实现了最先进的性能,在具有挑战性的分布外场景中,相比现有TTA方法展现出更优的稳健性和泛化能力。

英文摘要:

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.

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

↑