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

量子(启发式)$D^2$-采样及其应用

Quantum (Inspired) $D^2$-sampling with Applications

Poojan Shah, Ragesh Jaiswal

AI总结:

该研究提出QRAM模型下的量子$D^2$-采样算法,实现了保留$O(\log{k})$近似比的量子$k$-means++,并通过去量子化得到高效经典算法QI-$k$-means++,还结合经典近似方案提出首个与$N$呈多重对数依赖的$k$-means量子近似方案。

摘要:

$D^2$-采样是$k$-means++等基于采样的聚类算法的核心组成部分。给定包含$N$个点的数据集$V \subset \mathbb{R}^d$以及中心集$C \subset \mathbb{R}^d$,$D^2$-采样指从$V$中选取一个点,每个点的采样概率与其到$C$中最近中心的距离平方成正比。从空集$C$开始,经过$k$轮迭代执行$D^2$-采样并更新$C$的过程,正是$k$-means++的种子初始化步骤,其时间复杂度为$O(Nkd)$,且对$k$-means问题的期望近似比为$O(\log{k})$。\n我们在QRAM(量子随机存取存储器)模型下提出了一种用于(近似)$D^2$-采样的量子算法,由此实现的量子版$k$-means++运行时间为$\tilde{O}(\zeta^2 k^2)$,其中$\zeta$为纵横比(即点间最大距离与最小距离的比值),$\tilde{O}$符号隐藏了$N$、$d$、$k$的多重对数因子。通过对$k$-means++的鲁棒近似分析可以证明,该量子版本保留了原算法的$O(\log{k})$近似保证。\n进一步地,我们证明该$D^2$-采样量子算法可利用Tang的样本查询访问模型(Ewin Tang,华盛顿大学博士论文,2023)进行“去量子化”,由此得到一种快速的量子启发式经典$k$-means++实现,我们将其命名为QI-$k$-means++,其运行时间为$O(Nd) + \tilde{O}(\zeta^2k^2d)$,其中$O(Nd)$项用于构建样本查询访问数据结构。实验研究表明,QI-$k$-means++在纵横比有界的大规模数据集上表现出良好效果。\n最后,我们将所提出的量子$D^2$-采样与已知的基于$D^2$-采样的经典近似方案(即对任意给定的$\varepsilon>0$可实现$(1+\varepsilon)$近似)相结合,首次得到了运行时间与$N$呈多重对数依赖关系的$k$-means问题量子近似方案。

英文摘要:

$D^2$-sampling is a fundamental component of sampling-based clustering algorithms such as $k$-means++. Given a dataset $V \subset \mathbb{R}^d$ with $N$ points and a center set $C \subset \mathbb{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$. Starting with empty $C$ and iteratively $D^2$-sampling and updating $C$ in $k$ rounds is precisely $k$-means++ seeding that runs in $O(Nkd)$ time and gives $O(\log{k})$-approximation in expectation for the $k$-means problem. We give a quantum algorithm for (approximate) $D^2$-sampling in the QRAM model that results in a quantum implementation of $k$-means++ that runs in time $\tilde{O}(ζ^2 k^2)$. Here $ζ$ is the aspect ratio (i.e., largest to smallest interpoint distance), and $\tilde{O}$ 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 Tang (PhD Thesis, Ewin Tang, University of Washington, 2023). This results in a fast quantum-inspired classical implementation of $k$-means++, which we call QI-$k$-means++, with a running time $O(Nd) + \tilde{O}(ζ^2k^2d)$, where the $O(Nd)$ 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 (i.e., $(1+\varepsilon)$-approximation for any given $\varepsilon>0$) to obtain the first quantum approximation scheme for the $k$-means problem with polylogarithmic running time dependence on $N$.

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

↑