Online Label Shift: Optimal Dynamic Regret meets Practical Algorithms
Dheeraj Baby, Saurabh Garg, Tzu-Ching Yen, Sivaraman Balakrishnan, Zachary C. Lipton, Yu-Xiang Wang
Abstract
This paper focuses on supervised and unsupervised online label shift, where the class marginals varies but the class-conditionals remain invariant. In the unsupervised setting, our goal is to adapt a learner, trained on some offline labeled data, to changing label distributions given unlabeled online data. In the supervised setting, we must both learn a classifier and adapt to the dynamically evolving class marginals given only labeled online data. We develop novel algorithms that reduce the adaptation problem to online regression and guarantee optimal dynamic regret without any prior knowledge of the extent of drift in the label distribution. Our solution is based on bootstrapping the estimates of online regression oracles that track the drifting proportions. Experiments across numerous simulated and real-world online label shift scenarios demonstrate the superior performance of our proposed approaches, often achieving 1-3% improvement in accuracy while being sample and computationally efficient. Code is publicly available at https://github.com/acmi-lab/OnlineLabelShift.
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.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Leveraging unlabeled data to predict out-of-distribution performance cites A Unified View of Label Shift Estimation
- Leveraging unlabeled data to predict out-of-distribution performance cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Mixture Proportion Estimation and PU Learning: A Modern Approach cites A Unified View of Label Shift Estimation
- Online Feature Updates Improve Online (Generalized) Label Shift Adaptation cites Adapting to Continuous Covariate Shift via Online Density Ratio Estimation
- Online Feature Updates Improve Online (Generalized) Label Shift Adaptation cites A Unified View of Label Shift Estimation
- Adapting to Continuous Covariate Shift via Online Density Ratio Estimation cites Dynamic Regret of Convex and Smooth Functions
- Adapting to Generalized Online Label Shift by Invariant Representation Learning cites Online Feature Updates Improve Online (Generalized) Label Shift Adaptation
- Adapting to Generalized Online Label Shift by Invariant Representation Learning cites Efficient Non-stationary Online Learning by Wavelets with Applications to Online Distribution Shift Adaptation
- Efficient Non-stationary Online Learning by Wavelets with Applications to Online Distribution Shift Adaptation cites Online Feature Updates Improve Online (Generalized) Label Shift Adaptation
- Efficient Non-stationary Online Learning by Wavelets with Applications to Online Distribution Shift Adaptation cites Adapting to Continuous Covariate Shift via Online Density Ratio Estimation
- Efficient Non-stationary Online Learning by Wavelets with Applications to Online Distribution Shift Adaptation cites Dynamic Regret of Convex and Smooth Functions
- Efficient Non-stationary Online Learning by Wavelets with Applications to Online Distribution Shift Adaptation cites A Unified View of Label Shift Estimation
- WILDS: A Benchmark of in-the-Wild Distribution Shifts cites A Unified View of Label Shift Estimation
Cited by top-tier papers9
- Adapting to Continuous Covariate Shift via Online Density Ratio EstimationYu-Jie Zhang, Zhen-Yu Zhang, Peng Zhao, Masashi SugiyamaNeurIPS 2023 · 25 citations
- 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
- Knowledge Distillation of Uncertainty using Deep Latent Factor ModelSehyun Park, Jongjin Lee, Yunseop Shin, Ilsang Ohn et al.NeurIPS 2025 · 2 citations
- 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
Builds on11
- 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
- A Unified View of Label Shift EstimationSaurabh Garg, Yifan Wu, Sivaraman Balakrishnan, Zachary C. LiptonNeurIPS 2020 · 186 citations
- Leveraging unlabeled data to predict out-of-distribution performanceSaurabh Garg, Sivaraman Balakrishnan, Zachary Chase Lipton, Behnam Neyshabur et al.ICLR 2022 · 160 citations
- Dynamic Regret of Convex and Smooth FunctionsPeng Zhao, Yu-Jie Zhang, Lijun Zhang, Zhi-Hua ZhouNeurIPS 2020 · 136 citations
- Mixture Proportion Estimation and PU Learning: A Modern ApproachSaurabh Garg, Yifan Wu, Alexander J. Smola, Sivaraman Balakrishnan et al.NeurIPS 2021 · 79 citations
Related papers
- Adapting to Online Label Shift with Provable GuaranteesYong Bai, Yu-Jie Zhang, Peng Zhao, Masashi Sugiyama et al.NeurIPS 2022 · 43 citations
- Label Shift Meets Online Learning: Ensuring Consistent Adaptation with Universal Dynamic RegretYucong Dai, Shilin Gu, Ruidong Fan, Chao Xu et al.CVPR 2025
- Online Adaptation to Label Distribution ShiftRuihan Wu, Chuan Guo, Yi Su, Kilian Q. WeinbergerNeurIPS 2021 · 77 citations
- Domain Adaptation under Open Set Label ShiftSaurabh Garg, Sivaraman Balakrishnan, Zachary C. LiptonNeurIPS 2022 · 57 citations
- Protected Test-Time Adaptation via Online Entropy Matching: A Betting ApproachYarin Bar, Shalev Shaer, Yaniv RomanoNeurIPS 2024 · 27 citations
