Lune

ICML2020Top-tier venue

Maximum Likelihood with Bias-Corrected Calibration is Hard-To-Beat at Label Shift Adaptation

Amr Alexandari, Anshul Kundaje, Avanti Shrikumar

Abstract

Label shift refers to the phenomenon where the prior class probability p(y) changes between the training and test distributions, while the conditional probability p(x|y) stays fixed. Label shift arises in settings like medical diagnosis, where a classifier trained to predict disease given symptoms must be adapted to scenarios where the baseline prevalence of the disease is different. Given estimates of p(y|x) from a predictive model, Saerens et al. proposed an efficient maximum likelihood algorithm to correct for label shift that does not require model retraining, but a limiting assumption of this algorithm is that p(y|x) is calibrated, which is not true of modern neural networks. Recently, Black Box Shift Learning (BBSL) and Regularized Learning under Label Shifts (RLLS) have emerged as state-of-the-art techniques to cope with label shift when a classifier does not output calibrated probabilities, but both methods require model retraining with importance weights and neither has been benchmarked against maximum likelihood. Here we (1) show that combining maximum likelihood with a type of calibration we call bias-corrected calibration outperforms both BBSL and RLLS across diverse datasets and distribution shifts, (2) prove that the maximum likelihood objective is concave, and (3) introduce a principled strategy for estimating source-domain priors that improves robustness to poor calibration. This work demonstrates that the maximum likelihood with appropriate calibration is a formidable and efficient baseline for label shift adaptation; notebooks reproducing experiments available at https://github.com/kundajelab/labelshiftexperiments

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.

34 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

  • Online Adaptation to Label Distribution Shift cites A Unified View of Label Shift Estimation
  • ReAct: Out-of-distribution Detection With Rectified Activations cites Online Adaptation to Label Distribution Shift
  • ReAct: Out-of-distribution Detection With Rectified Activations cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • WILDS: A Benchmark of in-the-Wild Distribution Shifts cites A Unified View of Label Shift Estimation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers34

  1. 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
  2. ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 citations
  3. A Prototype-Oriented Framework for Unsupervised Domain AdaptationKorawat Tanwisuth, Xinjie Fan, Huangjie Zheng, Shujian Zhang et al.NeurIPS 2021 · 136 citations
  4. Online Adaptation to Label Distribution ShiftRuihan Wu, Chuan Guo, Yi Su, Kilian Q. WeinbergerNeurIPS 2021 · 77 citations
  5. Transferable Calibration with Lower Bias and Variance in Domain AdaptationXimei Wang, Mingsheng Long, Jianmin Wang, Michael I. JordanNeurIPS 2020 · 70 citations

Builds on1

  1. A Unified View of Label Shift EstimationSaurabh Garg, Yifan Wu, Sivaraman Balakrishnan, Zachary C. LiptonNeurIPS 2020 · 186 citations

Related papers

  1. Open Set Label Shift with Test Time Out-of-Distribution ReferenceChangkun Ye, Russell Tsuchida, Lars Petersson, Nick BarnesCVPR 2025
  2. LaSCal: Label-Shift Calibration without target labelsTeodora Popordanoska, Gorjan Radevski, Tinne Tuytelaars, Matthew B. BlaschkoNeurIPS 2024 · 12 citations
  3. Posterior Re-calibration for Imbalanced DatasetsJunjiao Tian, Yen-Cheng Liu, Nathaniel Glaser, Yen-Chang Hsu et al.NeurIPS 2020 · 86 citations
  4. Domain Adaptation under Open Set Label ShiftSaurabh Garg, Sivaraman Balakrishnan, Zachary C. LiptonNeurIPS 2022 · 57 citations
  5. Match: A Maximum-Likelihood Approach for Classification under Label ShiftZahra Donyavi, Feiyu Li, Yunrui Zhang, Diego Furtado Silva et al.KDD 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines