Skip to main content
QUICK REVIEW

[Paper Review] A pruned dynamic programming algorithm to recover the best segmentations with $1$ to $K_{max}$ change-points

Guillem Rigaill|arXiv (Cornell University)|Apr 6, 2010
Advanced Causal Inference TechniquesMathematics69 citations
TL;DR

This paper introduces a pruned dynamic programming algorithm (pDPA) that efficiently recovers the best segmentations with 1 to $K_{\text{max}}$ change-points by using a functional cost representation to prune candidate segmentations. The method achieves worst-case complexity of $\mathcal{O}(K_{\text{max}}n^2)$, matching segment neighbourhood algorithms, but demonstrates sub-quadratic average-case performance—down to $\mathcal{O}(n\log n)$—for quadratic loss, even in the absence of true change-points, due to effective pruning.

ABSTRACT

A common computational problem in multiple change-point models is to recover the segmentations with $1$ to $K_{max}$ change-points of minimal cost with respect to some loss function. Here we present an algorithm to prune the set of candidate change-points which is based on a functional representation of the cost of segmentations. We study the worst case complexity of the algorithm when there is a unidimensional parameter per segment and demonstrate that it is at worst equivalent to the complexity of the segment neighbourhood algorithm: $\mathcal{O}(K_{max} n^2)$. For a particular loss function we demonstrate that pruning is on average efficient even if there are no change-points in the signal. Finally, we empirically study the performance of the algorithm in the case of the quadratic loss and show that it is faster than the segment neighbourhood algorithm.

Motivation & Objective

  • To address the computational bottleneck of exact multiple change-point detection in long signals, where standard dynamic programming methods scale quadratically with signal length $n$.
  • To develop a method that reduces runtime by pruning the set of candidate segmentations without sacrificing optimality.
  • To demonstrate that functional cost representation enables effective pruning even in the absence of true change-points, where traditional cost-based pruning fails.
  • To empirically validate that the pDPA outperforms segment neighbourhood algorithms in runtime for common loss functions like quadratic loss.

Proposed method

  • Represents segmentations via a functional cost, where the cost is expressed as a function of a multidimensional parameter per segment, enabling analytical pruning of suboptimal candidates.
  • Uses the functional cost to identify and discard segmentations that cannot be optimal for any parameter value, reducing the search space.
  • Applies dynamic programming with pruning: at each time step, maintains only the minimal-cost segmentations for relevant parameter ranges.
  • Employs a worst-case complexity analysis showing pDPA is no worse than $\mathcal{O}(K_{\text{max}}n^2)$, matching standard segment neighbourhood algorithms.
  • For a specific loss function (e.g., quadratic loss), proves that pruning is efficient on average even when no change-points exist, leading to $\mathcal{O}(n\log n)$ average complexity.
  • Empirically evaluates the algorithm on simulated and real SNP array data, measuring runtime and number of stored intervals to assess pruning efficiency.

Experimental results

Research questions

  • RQ1Can functional cost representation enable effective pruning of candidate segmentations in multiple change-point detection, even when no true change-points exist?
  • RQ2What is the worst-case computational complexity of the pruned dynamic programming algorithm (pDPA), and how does it compare to standard segment neighbourhood algorithms?
  • RQ3Does the pDPA achieve sub-quadratic average-case complexity for common loss functions like quadratic loss, particularly in the absence of change-points?
  • RQ4How efficiently does the pDPA prune the search space in practice, as measured by the number of stored intervals during computation?
  • RQ5Can the pDPA be practically faster than segment neighbourhood algorithms in real-world applications such as DNA copy number analysis?

Key findings

  • The pDPA has a worst-case time complexity of $\mathcal{O}(K_{\text{max}}n^2)$, matching that of segment neighbourhood algorithms, ensuring no degradation in theoretical performance.
  • For a specific loss function, the pDPA achieves an average-case complexity of $\mathcal{O}(n\log n)$, even when no change-points are present, due to effective functional pruning.
  • In empirical tests on SNP array data of length $1.8 \times 10^6$, the pDPA processed sequences in an average of 28 seconds, with a maximum of 33 seconds, significantly outperforming segment neighbourhood algorithms.
  • The number of intervals stored by the pDPA remained below 50 across all tested sequences, even for long signals, indicating highly effective pruning compared to the theoretical upper bound of $2n-1$.
  • The pDPA was confirmed to be faster than segment neighbourhood algorithms and competitive with PELT and other state-of-the-art methods in DNA copy number analysis.
  • Functional pruning was shown to be more effective than inequality-based pruning in theory, and the method is extensible to multidimensional parameters, though implementation challenges remain for high-dimensional cases.

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.