Lune

ICML2026Top-tier venue

Testing For Distribution Shifts with Conditional Conformal Test Martingales

Shalev Shaer, Yarin Bar, Drew Prinster, Yaniv Romano

Abstract

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 anytimevalid 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Protected Test-Time Adaptation via Online Entropy Matching: A Betting Approach cites Sequential Predictive Two-Sample and Independence Testing
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on10

  1. Tracking the risk of a deployed model and detecting harmful distribution shiftsAleksandr Podkopaev, Aaditya RamdasICLR 2022 · 36 citations
  2. Sequential Predictive Two-Sample and Independence TestingAleksandr Podkopaev, Aaditya RamdasNeurIPS 2023 · 29 citations
  3. Auditing Fairness by BettingBen Chugg, Santiago Cortes-Gomez, Bryan Wilder, Aaditya RamdasNeurIPS 2023 · 29 citations
  4. Protected Test-Time Adaptation via Online Entropy Matching: A Betting ApproachYarin Bar, Shalev Shaer, Yaniv RomanoNeurIPS 2024 · 27 citations
  5. Synthetic-powered predictive inferenceMeshi Bashari, Roy Maor Lotan, Yonghoon Lee, Edgar Dobriban et al.NeurIPS 2025 · 12 citations

Related papers

  1. WATCH: Adaptive Monitoring for AI Deployments via Weighted-Conformal MartingalesDrew Prinster, Xing Han, Anqi Liu, Suchi SariaICML 2025
  2. A nonparametric method for gradual change problems with statistical guaranteesLizhen Nie, Dan NicolaeNeurIPS 2021
  3. Detecting Rewards Deterioration in Episodic Reinforcement LearningIdo Greenberg, Shie MannorICML 2021 · 15 citations
  4. Sequential Changepoint Detection via Backward Confidence SequencesShubhanshu Shekhar, Aaditya RamdasICML 2023 · 16 citations
  5. Reducing sequential change detection to sequential estimationShubhanshu Shekhar, Aaditya RamdasICML 2024 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines