English

Ms.FPOP: An Exact and Fast Segmentation Algorithm With a Multiscale Penalty

Methodology 2023-03-16 v1

Abstract

Given a time series in RnR^n with a piecewise constant mean and independent noises, we propose an exact dynamic programming algorithm to minimize a least square criterion with a multiscale penalty promoting well-spread changepoints. Such a penalty has been proposed in Verzelen et al. (2020), and it achieves optimal rates for changepoint detection and changepoint localization. Our proposed algorithm, named Ms.FPOP, extends functional pruning ideas of Rigaill (2015) and Maidstone et al. (2017) to multiscale penalties. For large signals, n105n \geq 10^5, with relatively few real changepoints, Ms.FPOP is typically quasi-linear and an order of magnitude faster than PELT. We propose an efficient C++ implementation interfaced with R of Ms.FPOP allowing to segment a profile of up to n=106n = 10^6 in a matter of seconds. Finally, we illustrate on simple simulations that for large enough profiles (n104n \geq 10^4) Ms.FPOP using the multiscale penalty of Verzelen et al. (2020) is typically more powerfull than FPOP using the classical BIC penalty of Yao (1989).

Cite

@article{arxiv.2303.08723,
  title  = {Ms.FPOP: An Exact and Fast Segmentation Algorithm With a Multiscale Penalty},
  author = {Arnaud Liehrmann and Guillem Rigaill},
  journal= {arXiv preprint arXiv:2303.08723},
  year   = {2023}
}

Comments

38 pages, 17 figures

R2 v1 2026-06-28T09:18:47.509Z