Stratified Learning: A General-Purpose Statistical Method for Improved Learning under Covariate Shift
Maximilian Autenrieth, David A. van Dyk, Roberto Trotta, David C. Stenning
TL;DR
StratLearn addresses covariate shift by conditioning on propensity scores $e(x)$ and stratifying data into $k$ strata, enabling source data within each stratum to approximate the target distribution and minimizing target risk without heavy weighting. The authors prove that $p_T(x,y|e(x)) = p_S(x,y|e(x))$ within strata, and demonstrate strong empirical gains over state-of-the-art importance weighting in cosmology tasks, including SNIa classification with an updated SPCC AUC of $0.958$ and improved photo-$z$ density estimation on SDSS data. The method is general-purpose, scalable to high-dimensional covariates, and supported by balance diagnostics (SMD and KS) and diagnostic use of predicted outcomes. StratLearn offers a robust alternative to weighting, with broad applicability beyond astronomy, and it integrates causal-inference balance diagnostics into domain adaptation. Overall, the paper provides both theoretical guarantees and practical evidence that propensity-score stratification can effectively neutralize covariate shift and enhance predictive performance across diverse supervised learning tasks.
Abstract
We propose a simple, statistically principled, and theoretically justified method to improve supervised learning when the training set is not representative, a situation known as covariate shift. We build upon a well-established methodology in causal inference, and show that the effects of covariate shift can be reduced or eliminated by conditioning on propensity scores. In practice, this is achieved by fitting learners within strata constructed by partitioning the data based on the estimated propensity scores, leading to approximately balanced covariates and much-improved target prediction. We demonstrate the effectiveness of our general-purpose method on two contemporary research questions in cosmology, outperforming state-of-the-art importance weighting methods. We obtain the best reported AUC (0.958) on the updated "Supernovae photometric classification challenge", and we improve upon existing conditional density estimation of galaxy redshift from Sloan Data Sky Survey (SDSS) data.
