Counterfactual Model Testing Under Distribution Shift

Joran Leest, Ilias Gerostathopoulos, Claudia Raibulet, Patricia Lago
10/24/2026
cs.AIcs.LG

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{leest2026counterfactual,
  title  = {Counterfactual Model Testing Under Distribution Shift},
  author = {Joran Leest and Ilias Gerostathopoulos and Claudia Raibulet and Patricia Lago},
  year   = {2026},
  eprint = {2610.33594},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.33594v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.33594.svg)](https://codeofpaper.com/paper/2610.33594)

Discussion