Lune

ICLR2025Top-tier venue

Quantum (Inspired) D2-sampling with Applications

Poojan Chetan Shah, Ragesh Jaiswal

Abstract

D 2 -sampling is a fundamental component of sampling-based clustering algorithms such as k-means++. Given a dataset V ⊂ R d with N points and a center set C ⊂ R d , D 2 -sampling refers to picking a point from V where the sampling probability of a point is proportional to its squared distance from the nearest center in C. The popular k-means++ algorithm is simply a k-round D 2 -sampling process, which runs in O(N kd) time and gives O(log k)-approximation in expectation for the k-means problem. In this work, we give a quantum algorithm for (approximate) D 2 -sampling in the QRAM model that results in a quantum implementation of k-means++ with a running time Õ(ζ 2 k 2 ). Here ζ is the aspect ratio (i.e., largest to smallest interpoint distance) and Õ hides polylogarithmic factors in N, d, k. It can be shown through a robust approximation analysis of k-means++ that the quantum version preserves its O(log k) approximation guarantee. Further, we show that our quantum algorithm for D 2 -sampling can be dequantized using the sample-query access model of [Tan23]. This results in a fast quantuminspired classical implementation of k-means++, which we call QI-k-means++, with a running time O(N d) + Õ(ζ 2 k 2 d), where the O(N d) term is for setting up the sample-query access data structure. Experimental investigations show promising results for QI-k-means++ on large datasets with bounded aspect ratio. Finally, we use our quantum D 2 -sampling with the known D 2 -sampling-based classical approximation scheme to obtain the first quantum approximation scheme for the k-means problem with polylogarithmic running time dependence on N .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Fast k-means Seeding Under The Manifold Hypothesis cites Fast and Accurate k-means++ via Rejection Sampling
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Fast k-means Seeding Under The Manifold HypothesisPoojan Shah, Shashwat Agrawal, Ragesh JaiswalICML 2026 · 1 citation

Builds on1

  1. Fast and Accurate kk-means++ via Rejection SamplingVincent Cohen-Addad, Silvio Lattanzi, Ashkan Norouzi-Fard, Christian Sohler et al.NeurIPS 2020 · 32 citations

Related papers

  1. Near-Linear Time Approximation Algorithms for k-means with OutliersJunyu Huang, Qilong Feng, Ziyun Huang, Jinhui Xu et al.ICML 2024 · 5 citations
  2. Near-Optimal Quantum Coreset Construction Algorithms for ClusteringYecheng Xue, Xiaoyu Chen, Tongyang Li, Shaofeng H.-C. JiangICML 2023 · 6 citations
  3. Multi-Swap k-Means++Lorenzo Beretta, Vincent Cohen-Addad, Silvio Lattanzi, Nikos ParotsidisNeurIPS 2023 · 12 citations
  4. Analyzing Dα seeding for k-meansÉtienne Bamas, Sai Ganesh Nagarajan, Ola SvenssonICML 2024
  5. Linear Time Algorithms for Individually Fair k-means via Multi-Swap Local SearchBeirong Cui, Qilong Feng, Junyu HuangAAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines