# Counterfactual Model Testing Under Distribution Shift

arXiv: https://arxiv.org/abs/2610.33594 · HTML: https://mlsanity.com/paper/2610.33594/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 18 of its 68 references that are in the map.
- Submitted 24 Oct 2026.

## Builds on (most cited first, 18 of 18)

- [Beyond Accuracy: Behavioral Testing of NLP models with CheckList](https://mlsanity.com/paper/2005.04118/) (2020)
- [Learning under Concept Drift: A Review](https://mlsanity.com/paper/2004.05785/) (2020)
- [Machine Learning Testing: Survey, Landscapes and Horizons](https://mlsanity.com/paper/1906.10742/) (2019)
- [Leveraging Unlabeled Data to Predict Out-of-Distribution Performance](https://mlsanity.com/paper/2201.04234/) (2022)
- [Machine Learning Operations (MLOps): Overview, Definition, and Architecture](https://mlsanity.com/paper/2205.02302/) (2022)
- [Characterizing Concept Drift](https://mlsanity.com/paper/1511.03816/) (2015)
- [Benchmarking Distribution Shift in Tabular Data with TableShift](https://mlsanity.com/paper/2312.07577/) (2023)
- [Mandoline: Model Evaluation under Distribution Shift](https://mlsanity.com/paper/2107.00643/) (2021)
- [Why did the distribution change?](https://mlsanity.com/paper/2102.13384/) (2021)
- ["Why did the Model Fail?": Attributing Model Performance Changes to Distribution Shifts](https://mlsanity.com/paper/2210.10769/) (2022)
- [Anchored Causal Inference in the Presence of Measurement Error](https://mlsanity.com/paper/1906.00928/) (2019)
- [Estimating Model Performance Under Covariate Shift Without Labels](https://mlsanity.com/paper/2401.08348/) (2024)
- [Credit Risk Meets Large Language Models: Building a Risk Indicator from Loan Descriptions in P2P Lending](https://mlsanity.com/paper/2401.16458/) (2024)
- [Dataflow graphs as complete causal graphs](https://mlsanity.com/paper/2303.09552/) (2023)
- [Explanatory Model Monitoring to Understand the Effects of Feature Shifts on Performance](https://mlsanity.com/paper/2408.13648/) (2024)
- [Monitoring Machine Learning Systems: A Multivocal Literature Review](https://mlsanity.com/paper/2509.14294/) (2025)
- [Controlled Experimentation in Continuous Experimentation: Knowledge and Challenges](https://mlsanity.com/paper/2102.05310/) (2021)
- [Monitoring and Observability of Machine Learning Systems: Current Practices and Gaps](https://mlsanity.com/paper/2510.24142/) (2025)

## Abstract (arXiv)

Deployed machine learning (ML) models can degrade as the distribution of their input data shifts. Such shifts can result from changes in the population or from data integrity issues in the pipeline that materializes model features, two sources that operate through different mechanisms. Because labels are often absent or delayed, it is common practice to track shifts in the data instead, but a detected shift does not indicate how it affects the model. We formulate this problem as online model testing under distribution shift. Testing requires reproducing the shift on a controlled baseline with known labels. Since the same shift can come from either source, doing so requires knowing which mechanism changed. We propose a methodology that reproduces observed changes in both mechanisms to estimate current performance and the potential gain from repairing observed data integrity issues. Experiments on real-world datasets with simulated faults show that separating the two sources generally improves both estimates, supporting this formulation. A churn prediction case illustrates how these tests can support monitoring and repair prioritization
