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

通过权重集成、多样性加权和先验校正实现通用测试时自适应

Universal Test-time Adaptation through Weight Ensembling, Diversity Weighting, and Prior Correction

University of Stuttgart(斯图加特大学)

Robert A. Marsden, Mario Döbler, Bin Yang

AI总结:

本文提出通用测试时自适应方法ROID,通过确定性与多样性加权、源模型与自适应模型持续权重平均以及自适应先验校正,解决模型偏差、灾难性遗忘和类别先验偏移问题,在多种设置下取得领先性能。

摘要:

由于分布偏移很可能在测试时发生,并会大幅降低模型性能,在线测试时自适应(TTA)在部署后利用当前测试数据持续更新模型。显然,一种为在线TTA提出的方法必须在各种环境条件下都表现良好。通过引入域非平稳性和时间相关性这两个可变因素,我们首先展开了所有实际相关的设置,并将这一整体定义为通用TTA。我们希望强调,这是首项覆盖如此广泛范围的工作,而这对于实际应用是不可或缺的。为了解决通用TTA问题,我们识别并强调了基于自训练的方法必须应对的几个挑战:1)在不同序列长度上执行熵最小化时,无论是否存在多重域偏移,都会出现模型偏差和平凡解;2)泛化能力丧失,这会加剧对多重域偏移的自适应困难以及灾难性遗忘的发生;3)由于类别先验偏移导致的性能下降。为了防止模型产生偏差,我们利用了一种与数据集和模型无关的确定性与多样性加权方法。为了保持泛化能力并防止灾难性遗忘,我们提出持续对源模型和自适应后的模型进行权重平均。为了补偿测试时类别先验的差异,我们提出了一种自适应先验校正方案,对模型的预测进行重新加权。我们在广泛的设置、数据集和模型上评估了我们的方法ROID,在通用TTA领域树立了新的标准。代码可在以下地址获取:https://github.com/mariodoebler/test-time-adaptation

英文摘要:

Since distribution shifts are likely to occur during test-time and can drastically decrease the model's performance, online test-time adaptation (TTA) continues to update the model after deployment, leveraging the current test data. Clearly, a method proposed for online TTA has to perform well for all kinds of environmental conditions. By introducing the variable factors domain non-stationarity and temporal correlation, we first unfold all practically relevant settings and define the entity as universal TTA. We want to highlight that this is the first work that covers such a broad spectrum, which is indispensable for the use in practice. To tackle the problem of universal TTA, we identify and highlight several challenges a self-training based method has to deal with: 1) model bias and the occurrence of trivial solutions when performing entropy minimization on varying sequence lengths with and without multiple domain shifts, 2) loss of generalization which exacerbates the adaptation to multiple domain shifts and the occurrence of catastrophic forgetting, and 3) performance degradation due to shifts in class prior. To prevent the model from becoming biased, we leverage a dataset and model-agnostic certainty and diversity weighting. In order to maintain generalization and prevent catastrophic forgetting, we propose to continually weight-average the source and adapted model. To compensate for disparities in the class prior during test-time, we propose an adaptive prior correction scheme that reweights the model's predictions. We evaluate our approach, named ROID, on a wide range of settings, datasets, and models, setting new standards in the field of universal TTA. Code is available at: https://github.com/mariodoebler/test-time-adaptation

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

↑