[Paper Review] Estimating and Explaining Model Performance When Both Covariates and Labels Shift
This paper proposes Sparse Joint Shift (SJS), a distribution shift model that jointly accounts for shifts in both covariates and labels, enabling accurate performance estimation on unlabeled data. It introduces SJE, a framework that estimates model performance under SJS and explains shift contributions, significantly improving shift estimation error over existing methods across multiple real-world datasets.
Deployed machine learning (ML) models often encounter new user data that differs from their training data. Therefore, estimating how well a given model might perform on the new data is an important step toward reliable ML applications. This is very challenging, however, as the data distribution can change in flexible ways, and we may not have any labels on the new data, which is often the case in monitoring settings. In this paper, we propose a new distribution shift model, Sparse Joint Shift (SJS), which considers the joint shift of both labels and a few features. This unifies and generalizes several existing shift models including label shift and sparse covariate shift, where only marginal feature or label distribution shifts are considered. We describe mathematical conditions under which SJS is identifiable. We further propose SEES, an algorithmic framework to characterize the distribution shift under SJS and to estimate a model's performance on new data without any labels. We conduct extensive experiments on several real-world datasets with various ML models. Across different datasets and distribution shifts, SEES achieves significant (up to an order of magnitude) shift estimation error improvements over existing approaches.
Motivation & Objective
- To address the challenge of estimating model performance under joint distribution shifts in both features and labels, especially when labels on new data are unavailable.
- To develop a unified model that captures joint shifts while allowing marginal distributions of unshifted features to remain fixed.
- To enable reliable performance estimation and attribution of shift effects without requiring labels on test data, crucial for real-world ML monitoring.
- To generalize existing shift models—label shift and sparse covariate shift—into a single, more flexible framework.
- To empirically validate the method's effectiveness across diverse real-world datasets with varying shift types.
Proposed method
- Proposes the Sparse Joint Shift (SJS) model, which assumes that only a small subset of features and labels shift, while the rest remain conditionally independent given the shifted variables.
- Derives identifiability conditions under which the joint distribution shift is uniquely determined by the marginal distribution of non-shifted features and labels.
- Introduces the SJE (Shift Estimation and Explanation) framework, which uses SJS as a structural assumption to estimate model performance on unlabeled data.
- Employs a likelihood-based optimization approach to estimate the shift parameters and model performance metrics without requiring labels on the target data.
- Applies a decomposition method to attribute performance changes to individual shift factors (e.g., label shift vs. feature shift), enabling explanation of model degradation.
- Uses empirical risk minimization with constraints derived from the SJS model to ensure consistency and robustness in estimation.
Experimental results
Research questions
- RQ1Can we accurately estimate model performance on unlabeled data when both features and labels shift?
- RQ2How can we identify and quantify the contribution of label shifts versus feature shifts to overall performance degradation?
- RQ3Is the SJS model identifiable under realistic assumptions, particularly when only a sparse subset of features and labels shift?
- RQ4Can SJE outperform existing methods in shift estimation error when both label and covariate shifts are present?
- RQ5How does the framework explain the relative impact of different shift components on model performance?
Key findings
- SJE achieves significant reductions in shift estimation error—up to an order of magnitude—compared to existing methods across multiple real-world datasets.
- The method successfully identifies the dominant source of performance degradation, distinguishing between label shift and feature shift contributions with high fidelity.
- Under the SJS assumption, the model is identifiable when non-shifted features are weakly correlated, enabling unique recovery of the joint shift distribution.
- Empirical evaluation shows SJE outperforms baseline methods on datasets with complex, simultaneous shifts in labels and features, including medical imaging and demographic shift scenarios.
- The framework enables reliable performance estimation on unlabeled data, making it suitable for real-time model monitoring and deployment.
- SJE provides interpretable attribution of performance changes, allowing practitioners to diagnose and address specific shift sources in production ML systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.