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

连续动态场景下的广义鲁棒测试时自适应

Generalized Robust Test-Time Adaptation in Continuous Dynamic Scenarios

Beijing Institute of Technology(北京理工大学);Xi’an Jiaotong University(西安交通大学)

Shuang Li, Longhui Yuan, Binhui Xie, Tao Yang

AI总结:

针对实际场景中持续协变量偏移与标签偏移共存的测试时自适应难题,提出GRoTTA方法,通过鲁棒参数适配和偏差引导输出适配实现稳定适配,性能显著优于现有方法。

摘要:

测试时自适应(Test-Time Adaptation, TTA)仅利用无标签测试数据流,在推理阶段将预训练模型适配到测试分布上,这对模型在实际应用中的部署极具价值。现有众多研究在简单测试流上取得了可观性能,这类测试流的特点是测试数据从固定目标数据分布中独立均匀采样。但在实际场景中,持续协变量偏移与持续标签偏移会同时发生,即数据和标签分布会随时间持续同步变化,现有方法在这类场景下往往效果不佳。\n本研究提出了一种更具挑战性的实用测试时自适应(Practical Test-Time Adaptation, PTTA)设定,该设定考虑了持续协变量偏移与持续标签偏移同时存在的情况,同时我们提出了广义鲁棒测试时自适应(Generalized Robust Test-Time Adaptation, GRoTTA)方法来有效解决这一难题。我们首先通过鲁棒参数适配稳步调整模型,使模型对测试样本做出平衡预测。具体而言,第一,通过强制模型从均匀标签分布中学习,并引入批量归一化重校准以保证稳定性,消除持续标签偏移的影响。第二,借助师生模型的源知识正则化来更新参数,缓解持续协变量偏移。考虑到测试流中存在潜在信息,我们进一步通过偏差引导的输出适配优化平衡预测,该方法利用特征空间中的潜在结构,能够适配不平衡的标签分布。大量实验表明,在PTTA设定下,GRoTTA的性能大幅优于现有同类方法,非常适合在实际应用中推广使用。

英文摘要:

Test-time adaptation (TTA) adapts the pre-trained models to test distributions during the inference phase exclusively employing unlabeled test data streams, which holds great value for the deployment of models in real-world applications. Numerous studies have achieved promising performance on simplistic test streams, characterized by independently and uniformly sampled test data originating from a fixed target data distribution. However, these methods frequently prove ineffective in practical scenarios, where both continual covariate shift and continual label shift occur simultaneously, i.e., data and label distributions change concurrently and continually over time. In this study, a more challenging Practical Test-Time Adaptation (PTTA) setup is introduced, which takes into account the concurrent presence of continual covariate shift and continual label shift, and we propose a Generalized Robust Test-Time Adaptation (GRoTTA) method to effectively address the difficult problem. We start by steadily adapting the model through Robust Parameter Adaptation to make balanced predictions for test samples. To be specific, firstly, the effects of continual label shift are eliminated by enforcing the model to learn from a uniform label distribution and introducing recalibration of batch normalization to ensure stability. Secondly, the continual covariate shift is alleviated by employing a source knowledge regularization with the teacher-student model to update parameters. Considering the potential information in the test stream, we further refine the balanced predictions by Bias-Guided Output Adaptation, which exploits latent structure in the feature space and is adaptive to the imbalanced label distribution. Extensive experiments demonstrate GRoTTA outperforms the existing competitors by a large margin under PTTA setting, rendering it highly conducive for adoption in real-world applications.

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

↑