mlsanityData to 7 Oct 2026

Settling Time vs. Accuracy Tradeoffs for Clustering Big Data

arXiv 2404.01936 ↗First posted 2 Apr 2024cs.LG cs.DScited by 4

Not on the map. Why?

Abstract (arXiv)

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 dataset 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 and has scripts to recreate the experiments.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 19 of its 63 references that are in the map. First posted on arXiv 2 Apr 2024.

Builds on

19 of 63 references.

References · 19

  1. 2018Fair Clustering Through Fairletscited by 176
  2. 2018Performance of Johnson-Lindenstrauss Transform for k-Means and k-Medians Clusteringcited by 53
  3. 2019Coresets for Clustering with Fairness Constraintscited by 51
  4. 2014Dimensionality Reduction for k-Means Clustering and Low Rank Approximationcited by 48
  5. 2020Introduction to Core-sets: an Updated Surveycited by 45
  6. 2016Geometric Median in Nearly Linear Timecited by 38
  7. 2021A New Coreset Framework for Clusteringcited by 38
  8. 2020Coresets for Clustering in Euclidean Spaces: Importance Sampling is Nearly Optimalcited by 31
  9. 2022Towards Optimal Lower Bounds for k-median and k-means Coresetscited by 23
  10. 2020On Coresets for Fair Clustering in Metric and Euclidean Spaces and Their Applicationscited by 19
  11. 2022The Power of Uniform Sampling for Coresetscited by 18
  12. 2020Coresets for Clustering in Excluded-minor Graphs and Beyondcited by 14
7 more
  1. 2017On the Local Structure of Stable Clustering Instancescited by 13
  2. 2022A Nearly Optimal Size Coreset Algorithm with Nearly Linear Timecited by 13
  3. 2020Fast and Accurate k-means++ via Rejection Samplingcited by 10
  4. 2022An Empirical Evaluation of k-Means Coresetscited by 7
  5. 2021A sampling-based approach for efficient clustering in large datasetscited by 4
  6. 2022On the Fixed-Parameter Tractability of Capacitated Clusteringcited by 4
  7. 2023The Power of Uniform Sampling for k-Mediancited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 1; 2026: 1.

4 papers.