Skip to main content
QUICK REVIEW

[Paper Review] Diagnosing Model Performance Under Distribution Shift

Tiffany Tiffany, Hongseok Namkoong|arXiv (Cornell University)|Mar 3, 2023
Artificial Intelligence in HealthcareHealth Professions5 citations
TL;DR

This paper proposes DIstribution Shift DEcomposition (DISDE), a diagnostic framework that decomposes performance degradation in machine learning models under distribution shift into three components: increased frequency of hard examples in the shared covariate space, changes in the label–feature relationship ($Y\mid X$), and poor generalization to rare or unseen covariates. The method uses a shared distribution defined via a binary domain classifier to isolate and quantify these contributions, enabling targeted model improvements in real-world deployment scenarios.

ABSTRACT

Prediction models can perform poorly when deployed to target distributions different from the training distribution. To understand these operational failure modes, we develop a method, called DIstribution Shift DEcomposition (DISDE), to attribute a drop in performance to different types of distribution shifts. Our approach decomposes the performance drop into terms for 1) an increase in harder but frequently seen examples from training, 2) changes in the relationship between features and outcomes, and 3) poor performance on examples infrequent or unseen during training. These terms are defined by fixing a distribution on $X$ while varying the conditional distribution of $Y \mid X$ between training and target, or by fixing the conditional distribution of $Y \mid X$ while varying the distribution on $X$. In order to do this, we define a hypothetical distribution on $X$ consisting of values common in both training and target, over which it is easy to compare $Y \mid X$ and thus predictive performance. We estimate performance on this hypothetical distribution via reweighting methods. Empirically, we show how our method can 1) inform potential modeling improvements across distribution shifts for employment prediction on tabular census data, and 2) help to explain why certain domain adaptation methods fail to improve model performance for satellite image classification.

Motivation & Objective

  • To diagnose the root causes of performance degradation in machine learning models when deployed under distribution shifts.
  • To decompose performance drops into distinct, interpretable components related to changes in data distribution and model behavior.
  • To guide model improvement by attributing failure modes to specific types of distribution shifts, such as covariate shift or concept drift.
  • To provide a scalable, diagnostic tool that goes beyond detection to explain *why* performance degrades, supporting better intervention decisions.
  • To establish a principled framework for evaluating and improving model reliability across training, deployment, and operational distributions.

Proposed method

  • Define a shared distribution $S_X$ over covariates $X$ that are common between training and target distributions, using a binary domain classifier to estimate membership.
  • Estimate performance degradation relative to the shared distribution, decomposing it into three components: (1) increased frequency of hard examples in $S_X$, (2) shift in $Y\mid X$ on $S_X$, and (3) poor performance on rare or unseen $X$ values.
  • Use a weighting scheme analogous to propensity scores in causal inference to define the shared support, ensuring stable estimation of model performance on overlapping regions.
  • Apply the decomposition to real-world datasets, including tabular census data for employment prediction and satellite image classification, to validate diagnostic utility.
  • Use empirical risk minimization under the shared distribution to estimate the three decomposition terms, with loss functions expressed as $\mathbb{E}[\ell(f(X), Y)]$.
  • Validate the framework using benchmark datasets and compare against existing domain adaptation and robustness methods to demonstrate diagnostic value.

Experimental results

Research questions

  • RQ1To what extent does performance degradation stem from changes in the frequency of hard examples within the shared covariate space?
  • RQ2How much of the performance drop is attributable to shifts in the conditional relationship $Y\mid X$ on the shared distribution?
  • RQ3How much degradation results from poor generalization to covariate values that were rare or unseen during training?
  • RQ4Can this decomposition framework identify when domain adaptation or other methods are likely to fail, and why?
  • RQ5How can this diagnostic inform targeted model improvements rather than generic retraining or reweighting?

Key findings

  • DISDE successfully attributes performance degradation in employment prediction on tabular census data to a combination of increased frequency of hard examples and shifts in $Y\mid X$, guiding feature engineering and reweighting strategies.
  • In satellite image classification, DISDE explains why certain domain adaptation methods fail: the primary degradation arises from $Y\mid X$ shifts, not covariate shift, indicating that adaptation methods targeting only $X$ shift are insufficient.
  • The framework identifies that performance drops are often dominated by shifts in the label–feature relationship ($Y\mid X$) rather than marginal covariate shifts, challenging assumptions in many existing adaptation methods.
  • The decomposition reveals that a significant portion of performance degradation occurs on rare or unseen covariate values, highlighting the limitations of models trained on limited or biased data.
  • Empirical results show that DISDE provides actionable insights: interventions should be tailored to the dominant failure mode, such as causal modeling for $Y\mid X$ shifts or data collection for out-of-distribution generalization.
  • The method demonstrates that existing monitoring systems, which only detect degradation, are insufficient without diagnostic attribution—DISDE fills this gap by enabling root-cause analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.