Online jump and kink detection in segmented linear regression: Statistical optimality meets computational efficiency

Authors

Hüselitz A, Li H, Munk A

Journal

Arxiv

Citation

arXiv:2503.05270.

Abstract

We consider the problem of sequential (online) estimation of a single change point in a piecewise linear regression model under a Gaussian setup. We demonstrate that certain CUSUM-type statistics attain the minimax optimal rates for localizing the change point. Our minimax analysis unveils an interesting phase transition from a jump (discontinuity in function values) to a kink (a change in slope). Specifically, for a jump, the minimax rate is of order log(n)/n , whereas for a kink it scales as (log(n)/n)1/3, given that the sampling rate is of order 1/n. We further introduce an online algorithm based on these detectors, which optimally identifies both a jump and a kink, and is able to distinguish between them. Notably, the algorithm operates with constant computational complexity and requires only constant memory per incoming sample. Finally, we evaluate the empirical performance of our method on both simulated and real-world data sets. An implementation is available in the R package FLOC on GitHub.

DOI

10.48550/ARXIV.2503.05270