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

General and Estimable Learning Bound Unifying Covariate and Concept Shifts

Hongbo Chen, Li Charlie XiaarXiv 2025 · OpenReview

TL;DR

This paper tackles the challenge of machine learning models failing when test data distributions differ from training data. The authors introduce a new, more robust way to define and measure "covariate" and "concept" shifts, leading to a unified theoretical bound on model error that is both more general and, crucially, estimable from real-world data. They also provide an algorithm, DataShifts, to practically quantify these shifts and predict model performance.

What Problem Does This Paper Address?

Modern machine learning models often perform poorly when deployed in environments where the data distribution has changed from the one they were trained on. This "distribution shift" is a major hurdle for reliable AI. While theoretical frameworks exist to bound model error under such shifts, they often rely on overly simplistic assumptions (like deterministic labels) and suffer from two key problems: 1) their definitions of "concept shift" break down when the underlying data supports don't overlap (a common real-world scenario), making them non-estimable, and 2) they are too narrow, excluding many practical scenarios like regression or using different loss functions. This paper aims to bridge the gap between theory and practice by developing a more general, estimable, and robust theoretical framework for understanding and quantifying distribution shift.

Methods

The core innovation lies in redefining covariate (X) and concept (Y|X) shifts. Instead of relying on traditional definitions that fail with non-overlapping supports, the authors leverage entropic optimal transport. This technique provides a more robust measure of distance between probability distributions, even when their supports don't overlap.

Key methodological contributions include:

  • Support-Agnostic Definitions: They introduce "total pair Y|X shift" which is well-defined even when the covariate supports of the source and target domains mismatch. This is a significant departure from prior work.
  • Unified Error Bound: Based on these new shift definitions, they derive a general learning bound that unifies the effects of covariate and concept shifts. This bound is applicable to a broad range of loss functions, label spaces (including stochastic labeling), and even regression tasks.
  • Estimators and Concentration Guarantees: For the proposed shifts, they develop new estimators and prove concentration inequalities. This means they can reliably estimate these shifts from finite samples with high probability.
  • DataShifts Algorithm: They integrate these estimators and existing methods for estimating learner Lipschitz constants into a practical algorithm. This algorithm can quantify the X and Y|X shifts and estimate the overall error bound, providing a tool for practitioners.

Datasets

The paper does not introduce new datasets. Instead, it uses a real-world regression task from the Novozymes Enzyme Stability Prediction Competition (a Kaggle contest) for evaluation. In this experiment, one enzyme family is treated as the source domain, and 179 other families are treated as individual target domains, simulating a diverse set of distribution shifts.

Key Insights and Ideas

  • Support Mismatch is a Critical Flaw: The paper clearly demonstrates how the common scenario of non-overlapping covariate supports in source and target domains fundamentally breaks existing concept shift definitions, rendering them non-estimable and leading to loose bounds.
  • Entropic Optimal Transport as a Unifier: This technique proves to be a powerful tool for defining robust, support-agnostic measures of distribution shift, enabling a more general theoretical framework.
  • Estimability is Key for Practicality: The focus on developing estimable shifts and bounds is crucial. Without this, theoretical insights remain academic and cannot be directly applied to real-world problems.
  • Unified Bound for Broad Applicability: The derived error bound's ability to handle various loss functions, label spaces, and even regression tasks makes it a significant step towards a universal tool for analyzing domain shift.

Key Results

  • The paper derives a novel, unified learning error bound that is applicable to a wide range of scenarios, including stochastic labeling, broad loss functions, and regression tasks.
  • They propose new, estimable definitions for covariate and concept shifts that are robust to support mismatch.
  • The proposed estimators for these shifts come with concentration guarantees, ensuring their reliability from finite samples.
  • The DataShifts algorithm is introduced, which can quantify these shifts and estimate the error bound.
  • Experimental results on the Novozymes Enzyme Stability Prediction task show that the DataShifts algorithm's estimated error bound closely tracks the actual test error across various domains, validating the tightness and usefulness of the proposed bound. Figure 2 visually demonstrates this correlation, with the estimated bound lying just below the diagonal of test error vs. estimated bound.

Limitations and Future Work

  • Curse of Dimensionality for X Shift Estimation: While the debiased estimator for X shift is proposed to mitigate the curse of dimensionality, the paper notes that the plug-in estimator can still be significantly overestimated in high-dimensional settings, even with large sample sizes.
  • Irreducible Error: The estimation of the Y|X shift is bounded by the irreducible error, which represents the inherent noise or uncertainty in the data that no model can overcome. While often small in practice, it's a theoretical limit.
  • Future Work: The paper implicitly suggests future work in exploring more sophisticated debiasing techniques for X shift estimation in extremely high dimensions and further investigating the practical implications of the irreducible error in Y|X shift estimation across different domains. The general framework also opens doors for applying these concepts to more complex learning settings.

Summary updated

BibTeX
@misc{chen2025general,
  author = {Hongbo Chen and Li Charlie Xia},
  title = {{General and Estimable Learning Bound Unifying Covariate and Concept Shifts}},
  year = {2025},
  eprint = {2506.12829},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.12829},
}
Figure