Lune

ICML2025Top-tier venue

Fast Min-ϵ Segmented Regression using Constant-Time Segment Merging

Ansgar Lößer, Max Schlecht, Florian Schintke, Joel Witzke, Matthias Weidlich, Björn Scheuermann

2025Year

Abstract

Segmented regression is a statistical method that approximates a function f by a piecewise function f using noisy data samples. Min-ϵ approaches aim to reduce the regression function's mean squared error (MSE) for a given number of k segments. An optimal solution for min-ϵ segmented regression is found in O(n 2 ) time (Bai & Perron, 1998; Yamamoto & Perron, 2013) for n samples. For large datasets, current heuristics improve time complexity to O(n log n) (Acharya et al., 2016) but can result in large errors, especially when exactly k segments are used. We present a method for min-ϵ segmented regression that combines the scalability of top existing heuristic solutions with a statistical efficiency similar to the optimal solution. This is achieved by using a new method to merge an initial set of segments using precomputed matrices from samples, allowing both merging and error calculation in constant time. Our approach, using the same samples and parameter k, produces segments with up to 1,000× lower MSE compared to Acharya et al. (2016) in about 100× less runtime on datasets over 10 4 samples.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext c2ae94f1-a08a-4271-99ef-6c4ae1d3d8c6

Builds on1

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines