What is the difference between covariate shift and label shift?
Last updated
Covariate shift:
p(x)changes whilep(y|x)stays fixed (x causes y). Correct by importance weighting withp_test(x)/p_train(x), often estimated by a domain classifier.Label shift: class prior
p(y)changes whilep(x|y)stays fixed (y causes x, e.g. disease outbreak). Estimate new priors (BBSE, EM) and reweight byp_test(y)/p_train(y).The wrong correction can hurt, and input monitoring alone can't tell them apart. If
p(y|x)itself changes, that is concept drift and needs new labels.