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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers9
- Any-Shift Prompting for Generalization Over DistributionsZehao Xiao, Jiayi Shen, Mohammad Mahdi Derakhshani, Shengcai Liao et al.CVPR 2024 · 3 citations
- 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
- Graph-Smoothed Bayesian Black-Box Shift Estimator and Its Information GeometryMasanari KimuraNeurIPS 2025 · 1 citation
- Stabilizing In-Context Multi-Source Domain Adaptation for Biomedical Images Through ControlsAna Sanchez Fernandez, Thomas Pinetz, Werner Zellinger, Günter KlambauerICML 2026
- Towards Robustness and Explainability of Automatic Algorithm SelectionXingyu Wu, Jibin Wu, Yu Zhou, Liang Feng et al.ICML 2025
Builds on27
- Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
- Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
- 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
- Decoupling Representation and Classifier for Long-Tailed RecognitionBingyi Kang, Saining Xie, Marcus Rohrbach, Zhicheng Yan et al.ICLR 2020 · 1,496 citations
- Long-tail learning via logit adjustmentAditya Krishna Menon, Sadeep Jayasumana, Ankit Singh Rawat, Himanshu Jain et al.ICLR 2021 · 937 citations
Related papers
- 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
- CAFA: Class-Aware Feature Alignment for Test-Time AdaptationSanghun Jung, Jungsoo Lee, Nanhee Kim, Amirreza Shaban et al.ICCV 2023 · 23 citations
- TEA: Test-Time Energy AdaptationYige Yuan, Bingbing Xu, Liang Hou, Fei Sun et al.CVPR 2024 · 8 citations
- AETTA: Label-Free Accuracy Estimation for Test-Time AdaptationTaeckyung Lee, Sorn Chottananurak, Taesik Gong, Sung-Ju LeeCVPR 2024
- Test-Time Style Shifting: Handling Arbitrary Styles in Domain GeneralizationJungwuk Park, Dong-Jun Han, Soyeong Kim, Jaekyun MoonICML 2023 · 16 citations
