arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.12492cs.LGcs.AIcs.CVstat.ML
收藏

基于状态空间模型的时序测试时自适应

Temporal Test-Time Adaptation with State-Space Models

UvA-Bosch Delta Lab, University of Amsterdam(阿姆斯特丹大学);Bosch Center for AI(博世人工智能中心);Johns Hopkins University(约翰霍普金斯大学)

Mona Schirmer, Dan Zhang, Eric Nalisnick

AI总结:

针对真实场景中常见的时序分布偏移问题,本文提出基于贝叶斯滤波的STAD方法,通过学习隐藏特征时变动因、推断动态类别原型实现无标签测试时自适应,在小批量、标签偏移场景表现优异。

摘要:

部署模型的全生命周期中,训练数据与测试数据间的分布偏移不可避免,会导致模型性能下降。在测试样本上对模型进行自适应调整可缓解这种性能衰减,但现有多数测试时自适应方法聚焦于合成损坏偏移,尚有多种分布偏移未得到充分研究。本文聚焦随时间逐步演化的分布偏移,这类偏移在真实场景中十分常见,但正如本文验证的,其对现有方法存在挑战。为解决该问题,本文提出STAD,这是一种贝叶斯滤波方法,通过学习最近一组隐藏特征中的时变动因,使部署模型适配时序分布偏移。该模型无需标签,可推断随时间演化的类别原型,作为动态分类头。在真实时序分布偏移上的实验表明,该方法在处理小批量和标签偏移场景时表现优异。

英文摘要:

Distribution shifts between training and test data are inevitable over the lifecycle of a deployed model, leading to performance decay. Adapting a model on test samples can help mitigate this drop in performance. However, most test-time adaptation methods have focused on synthetic corruption shifts, leaving a variety of distribution shifts underexplored. In this paper, we focus on distribution shifts that evolve gradually over time, which are common in the wild but challenging for existing methods, as we show. To address this, we propose STAD, a Bayesian filtering method that adapts a deployed model to temporal distribution shifts by learning the time-varying dynamics in the last set of hidden features. Without requiring labels, our model infers time-evolving class prototypes that act as a dynamic classification head. Through experiments on real-world temporal distribution shifts, we show that our method excels in handling small batch sizes and label shift.

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

↑