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

面向图像分类中分布偏移的测试时自适应基准评测

Benchmarking Test-Time Adaptation against Distribution Shifts in Image Classification

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);University of Science and Technology of China(中国科学技术大学)

Yongcan Yu, Lijun Sheng, Ran He, Jian Liang

AI总结:

本文构建统一PyTorch基准,在五个图像分类数据集上系统评测13种测试时自适应方法及其变体,并考察其与不同骨干网络的兼容性,为公平比较TTA方法的鲁棒性和泛化性能提供可靠平台。

摘要:

测试时自适应(TTA)是一种仅在预测阶段利用无标签样本来提升模型泛化性能的技术。鉴于神经网络系统在面临分布偏移时需要具备鲁棒性,近年来已提出大量TTA方法。然而,这些方法的评估往往在不同设置下进行,例如不同的分布偏移、骨干网络和场景设计,导致缺乏一致且公平的基准来验证其有效性。为解决这一问题,我们提出了一个基准,在五个广泛使用的图像分类数据集上系统评估13种主流TTA方法及其变体:CIFAR-10-C、CIFAR-100-C、ImageNet-C、DomainNet和Office-Home。这些方法涵盖了广泛的适应场景(例如在线适应与离线适应、实例适应与批量适应与域适应)。此外,我们探索了不同TTA方法与多种网络骨干的兼容性。为实施该基准,我们在PyTorch中开发了一个统一框架,支持在不同数据集和网络架构上对TTA方法进行一致的评估和比较。通过建立该基准,我们旨在为研究人员和从业者提供一种可靠的手段,以评估和比较TTA方法在提升模型鲁棒性和泛化性能方面的有效性。我们的代码可在https://github.com/yuyongcan/Benchmark-TTA获取。

英文摘要:

Test-time adaptation (TTA) is a technique aimed at enhancing the generalization performance of models by leveraging unlabeled samples solely during prediction. Given the need for robustness in neural network systems when faced with distribution shifts, numerous TTA methods have recently been proposed. However, evaluating these methods is often done under different settings, such as varying distribution shifts, backbones, and designing scenarios, leading to a lack of consistent and fair benchmarks to validate their effectiveness. To address this issue, we present a benchmark that systematically evaluates 13 prominent TTA methods and their variants on five widely used image classification datasets: CIFAR-10-C, CIFAR-100-C, ImageNet-C, DomainNet, and Office-Home. These methods encompass a wide range of adaptation scenarios (e.g. online adaptation v.s. offline adaptation, instance adaptation v.s. batch adaptation v.s. domain adaptation). Furthermore, we explore the compatibility of different TTA methods with diverse network backbones. To implement this benchmark, we have developed a unified framework in PyTorch, which allows for consistent evaluation and comparison of the TTA methods across the different datasets and network architectures. By establishing this benchmark, we aim to provide researchers and practitioners with a reliable means of assessing and comparing the effectiveness of TTA methods in improving model robustness and generalization performance. Our code is available at https://github.com/yuyongcan/Benchmark-TTA.

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

↑