Training Prediction Models That Hold Up When Your Sample Is Biased

Image: "Questionnaire survey with farmers of Koshi Tappu Wildlife Reserve" by Aditya Pal (CC BY-SA 4.0) via Wikimedia Commons, recoloured.
What happens when a machine learning model is trained on a sample where some groups are over- or under-represented? A new Management Science study by Sahoo, Lei and Wager shows that standard training can fail at deployment, and proposes a robust learning method that limits worst-case risk under a bounded form of sampling bias.
A bounded model of sampling bias, and a way to learn under it
Most predictive models in empirical research are fit by empirical risk minimization: choose the rule that performs best on the training data. That approach quietly assumes the training sample was drawn under the same conditions the rule will face later. Roshni Sahoo (Columbia University), Lihua Lei and Stefan Wager (Stanford University) start from a common worry in survey and observational work: some groups, defined by observed or unobserved attributes, may be over- or under-represented in the sample relative to the population. In that case, the rule that looks best on the training set may perform poorly once deployed.
The authors propose a model of sampling bias they call conditional Γ-biased sampling. Its key feature is an asymmetry. Observed covariates are allowed to shift the probability that a unit enters the sample by any amount, which reflects how strongly selection can depend on things researchers can see. The variation in selection that the covariates do not explain, however, is bounded by a constant factor. This mirrors the logic of sensitivity analysis: rather than assuming no hidden selection, the researcher states how much hidden selection is plausible.
Building on this model, the paper uses distributionally robust optimization. According to Sahoo, Lei and Wager (Management Science, 2026), the goal is a decision rule that minimizes the worst-case risk across all test distributions that could have produced the observed training data under conditional Γ-biased sampling. Drawing on a result by Rockafellar and Uryasev, they show this robust problem is equivalent to an augmented convex risk minimization problem, which makes it tractable. They provide statistical guarantees for learning such a robust model using the method of sieves, and they propose a deep learning algorithm whose loss function targets the robust objective directly.
The method is validated empirically in two case studies: predicting mental health scores from health survey data, and predicting length of stay in intensive care units. The paper is primarily methodological, so its main contribution is the framework and guarantees rather than a single headline effect. Its protection is also only as good as the bound researchers choose: the approach guards against unexplained selection up to the stated factor, not against arbitrary bias, and choosing that bound is a substantive judgement about the data-collection process.
Why it matters: Social scientists and business researchers increasingly train predictive models on convenience samples, online panels, platform data or surveys with uneven response rates, and then apply those models to broader populations. This study gives a principled way to ask how much a model's performance depends on who happened to be sampled, and to train models that remain reasonable if hidden selection is moderate. For anyone already familiar with sensitivity analysis in causal inference, the conditional Γ-biased framing offers a natural bridge from robustness checks to robust prediction.
Sahoo, R., Lei, L., & Wager, S. (2026). Learning from a Biased Sample. *Management Science*. Read the original. Independent editorial summary of third-party research.





Comments