Proceedings

One-step Label Shift Adaptation via Robust Weight Estimation

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 5074-5082.

https://doi.org/10.24963/ijcai.2025/565

Abstract

Label shift is a prevalent phenomenon encountered in open environments, characterized by a notable discrepancy in the label distributions between the source (training) and target (test) domains, whereas the conditional distributions given the labels remain invariant. Existing label shift methods adopt a two-step strategy: initially computing the importance weight and subsequently utilizing it to calibrate the target outputs. However, this conventional strategy overlooks the intricate interplay between output adjustment and weight estimation. In this paper, we introduce a novel approach termed as One-step Label Shift Adaptation (OLSA). Our methodology jointly learns the predictive model and the corresponding weights through a bi-level optimization framework, with the objective of minimizing an upper bound on the target risk. To enhance the robustness of our proposed model, we incorporate a debiasing term into the upper-level classifier training and devise a regularization term for the lower-level weight estimation. Furthermore, we present theoretical analyses about the generalization bounds, offering guarantees for the model's performance. Extensive experimental results substantiate the efficacy of our proposal.

  1. [Alexandari et al., 2020] Amr Alexandari, Anshul Kundaje, and Avanti Shrikumar. Maximum likelihood with bias- corrected calibration is hard-to-beat at label shift adaptation. In Proceedings of the 37th International Conference on Machine Learning(ICML), pages 222-232, 2020.
  2. [Azizzadenesheli et al., 2019] Kamyar Azizzadenesheli, Anqi Liu, Fanny Yang, and Animashree Anandkumar. Regularized learning for domain adaptation under label shifts. In The 7th International Conference on Learning Representations(ICLR), 2019.
  3. [Bai et al., 2022] Yong Bai, Yu-Jie Zhang, Peng Zhao, Masashi Sugiyama, and Zhi-Hua Zhou. Adapting to online label shift with provable guarantees. In Advances in Neural Information Processing Systems 35(NeurIPS), volume 35, pages 29960-29974, 2022.
  4. [Bengio et al., 2021] Yoshua Bengio, Yann Lecun, and Geof- frey Hinton. Deep learning for ai. Communications of the ACM, 64(7):58-65, 2021.
  5. [Fan et al., 2023] Ruidong Fan, Xiao Ouyang, Tingjin Luo, Dewen Hu, and Chenping Hou. Incomplete multi-view learning under label shift. IEEE Transactions on Image Processing, 32:3702-3716, 2023.
  6. [Fan et al., 2024a] Ruidong Fan, Xiao Ouyang, Hong Tao, and Chenping Hou. Label shift correction via bidirectional marginal distribution matching. In Proceedings of the 30th ACM Conference on Knowledge Discovery and Data Min- ing(KDD), pages 735-746, 2024.
  7. [Fan et al., 2024b] Ruidong Fan, Xiao Ouyang, Hong Tao, Yuhua Qian, and Chenping Hou. Theory-inspired label shift adaptation via aligned distribution mixture. CoRR, abs/2411.02047, 2024.
  8. [Garg et al., 2020] Saurabh Garg, Yifan Wu, Sivaraman Bal- akrishnan, and Zachary C. Lipton. A unified view of label shift estimation. In Advances in Neural Information Pro- cessing Systems 33(NeurIPS), 2020.
  9. [Guo et al., 2017] Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. On calibration of modern neural networks. In Proceedings of the 34th International Con- ference on Machine Learning(ICML), volume 70, pages 1321-1330, 2017.
  10. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. In IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR), pages 770-778, 2016.
  11. [Huang and Ren, 2024] Zixian Huang and Chuan-Xian Ren. Rethinking correlation learning via label prior for open set domain adaptation. In Proceedings of the 33th International Joint Conference on Artificial Intelligence(IJCAI), pages 884-892, 2024. IJCAI
  12. [Krizhevsky et al., 2009] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
  13. [LeCun et al., 1998] Yann LeCun, Léon Bottou, Yoshua Ben- gio, and Patrick Haffner. Gradient-based learning ap- plied to document recognition. Proceedings of the IEEE, 86(11):2278-2324, 1998.
  14. [Li et al., 2024] Juren Li, Yang Yang, Youmin Chen, Jianfeng Zhang, Zeyu Lai, and Lujia Pan. DWLR: domain adapta- tion under label shift for wearable sensor. In Proceedings of the 33th International Joint Conference on Artificial Intelligence(IJCAI), pages 4425-4433, 2024. IJCAI
  15. [Lipton et al., 2018] Zachary Lipton, Yu-Xiang Wang, and Alexander Smola. Detecting and correcting for label shift with black box predictors. In Proceedings of the 35th International Conference on Machine Learning (ICML), pages 3122-3130, 2018.
  16. [Liu et al., 2022] Risheng Liu, Jiaxin Gao, Jin Zhang, Deyu Meng, and Zhouchen Lin. Investigating bi-level optimiza- tion for learning and vision from a unified perspective: A survey and beyond. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(12):10045-10067, 2022.
  17. [Liu et al., 2024a] Jiawei Liu, Changkun Ye, Ruikai Cui, and Nick Barnes. Self-calibrating vicinal risk minimisation for model calibration. In IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR), pages 3335-3345, 2024.
  18. [Liu et al., 2024b] Risheng Liu, Zhu Liu, Wei Yao, Shangzhi Zeng, and Jin Zhang. Moreau envelope for nonconvex bi-level optimization: A single-loop and hessian-free so- lution strategy. In Proceedings of the 41th International Conference on Machine Learning(ICML), 2024.
  19. [Luo and Ren, 2024] You-Wei Luo and Chuan-Xian Ren. When invariant representation learning meets label shift: Insufficiency and theoretical insights. IEEE Transactions on Pattern Analysis and Machine Intelligence, 46(12):9407- 9422, 2024.
  20. [Mohri, 2018] Mehryar Mohri. Foundations of machine learn- ing. MIT press, 2018.
  21. [Peng et al., 2018] Xishuai Peng, Yuanxiang Li, Yi Lu Mur- phey, Xian Wei, and Jianhua Luo. Domain adaptation with one-step transformation. In IEEE Symposium Series on Computational Intelligence(SSCI), pages 539-546, 2018.
  22. [Schmutz et al., 2023] Hugo Schmutz, Olivier Humbert, and Pierre-Alexandre Mattei. Don't fear the unlabelled: safe semi-supervised learning via debiasing. In The 11th Inter- national Conference on Learning Representations(ICLR), 2023.
  23. [Sipka et al., 2022] Tomás Sipka, Milan Sulc, and Jirí Matas. The hitchhiker's guide to prior-shift adaptation. In IEEE/CVF Winter Conference on Applications of Computer Vision(WACV), pages 2031-2039, 2022.
  24. [Sugiyama and Kawanabe, 2012] Masashi Sugiyama and Motoaki Kawanabe. Machine learning in non-stationary environments: Introduction to covariate shift adaptation. MIT press, 2012.
  25. [Sulc and Matas, 2019] Milan Sulc and Jiri Matas. Improv- ing CNN classifiers by estimating test-time priors. In IEEE/CVF International Conference on Computer Vision Workshops(ICCV Workshops), pages 3220-3226, 2019.
  26. [Sypherd et al., 2022] Tyler Sypherd, Mario Díaz, John Kevin Cava, Gautam Dasarathy, Peter Kairouz, and Lalitha Sankar. A tunable loss function for robust clas- sification: Calibration, landscape, and generalization. IEEE Transactions on Information Theory, 68(9):6021-6051, 2022.
  27. [Tasche, 2017] Dirk Tasche. Fisher consistency for prior probability shift. Journal of Machine Learning Research, 18(95):1-32, 2017.
  28. [Tian et al., 2023] Qinglong Tian, Xin Zhang, and Jiwei Zhao. ELSA: efficient label shift adaptation through the lens of semiparametric models. In Proceedings of the 40th Interna- tional Conference on Machine Learning (ICML), volume 202, pages 34120-34142, 2023.
  29. [Vapnik, 2013] Vladimir Vapnik. The nature of statistical learning theory. Springer science & business media, 2013.
  30. [Wei et al., 2024] Tong Wei, Zhen Mao, Zi-Hao Zhou, Yuanyu Wan, and Min-Ling Zhang. Learning label shift correction for test-agnostic long-tailed recognition. In Pro- ceedings of the 41th International Conference on Machine Learning(ICML), 2024.
  31. [Wen et al., 2024] Hongwei Wen, Annika Betken, and Hanyuan Hang. Class probability matching with calibrated networks for label shift adaption. In The 12th International Conference on Learning Representations(ICLR), 2024.
  32. [Wu et al., 2021] Ruihan Wu, Chuan Guo, Yi Su, and Kil- ian Q Weinberger. Online adaptation to label distribution shift. volume 34, pages 11340-11351, 2021.
  33. [Xiao et al., 2017] Han Xiao, Kashif Rasul, and Roland Voll- graf. Fashion-mnist: a novel image dataset for bench- marking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
  34. [Ye et al., 2024a] Bo Ye, Kai Gan, Tong Wei, and Min-Ling Zhang. Bridging the gap: Learning pace synchronization for open-world semi-supervised learning. In Proceedings of the 33th International Joint Conference on Artificial Intelligence(IJCAI), pages 5362-5370, 2024. IJCAI
  35. [Ye et al., 2024b] Changkun Ye, Russell Tsuchida, Lars Pe- tersson, and Nick Barnes. Label shift estimation for class-imbalance problem: A bayesian approach. In IEEE/CVF Winter Conference on Applications of Computer Vision(WACV), pages 1062-1071, 2024.
  36. [Zhang et al., 2020] Tianyi Zhang, Ikko Yamane, Nan Lu, and Masashi Sugiyama. A one-step approach to covariate shift adaptation. In Asian Conference on Machine Learn- ing(ACML), pages 65-80, 2020.
  37. [Zhao et al., 2021] Eric Zhao, Anqi Liu, Animashree Anand- kumar, and Yisong Yue. Active learning under label shift. In The 24th International Conference on Artificial Intelligence and Statistics(AISTATS), volume 130, pages 3412-3420, 2021.
  38. [Zhou, 2022] Zhi-Hua Zhou. Open-environment machine learning. National Science Review, 9(8):nwac123, 2022.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards