English

Fast $k$-means Seeding Under The Manifold Hypothesis

Data Structures and Algorithms 2026-02-03 v1

Abstract

We study beyond worst case analysis for the kk-means problem where the goal is to model typical instances of kk-means arising in practice. Existing theoretical approaches provide guarantees under certain assumptions on the optimal solutions to kk-means, making them difficult to validate in practice. We propose the manifold hypothesis, where data obtained in ambient dimension DD concentrates around a low dimensional manifold of intrinsic dimension dd, as a reasonable assumption to model real world clustering instances. We identify key geometric properties of datasets which have theoretically predictable scaling laws depending on the quantization exponent ε=2/d\varepsilon = 2/d using techniques from optimum quantization theory. We show how to exploit these regularities to design a fast seeding method called Qkmeans\operatorname{Qkmeans} which provides O(ρ2logk)O(\rho^{-2} \log k) approximate solutions to the kk-means problem in time O(nD)+O~(ε1+ρρ1k1+γ)O(nD) + \widetilde{O}(\varepsilon^{1+\rho}\rho^{-1}k^{1+\gamma}); where the exponent γ=ε+ρ\gamma = \varepsilon + \rho for an input parameter ρ<1\rho < 1. This allows us to obtain new runtime - quality tradeoffs. We perform a large scale empirical study across various domains to validate our theoretical predictions and algorithm performance to bridge theory and practice for beyond worst case data clustering.

Keywords

Cite

@article{arxiv.2602.01104,
  title  = {Fast $k$-means Seeding Under The Manifold Hypothesis},
  author = {Poojan Shah and Shashwat Agrawal and Ragesh Jaiswal},
  journal= {arXiv preprint arXiv:2602.01104},
  year   = {2026}
}
R2 v1 2026-07-01T09:30:00.647Z