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

用于测试时适应的特征对齐与均匀性

Feature Alignment and Uniformity for Test Time Adaptation

Tsinghua University(清华大学);Southern University of Science and Technology(南方科技大学);Hongkong Polytechnic University(香港理工大学)

Shuai Wang, Daoan Zhang, Zipei Yan, Jianguo Zhang, Rui Li

AI总结:

本文将测试时适应视为特征修正问题,提出测试时自蒸馏策略保证特征均匀性,并利用记忆空间局部聚类策略实现特征对齐,结合熵和一致性过滤器处理噪声标签,在多个基准和医学图像分割任务上显著优于现有方法。

摘要:

测试时适应(TTA)旨在接收分布外测试域样本时适应深度神经网络。在此设置中,模型只能访问在线无标签测试样本和训练域上的预训练模型。由于源域和目标域之间存在域间隙,我们首先将TTA作为特征修正问题来处理。之后,我们遵循对齐和均匀性这两个度量来讨论测试时特征修正。对于测试时特征均匀性,我们提出了一种测试时自蒸馏策略,以确保当前批次和所有先前批次的表示之间均匀性的一致性。对于测试时特征对齐,我们提出了一种记忆空间局部聚类策略,以对齐即将到来批次中邻域样本之间的表示。为了处理常见的噪声标签问题,我们提出了熵和一致性过滤器来选择并丢弃可能的噪声标签。为了证明我们方法的可扩展性和有效性,我们在四个域泛化基准和四个医学图像分割任务上使用各种骨干网络进行了实验。实验结果表明,我们的方法不仅稳定地改进了基线,而且优于现有的最先进的测试时适应方法。代码可在https://github.com/SakurajimaMaiii/TSD获取。

英文摘要:

Test time adaptation (TTA) aims to adapt deep neural networks when receiving out of distribution test domain samples. In this setting, the model can only access online unlabeled test samples and pre-trained models on the training domains. We first address TTA as a feature revision problem due to the domain gap between source domains and target domains. After that, we follow the two measurements alignment and uniformity to discuss the test time feature revision. For test time feature uniformity, we propose a test time self-distillation strategy to guarantee the consistency of uniformity between representations of the current batch and all the previous batches. For test time feature alignment, we propose a memorized spatial local clustering strategy to align the representations among the neighborhood samples for the upcoming batch. To deal with the common noisy label problem, we propound the entropy and consistency filters to select and drop the possible noisy labels. To prove the scalability and efficacy of our method, we conduct experiments on four domain generalization benchmarks and four medical image segmentation tasks with various backbones. Experiment results show that our method not only improves baseline stably but also outperforms existing state-of-the-art test time adaptation methods. Code is available at \href{https://github.com/SakurajimaMaiii/TSD}{https://github.com/SakurajimaMaiii/TSD}.

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

↑