arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.06065cs.CV
收藏

面向开集测试时自适应的统一熵优化

Unified Entropy Optimization for Open-Set Test-Time Adaptation

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)

Zhengqing Gao, Xu-Yao Zhang, Cheng-Lin Liu

AI总结:

针对开集TTA中语义偏移导致的分布与置信度估计问题,提出UniEnt及UniEnt+,通过伪csID/csOOD样本的双向熵优化和样本级置信度提升自适应与检测性能。

摘要:

测试时自适应(TTA)旨在将在带标签源域上预训练的模型自适应到无标签目标域。现有方法通常关注提升协变量偏移下的TTA性能,却忽视了语义偏移。本文深入研究一种现实的开集TTA设定,其中目标域可能包含来自未知类别的样本。许多最先进的闭集TTA方法在应用于开集场景时表现不佳,这可归因于对数据分布和模型置信度的不准确估计。为解决这些问题,我们提出了一个简单而有效的框架,称为统一熵优化(UniEnt),它能够同时自适应于协变量偏移的分布内(csID)数据,并检测协变量偏移的分布外(csOOD)数据。具体而言,UniEnt首先从测试数据中挖掘伪csID和伪csOOD样本,随后对伪csID数据进行熵最小化,对伪csOOD数据进行熵最大化。此外,我们引入UniEnt+,利用样本级置信度来缓解由硬性数据划分造成的噪声。在CIFAR基准和Tiny-ImageNet-C上的大量实验证明了我们框架的优越性。代码可在https://github.com/gaozhengqing/UniEnt获取。

英文摘要:

Test-time adaptation (TTA) aims at adapting a model pre-trained on the labeled source domain to the unlabeled target domain. Existing methods usually focus on improving TTA performance under covariate shifts, while neglecting semantic shifts. In this paper, we delve into a realistic open-set TTA setting where the target domain may contain samples from unknown classes. Many state-of-the-art closed-set TTA methods perform poorly when applied to open-set scenarios, which can be attributed to the inaccurate estimation of data distribution and model confidence. To address these issues, we propose a simple but effective framework called unified entropy optimization (UniEnt), which is capable of simultaneously adapting to covariate-shifted in-distribution (csID) data and detecting covariate-shifted out-of-distribution (csOOD) data. Specifically, UniEnt first mines pseudo-csID and pseudo-csOOD samples from test data, followed by entropy minimization on the pseudo-csID data and entropy maximization on the pseudo-csOOD data. Furthermore, we introduce UniEnt+ to alleviate the noise caused by hard data partition leveraging sample-level confidence. Extensive experiments on CIFAR benchmarks and Tiny-ImageNet-C show the superiority of our framework. The code is available at https://github.com/gaozhengqing/UniEnt

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

↑