arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.09701quant-phcs.DScs.LG
收藏

你知道什么是 q-means 吗?

Do you know what q-means?

Simons Institute UC Berkeley(Simons研究所加州大学伯克利分校);HUN-REN Alfréd Rényi Institute of Mathematics(HUN-REN阿尔弗雷德·雷尼数学研究所);Centre for Quantum Technologies National University of Singapore(量子技术中心新加坡国立大学);Department of EECS UC Berkeley(电子工程与计算机科学系加州大学伯克利分校)

Arjan Cornelissen, Joao F. Doriguello, Alessandro Luongo, Ewin Tang

AI总结:

本文研究 k-means 聚类的高效实现,提出一种对数据规模指数级改进的经典 ε-k-means 算法,并进一步设计仅依赖 QRAM 和多元量子振幅估计的改进 q-means 量子算法,同时给出查询下界证明其最优性。

摘要:

聚类是分析大规模数据集最重要的工具之一,而最流行的聚类算法或许是用于 $k$-means 的 Lloyd 算法。该算法接收 $n$ 个向量 $V=[v_1,\dots,v_n]\in\mathbb{R}^{d\times n}$,输出 $k$ 个质心 $c_1,\dots,c_k\in\mathbb{R}^d$;这些质心根据哪个质心距离某个向量最近,将向量划分到不同簇中。我们提出一种经典 $\varepsilon$-$k$-means 算法,以时间复杂度 $\tilde{O}\big(\frac{\\|V\\|_F^2}{n}\frac{k^{2}d}{\varepsilon^2}(k + \log{n})\big)$ 执行 Lloyd 算法一次迭代的近似版本,从而指数级改善了对数据规模 $n$ 的依赖,并达到与 Kerenidis、Landman、Luongo 和 Prakash(NeurIPS'19)最初提出的“$q$-means”量子算法相同的依赖程度。此外,我们提出一种改进的 $q$-means 量子算法,其时间复杂度为 $\tilde{O}\big(\frac{\\|V\\|_F}{\sqrt{n}}\frac{k^{3/2}d}{\varepsilon}(\sqrt{k}+\sqrt{d})(\sqrt{k} + \log{n})\big)$,在多个参数上二次方地改进了我们经典 $\varepsilon$-$k$-means 算法的运行时间。我们的量子算法不依赖先前工作中的量子线性代数原语,而是仅使用 QRAM 根据当前迭代的簇制备简单状态,并使用多元量子振幅估计。最后,我们给出经典和量子查询下界,表明我们的算法在大多数参数上是最优的。

英文摘要:

Clustering is one of the most important tools for analysis of large datasets, and perhaps the most popular clustering algorithm is Lloyd's algorithm for $k$-means. This algorithm takes $n$ vectors $V=[v_1,\dots,v_n]\in\mathbb{R}^{d\times n}$ and outputs $k$ centroids $c_1,\dots,c_k\in\mathbb{R}^d$; these partition the vectors into clusters based on which centroid is closest to a particular vector. We present a classical $\varepsilon$-$k$-means algorithm that performs an approximate version of one iteration of Lloyd's algorithm with time complexity $\tilde{O}\big(\frac{\|V\|_F^2}{n}\frac{k^{2}d}{\varepsilon^2}(k + \log{n})\big)$, exponentially improving the dependence on the data size $n$ and matching that of the "$q$-means" quantum algorithm originally proposed by Kerenidis, Landman, Luongo, and Prakash (NeurIPS'19). Moreover, we propose an improved $q$-means quantum algorithm with time complexity $\tilde{O}\big(\frac{\|V\|_F}{\sqrt{n}}\frac{k^{3/2}d}{\varepsilon}(\sqrt{k}+\sqrt{d})(\sqrt{k} + \log{n})\big)$ that quadratically improves the runtime of our classical $\varepsilon$-$k$-means algorithm in several parameters. Our quantum 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. Finally, we provide classical and quantum query lower bounds, showing that our algorithms are optimal in most parameters.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑