Skip to main content
QUICK REVIEW

[Paper Review] A computationally efficient nonparametric approach for changepoint detection

Kaylea Haynes, Paul Fearnhead|arXiv (Cornell University)|Feb 3, 2016
Heart Rate Variability and Autonomic ControlMedicine30 references5 citations
TL;DR

This paper proposes NP-PELT, a computationally efficient nonparametric changepoint detection method that reduces segment cost calculation from O(n) to O(log n) and uses the PELT dynamic programming algorithm for exact segmentation with near-linear computational cost. It outperforms the screened approach of Zou et al. (2014) in accuracy and enables robust detection of meaningful physiological phases in heart rate data from activity tracking.

ABSTRACT

In this paper we build on an approach proposed by Zou et al. (2014) for nonpara- metric changepoint detection. This approach defines the best segmentation for a data set as the one which minimises a penalised cost function, with the cost function defined in term of minus a non-parametric log-likelihood for data within each segment. Min- imising this cost function is possible using dynamic programming, but their algorithm had a computational cost that is cubic in the length of the data set. To speed up computation, Zou et al. (2014) resorted to a screening procedure which means that the estimated segmentation is no longer guaranteed to be the global minimum of the cost function. We show that the screening procedure adversely affects the accuracy of the changepoint detection method, and show how a faster dynamic programming algorithm, Pruned Exact Linear Time, PELT (Killick et al., 2012), can be used to find the optimal segmentation with a computational cost that can be close to linear in the amount of data. PELT requires a penalty to avoid under/over-fitting the model which can have a detrimental effect on the quality of the detected changepoints. To overcome this issue we use a relatively new method, Changepoints Over a Range of PenaltieS (CROPS) (Haynes et al., 2015), which finds all of the optimal segmentations for multiple penalty values over a continuous range. We apply our method to detect changes in heart rate during physical activity.

Motivation & Objective

  • To develop a faster and more accurate alternative to the screened nonparametric changepoint detection method of Zou et al. (2014), which sacrifices optimality for speed.
  • To eliminate the need for heuristic screening steps that compromise segmentation accuracy in nonparametric changepoint detection.
  • To apply a computationally efficient method to real-world heart rate data from physical activity to detect biologically meaningful segments.
  • To demonstrate that nonparametric changepoint detection can effectively identify distinct physiological phases in activity tracking data.

Proposed method

  • Simplifies the nonparametric segment cost function to reduce computation from O(n) to O(log n) per segment using empirical distribution-based likelihood.
  • Employs the PELT (Pruned Exact Linear Time) dynamic programming algorithm to find the globally optimal segmentation with near-linear computational cost in data length n.
  • Integrates the CROPS (Changepoints Over a Range of PenaltieS) algorithm to explore optimal segmentations across a continuous range of penalty values, avoiding sensitivity to single penalty choices.
  • Uses a penalized cost function where the cost of a segmentation is the sum of segment costs minus a penalty for each changepoint, minimizing this to find the best segmentation.
  • Applies the method to heart rate data from a run, with segment colors indicating physiological zones (e.g., peak, anaerobic, aerobic, recovery) for interpretability.
  • Compares NP-PELT to a parametric piecewise linear model using PELT with a normal likelihood, assessing segmentation quality via visual and physiological plausibility.

Experimental results

Research questions

  • RQ1Can a nonparametric changepoint detection method be made computationally efficient without sacrificing accuracy?
  • RQ2How does the performance of the PELT algorithm compare to the screened approach of Zou et al. (2014) in terms of segmentation accuracy?
  • RQ3Can NP-PELT detect physiologically meaningful phases in heart rate data from a running activity?
  • RQ4How does the use of CROPS improve robustness to penalty selection in nonparametric changepoint detection?
  • RQ5Does nonparametric changepoint detection outperform parametric models (e.g., piecewise linear) in segmenting heart rate data into biologically interpretable regimes?

Key findings

  • NP-PELT reduces segment cost computation from O(n) to O(log n), significantly improving computational efficiency over the original Zou et al. (2014) method.
  • The screening procedure used in Zou et al. (2014) compromises segmentation accuracy, as shown by the paper’s empirical comparison with NP-PELT.
  • NP-PELT achieves near-linear computational cost with PELT, making it scalable to large datasets with increasing numbers of changepoints.
  • The method successfully segments heart rate data into distinct physiological phases—such as warm-up, peak effort, recovery—matching observed changes in speed and elevation.
  • CROPS enables exploration of multiple optimal segmentations across a penalty range, improving robustness and reducing sensitivity to penalty choice.
  • Compared to a parametric piecewise linear model, NP-PELT detects more physiologically coherent segments, particularly those corresponding to changes in elevation and intensity, while the parametric model fails to capture key shifts in average heart rate.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.