Lune

CVPR2023Top-tier venue

Improved Test-Time Adaptation for Domain Generalization

Liang Chen, Yong Zhang, Yibing Song, Ying Shan, Lingqiao Liu

Abstract

The main challenge in domain generalization (DG) is to handle the distribution shift problem that lies between the training and test data. Recent studies suggest that test-time training (TTT), which adapts the learned model with test data, might be a promising solution to the problem. Generally, a TTT strategy hinges its performance on two main factors: selecting an appropriate auxiliary TTT task for updating and identifying reliable parameters to update during the test phase. Both previous arts and our experiments indicate that TTT may not improve but be detrimental to the learned model if those two factors are not properly considered. This work addresses those two factors by proposing an Improved Test-Time Adaptation (ITTA) method. First, instead of heuristically defining an auxiliary objective, we propose a learnable consistency loss for the TTT task, which contains learnable parameters that can be adjusted toward better alignment between our TTT task and the main prediction task. Second, we introduce additional adaptive parameters for the trained model, and we suggest only updating the adaptive parameters during the test phase. Through extensive experiments, we show that the proposed two strategies are beneficial for the learned model (see Figure 1 ), and ITTA could achieve superior performance to the current state-of-the-art methods on several DG benchmarks. Code is available at https://github.com/liangchen527/ITTA .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

30 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Domain Generalisation via Imprecise Learning cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Domain Generalisation via Imprecise Learning cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • Protected Test-Time Adaptation via Online Entropy Matching: A Betting Approach cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Domain Generalization via Rationale Invariance cites Moment Matching for Multi-Source Domain Adaptation
  • Domain Generalization via Rationale Invariance cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • CODA: Generalizing to Open and Unseen Domains with Compaction and Disambiguation cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • WILDS: A Benchmark of in-the-Wild Distribution Shifts cites Moment Matching for Multi-Source Domain Adaptation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers30

  1. Domain Generalization via Rationale InvarianceLiang Chen, Yong Zhang, Yibing Song, Anton van den Hengel et al.ICCV 2023 · 29 citations
  2. Protected Test-Time Adaptation via Online Entropy Matching: A Betting ApproachYarin Bar, Shalev Shaer, Yaniv RomanoNeurIPS 2024 · 27 citations
  3. Reconstruct, Inpaint, Test-Time Finetune: Dynamic Novel-view Synthesis from Monocular VideosKaihua Chen, Tarasha Khurana, Deva RamananNeurIPS 2025 · 17 citations
  4. CODA: Generalizing to Open and Unseen Domains with Compaction and DisambiguationChaoqi Chen, Luyao Tang, Yue Huang, Xiaoguang Han et al.NeurIPS 2023 · 17 citations
  5. Domain Generalisation via Imprecise LearningAnurag Singh, Siu Lun Chau, Shahine Bouabid, Krikamol MuandetICML 2024 · 16 citations

Builds on38

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  3. Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
  4. WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
  5. Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations

Related papers

  1. Synchronizing Task Behavior: Aligning Multiple Tasks During Test-Time TrainingWooseong Jeong, Jegyeong Cho, Youngho Yoon, Kuk-Jin YoonICCV 2025
  2. Revisiting Realistic Test-Time Training: Sequential Inference and Adaptation by Anchored ClusteringYongyi Su, Xun Xu, Kui JiaNeurIPS 2022 · 73 citations
  3. AdaNPC: Exploring Non-Parametric Classifier for Test-Time AdaptationYifan Zhang, Xue Wang, Kexin Jin, Kun Yuan et al.ICML 2023 · 76 citations
  4. NC-TTT: A Noise Constrastive Approach for Test-Time TrainingDavid Osowiechi, Gustavo Adolfo Vargas Hakim, Mehrdad Noori, Milad Cheraghalikhani et al.CVPR 2024 · 10 citations
  5. TTA-FedDG: Leveraging Test-Time Adaptation to Address Federated Domain GeneralizationHaoyuan Liang, Xinyu Zhang, Shilei Cao, Guowen Li et al.AAAI 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines