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

面向可靠测试时自适应的解耦原型学习

Decoupled Prototype Learning for Reliable Test-Time Adaptation

South China University of Technology(华南理工大学);Pazhou Lab(琶洲实验室)

Guowei Wang, Changxing Ding, Wentao Tan, Mingkui Tan

AI总结:

本文提出解耦原型学习(DPL)方法,通过原型中心损失计算、记忆增强策略和一致性正则化,缓解测试时自适应中的伪标签噪声问题,在域泛化和图像损坏基准上取得最先进性能。

摘要:

测试时自适应(TTA)是一项在推理过程中持续将预训练源模型适配到目标域的任务。一种流行的方法是根据估计的伪标签,利用交叉熵损失对模型进行微调。然而,其性能会受到噪声伪标签的显著影响。本研究揭示了最小化每个样本的分类误差会导致交叉熵损失对标签噪声的脆弱性。为解决这一问题,我们提出了一种新颖的解耦原型学习(DPL)方法,其特点是基于原型中心的损失计算。首先,我们解耦了类别原型的优化。对于每个类别原型,我们以对比的方式缩小其与正样本的距离,并扩大其与负样本的距离。该策略防止模型对噪声伪标签过拟合。其次,我们提出了一种基于记忆的策略,以增强DPL在TTA中常见的小批量规模下的鲁棒性。我们以动量方式从记忆中更新每个类别的伪特征,并插入额外的DPL损失。最后,我们引入了一种基于一致性正则化的方法,以利用具有不确定伪标签的样本。该方法将具有不确定伪标签样本的特征风格迁移到具有置信伪标签的样本上。从而为TTA创建了更可靠的样本。实验结果表明,我们的方法在域泛化基准上取得了最先进的性能,并在图像损坏基准上可靠地提升了基于自训练方法的性能。代码将予以发布。

英文摘要:

Test-time adaptation (TTA) is a task that continually adapts a pre-trained source model to the target domain during inference. One popular approach involves fine-tuning model with cross-entropy loss according to estimated pseudo-labels. However, its performance is significantly affected by noisy pseudo-labels. This study reveals that minimizing the classification error of each sample causes the cross-entropy loss's vulnerability to label noise. To address this issue, we propose a novel Decoupled Prototype Learning (DPL) method that features prototype-centric loss computation. First, we decouple the optimization of class prototypes. For each class prototype, we reduce its distance with positive samples and enlarge its distance with negative samples in a contrastive manner. This strategy prevents the model from overfitting to noisy pseudo-labels. Second, we propose a memory-based strategy to enhance DPL's robustness for the small batch sizes often encountered in TTA. We update each class's pseudo-feature from a memory in a momentum manner and insert an additional DPL loss. Finally, we introduce a consistency regularization-based approach to leverage samples with unconfident pseudo-labels. This approach transfers feature styles of samples with unconfident pseudo-labels to those with confident pseudo-labels. Thus, more reliable samples for TTA are created. The experimental results demonstrate that our methods achieve state-of-the-art performance on domain generalization benchmarks, and reliably improve the performance of self-training-based methods on image corruption benchmarks. The code will be released.

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

↑