Testing For Distribution Shifts with Conditional Conformal Test Martingales
Not on the map. Why?
Abstract (arXiv)
We propose a sequential test for detecting arbitrary distribution shifts that allows conformal test martingales (CTMs) to work under a fixed, reference-conditional setting. Existing CTM detectors construct test martingales by continually growing a reference set with each incoming sample, using it to assess how atypical the new sample is relative to past observations. While this design yields anytime-valid type-I error control, it suffers from test-time contamination: after a change, post-shift observations enter the reference set and dilute the evidence for distribution shift, increasing detection delay and reducing power. In contrast, our method avoids contamination by design by comparing each new sample to a fixed null reference dataset. Our main technical contribution is a robust martingale construction that remains valid conditional on the null reference data, achieved by explicitly accounting for the estimation error in the reference distribution induced by the finite reference set. This yields anytime-valid type-I error control together with guarantees of asymptotic power one and bounded expected detection delay. Empirically, our method detects shifts faster than standard CTMs, providing a powerful and reliable distribution-shift detector.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 33 of its 48 references that are in the map. First posted on arXiv 14 Feb 2026.
Builds on
33 of 48 references.
References · 33
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2019Introduction to Online Convex Optimizationcited by 793
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 731
- 2023Prediction-Powered Inferencecited by 214
- 2020Estimating means of bounded random variables by bettingcited by 164
- 2022Game-theoretic statistics and safe anytime-valid inferencecited by 145
- 2021Testing for Outliers with Conformal p-valuescited by 133
- 2018Black-Box Reductions for Parameter-free Online Learning in Banach Spacescited by 124
- 2021There are natural scores: Full comment on Shafer, "Testing by betting: A strategy for statistical and scientific communication"cited by 49
- 2019Universal Inferencecited by 43
- 2021Tracking the risk of a deployed model and detecting harmful distribution shiftscited by 38
21 more
- 2021Nonparametric Two-Sample Testing by Bettingcited by 36
- 2019Testing randomnesscited by 32
- 2021Testing exchangeability: fork-convexity, supermartingales, and e-processescited by 29
- 2021Retrain or not retrain: Conformal test martingales for change-point detectioncited by 28
- 2022E-detectors: a nonparametric framework for sequential change detectioncited by 27
- 2023Auditing Fairness by Bettingcited by 24
- 2024Protected Test-Time Adaptation via Online Entropy Matching: A Betting Approachcited by 22
- 2023Sequential Predictive Two-Sample and Independence Testingcited by 20
- 2017Inductive Conformal Martingales for Change-Point Detectioncited by 17
- 2020Testing for concept shift onlinecited by 14
- 2022Model-X Sequential Testing for Conditional Independence via Testing by Bettingcited by 14
- 2025E-valuator: Reliable Agent Verifiers with Sequential Hypothesis Testingcited by 14
- 2025WATCH: Adaptive Monitoring for AI Deployments via Weighted-Conformal Martingalescited by 13
- 2024Online Detection of LLM-Generated Texts via Sequential Hypothesis Testing by Bettingcited by 11
- 2025Monitoring Risks in Test-Time Adaptationcited by 10
- 2025Synthetic-Powered Predictive Inferencecited by 9
- 2025On Continuous Monitoring of Risk Violations under Unknown Shiftcited by 9
- 2024On the optimality of coin-betting for mean estimationcited by 7
- 2025Anytime-valid, Bayes-assisted, Prediction-Powered Inferencecited by 7
- 2024Sequential Monte-Carlo testing by bettingcited by 4
- 2025From Individual Experience to Collective Evidence: A Reporting-Based Framework for Identifying Systemic Harmscited by 3
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Distribution-free changepoint localization after sequential change detectioncited by 3
- 2026Certified Adaptive Refresh: Anytime-Valid Monitoring for Federated Conformal RAGcited by 1
- 2026The Price of Self-Calibration: Exact Evidence Budgets and Manufactured Blind Sets in Adaptive Monitoringcited by 0
- 2026The Price of Self-Calibration: Exact Evidence Budgets and Manufactured Blind Sets in Adaptive Monitoring19 Sep 2026
- 2026Distribution-free changepoint localization after sequential change detection31 May 2026
- 2026Certified Adaptive Refresh: Anytime-Valid Monitoring for Federated Conformal RAG27 May 2026