Linear-Time Segmented Regression
Anonymous authors
ICLR 2027
TL;DR. We present a novel linear-time algorithm for min-$\epsilon$~segmented regression based on a greedy splitting and fine-tuning of segments.
Abstract. We present a linear-time algorithm for min-~segmented regression, which fits a piecewise-linear function with a prescribed number of segments to a given dataset while minimizing the residual sum of squares. Such learning settings arise in many applications, including the general compression of time series data, the detection of economic indicators, or the identification of abrupt shifts in climate data. Exact solutions can be obtained via dynamic programming. However, the runtime scales quadratically with the dataset size. Recently, a greedy approach based on merging and subsequently fine-tuning segments has been proposed, which achieves a log-linear runtime in the number of data points. In this work, we propose an approach based on a greedy splitting and fine-tuning of segments, which exhibits a linear runtime with respect to the dataset size. In our experiments, we assess the runtime behavior and the achieved quality of our scheme and compare the results with dynamic programming and the recently proposed greedy approach, using both synthetic and real-world data. Our results indicate that our method scales linearly in practice, runs faster than the competing heuristic, and matches the exact solutions more often than the other approximation scheme.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 26 Nov 2026, 01:32 UTC.
- Rating
- 3/4
- Confidence
- 3/4
- Soundness
- 3/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
Strengths
The proposed heuristic seems to beat the state-of-the-art algorithms in practice.
Weaknesses
The overall idea is not very sophisticated. It simply does top-down greedy splitting instead of merging and uses existing fine-tuning. I am not sure whether this is interesting enough for ICLR.
Questions for the authors
I am confused by your definition of piecewise-linear function, especially your examples and Figure 2. How can arbitrary polynomials be piecewise-linear? It seems like our definition differs from the one common in the literature.
Do you have any explanation why your splitting approach is beneficial over merging (both regarding runtime and solution quality)?
- Rating
- 3/4(+1)
- Confidence
- 2/4(−1)
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes Split+FT, a heuristic algorithm for segmented regression that combines greedy splitting with iterative local breakpoint refinement. The method achieves a time complexity of , which is linear in the number of data points for fixed input dimension and number of segments . Experiments on synthetic and real-world datasets demonstrate improved computational efficiency and approximation quality compared with a recent greedy merging baseline.
Strengths
- The paper is clearly written, and the proposed algorithm is simple and easy to follow.
- The computational complexity is well analyzed, demonstrating the algorithm's linear scalability with respect to the dataset size for fixed and .
Weaknesses
1.The proposed method combines classical greedy splitting with the local breakpoint refinement procedure introduced by Lößer et al. (2025). While the resulting algorithm is computationally efficient, the methodological novelty beyond combining existing techniques is limited.
2.The combination of greedy selection and local breakpoint estimation is conceptually related to prior change-point detection methods, such as Wu et al. (2024). Although the problem formulations differ, the authors should better clarify the methodological distinctions and position their contribution within the broader literature on change-point detection and segmentation.
Wu, Daoping, et al. "Unsupervised Change Point Detection in Multivariate Time Series." International Conference on Artificial Intelligence and Statistics. PMLR, 2024.
Questions for the authors
see above
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 3/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
The paper proposes Greedy Splitting and Fine-Tune (SPLIT+FT) for segmented regression. Given a number k, the goal is to find k segments while minimizing residual sum of squares when doing least square regression on these segments. The algorithm repeatedly inserts the breakpoint that most reduces error (SPLIT), then locally adjusts existing breakpoints (FT). In contrast with greedy merging + FT in the literature which has runtime and memory , the proposed algorithm has runtime and memory . The runtime is improved in the regime where the number of data points . Experiments show faster execution and more frequent agreement with exact dynamic programming than greedy merging+FT.
Strengths
- The main strength of the paper is in the simplicity of the algorithm. The algorithm can scale to a large number of datapoints on low dimensional datasets
- Empirically, the algorithm shows promising results and stronger than the baseline of the merging based algorithm.
Weaknesses
There are a few weaknesses.
- The algorithm is a heuristic with no approximation guarantee. The novelty also appears limited: it simply replaces the merging procedure with a splitting procedure and combines with the FT step which already exists.
- The algorithm only has advantages against prior work when the number of datapoints is exponential in terms of which can be very large when grows. The memory requirement is also worse by a factor .
- Empirically evaluation is quite narrow, only one real-world dataset (although I'm not sure whether how many benchmark datasets for segmented regression exists, Lößer et al, 2025 use the same dataset).
Questions for the authors
How does your algorithm compare with greedy splitting followed by a single final fine-tuning step at the end, in both accuracy, runtime and performance?
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
The paper studies the problem of min-ϵ segmented regression. Given N datapoints from Rd and a number k, the goal is to find a piecewise-linear function with at most k segments which minimizes the residual sum of squares. The problem is solvable by dynamic programming in O(N2) time and a recently proposed heuristic from ICML 25 solves it in O(NlogN) time. This paper proposes an O(Nd2)-time heuristic SPLIT+FIT based on greedy splitting into segments and fine-tuning. The fine-tuning step is the same as proposed in the ICML 25 paper. The only difference is the greedy splitting step (instead of greedy merging). The authors provide experiments on synthetic and real-world data comparing their approach with the DP and the Merge+Fit algorithms. Their algorithm finds close to optimal solutions within a considerable shorter time.
The results look decent and the presentation is adequate (but could be improved).