Monitoring for Shifts at Unknown Times: Parameter-Free Conditional Conformal Martingales

Tuo Liu, Drew Prinster, Francesco Orabona
10/12/2026
stat.MLcs.LG

No confident code implementation found for this paper.

Abstract

Conditional conformal test martingales provide sequential tests for detecting distribution shifts, using a fixed reference dataset to avoid contamination from test-time samples. Prior work used a penalized betting function via online optimization with smoothing, clipping, and other hyperparameters, which can adapt slowly when a shift occurs after a long stationary period.

Show full abstract

In this work, we introduce an approach that requires no hyperparameters and provably adapts quickly to shifts occurring at unknown times. Our key idea is to frame the penalized betting problem as portfolio selection in a three-asset market. Then, we use a restarting universal portfolio, with a heavy-tailed wealth allocation over time. We establish anytime false-alarm control and derive optimal finite-sample bounds on detection delay under detectable alternatives. We also develop an FFT-based implementation that computes the portfolio sequence over $T$ rounds in $\mathcal{O}(T^2\ln T)$ time, instead of $\mathcal{O}(T^3)$ of the naive implementation. Synthetic and real-world experiments suggest that the proposed approach adapts rapidly after long periods of null samples, with detection delays depending substantially less on shift time than prior baselines.

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{liu2026monitoring,
  title  = {Monitoring for Shifts at Unknown Times: Parameter-Free Conditional Conformal Martingales},
  author = {Tuo Liu and Drew Prinster and Francesco Orabona},
  year   = {2026},
  eprint = {2610.17343},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.17343v1}
}

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.17343.svg)](https://codeofpaper.com/paper/2610.17343)

Discussion