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

基于特征-权重余弦对齐的增强型在线测试时自适应

Enhanced Online Test-time Adaptation with Feature-Weight Cosine Alignment

RMIT University(RMIT大学)

WeiQin Chuah, Ruwan Tennakoon, Alireza Bab-Hadiashar

AI总结:

针对在线测试时自适应中熵最小化方法存在的噪声梯度问题,提出特征-权重余弦对齐的双目标优化方法,在多个数据集上实现更优的适配精度与鲁棒性。

摘要:

在线测试时自适应(Online Test-Time Adaptation, OTTA)已成为应对分布偏移的有效策略,可在推理阶段让预训练模型实时适配新的目标域,且无需源数据。我们发现,OTTA领域被广泛研究的熵最小化(entropy minimization, EM)方法会因决策边界附近的歧义以及错误的低熵预测产生噪声梯度。为克服这些局限,本文提出一种全新的带双目标损失函数的余弦对齐优化方法,用以提升类别预测的精度以及对新域的适配能力。具体而言,我们的方法优化特征向量与类别权重向量之间的余弦相似度,增强类别预测精度和模型对新域的适配性。该方法在CIFAR-10-C、CIFAR-100-C、ImageNet-C、Office-Home和DomainNet等多个数据集上优于现有前沿技术并创下新基准,展现出针对多种损坏和域偏移的高精度与鲁棒性。

英文摘要:

Online Test-Time Adaptation (OTTA) has emerged as an effective strategy to handle distributional shifts, allowing on-the-fly adaptation of pre-trained models to new target domains during inference, without the need for source data. We uncovered that the widely studied entropy minimization (EM) method for OTTA, suffers from noisy gradients due to ambiguity near decision boundaries and incorrect low-entropy predictions. To overcome these limitations, this paper introduces a novel cosine alignment optimization approach with a dual-objective loss function that refines the precision of class predictions and adaptability to novel domains. Specifically, our method optimizes the cosine similarity between feature vectors and class weight vectors, enhancing the precision of class predictions and the model's adaptability to novel domains. Our method outperforms state-of-the-art techniques and sets a new benchmark in multiple datasets, including CIFAR-10-C, CIFAR-100-C, ImageNet-C, Office-Home, and DomainNet datasets, demonstrating high accuracy and robustness against diverse corruptions and domain shifts.

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

↑