Lune

ICCV2023Top-tier venue

Label Shift Adapter for Test-Time Adaptation under Covariate and Label Shifts

Sunghyun Park, Seunghan Yang, Jaegul Choo, Sungrack Yun

Abstract

Test-time adaptation (TTA) aims to adapt a pre-trained model to the target domain in a batch-by-batch manner during inference. While label distributions often exhibit imbalances in real-world scenarios, most previous TTA approaches typically assume that both source and target domain datasets have balanced label distribution. Due to the fact that certain classes appear more frequently in certain domains (e.g., buildings in cities, trees in forests), it is natural that the label distribution shifts as the domain changes. However, we discover that the majority of existing TTA methods fail to address the coexistence of covariate and label shifts. To tackle this challenge, we propose a novel label shift adapter that can be incorporated into existing TTA approaches to deal with label shifts during the TTA process effectively. Specifically, we estimate the label distribution of the target domain to feed it into the label shift adapter. Subsequently, the label shift adapter produces optimal parameters for target label distribution. By predicting only the parameters for a part of the pre-trained source model, our approach is computationally efficient and can be easily applied, regardless of the model architectures. Through extensive experiments, we demonstrate that integrating our strategy with TTA approaches leads to substantial performance improvements under the joint presence of label and covariate shifts.

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.

9 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

  • Long-tail learning via logit adjustment cites Decoupling Representation and Classifier for Long-Tailed Recognition
  • Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation cites Moment Matching for Multi-Source Domain Adaptation
  • Any-Shift Prompting for Generalization Over Distributions cites Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
  • Any-Shift Prompting for Generalization Over Distributions cites Moment Matching for Multi-Source Domain Adaptation
  • Any-Shift Prompting for Generalization Over Distributions cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Stabilizing In-Context Multi-Source Domain Adaptation for Biomedical Images Through Controls cites Moment Matching for Multi-Source Domain Adaptation
  • Stabilizing In-Context Multi-Source Domain Adaptation for Biomedical Images Through Controls cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Tent: Fully Test-Time Adaptation by Entropy Minimization cites Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Any-Shift Prompting for Generalization Over DistributionsZehao Xiao, Jiayi Shen, Mohammad Mahdi Derakhshani, Shengcai Liao et al.CVPR 2024 · 3 citations
  2. Fed-ADE: Adaptive Learning Rate for Federated Post-adaptation under Distribution ShiftHeewon Park, Mugon Joe, Miru Kim, Kyungjin Im et al.CVPR 2026 · 2 citations
  3. Graph-Smoothed Bayesian Black-Box Shift Estimator and Its Information GeometryMasanari KimuraNeurIPS 2025 · 1 citation
  4. Stabilizing In-Context Multi-Source Domain Adaptation for Biomedical Images Through ControlsAna Sanchez Fernandez, Thomas Pinetz, Werner Zellinger, Günter KlambauerICML 2026
  5. Towards Robustness and Explainability of Automatic Algorithm SelectionXingyu Wu, Jibin Wu, Yu Zhou, Liang Feng et al.ICML 2025

Builds on28

  1. Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
  2. Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
  3. Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain AdaptationJian Liang, Dapeng Hu, Jiashi FengICML 2020 · 1,624 citations
  4. Decoupling Representation and Classifier for Long-Tailed RecognitionBingyi Kang, Saining Xie, Marcus Rohrbach, Zhicheng Yan et al.ICLR 2020 · 1,496 citations
  5. Long-tail learning via logit adjustmentAditya Krishna Menon, Sadeep Jayasumana, Ankit Singh Rawat, Himanshu Jain et al.ICLR 2021 · 937 citations

Related papers

  1. ODS: Test-Time Adaptation in the Presence of Open-World Data ShiftZhi Zhou, Lan-Zhe Guo, Lin-Han Jia, Dingchu Zhang et al.ICML 2023 · 41 citations
  2. Beyond Invariance: Test-Time Label-Shift Adaptation for Addressing "Spurious" CorrelationsQingyao Sun, Kevin P. Murphy, Sayna Ebrahimi, Alexander D'AmourNeurIPS 2023 · 10 citations
  3. CAFA: Class-Aware Feature Alignment for Test-Time AdaptationSanghun Jung, Jungsoo Lee, Nanhee Kim, Amirreza Shaban et al.ICCV 2023 · 23 citations
  4. TEA: Test-Time Energy AdaptationYige Yuan, Bingbing Xu, Liang Hou, Fei Sun et al.CVPR 2024 · 8 citations
  5. AETTA: Label-Free Accuracy Estimation for Test-Time AdaptationTaeckyung Lee, Sorn Chottananurak, Taesik Gong, Sung-Ju LeeCVPR 2024
Dusk over the sea between two cliffs drawn in fine vertical lines