Abstract
With the deluge of digitized information in the Big Data era, massive datasets are becoming increasingly available for learning predictive models. However, in many practical situations, the poor control of the data acquisition processes may naturally jeopardize the outputs of machine learning algorithms, and selection bias issues are now the subject of much attention in the literature. The present article investigates how to extend Empirical Risk Minimization (ERM), the principal paradigm in statistical learning, when training observations are generated from biased models—distributions that differ from the test stage but remain absolutely continuous with respect to it. We demonstrate how to construct a "nearly debiased" training statistical population from biased samples and their related biasing functions. Furthermore, we provide a nonasymptotic analysis of the performance of minimizers using this empirical risk. Remarkably, the learning rate achieved by this procedure is $O(1/\sqrt{n})$, the same order as that attained in the absence of selection bias. Experimental results across various datasets support the relevance of this algorithmic approach.
Introduction
In the ideal statistical learning setting, training data is assumed to be independent and identically distributed (i.i.d.), reflecting the exact distribution the model will encounter during deployment. In practice, data acquisition is often imperfect, leading to selection bias. This occurs when the training samples are not representative of the target population due to factors like stratified sampling, censorship, or truncated data.
While techniques like covariate shift correction address scenarios where only the input features ($X$) change, real-world bias often affects the relationship between features and labels ($Y$) simultaneously. This paper addresses the challenge of "undoing" these complex biases to recover a reliable predictive model by extending the standard Empirical Risk Minimization (ERM) framework.
Methodology: The "Nearly Debiased" Framework
The authors propose a robust framework to handle biased sampling by leveraging multiple data sources. Instead of relying on a single clean dataset, the approach assumes access to $K$ different biased datasets. For each dataset, a "biasing function" $\omega_k(z)$ is known, which describes the probability of a data point $z$ being included in that specific sample.
Constructing the Estimator
Unlike simple Importance Probability Weighting (IPW), which can fail if the training distribution lacks sufficient coverage of the test distribution, this method combines multiple biased sources to reconstruct the target distribution. The core of the algorithm involves:
- Solving a System of Equations: Estimating the unknown expectations of the biasing functions. Since there is no closed-form solution, the authors utilize an iterative approach (such as Gradient Descent) to find the weights necessary to reconstruct the true target distribution.
- Graph Connectivity: The method relies on the assumption that the biased datasets have sufficient overlap. This connectivity allows the algorithm to propagate information across the entire support of the distribution, effectively "stitching" together a representative population from fragmented, biased parts.
Theoretical Guarantees
A primary contribution of this work is the non-asymptotic analysis of the debiased estimator. The authors prove that the risk of the model trained on the "nearly debiased" population converges to the true risk at a rate of $O(1/\sqrt{n})$. This is a significant finding, as it demonstrates that correcting for selection bias does not inherently degrade the fundamental learning speed of the model; the debiased model learns as efficiently as if it were trained on perfect, unbiased data.
Empirical Results
The effectiveness of the "db-ERM" (debiased ERM) approach was validated using synthetic benchmarks and real-world datasets across various algorithms, including Ridge Regression, Support Vector Regressors (SVR), Logistic Regression, and Random Forests.
Synthetic and Real-World Benchmarks
- Synthetic 3D Gaussian Data: The model was tested against 12 different bias scenarios (e.g., samples biased toward specific dimensions or small norms). In these controlled environments, db-ERM consistently outperformed naive models.
- Boston Housing Dataset: In a regression task simulating a large biased sample of inexpensive houses and a small unbiased sample, db-ERM achieved a Mean Squared Error (MSE) of approximately 25.6, compared to 27.4 for the standard biased ERM.
- Adult (Census Income) Dataset: For binary classification (predicting income >$50k), the authors simulated bias based on education and age. The db-ERM approach improved prediction scores from 63.8% (naive) to 79.5% in heavily skewed scenarios.
Conclusion and Future Work
This research demonstrates that selection bias is not a "death sentence" for model accuracy, provided the biasing functions are understood. By mathematically combining multiple biased sources, practitioners can achieve theoretical parity with unbiased learning.
The primary limitation of the current approach is the requirement for known biasing functions $\omega_k$. Future research directions include exploring "semi-known" bias, where the biasing functions are parameterized and must be learned simultaneously with the predictive model, and reducing the computational overhead associated with solving the initial system of equations.
Summary updated