Adapting to Online Label Shift with Provable Guarantees
Yong Bai, Yu-Jie Zhang, Peng Zhao, Masashi Sugiyama, Zhi-Hua Zhou
Abstract
The standard supervised learning paradigm works effectively when training data shares the same distribution as the upcoming testing samples. However, this stationary assumption is often violated in real-world applications, especially when testing data appear in an online fashion. In this paper, we formulate and investigate the problem of online label shift (OLaS): the learner trains an initial model from the labeled offline data and then deploys it to an unlabeled online environment where the underlying label distribution changes over time but the label-conditional density does not. The non-stationarity nature and the lack of supervision make the problem challenging to be tackled. To address the difficulty, we construct a new unbiased risk estimator that utilizes the unlabeled data, which exhibits many benign properties albeit with potential non-convexity. Building upon that, we propose novel online ensemble algorithms to deal with the non-stationarity of the environments. Our approach enjoys optimal dynamic regret, indicating that the performance is competitive with a clairvoyant who knows the online environments in hindsight and then chooses the best decision for each round. The obtained dynamic regret bound scales with the intensity and pattern of label distribution shift, hence exhibiting the adaptivity in the OLaS problem. Extensive experiments are conducted to validate the effectiveness and support our theoretical findings.
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 papers23
- 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
- Efficient Methods for Non-stationary Online LearningPeng Zhao, Yan-Feng Xie, Lijun Zhang, Zhi-Hua ZhouNeurIPS 2022 · 39 citations
- Optimistic Online Mirror Descent for Bridging Stochastic and Adversarial Online Convex OptimizationSijia Chen, Wei-Wei Tu, Peng Zhao, Lijun ZhangICML 2023 · 33 citations
- Adapting to Continuous Covariate Shift via Online Density Ratio EstimationYu-Jie Zhang, Zhen-Yu Zhang, Peng Zhao, Masashi SugiyamaNeurIPS 2023 · 25 citations
- Online Label Shift: Optimal Dynamic Regret meets Practical AlgorithmsDheeraj Baby, Saurabh Garg, Tzu-Ching Yen, Sivaraman Balakrishnan et al.NeurIPS 2023 · 17 citations
Builds on12
- Coresets for Data-efficient Training of Machine Learning ModelsBaharan Mirzasoleiman, Jeff A. Bilmes, Jure LeskovecICML 2020 · 494 citations
- A Unified View of Label Shift EstimationSaurabh Garg, Yifan Wu, Sivaraman Balakrishnan, Zachary C. LiptonNeurIPS 2020 · 186 citations
- Dynamic Regret of Convex and Smooth FunctionsPeng Zhao, Yu-Jie Zhang, Lijun Zhang, Zhi-Hua ZhouNeurIPS 2020 · 136 citations
- Online Adaptation to Label Distribution ShiftRuihan Wu, Chuan Guo, Yi Su, Kilian Q. WeinbergerNeurIPS 2021 · 77 citations
- Parameter-free, Dynamic, and Strongly-Adaptive Online LearningAshok CutkoskyICML 2020 · 63 citations
Related papers
- Label Shift Meets Online Learning: Ensuring Consistent Adaptation with Universal Dynamic RegretYucong Dai, Shilin Gu, Ruidong Fan, Chao Xu et al.CVPR 2025
- Adapting to Generalized Online Label Shift by Invariant Representation LearningYu-Yang Qian, Yi-Han Wang, Zhen-Yu Zhang, Yuan Jiang et al.KDD 2025 · 1 citation
- Efficient Non-stationary Online Learning by Wavelets with Applications to Online Distribution Shift AdaptationYu-Yang Qian, Peng Zhao, Yu-Jie Zhang, Masashi Sugiyama et al.ICML 2024 · 10 citations
- Online Feature Updates Improve Online (Generalized) Label Shift AdaptationRuihan Wu, Siddhartha Datta, Yi Su, Dheeraj Baby et al.NeurIPS 2024 · 6 citations
- Adaptive Conformal Inference Under Distribution ShiftIsaac Gibbs, Emmanuel J. CandèsNeurIPS 2021 · 665 citations
