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

缓解开放集测试时间适应中的ID-OOD权衡

Mitigating the ID-OOD Tradeoff in Open-Set Test-Time Adaptation

University of Texas at Dallas(德克萨斯大学达拉斯分校);NVIDIA(英伟达)

Wenjie Zhao, Jia Li, Xin Dong, Yapeng Tian, Yu Xiang, Yunhui Guo

AI总结:

本文提出ROSETTA方法,通过引入角损失和特征范数损失,提升开放集测试时间适应中的OOD检测性能,同时保持ID分类的高精度。

摘要:

开放集测试时间适应(OSTTA)旨在解决模型在新环境中适应的问题,其中分布外(OOD)样本与分布内(ID)样本共存,并受分布偏移影响。在这样的设置中,协变量偏移(例如天气条件变化如下雪)会改变ID样本,降低模型可靠性。因此,模型必须不仅正确分类受协变量偏移影响的ID样本(csID),还有效拒绝受协变量偏移影响的OOD样本(csOOD)。熵最小化是测试时间适应中维持ID性能的常见策略,而熵最大化广泛应用于增强OOD检测。一些研究试图结合这些目标以解决OSTTA的挑战。然而,熵最小化和最大化之间的内在冲突不可避免地导致csID分类和csOOD检测之间的权衡。在本文中,我们首先分析了熵最大化在OSTTA中的局限性,然后引入角损失以调节特征范数幅度,并引入特征范数损失以抑制csOOD logit,从而提高OOD检测。这些目标构成了ROSETTA,一种鲁棒的开放集测试时间适应方法。我们的方法在CIFAR-10-C、CIFAR-100-C、Tiny-ImageNet-C和ImageNet-C上实现了强大的OOD检测性能,同时保持高ID分类性能。此外,对Cityscapes的实验验证了该方法在现实世界语义分割中的有效性,而对HAC数据集的实验展示了其在不同开放集TTA设置中的适用性。

英文摘要:

Open-set test-time adaptation (OSTTA) addresses the challenge of adapting models to new environments where out-of-distribution (OOD) samples coexist with in-distribution (ID) samples affected by distribution shifts. In such settings, covariate shift-for example, changes in weather conditions such as snow-can alter ID samples, reducing model reliability. Consequently, models must not only correctly classify covariate-shifted ID (csID) samples but also effectively reject covariate-shifted OOD (csOOD) samples. Entropy minimization is a common strategy in test-time adaptation to maintain ID performance under distribution shifts, while entropy maximization is widely applied to enhance OOD detection. Several studies have sought to combine these objectives to tackle the challenges of OSTTA. However, the intrinsic conflict between entropy minimization and maximization inevitably leads to a trade-off between csID classification and csOOD detection. In this paper, we first analyze the limitations of entropy maximization in OSTTA and then introduce an angular loss to regulate feature norm magnitudes, along with a feature-norm loss to suppress csOOD logits, thereby improving OOD detection. These objectives form ROSETTA, a $\underline{r}$obust $\underline{o}$pen-$\underline{se}$t $\underline{t}$est-$\underline{t}$ime $\underline{a}$daptation. Our method achieves strong OOD detection while maintaining high ID classification performance on CIFAR-10-C, CIFAR-100-C, Tiny-ImageNet-C and ImageNet-C. Furthermore, experiments on the Cityscapes validate the method's effectiveness in real-world semantic segmentation, and results on the HAC dataset demonstrate its applicability across different open-set TTA setups.

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

↑