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

DELTA:无降解完全测试时自适应

DELTA: degradation-free fully test-time adaptation

Tsinghua University(清华大学);Tencent TEG AI(腾讯技术工程事业群人工智能实验室);OPPO research institute(OPPO研究院);Peng Cheng Laboratory(鹏城实验室)

Bowen Zhao, Chen Chen, Shu-Tao Xia

摘要:

完全测试时自适应的目的是在实时推理过程中使预先训练好的模型适应测试流,这在测试分布与训练分布不同时迫切需要。为提高适应绩效作出了若干努力。然而,我们发现,两个不利的缺陷隐藏在流行的自适应方法,如测试时间批量归一化(BN)和自学习。首先,我们揭示了测试时BN的归一化统计量完全受当前接收的测试样本的影响,导致不准确的估计。其次,我们表明,在测试时自适应,参数更新偏向于一些占主导地位的类。除了广泛研究的测试流与独立和类平衡的样本,我们进一步观察到,在更复杂的测试环境中,如(时间)相关或类不平衡的数据的缺陷可能会加剧。我们观察到,以前的方法在某些情况下工作得很好,而在其他情况下,由于其故障显示性能下降。在本文中,我们提供了一个插件的解决方案称为DELTA的降级自由fuLly测试时自适应,它由两个组件组成:(i)测试时批量重整(TBR),引入以改善估计的归一化统计。(ii)动态在线重新加权(DOT),旨在解决优化中的类偏差。我们研究了各种测试时自适应方法在三个常用的数据集与四个场景,和一个新引入的真实世界的数据集。DELTA可以帮助他们同时处理所有场景,从而实现SOTA性能。

英文摘要:

Fully test-time adaptation aims at adapting a pre-trained model to the test stream during real-time inference, which is urgently required when the test distribution differs from the training distribution. Several efforts have been devoted to improving adaptation performance. However, we find that two unfavorable defects are concealed in the prevalent adaptation methodologies like test-time batch normalization (BN) and self-learning. First, we reveal that the normalization statistics in test-time BN are completely affected by the currently received test samples, resulting in inaccurate estimates. Second, we show that during test-time adaptation, the parameter update is biased towards some dominant classes. In addition to the extensively studied test stream with independent and class-balanced samples, we further observe that the defects can be exacerbated in more complicated test environments, such as (time) dependent or class-imbalanced data. We observe that previous approaches work well in certain scenarios while show performance degradation in others due to their faults. In this paper, we provide a plug-in solution called DELTA for Degradation-freE fuLly Test-time Adaptation, which consists of two components: (i) Test-time Batch Renormalization (TBR), introduced to improve the estimated normalization statistics. (ii) Dynamic Online re-weighTing (DOT), designed to address the class bias within optimization. We investigate various test-time adaptation methods on three commonly used datasets with four scenarios, and a newly introduced real-world dataset. DELTA can help them deal with all scenarios simultaneously, leading to SOTA performance.

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

↑