arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.06973cs.CV
收藏

Free on the Fly: 通过在线EM增强测试时自适应的灵活性

Free on the Fly: Enhancing Flexibility in Test-Time Adaptation with Online EM

School of Information Science and Technology, ShanghaiTech University(信息科学与技术学院,上海科技大学);Sun Yat-sen University(孙中山大学)

Qiyuan Dai, Sibei Yang

AI总结:

提出FreeTTA,一种无需训练、无假设的测试时自适应方法,通过在线EM算法显式建模测试分布,利用样本间关系增强预测,在15个数据集上超越现有方法。

摘要:

视觉-语言模型(VLMs)因其强大的泛化能力,在开放世界图像识别中已变得突出。然而,它们在实践应用中的有效性常因域偏移和分布变化而受损,尤其是当测试数据分布与训练数据不同时。因此,测试时自适应(TTA)范式应运而生,它能够在测试时利用在线的现成数据,支持独立样本预测,并消除对测试标注的依赖。然而,传统的TTA方法通常依赖昂贵的训练或优化过程,或对访问或存储历史训练和测试数据做出不切实际的假设。相反,本研究提出FreeTTA,一种无需训练且普遍可用、不作任何假设的方法,以增强TTA的灵活性。更重要的是,FreeTTA首次显式建模测试数据分布,使得能够利用测试样本间的内在关系来增强单个样本的预测,而无需同时访问所有样本——这是先前未探索的方向。FreeTTA通过引入在线EM算法实现这些优势,该算法利用VLM的零样本预测作为先验,迭代计算每个在线测试样本的后验概率并更新参数。实验表明,在跨域和分布外设置下的15个数据集上,FreeTTA相比最先进方法取得了稳定且显著的改进。

英文摘要:

Vision-Language Models (VLMs) have become prominent in open-world image recognition for their strong generalization abilities. Yet, their effectiveness in practical applications is compromised by domain shifts and distributional changes, especially when test data distributions diverge from training data. Therefore, the paradigm of test-time adaptation (TTA) has emerged, enabling the use of online off-the-shelf data at test time, supporting independent sample predictions, and eliminating reliance on test annotations. Traditional TTA methods, however, often rely on costly training or optimization processes, or make unrealistic assumptions about accessing or storing historical training and test data. Instead, this study proposes FreeTTA, a training-free and universally available method that makes no assumptions, to enhance the flexibility of TTA. More importantly, FreeTTA is the first to explicitly model the test data distribution, enabling the use of intrinsic relationships among test samples to enhance predictions of individual samples without simultaneous access--a direction not previously explored. FreeTTA achieves these advantages by introducing an online EM algorithm that utilizes zero-shot predictions from VLMs as priors to iteratively compute the posterior probabilities of each online test sample and update parameters. Experiments demonstrate that FreeTTA achieves stable and significant improvements compared to state-of-the-art methods across 15 datasets in both cross-domain and out-of-distribution settings.

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

↑