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

面向全测试时自适应的奇异值惩罚与语义数据增强

Singular Value Penalization and Semantic Data Augmentation for Fully Test-Time Adaptation

University of Macau(澳门大学);Alibaba Group(阿里巴巴集团);Sichuan Agricultural University(四川农业大学);Sun Yat-Sen University(中山大学)

Houcheng Su, Daixian Liu, Mengzhu Wang, Wei Wang

AI总结:

针对全测试时自适应中现有方法多样性提升不足、易过拟合的问题,提出最大化奇异值和并最小化其方差的方法,结合跨批次语义数据增强,有效提升预测多样性与判别性,性能优于部分现有最优方法。

摘要:

全测试时自适应(Fully Test-Time Adaptation,FTTA)是在测试阶段将在源域训练的模型适配到目标域的任务,此时两个域服从不同分布,且训练阶段无法获取源数据。现有方法通常采用熵最小化来降低目标预测结果的不确定性,进而提升FTTA性能,但这类方法无法保证目标预测结果的多样性。近期的域适应研究表明,最大化预测结果的奇异值之和可同时增强其置信度(可判别性)和多样性。然而在训练阶段,较大的奇异值通常在损失最大化中占据主导地位,这会导致模型更倾向于提升易区分类别的可判别性,而对多样性的提升效果不足。此外,FTTA中的适配与预测仅使用当前批次的数据,可能存在过拟合风险。针对上述问题,我们提出在最大化奇异值之和的同时最小化其方差,这能让模型的关注点转向更小的奇异值,增强更具挑战性的类别之间的可判别性,有效提升预测结果的多样性。另外,我们引入前一批次的数据来实现当前批次的语义数据增强,降低过拟合风险。在多个基准数据集上的大量实验表明,我们提出的方法优于部分对比的当前最优FTTA方法。

英文摘要:

Fully test-time adaptation (FTTA) adapts a model that is trained on a source domain to a target domain during the testing phase, where the two domains follow different distributions and source data is unavailable during the training phase. Existing methods usually adopt entropy minimization to reduce the uncertainty of target prediction results, and improve the FTTA performance accordingly. However, they fail to ensure the diversity in target prediction results. Recent domain adaptation study has shown that maximizing the sum of singular values of prediction results can simultaneously enhance their confidence (discriminability) and diversity. However, during the training phase, larger singular values usually take up a dominant position in loss maximization. This results in the model being more inclined to enhance discriminability for easily distinguishable classes, and the improvement in diversity is insufficiently effective. Furthermore, the adaptation and prediction in FTTA only use data from the current batch, which may lead to the risk of overfitting. To address the aforementioned issues, we propose maximizing the sum of singular values while minimizing their variance. This enables the model's focus toward the smaller singular values, enhancing discriminability between more challenging classes and effectively increasing the diversity of prediction results. Moreover, we incorporate data from the previous batch to realize semantic data augmentation for the current batch, reducing the risk of overfitting. Extensive experiments on benchmark datasets show our proposed approach outperforms some compared state-of-the-art FTTA methods.

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

↑