[Paper Review] Fast Online Changepoint Detection via Functional Pruning CUSUM statistics
The paper introduces FOCuS, an online changepoint detection algorithm that runs for all window sizes simultaneously with amortized constant per-iteration cost, achieving logarithmic cost growth and enabling real-time detection even on large data streams.
Many modern applications of online changepoint detection require the ability to process high-frequency observations, sometimes with limited available computational resources. Online algorithms for detecting a change in mean often involve using a moving window, or specifying the expected size of change. Such choices affect which changes the algorithms have most power to detect. We introduce an algorithm, Functional Online CuSUM (FOCuS), which is equivalent to running these earlier methods simultaneously for all sizes of window, or all possible values for the size of change. Our theoretical results give tight bounds on the expected computational cost per iteration of FOCuS, with this being logarithmic in the number of observations. We show how FOCuS can be applied to a number of different change in mean scenarios, and demonstrate its practical utility through its state-of-the art performance at detecting anomalous behaviour in computer server data.
Motivation & Objective
- Motivate online changepoint detection for high-frequency data under limited computational resources.
- Develop an algorithm that integrates all window-size tests (or post-change means) efficiently.
- Establish theoretical bounds on the average computational cost per iteration.
- Demonstrate practical performance on real-time server data and outlier scenarios.
Proposed method
- Formulate online change-in-mean testing as maximizing a Page-CUSUM/MOSUM equivalent across all post-change means.
- Develop FOCuS which updates a piecewise quadratic function Qn(μ) recursively.
- Represent Qn(μ) as a set of quadratics active on intervals, enabling efficient max-aggregation.
- Prove amortized O(1) per-iteration cost for updating Qn(μ) and O(log n) to maximize it.
- Provide exact and approximate online implementations with tunable accuracy/complexity.
- Show extensions to unknown pre-change mean and outlier-robust settings.
Experimental results
Research questions
- RQ1Can FOCuS achieve constant amortized computational cost per iteration while evaluating all possible change magnitudes?
- RQ2How does the known vs unknown pre-change mean setting affect the online detection procedure and computational cost?
- RQ3What are the theoretical and empirical performance characteristics (speed and detection ability) of FOCuS on high-frequency data?
- RQ4How does FOCuS handle outliers and robustness in online change detection?
- RQ5How does FOCuS perform in real-world monitoring tasks (e.g., AWS CloudWatch server data) compared with existing methods?
Key findings
- FOCuS achieves amortized constant time per iteration and logarithmic average cost in the number of observations.
- The maximum of Qn(μ) equals half the squared Page-CUSUM or equivalently the square of the MOSUM statistic, linking FOCuS to existing approaches.
- FOCuS0 (known pre-change mean) has an O(1) amortized update and O(log n) maximization cost, with linear overall worst-case bound.
- An exact implementation for unknown pre-change mean inherits the logarithmic per-iteration cost while remaining exact.
- An approximate, online-friendly variant can cap the number of quadratics processed per iteration with minimal loss in performance.
- The method enables processing of up to one million observations in under a second on a standard PC, and it applies to outlier-robust extensions and multi-stream scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.