Simple, Scalable and Effective Clustering via One-Dimensional Projections
Moses Charikar, Monika Henzinger, Lunjia Hu, Maximilian Vötsch, Erik Waingarten
Abstract
Clustering is a fundamental problem in unsupervised machine learning with many applications in data analysis. Popular clustering algorithms such as Lloyd's algorithm and -means++ can take time when clustering points in a -dimensional space (represented by an matrix ) into clusters. In applications with moderate to large , the multiplicative factor can become very expensive. We introduce a simple randomized clustering algorithm that provably runs in expected time for arbitrary . Here is the total number of non-zero entries in the input dataset , which is upper bounded by and can be significantly smaller for sparse datasets. We prove that our algorithm achieves approximation ratio on any input dataset for the -means objective. We also believe that our theoretical analysis is of independent interest, as we show that the approximation ratio of a -means algorithm is approximately preserved under a class of projections and that -means++ seeding can be implemented in expected time in one dimension. Finally, we show experimentally that our clustering algorithm gives a new tradeoff between running time and cluster quality compared to previous state-of-the-art methods for these tasks.
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.
Cited by top-tier papers4
- OneBatchPAM: A Fast and Frugal K-Medoids AlgorithmAntoine de Mathelin, Nicolas Enrique Cecchi, François Deheeger, Mathilde Mougeot et al.AAAI 2025 · 3 citations
- Fast k-means Seeding Under The Manifold HypothesisPoojan Shah, Shashwat Agrawal, Ragesh JaiswalICML 2026 · 1 citation
- Matrix Editing Meets Fair Clustering: Parameterized Algorithms and ComplexityRobert Ganian, Hung P. Hoang, Simon WiethegerAAAI 2026
- Fast Local Search Algorithms for Clustering with Adaptive Sampling and Bandit StrategiesJunyu Huang, Zhen Zhang, Beirong Cui, Jianxin Wang et al.NeurIPS 2025
Builds on5
- k-means++: few more steps yield constant approximationDavin Choo, Christoph Grunau, Julian Portmann, Václav RozhonICML 2020 · 36 citations
- Fast and Accurate -means++ via Rejection SamplingVincent Cohen-Addad, Silvio Lattanzi, Ashkan Norouzi-Fard, Christian Sohler et al.NeurIPS 2020 · 32 citations
- Towards optimal lower bounds for k-median and k-means coresetsVincent Cohen-Addad, Kasper Green Larsen, David Saulpic, Chris SchwiegelshohnSTOC 2022 · 20 citations
- BanditPAM: Almost Linear Time k-Medoids Clustering via Multi-Armed BanditsMo Tiwari, Martin Jinye Zhang, James Mayclin, Sebastian Thrun et al.NeurIPS 2020 · 13 citations
- A new coreset framework for clusteringVincent Cohen-Addad, David Saulpic, Chris SchwiegelshohnSTOC 2021 · 3 citations
Related papers
- BSP k-MeansSebastian Künzel, Daniel WeiskopfKDD 2026
- Analyzing Dα seeding for k-meansÉtienne Bamas, Sai Ganesh Nagarajan, Ola SvenssonICML 2024
- Near-Optimal Quantum Coreset Construction Algorithms for ClusteringYecheng Xue, Xiaoyu Chen, Tongyang Li, Shaofeng H.-C. JiangICML 2023 · 6 citations
- Multi-Swap k-Means++Lorenzo Beretta, Vincent Cohen-Addad, Silvio Lattanzi, Nikos ParotsidisNeurIPS 2023 · 12 citations
- A Nearly Tight Analysis of Greedy k-means++Christoph Grunau, Ahmet Alper Özüdogru, Václav Rozhon, Jakub TetekSODA 2023 · 8 citations
