Settling Time vs. Accuracy Tradeoffs for Clustering Big Data
Andrew Draganov, David Saulpic, Chris Schwiegelshohn
Abstract
We study the theoretical and practical runtime limits of k-means and k-median clustering on large datasets. Since effectively all clustering methods are slower than the time it takes to read the dataset, the fastest approach is to quickly compress the data and perform the clustering on the compressed representation. Unfortunately, there is no universal best choice for compressing the number of points -- while random sampling runs in sublinear time and coresets provide theoretical guarantees, the former does not enforce accuracy while the latter is too slow as the numbers of points and clusters grow. Indeed, it has been conjectured that any sensitivity-based coreset construction requires super-linear time in the datase size. We examine this relationship by first showing that there does exist an algorithm that obtains coresets via sensitivity sampling in effectively linear time -- within log-factors of the time it takes to read the data. Any approach that significantly improves on this must then resort to practical heuristics, leading us to consider the spectrum of sampling strategies across both real and artificial datasets in the static and streaming settings. Through this, we show the conditions in which coresets are necessary for preserving cluster validity as well as the settings in which faster, cruder sampling strategies are sufficient. As a result, we provide a comprehensive theoretical and practical blueprint for effective clustering regardless of data size. Our code is publicly available at https://github.com/Andrew-Draganov/Fast-Coreset-Generation and has scripts to recreate the experiments.
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 de00a2da-33e5-49db-bf1d-92538733e5f3Cited by top-tier papers6
- Fast k-means Seeding Under The Manifold HypothesisPoojan Shah, Shashwat Agrawal, Ragesh JaiswalICML 2026 · 1 citation
- A Tight VC-Dimension Analysis of Clustering Coresets with ApplicationsVincent Cohen-Addad, Andrew Draganov, Matteo Russo, David Saulpic et al.SODA 2025
- Local Search for Clustering in Almost-linear TimeShaofeng H.-C. Jiang, Yaonan Jin, Jianing Lou, Pinyan LuSODA 2026
- Ultrametric Cluster Hierarchies: I Want 'em All!Andrew Draganov, Pascal Weber, Rasmus Skibdahl Melanchton Jørgensen, Anna Beer et al.NeurIPS 2025
- Approximation Preserving CoresetsMilind Prabhu, Chris Schwiegelshohn, Sudarshan ShyamICML 2026
Builds on10
- Coresets for clustering in Euclidean spaces: importance sampling is nearly optimalLingxiao Huang, Nisheeth K. VishnoiSTOC 2020 · 36 citations
- Improved Coresets and Sublinear Algorithms for Power Means in Euclidean SpacesVincent Cohen-Addad, David Saulpic, Chris SchwiegelshohnNeurIPS 2021 · 33 citations
- Fast and Accurate -means++ via Rejection SamplingVincent Cohen-Addad, Silvio Lattanzi, Ashkan Norouzi-Fard, Christian Sohler et al.NeurIPS 2020 · 32 citations
- Coresets for Clustering in Excluded-minor Graphs and BeyondVladimir Braverman, Shaofeng H.-C. Jiang, Robert Krauthgamer, Xuan WuSODA 2021 · 21 citations
- Towards optimal lower bounds for k-median and k-means coresetsVincent Cohen-Addad, Kasper Green Larsen, David Saulpic, Chris SchwiegelshohnSTOC 2022 · 20 citations
Related papers
- Sensitivity Sampling for k-Means: Worst Case and Stability Optimal Coreset BoundsNikhil Bansal, Vincent Cohen-Addad, Milind Prabhu, David Saulpic et al.FOCS 2024 · 2 citations
- Near-optimal Coresets for Robust ClusteringLingxiao Huang, Shaofeng H.-C. Jiang, Jianing Lou, Xuan WuICLR 2023 · 1 citation
- Universal Weak CoresetRagesh Jaiswal, Amit KumarAAAI 2024
- Coresets for Clustering with Missing ValuesVladimir Braverman, Shaofeng H.-C. Jiang, Robert Krauthgamer, Xuan WuNeurIPS 2021 · 21 citations
- Tight Sensitivity Bounds For Smaller CoresetsAlaa Maalouf, Adiel Statman, Dan FeldmanKDD 2020 · 11 citations
