English

Detecting and Correcting for Label Shift with Black Box Predictors

Machine Learning 2018-07-27 v3 Artificial Intelligence Neural and Evolutionary Computing Machine Learning

Abstract

Faced with distribution shift between training and test set, we wish to detect and quantify the shift, and to correct our classifiers without test set labels. Motivated by medical diagnosis, where diseases (targets) cause symptoms (observations), we focus on label shift, where the label marginal p(y)p(y) changes but the conditional p(xy)p(x| y) does not. We propose Black Box Shift Estimation (BBSE) to estimate the test distribution p(y)p(y). BBSE exploits arbitrary black box predictors to reduce dimensionality prior to shift correction. While better predictors give tighter estimates, BBSE works even when predictors are biased, inaccurate, or uncalibrated, so long as their confusion matrices are invertible. We prove BBSE's consistency, bound its error, and introduce a statistical test that uses BBSE to detect shift. We also leverage BBSE to correct classifiers. Experiments demonstrate accurate estimates and improved prediction, even on high-dimensional datasets of natural images.

Cite

@article{arxiv.1802.03916,
  title  = {Detecting and Correcting for Label Shift with Black Box Predictors},
  author = {Zachary C. Lipton and Yu-Xiang Wang and Alex Smola},
  journal= {arXiv preprint arXiv:1802.03916},
  year   = {2018}
}

Comments

Published at the International Conference on Machine Learning (ICML) 2018

R2 v1 2026-06-23T00:18:51.368Z