Offline changepoint localization using a matrix of conformal p-values
Sanjit Dandapanthula, Aaditya Ramdas
TL;DR
The paper tackles offline changepoint localization by constructing a finite-sample valid confidence set for the changepoint index $\xi$ under exchangeability of the pre-change and post-change distributions. It introduces the MCP algorithm, which builds a matrix of conformal p-values using score functions and a conformal Neyman-Pearson lemma to produce left/right p-values and a unified test p-value $p_t$, enabling Neyman inversion to form $\mathcal{C}_{1-\alpha}$. The authors prove finite-sample coverage guarantees and demonstrate narrow confidence sets across MNIST, SST-2, HAR, and CIFAR-100, including challenging high-dimensional changes and even when the change is subtle. The approach supports learning the score function from data (e.g., via classifiers) and applies to diverse data modalities, offering a practical, assumption-light tool for reliable changepoint localization in complex settings.
Abstract
Changepoint localization is the problem of estimating the index at which a change occurred in the data generating distribution of an ordered list of data, or declaring that no change occurred. We present the broadly applicable MCP algorithm, which uses a matrix of conformal p-values to produce a confidence interval for a (single) changepoint under the mild assumption that the pre-change and post-change distributions are each exchangeable. We prove a novel conformal Neyman-Pearson lemma, motivating practical classifier-based choices for our conformal score function. Finally, we exemplify the MCP algorithm on a variety of synthetic and real-world datasets, including using black-box pre-trained classifiers to detect changes in sequences of images, text, and accelerometer data.
