Fast and Accurate -means++ via Rejection Sampling
Vincent Cohen-Addad, Silvio Lattanzi, Ashkan Norouzi-Fard, Christian Sohler, Ola Svensson
Abstract
k-means++ [4] is a widely used clustering algorithm that is easy to implement, has nice theoretical guarantees and strong empirical performance. Despite its wide adoption, k-means++ sometimes suffers from being slow on large data-sets so a natural question has been to obtain more efficient algorithms with similar guarantees. In this paper, we present a near linear time algorithm for k-means++ seeding. Interestingly our algorithm obtains the same theoretical guarantees as k-means++ and significantly improves earlier results on fast k-means++ seeding. Moreover, we show empirically that our algorithm is significantly faster than k-means++ and obtains solutions of equivalent quality. * Equal contribution † Work was partially done while author was visiting researcher at Google Research, Switzerland. 3 Even assuming a constant number of Lloyd's algorithm steps. 34th Conference on Neural Information Processing Systems (NeurIPS 2020), Vancouver, Canada.
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 papers10
- Data-Efficient Learning via Clustering-Based Sensitivity Sampling: Foundation Models and BeyondKyriakos Axiotis, Vincent Cohen-Addad, Monika Henzinger, Sammy Jerome et al.ICML 2024 · 19 citations
- Simple, Scalable and Effective Clustering via One-Dimensional ProjectionsMoses Charikar, Monika Henzinger, Lunjia Hu, Maximilian Vötsch et al.NeurIPS 2023 · 6 citations
- OneBatchPAM: A Fast and Frugal K-Medoids AlgorithmAntoine de Mathelin, Nicolas Enrique Cecchi, François Deheeger, Mathilde Mougeot et al.AAAI 2025 · 3 citations
- Settling Time vs. Accuracy Tradeoffs for Clustering Big DataAndrew Draganov, David Saulpic, Chris SchwiegelshohnSIGMOD 2024 · 3 citations
- Fast k-means Seeding Under The Manifold HypothesisPoojan Shah, Shashwat Agrawal, Ragesh JaiswalICML 2026 · 1 citation
Related papers
- k-means++: few more steps yield constant approximationDavin Choo, Christoph Grunau, Julian Portmann, Václav RozhonICML 2020 · 36 citations
- Analyzing Dα seeding for k-meansÉtienne Bamas, Sai Ganesh Nagarajan, Ola SvenssonICML 2024
- A Nearly Tight Analysis of Greedy k-means++Christoph Grunau, Ahmet Alper Özüdogru, Václav Rozhon, Jakub TetekSODA 2023 · 8 citations
- Improved Guarantees for k-means++ and k-means++ ParallelKonstantin Makarychev, Aravind Reddy, Liren ShanNeurIPS 2020 · 34 citations
- A Beyond-Worst-Case Analysis of Greedy k-means++Qingyun Chen, Sungjin Im, Benjamin Moseley, Ryan Milstrey et al.NeurIPS 2025
