Test Time Adaptation via Conjugate Pseudo-labels
Sachin Goyal, Mingjie Sun, Aditi Raghunathan, J. Zico Kolter
摘要
Test-time adaptation (TTA) refers to adapting neural networks to distribution shifts, with access to only the unlabeled test samples from the new domain at test-time. Prior TTA methods optimize over unsupervised objectives such as the entropy of model predictions in TENT [50], but it is unclear what exactly makes a good TTA loss. In this paper, we start by presenting a surprising phenomenon: if we attempt to meta-learn the "best" possible TTA loss over a wide class of functions, then we recover a function that is remarkably similar to (a temperature-scaled version of) the softmax-entropy employed by TENT. This only holds, however, if the classifier we are adapting is trained via cross-entropy loss; if the classifier is trained via squared loss, a different "best" TTA loss emerges. To explain this phenomenon, we analyze test-time adaptation through the lens of the training losses's convex conjugate. We show that under natural conditions, this (unsupervised) conjugate function can be viewed as a good local approximation to the original supervised loss and indeed, it recovers the "best" losses found by meta-learning. This leads to a generic recipe that can be used to find a good TTA loss for any given supervised training loss function of a general class. Empirically, our approach consistently dominates other TTA alternatives over a wide range of domain adaptation benchmarks. Our approach is particularly of interest when applied to classifiers trained with novel loss functions, e.g., the recently-proposed PolyLoss [25] function, where it differs substantially from (and outperforms) an entropy-based loss. Further, we show that our conjugate based approach can also be interpreted as a kind of self-training using a very specific soft label, which we refer to as the conjugate pseudo-label. Overall, our method provides a broad framework for better understanding and improving test-time adaptation. Code is available at https://github.com/locuslab/ tta_conjugate . Equal Contribution
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 47 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- RDumb: A simple approach that questions our progress in continual test-time adaptation 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- RDumb: A simple approach that questions our progress in continual test-time adaptation 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
- Towards Open-Set Test-Time Adaptation Utilizing the Wisdom of Crowds in Entropy Minimization 引用了 Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
- Towards Open-Set Test-Time Adaptation Utilizing the Wisdom of Crowds in Entropy Minimization 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
- Towards Open-Set Test-Time Adaptation Utilizing the Wisdom of Crowds in Entropy Minimization 引用了 In Search of Lost Domain Generalization
- Test-Time Model Adaptation with Only Forward Passes 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Test-Time Model Adaptation with Only Forward Passes 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
- Test-Time Model Adaptation with Only Forward Passes 引用了 WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Tent: Fully Test-Time Adaptation by Entropy Minimization 引用了 Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
- On Pitfalls of Test-Time Adaptation 引用了 Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
- On Pitfalls of Test-Time Adaptation 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- On Pitfalls of Test-Time Adaptation 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
- On Pitfalls of Test-Time Adaptation 引用了 WILDS: A Benchmark of in-the-Wild Distribution Shifts
- On Pitfalls of Test-Time Adaptation 引用了 In Search of Lost Domain Generalization
- WILDS: A Benchmark of in-the-Wild Distribution Shifts 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- On the Robustness of Open-World Test-Time Training: Self-Training with Dynamic Prototype Expansion 引用了 Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
- On the Robustness of Open-World Test-Time Training: Self-Training with Dynamic Prototype Expansion 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- On the Robustness of Open-World Test-Time Training: Self-Training with Dynamic Prototype Expansion 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
引用它的顶会 Paper47
- Test-Time Model Adaptation with Only Forward PassesShuaicheng Niu, Chunyan Miao, Guohao Chen, Pengcheng Wu 等ICML 2024 · 77 次引用
- On Pitfalls of Test-Time AdaptationHao Zhao, Yuejiang Liu, Alexandre Alahi, Tao LinICML 2023 · 72 次引用
- RDumb: A simple approach that questions our progress in continual test-time adaptationOri Press, Steffen Schneider, Matthias Kümmerer, Matthias BethgeNeurIPS 2023 · 67 次引用
- Towards Open-Set Test-Time Adaptation Utilizing the Wisdom of Crowds in Entropy MinimizationJungsoo Lee, Debasmit Das, Jaegul Choo, Sungha ChoiICCV 2023 · 48 次引用
- On the Robustness of Open-World Test-Time Training: Self-Training with Dynamic Prototype ExpansionYushu Li, Xun Xu, Yongyi Su, Kui JiaICCV 2023 · 44 次引用
它引用的 Paper30
- The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath 等ICCV 2021 · 2,294 次引用
- WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie 等ICML 2021 · 1,773 次引用
- Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen 等ICLR 2021 · 1,731 次引用
- Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain AdaptationJian Liang, Dapeng Hu, Jiashi FengICML 2020 · 1,624 次引用
- In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 次引用
相关 Paper
- Test-Time Adaptation via Self-Training with Nearest Neighbor InformationMinguk Jang, Sae-Young Chung, Hye Won ChungICLR 2023 · 12 次引用
- Towards Understanding GD with Hard and Conjugate Pseudo-labels for Test-Time AdaptationJun-Kun Wang, Andre WibisonoICLR 2023 · 2 次引用
- Towards Test Time Adaptation via Calibrated Entropy MinimizationHao Yang, Min Wang, Jinshen Jiang, Yun ZhouKDD 2024 · 3 次引用
- Robust Mean Teacher for Continual and Gradual Test-Time AdaptationMario Döbler, Robert A. Marsden, Bin YangCVPR 2023
- CAFA: Class-Aware Feature Alignment for Test-Time AdaptationSanghun Jung, Jungsoo Lee, Nanhee Kim, Amirreza Shaban 等ICCV 2023 · 23 次引用
