Fast Exact k-Means, k-Medians and Bregman Divergence Clustering in 1D
Not on the map. Why?
Abstract (arXiv)
The k-Means clustering problem on n points is NP-Hard for any dimension d≥ 2, however, for the 1D case there exists exact polynomial time algorithms. Previous literature reported an O(kn2) time dynamic programming algorithm that uses O(kn) space. It turns out that the problem has been considered under a different name more than twenty years ago. We present all the existing work that had been overlooked and compare the various solutions theoretically. Moreover, we show how to reduce the space usage for some of them, as well as generalize them to data structures that can quickly report an optimal k-Means clustering for any k. Finally we also generalize all the algorithms to work for the absolute distance and to work for any Bregman Divergence. We complement our theoretical contributions by experiments that compare the practical performance of the various algorithms.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). First posted on arXiv 25 Jan 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 1; 2024: 3; 2025: 4; 2026: 2.
13 papers.
Sort:
By area:
- 2021DRIVE: One-bit Distributed Mean Estimationcited by 52
- 2025GuidedQuant: Large Language Model Quantization via Exploiting End Loss Guidancecited by 28
- 2023MRI Scan Synthesis Methods based on Clustering and Pix2Pixcited by 6
- 2021Dynamic programming by polymorphic semiring algebraic shortcut fusioncited by 2
- 2024Log-Time K-Means Clustering for 1D Data: Novel Approaches with Proof and Implementationcited by 2
- 2022Features for the 0-1 knapsack problem based on inclusionwise maximal solutionscited by 1
- 2025PASCAL: Precise and Efficient ANN- SNN Conversion using Spike Accumulation and Adaptive Layerwise Activationcited by 1
- 2025Modified K-means Algorithm with Local Optimality Guaranteescited by 1
- 2024Mobile Fitting Room: On-device Virtual Try-on via Diffusion Modelscited by 0
- 2024Distributed and Rate-Adaptive Feature Compressioncited by 0
- 2025SineLoRADelta: Sine-Activated Delta Compressioncited by 0
- 2026Metric Hedonic Games on the Linecited by 0
- 2026Inner Product Aware Quantization: Provably Fast, Accurate, and Adaptive Algorithms29 May 2026
- 2026Metric Hedonic Games on the Line5 Feb 2026
- 2025Modified K-means Algorithm with Local Optimality Guarantees8 Jun 2025
- 2025SineLoRADelta: Sine-Activated Delta Compression28 May 2025
- 2025GuidedQuant: Large Language Model Quantization via Exploiting End Loss Guidance11 May 2025
- 2025PASCAL: Precise and Efficient ANN- SNN Conversion using Spike Accumulation and Adaptive Layerwise Activation3 May 2025
- 2024Log-Time K-Means Clustering for 1D Data: Novel Approaches with Proof and Implementation19 Dec 2024
- 2024Distributed and Rate-Adaptive Feature Compression2 Apr 2024
- 2024Mobile Fitting Room: On-device Virtual Try-on via Diffusion Models2 Feb 2024
- 2023MRI Scan Synthesis Methods based on Clustering and Pix2Pix8 Dec 2023
- 2022Features for the 0-1 knapsack problem based on inclusionwise maximal solutions16 Nov 2022
- 2021Dynamic programming by polymorphic semiring algebraic shortcut fusion5 Jul 2021
1 more
- 2021DRIVE: One-bit Distributed Mean Estimation18 May 2021
- 2021DRIVE: One-bit Distributed Mean Estimationcited by 52
- 2025GuidedQuant: Large Language Model Quantization via Exploiting End Loss Guidancecited by 28
- 2023MRI Scan Synthesis Methods based on Clustering and Pix2Pixcited by 6
- 2021Dynamic programming by polymorphic semiring algebraic shortcut fusioncited by 2
- 2024Log-Time K-Means Clustering for 1D Data: Novel Approaches with Proof and Implementationcited by 2
- 2022Features for the 0-1 knapsack problem based on inclusionwise maximal solutionscited by 1
- 2025PASCAL: Precise and Efficient ANN- SNN Conversion using Spike Accumulation and Adaptive Layerwise Activationcited by 1
- 2025Modified K-means Algorithm with Local Optimality Guaranteescited by 1
- 2024Distributed and Rate-Adaptive Feature Compressioncited by 0
- 2025SineLoRADelta: Sine-Activated Delta Compressioncited by 0
- 2026Metric Hedonic Games on the Linecited by 0
- 2026Inner Product Aware Quantization: Provably Fast, Accurate, and Adaptive Algorithmscited by 0
- 2026Inner Product Aware Quantization: Provably Fast, Accurate, and Adaptive Algorithms29 May 2026
- 2026Metric Hedonic Games on the Line5 Feb 2026
- 2025Modified K-means Algorithm with Local Optimality Guarantees8 Jun 2025
- 2025SineLoRADelta: Sine-Activated Delta Compression28 May 2025
- 2025GuidedQuant: Large Language Model Quantization via Exploiting End Loss Guidance11 May 2025
- 2025PASCAL: Precise and Efficient ANN- SNN Conversion using Spike Accumulation and Adaptive Layerwise Activation3 May 2025
- 2024Log-Time K-Means Clustering for 1D Data: Novel Approaches with Proof and Implementation19 Dec 2024
- 2024Distributed and Rate-Adaptive Feature Compression2 Apr 2024
- 2023MRI Scan Synthesis Methods based on Clustering and Pix2Pix8 Dec 2023
- 2022Features for the 0-1 knapsack problem based on inclusionwise maximal solutions16 Nov 2022
- 2021Dynamic programming by polymorphic semiring algebraic shortcut fusion5 Jul 2021
- 2021DRIVE: One-bit Distributed Mean Estimation18 May 2021