Fast Min-ϵ Segmented Regression using Constant-Time Segment Merging
Ansgar Lößer, Max Schlecht, Florian Schintke, Joel Witzke, Matthias Weidlich, Björn Scheuermann
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c2ae94f1-a08a-4271-99ef-6c4ae1d3d8c6Builds on1
Related papers
- Piecewise Constant and Linear Regression Trees: An Optimal Dynamic Programming ApproachMim van den Bos, Jacobus G. M. van der Linden, Emir DemirovicICML 2024 · 6 citations
- Sim-Piece: Highly Accurate Piecewise Linear Approximation through Similar Segment MergingXenophon Kitsios, Panagiotis Liakos, Katia Papakonstantinopoulou, Yannis KotidisVLDB 2023 · 20 citations
- Piecewise Linear Regression via a Difference of Convex FunctionsAli Siahkamari, Aditya Gangrade, Brian Kulis, Venkatesh SaligramaICML 2020 · 21 citations
- SURF: A Simple, Universal, Robust, Fast Distribution Learning AlgorithmYi Hao, Ayush Jain, Alon Orlitsky, Vaishakh RavindrakumarNeurIPS 2020 · 6 citations
- Efficient Truncated Linear Regression with Unknown Noise VarianceConstantinos Daskalakis, Patroklos Stefanou, Rui Yao, Emmanouil ZampetakisNeurIPS 2021 · 15 citations
