Finite Sample Complexity Analysis of Binary Segmentation
Toby Dylan Hocking
Université de Sherbrooke
Key points
From the paper's conclusion- In this paper we describe new methods for analyzing the time and space complexity of binary segmentation for a given finite N, K, and minimum segment length parameter.
Abstract
Binary segmentation is the classic greedy algorithm which recursively splits a sequential data set by optimizing some loss or likelihood function. Binary segmentation is widely used for changepoint detection in data sets measured over space or time, and as a sub-routine for decision tree learning. In theory it should be extremely fast for N data and K splits, O(NK) in the worst case, and O(NlogK) in the best case. In this paper we describe new methods for analyzing the time and space complexity of binary segmentation for a given finite N, K, and minimum segment length parameter. First, we describe algorithms that can be used to compute the best and worst case number of splits the algorithm must consider. Second, we describe synthetic data that achieve the best and worst case and which can be used to test for correct implementation of the algorithm. Finally, we provide an empirical analysis of real data which suggests that binary segmentation is often close to optimal speed in practice.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Fast Multiple Change-Point Detection Method via Generalized Nearly Isotonic Optimization.Entropy (Basel, Switzerland) · 2026
- QuickSeg: A fast, versatile and accurate algorithm for genomic copy number segmentation using dynamic programmingbioRxiv · 2026
- TSB-SEG: A Systematic Time-Series Segmentation BenchmarkarXiv · 2026
- LASSO Estimation of Structural Break Models via Cross‐ValidationStat · 2026
- Pruning DNA SequencearXiv · 2026
- RPriori: A Divide‐and‐Conquer Frequent Itemset Mining Algorithm With Improved Time‐Space Efficiency on Large Transactional DataComplexity · 2026