Lune

NeurIPS2022Top-tier venue

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 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.

23 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

  • Adapting to Continuous Covariate Shift via Online Density Ratio Estimation cites Dynamic Regret of Convex and Smooth Functions
  • Adapting to Continuous Covariate Shift via Online Density Ratio Estimation cites Online Adaptation to Label Distribution Shift
  • Adapting to Continuous Covariate Shift via Online Density Ratio Estimation cites Online Label Shift: Optimal Dynamic Regret meets Practical Algorithms
  • Online Adaptation to Label Distribution Shift cites A Unified View of Label Shift Estimation
  • Online Label Shift: Optimal Dynamic Regret meets Practical Algorithms cites Dynamic Regret of Convex and Smooth Functions
  • Online Label Shift: Optimal Dynamic Regret meets Practical Algorithms cites Online Adaptation to Label Distribution Shift
  • Online Label Shift: Optimal Dynamic Regret meets Practical Algorithms cites A Unified View of Label Shift Estimation
  • Efficient Methods for Non-stationary Online Learning cites Adapting to Continuous Covariate Shift via Online Density Ratio Estimation
  • Efficient Methods for Non-stationary Online Learning cites Parameter-free, Dynamic, and Strongly-Adaptive Online Learning
  • Efficient Methods for Non-stationary Online Learning cites Dynamic Regret of Convex and Smooth Functions
  • Optimistic Online Mirror Descent for Bridging Stochastic and Adversarial Online Convex Optimization cites Dynamic Regret of Convex and Smooth Functions
  • ODS: Test-Time Adaptation in the Presence of Open-World Data Shift cites Online Adaptation to Label Distribution Shift
  • ODS: Test-Time Adaptation in the Presence of Open-World Data Shift cites Efficient Methods for Non-stationary Online Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers23

  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. Efficient Methods for Non-stationary Online LearningPeng Zhao, Yan-Feng Xie, Lijun Zhang, Zhi-Hua ZhouNeurIPS 2022 · 39 citations
  3. Optimistic Online Mirror Descent for Bridging Stochastic and Adversarial Online Convex OptimizationSijia Chen, Wei-Wei Tu, Peng Zhao, Lijun ZhangICML 2023 · 33 citations
  4. Adapting to Continuous Covariate Shift via Online Density Ratio EstimationYu-Jie Zhang, Zhen-Yu Zhang, Peng Zhao, Masashi SugiyamaNeurIPS 2023 · 25 citations
  5. 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

  1. Coresets for Data-efficient Training of Machine Learning ModelsBaharan Mirzasoleiman, Jeff A. Bilmes, Jure LeskovecICML 2020 · 494 citations
  2. A Unified View of Label Shift EstimationSaurabh Garg, Yifan Wu, Sivaraman Balakrishnan, Zachary C. LiptonNeurIPS 2020 · 186 citations
  3. Dynamic Regret of Convex and Smooth FunctionsPeng Zhao, Yu-Jie Zhang, Lijun Zhang, Zhi-Hua ZhouNeurIPS 2020 · 136 citations
  4. Online Adaptation to Label Distribution ShiftRuihan Wu, Chuan Guo, Yi Su, Kilian Q. WeinbergerNeurIPS 2021 · 77 citations
  5. Parameter-free, Dynamic, and Strongly-Adaptive Online LearningAshok CutkoskyICML 2020 · 63 citations

Related papers

  1. Label Shift Meets Online Learning: Ensuring Consistent Adaptation with Universal Dynamic RegretYucong Dai, Shilin Gu, Ruidong Fan, Chao Xu et al.CVPR 2025
  2. 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
  3. 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
  4. Online Feature Updates Improve Online (Generalized) Label Shift AdaptationRuihan Wu, Siddhartha Datta, Yi Su, Dheeraj Baby et al.NeurIPS 2024 · 6 citations
  5. Adaptive Conformal Inference Under Distribution ShiftIsaac Gibbs, Emmanuel J. CandèsNeurIPS 2021 · 665 citations
Dusk over the sea between two cliffs drawn in fine vertical lines