NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Robust Covariate Shift Regression.

Xiangli Chen, Mathew Monfort, Anqi Liu, Brian D. ZiebartAISTATS 2016

Abstract

Standard regression models often fail when the distribution of input data changes between training and deployment—a phenomenon known as covariate shift. Traditional importance-weighting methods attempt to correct this by reweighting source data but frequently suffer from high variance and over-confident extrapolations. This paper presents Robust Bias-Aware Regression (RBA), a minimax framework that explicitly models uncertainty in regions of low source data density. By framing the problem as a game against an adversary, the RBA estimator produces predictions that naturally revert to a safe baseline when encountering unfamiliar inputs, providing superior robustness and predictive accuracy across diverse real-world datasets.

Introduction

In many machine learning applications, the assumption that training (source) data and test (target) data are drawn from the same distribution is violated. This "covariate shift" is common in fields ranging from economics to physical sciences. For instance, a model trained on thermal expansion data at low temperatures may be required to predict behavior at much higher temperatures.

Standard Ordinary Least Squares (LS) and Importance-Weighted Least Squares (IWLS) often struggle in these scenarios. LS ignores the shift entirely, while IWLS can become unstable if the density ratio between target and source distributions is extreme. Crucially, both methods tend to "hallucinate" trends into regions where they have no data, leading to over-confident and often wildly inaccurate predictions.

Robust Bias-Aware Regression (RBA)

The authors propose a minimax approach to address these shortcomings. Instead of simply reweighting samples, the Robust Bias-Aware (RBA) framework treats the prediction task as a game. An adversary chooses a distribution that maximizes the relative loss (measured via KL-divergence) while remaining consistent with source data statistics. The estimator then chooses a model to minimize this worst-case loss.

Key features of the RBA approach include:

  • Density Ratio Integration: The model naturally incorporates the ratio $f_{src}(x)/f_{trg}(x)$. In regions where the source data is sparse (low ratio), the model's uncertainty increases.
  • Convergence to Baseline: Unlike linear models that extrapolate indefinitely, RBA reverts toward a "zero-knowledge" baseline distribution in unfamiliar regions, preventing over-confident errors.
  • Computational Tractability: By utilizing quadratic features and a Gaussian baseline, the authors derive a conditional Gaussian solution that can be optimized efficiently via gradient descent.

Visualizing Robustness: The Hahn1 Dataset

The differences between traditional methods and RBA are most apparent when visualized. Using the Hahn1 dataset (thermal expansion of copper), the authors demonstrate how LS and IWLS produce narrow confidence intervals that fail to capture the true non-linear trend as they extrapolate. In contrast, RBA's uncertainty grows in regions where source data is missing, and its mean prediction remains more conservative.

Figure 2: Comparison of (a) Least Squares, (b) Importance-Weighted Least Squares, and (c) Robust Bias-Aware Regression on the Hahn1 dataset. RBA demonstrates superior uncertainty quantification and avoids over-confident extrapolation.

Empirical Performance

The RBA framework was evaluated against LS, IWLS, and Bayesian Linear Regression (BLR) across several UCI benchmarks, including Airfoil, Housing, and Parkinsons datasets. The researchers tested both synthetic shifts and natural shifts (e.g., training on one demographic and testing on another).

Across nearly all benchmarks, the RBA variant using KL-divergence (RBA-KLD) achieved the lowest average empirical log-loss. This metric is particularly telling as it rewards models that are not only accurate in their mean prediction but also honest about their predictive uncertainty.

Figure 3: Average log-loss across various UCI datasets as a function of the number of source data points. RBA-KLD consistently outperforms traditional methods, especially in low-data or high-shift regimes.

Conclusion and Future Work

Robust Bias-Aware Regression provides a theoretically grounded and practically effective solution to the problem of covariate shift. By embracing uncertainty rather than attempting to eliminate it through aggressive reweighting, RBA offers a more reliable path for deploying models in dynamic, real-world environments. Future research directions include extending the framework to multivariate outputs and exploring its application as a core engine for uncertainty-aware active learning.

Summary updated

BibTeX
@inproceedings{chen2016robust,
  author = {Xiangli Chen and Mathew Monfort and Anqi Liu and Brian D. Ziebart},
  title = {{Robust Covariate Shift Regression.}},
  booktitle = {AISTATS},
  year = {2016},
  url = {https://openreview.net/forum?id=hWHr_40RaZ},
}
Figure