Papers
Topics
Authors
Recent
Search
2000 character limit reached

Do you know what q-means?

Published 18 Aug 2023 in quant-ph, cs.DS, and cs.LG | (2308.09701v2)

Abstract: Clustering is one of the most important tools for analysis of large datasets, and perhaps the most popular clustering algorithm is Lloyd's iteration for kk-means. This iteration takes nn vectors V=[v1,…,vn]∈R<sup>n×</sup>dV=[v_1,\dots,v_n]\in\mathbb{R}<sup>{n\times</sup> d} and outputs kk centroids c1,…,ck∈R<sup>dc_1,\dots,c_k\in\mathbb{R}<sup>d; these partition the vectors into clusters based on which centroid is closest to a particular vector. We present an overall improved version of the "qq-means" algorithm, the quantum algorithm originally proposed by Kerenidis, Landman, Luongo, and Prakash (NeurIPS'19) which performs ε\varepsilon-kk-means, an approximate version of kk-means clustering. Our algorithm does not rely on quantum linear algebra primitives of prior work, but instead only uses QRAM to prepare simple states based on the current iteration's clusters and multivariate quantum amplitude estimation. The time complexity is O~(∣V∣Fnk<sup>5/2dε(k</sup>+log⁡n))\widetilde{O}\big(\frac{|V|_F}{\sqrt{n}}\frac{k<sup>{5/2}d}{\varepsilon}(\sqrt{k}</sup> + \log{n})\big) and maintains the logarithmic dependence on nn while improving the dependence on most of the other parameters. We also present a "dequantized" algorithm for ε\varepsilon-kk-means which runs in O(∣V∣F<sup>2nk<sup>2ε<sup>2(kd</sup></sup></sup>+log⁡n))O\big(\frac{|V|_F<sup>2}{n}\frac{k<sup>{2}}{\varepsilon<sup>2}(kd</sup></sup></sup> + \log{n})\big) time. Notably, this classical algorithm matches the logarithmic dependence on nn attained by the quantum algorithm.

Citations (3)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.