Entropic Projection Alignment: Estimating, Explaining, and Improving Model Performance Under Distribution Shift

Salim I. Amoukou, Emanuele Albini, Tom Bewley, Saumitra Mishra, Manuela Veloso

TL;DR

This paper introduces Entropic Projection Alignment (EPA), a novel framework that tackles distribution shift by simultaneously estimating model performance on unseen data, explaining what causes performance drops, and improving the model. EPA achieves this by aligning source data distributions to target data by matching key moments, offering a computationally efficient and robust solution that outperforms existing methods.

What Problem Does This Paper Address?

Machine learning models often perform poorly when deployed in environments different from their training data – a phenomenon known as "distribution shift." This is a critical issue in real-world applications where obtaining labeled data for every possible scenario is infeasible. The paper focuses on a common scenario: having labeled data from a source domain but only unlabeled data from a target domain. The core challenges are: 1) accurately predicting how well a model will perform on this new, unlabeled data; 2) understanding why performance changes by identifying the features responsible for the shift; and 3) improving the model's performance on the target domain. Existing methods often struggle with one or more of these aspects, requiring strong assumptions about the nature of the shift or being computationally expensive.

Methods

The paper proposes Entropic Projection Alignment (EPA), a unified framework built on the principle of entropic projection. EPA aims to find a reweighted version of the source data distribution that closely matches the target domain's characteristics. This is achieved by solving a constrained optimization problem: minimizing the KL divergence between the reweighted source and the original source distribution, while simultaneously matching carefully selected moments (statistics) of the target domain.

Key aspects of the EPA method include:

  • Moment Matching: Instead of trying to recover the full, complex density ratio between source and target distributions (which is notoriously difficult), EPA focuses on matching specific moments. This is theoretically shown to be sufficient for reliable estimation and adaptation.
  • Closed-Form Solution: The entropic projection formulation leads to a unique, closed-form solution for the importance weights, making it computationally efficient and reducing variance.
  • Implicit Variance Control: The method inherently controls variance through implicit regularization, preventing unstable weights.
  • Alignment Theory: EPA leverages domain adaptation theory, particularly the concept of "alignment," which ensures that the chosen feature map is expressive enough to capture model disagreement patterns.

EPA is designed to address all three challenges:

  1. Estimation: By reweighting the source data to match target moments, the performance on this reweighted data serves as an estimate for target performance.
  2. Explanation: EPA can identify features responsible for shifts by testing different feature subsets and selecting the one that best explains the discrepancy between source and target.
  3. Improvement: The reweighted data can be used to fine-tune or adapt the existing model, often through a boosting approach, to improve its performance on the target domain.

Datasets

The paper evaluates EPA on several real-world datasets, including:

  • Adult: For income prediction.
  • HELOC (Home Equity Line of Credit): For credit risk assessment.
  • NHANES I: For mortality prediction.
  • California Housing Prices: A standard benchmark for regression.
  • Folktables (ACS-based Tasks): Derived from U.S. Census data, used to study demographic shifts.

The authors also create specific distribution shifts (sparse covariate, sparse joint, and natural shifts) on these datasets to rigorously test EPA's capabilities.

Key Insights and Ideas

  • Moment Matching is Sufficient: The core insight is that accurately estimating and adapting models under distribution shift doesn't require recovering the full, complex density ratio. Matching carefully chosen moments is enough, simplifying the problem significantly.
  • Entropic Projection as a Unified Framework: EPA elegantly unifies estimation, explanation, and improvement under a single, principled optimization framework.
  • Computational Efficiency: The closed-form solution for weights makes EPA orders of magnitude faster than some state-of-the-art methods, a crucial advantage for large-scale applications.
  • Robustness: EPA's approach inherently controls variance, leading to more stable and reliable performance estimates and adaptations compared to methods that might produce high-variance weights.

Key Results

  • Superior Estimation Accuracy: EPA consistently outperforms baselines in estimating target domain performance, achieving 30-70% better accuracy across various shift scenarios.
  • Effective Explanation: EPA demonstrates strong capability in identifying features responsible for distribution shifts, outperforming baselines in detection accuracy, especially under sparse joint shifts.
  • Significant Improvement: EPA-derived reweighting leads to substantial model performance improvements on target domains, particularly when the model is misspecified or the shift is harmful.
  • Computational Speed: EPA is significantly faster than its closest competitors, often by an order of magnitude, making it practical for large datasets. For instance, EPA runs in seconds while SEES-C can take hours.

Limitations and Future Work

  • Approximation Gap: The paper acknowledges that the effectiveness of EPA depends on the chosen feature map's ability to approximate the "disagreement space." While axis-aligned binning is a practical choice, it might not perfectly capture complex feature interactions.
  • Extension to Unstructured Data: The current framework is primarily designed for tabular data. Future work could extend EPA to unstructured domains like images or text, potentially by learning feature representations.
  • Hypothesis-Specific Bounds: Exploring hypothesis-specific discrepancy bounds, rather than worst-case bounds over the entire function class, could lead to tighter guarantees and improved adaptability.

Summary updated

BibTeX
@inproceedings{amoukou2026entropic,
  author = {Salim I. Amoukou and Emanuele Albini and Tom Bewley and Saumitra Mishra and Manuela Veloso},
  title = {{Entropic Projection Alignment: Estimating, Explaining, and Improving Model Performance Under Distribution Shift}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=6PuvcdqLzT},
}
Figure