Skip to main content
QUICK REVIEW

[Paper Review] Pruned dynamic programming for optimal multiple change-point detection

Guillem Rigaill|arXiv (Cornell University)|Apr 6, 2010
Statistical Methods and InferenceMathematics6 references78 citations
TL;DR

This paper proposes a pruned dynamic programming algorithm for optimal multiple change-point detection that maintains the same worst-case time complexity of O(Kn²) and space complexity of O(Kn) as the classical DP method, while drastically reducing runtime in practice. The method enables processing of up to a million data points in minutes—compared to days with the classical approach—by pruning unnecessary computations without sacrificing optimality, and extends naturally to other convex losses and online settings.

ABSTRACT

Multiple change-point detection models assume that the observed data is a realization of an independent random process affected by K-1 abrupt changes, called change-points, at some unknown positions. For off-line detection a dynamic programming (DP) algorithm retrieves the K-1 change-points minimizing the quadratic loss and reduces the complexity from \Theta(n^K) to \Theta(Kn^2) where n is the number of observations. The quadratic complexity in n still restricts the use of such an algorithm to small or intermediate values of n. We propose a pruned DP algorithm that recovers the optimal solution. We demonstrate that at worst the complexity is in O(Kn^2) time and O(Kn) space and is therefore at worst equivalent to the classical DP algorithm. We show empirically that the run-time of our proposed algorithm is drastically reduced compared to the classical DP algorithm. More precisely, our algorithm is able to process a million points in a matter of minutes compared to several days with the classical DP algorithm. Moreover, the principle of the proposed algorithm can be extended to other convex losses (for example the Poisson loss) and as the algorithm process one observation after the other it could be adapted for on-line problems.

Motivation & Objective

  • To address the high computational cost of classical dynamic programming for multiple change-point detection in large datasets.
  • To develop a pruning strategy that maintains optimality while significantly reducing runtime in practice.
  • To extend the applicability of dynamic programming to larger-scale data by reducing time complexity without increasing worst-case bounds.
  • To enable the method's extension to other convex loss functions such as Poisson loss.
  • To adapt the algorithm for online change-point detection by processing observations sequentially.

Proposed method

  • The algorithm applies dynamic programming to minimize quadratic loss over K-1 change-points, but introduces pruning to eliminate non-promising states during computation.
  • Pruning is based on bounding the cost of future paths, discarding states that cannot lead to an optimal solution.
  • The pruning condition ensures that the optimal solution is preserved, maintaining correctness while reducing search space.
  • The algorithm processes observations sequentially, enabling potential adaptation to online detection.
  • The method is formally extended to other convex loss functions, such as Poisson loss, via similar dynamic programming and pruning principles.
  • Theoretical analysis shows worst-case time complexity remains O(Kn²) and space O(Kn), matching classical DP.

Experimental results

Research questions

  • RQ1Can dynamic programming for multiple change-point detection be made significantly faster in practice without sacrificing optimality?
  • RQ2What pruning strategy can be applied to reduce computation time while preserving the optimal solution?
  • RQ3How does the proposed method scale with large datasets, such as n = 1 million observations?
  • RQ4Can the algorithm be extended to other convex loss functions beyond quadratic loss?
  • RQ5Is the algorithm suitable for online change-point detection due to its sequential processing nature?

Key findings

  • The pruned dynamic programming algorithm achieves a drastic reduction in runtime compared to classical DP, processing a million data points in minutes instead of days.
  • The worst-case time and space complexity remain O(Kn²) and O(Kn), respectively, matching the classical DP algorithm.
  • The algorithm maintains optimality by ensuring that pruned states cannot lead to better solutions than those retained.
  • Empirical results show significant speedups in practice, even though theoretical bounds are unchanged.
  • The method is extendable to other convex losses, such as Poisson loss, through similar dynamic programming and pruning frameworks.
  • The sequential nature of the algorithm allows for potential adaptation to online change-point detection scenarios.

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.