Quantum (Inspired) $D^2$-sampling with Applications
Abstract
-sampling is a fundamental component of sampling-based clustering algorithms such as -means++. Given a dataset with points and a center set , -sampling refers to picking a point from where the sampling probability of a point is proportional to its squared distance from the nearest center in . Starting with empty and iteratively -sampling and updating in rounds is precisely -means++ seeding that runs in time and gives -approximation in expectation for the -means problem. We give a quantum algorithm for (approximate) -sampling in the QRAM model that results in a quantum implementation of -means++ that runs in time . Here is the aspect ratio (i.e., largest to smallest interpoint distance), and hides polylogarithmic factors in . It can be shown through a robust approximation analysis of -means++ that the quantum version preserves its approximation guarantee. Further, we show that our quantum algorithm for -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 -means++, which we call QI--means++, with a running time , where the term is for setting up the sample-query access data structure. Experimental investigations show promising results for QI--means++ on large datasets with bounded aspect ratio. Finally, we use our quantum -sampling with the known -sampling-based classical approximation scheme (i.e., -approximation for any given ) to obtain the first quantum approximation scheme for the -means problem with polylogarithmic running time dependence on .
Cite
@article{arxiv.2405.13351,
title = {Quantum (Inspired) $D^2$-sampling with Applications},
author = {Poojan Shah and Ragesh Jaiswal},
journal= {arXiv preprint arXiv:2405.13351},
year = {2025}
}
Comments
arXiv admin note: substantial text overlap with arXiv:2308.08167. This new version fixes minor bugs in the previous version