Anytime-Valid Distribution Shift Detection via Predictive Rank Martingales
Qi Kuang, Yin Xia
Abstract
Many sequential distribution shift detectors update a growing reference set with incoming observations. After a change, this update contaminates the reference set with post-change observations and can weaken subsequent evidence. Keeping the calibration sample fixed mitigates this contamination, but repeated reuse induces dependence among fixed-reference ranks, so arguments based on independent conformal \(p\)-values do not apply. We derive the exact conditional null distribution of the next rank given the preceding ranks and use it to construct a predictive rank martingale (PRM). Thresholding a PRM gives distribution-free, finite-sample anytime marginal type I error control. To target specific departures, we apply a pre-specified feature to each rank, center the resulting payoff under the predictive null law, and use Online Newton Step (ONS) to adapt the bet. Order and dispersion features target directional and center-versus-tail changes, respectively. For any Lipschitz feature with nonzero induced contrast under the alternative, we establish a finite-window detection guarantee and show that the test is consistent as the initial calibration size increases. At a fixed calibration size, however, we derive a power ceiling for every distribution-free detection procedure. Across synthetic and real data, our PRM methods achieve better detection performance than conditional conformal test martingale (CCTM).
Create a lesson
Related papers
Statistical Inference for Probability Barycenters and Kolmogorov Moments
Manuela-Simona Cojocea
Non-Invariance in Nested Prediction Models under Selective Predictor Availability
Marc Delord
Quantum mutual information statistics for detecting dependence-structure change points in time series
Jiwon Kang, Yun Am Seo
Off-policy causal estimation in networks
Sahil Loomba, Dean Eckles
Reconciling Interpretability with Covariate-Dependent Shape Flexibility in Penalized Transformation Models for Distributional Regression
Johannes Brachem, Thomas Kneib
Detecting Early and Late Divergences in Survival Curves Using Nonparametric Effect Measures
Patrick B. Langthaler, Jun Ma, Jonas Beck