Correcting for selection bias and missing response in regression using privileged information

Philip A. Boeken, Noud de Kroon, Mathijs de Jong, Joris M. Mooij, Onno Zoeter

Abstract

When estimating a regression model, we might have data where some labels are missing, or our data might be biased by a selection mechanism. When the response or selection mechanism is ignorable (i.e., independent of the response variable given the features) one can use off-the-shelf regression methods; in the nonignorable case one typically has to adjust for bias. We observe that privileged information (i.e. information that is only available during training) might render a nonignorable selection mechanism ignorable, and we refer to this scenario as Privilegedly Missing at Random (PMAR). We propose a novel imputation-based regression method, named repeated regression, that is suitable for PMAR. We also consider an importance weighted regression method, and a doubly robust combination of the two. The proposed methods are easy to implement with most popular out-of-the-box regression algorithms. We empirically assess the performance of the proposed methods with extensive simulated experiments and on a synthetically augmented real-world dataset. We conclude that repeated regression can appropriately correct for bias, and can have considerable advantage over weighted regression, especially when extrapolating to regions of the feature space where response is never observed.

Introduction

In many real-world machine learning applications, training data is rarely a perfectly random sample of the target population. Selection bias occurs when the probability of an instance being included in the training set (or having a label) is correlated with the outcome variable. For instance, in credit scoring, labels (defaults) are only observed for individuals granted a loan. Standard regression techniques often assume that data is Missing at Random (MAR), meaning the selection mechanism depends only on observed features $X$. However, if selection depends on factors not included in the final model, the mechanism is nonignorable, leading to biased estimates.

The PMAR Framework

This paper introduces the concept of Privilegedly Missing at Random (PMAR). In many scenarios, we possess "privileged information" ($Z$)—extra data available during the training phase (e.g., from historical logs or expensive manual audits) that will not be available when the model is deployed. The core insight is that while a selection mechanism $S$ might be nonignorable given only $X$, it can become ignorable when conditioned on both $X$ and $Z$.

Causal structures for selection bias: (a) ignorable, (b) nonignorable, and (c) privilegedly ignorable (PMAR).

As shown in Figure 1(c), in the PMAR setting, the privileged information $Z$ acts as a bridge, accounting for the dependency between the selection $S$ and the outcome $Y$. This allows for unbiased estimation of the relationship between $X$ and $Y$ even when $S$ depends on $Y$.

Repeated Regression (RR)

To address the PMAR challenge, the authors propose Repeated Regression (RR), a straightforward imputation-based method that leverages standard regression algorithms. The process involves three steps:

  1. Intermediate Model: Train a model to predict $Y$ using both $X$ and $Z$ on the biased subset where $Y$ is observed.
  2. Pseudo-labeling: Use this model to generate pseudo-labels $\tilde{Y}$ for the entire training set (including instances where $Y$ was originally missing).
  3. Final Model: Train the final deployment model to predict $\tilde{Y}$ using only the features $X$ available at test time.

Compared to traditional Importance Weighted (IW) regression, RR is more robust. IW methods often struggle when certain subpopulations have a near-zero probability of selection, leading to high variance. RR, by contrast, uses the intermediate model to "fill in" missing information across the entire feature space.

Empirical Evaluation

The effectiveness of RR was tested across 27,500 synthetic datasets and a synthetically biased version of the Boston Housing dataset. In the Boston Housing experiments, where "percentage of lower status population" served as privileged information $Z$, the naive model (ignoring bias) yielded an MSE of 1.23. In contrast, RR achieved a significantly lower MSE of 0.71, outperforming weighting methods which ranged from 1.75 to 2.18.

The Repeated Regression (RR) estimate (orange) closely follows the true regression function (green), effectively correcting the bias present in the observed data (black dots).

A key finding is RR's superior performance in extrapolation. While weighting methods can sometimes interpolate well within observed regions, they diverge significantly in regions where data is rarely sampled. RR maintains stability by leveraging the relationship between $Z$ and $Y$ to infer outcomes in unobserved regions of $X$.

Conclusion

Repeated Regression offers a simple, "off-the-shelf" solution for correcting selection bias using privileged information. By formalizing the PMAR condition, this work provides a clear path for practitioners to utilize auxiliary training data to build more robust and unbiased models for deployment. Future work may extend these principles to causal effect estimation and formalize the statistical regret bounds for the proposed estimators.

Summary updated

BibTeX
@inproceedings{boeken2023correcting,
  author = {Philip A. Boeken and Noud de Kroon and Mathijs de Jong and Joris M. Mooij and Onno Zoeter},
  title = {{Correcting for selection bias and missing response in regression using privileged information}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=gBwAcwQ675},
}
Figure