Introduction
Clustering remains a fundamental task in unsupervised machine learning, with $k$-means and $k$-median clustering serving as standard tools for data analysis. However, as datasets scale to millions of points ($n$) and thousands of clusters ($k$), the computational overhead becomes a significant bottleneck. Classically, even finding an approximate clustering solution typically requires calculating distances between nearly every point and every cluster center, leading to a fundamental time complexity barrier of $\Omega(nk)$.
To mitigate this, researchers utilize coresets—small, weighted subsets of the original data that act as a representative proxy. A high-quality coreset ensures that a good clustering solution found on the subset is also a good solution for the full dataset. While coresets are powerful, their classical construction still hits the $\Omega(nk)$ "distance barrier." This paper introduces the first quantum algorithm for constructing coresets, achieving a near-optimal query complexity of $\tilde{O}(\sqrt{nk})$ and providing a quadratic speedup for large-scale data analysis.
The Quantum Coreset Pipeline
The authors propose a quantum framework that "quantizes" and integrates state-of-the-art classical coreset construction techniques. The algorithm is structured around three primary technical innovations:
1. Quantum Bicriteria Approximation
The first step involves finding a "rough" clustering solution—a bicriteria approximation—that uses slightly more than $k$ centers. To achieve this in sublinear time, the authors implement a quantum version of Locality Sensitive Hashing (LSH). This allows the algorithm to identify approximate nearest neighbors without the exhaustive distance checks required by classical methods.
2. Multidimensional Quantum Approximate Summation
A critical requirement for coreset construction is estimating the total "cost" (the sum of distances) for multiple clusters simultaneously. The authors contribute a novel quantum subroutine for multidimensional approximate summation. This subroutine can estimate sums across a partition of the data significantly faster than classical summation, enabling the algorithm to evaluate the quality of the bicriteria approximation efficiently.
3. Sensitivity Sampling
The final coreset is generated via sensitivity sampling, where points are selected based on their "importance" or contribution to the total clustering cost. By leveraging quantum sampling techniques related to Grover’s algorithm, the authors can perform this selection in $\tilde{O}(\sqrt{n})$ time, further bypassing classical linear scan requirements.
Key Results and Provable Optimality
The primary contribution of this work is the achievement of a quadratic speedup in query complexity. The algorithm operates in $\tilde{O}(\sqrt{nk} \cdot \text{poly}(d, \epsilon^{-1}))$, where $d$ is the dimension and $\epsilon$ is the error parameter. This is a substantial improvement over the classical $O(nk)$ requirement.
Furthermore, the authors establish a lower bound of $\Omega(\sqrt{nk})$ for any quantum algorithm addressing this problem. This proves that their proposed algorithm is near-optimal, reaching the theoretical limits of quantum speedup for coreset construction in Euclidean space.
The resulting coresets are compact; their size depends on $k, d,$ and $\epsilon$, but remains nearly independent of the original number of points $n$. This makes the algorithm highly versatile, supporting both $k$-median ($z=1$) and $k$-means ($z=2$) clustering objectives.
Discussion and Future Directions
The authors highlight a strategic shift in quantum machine learning: rather than attempting to solve the entire clustering problem on a quantum device—which may be constrained by memory or gate depth—the most efficient approach is to use quantum resources to build a classical coreset. Once the coreset is constructed, any standard classical clustering algorithm can be applied to the reduced dataset.
While the algorithm is optimal regarding $n$ and $k$, several avenues for future research remain. The current speedup relies on LSH, which is optimized for Euclidean space; extending these results to more general metric spaces, such as graphs or doubling metrics, remains an open challenge. Additionally, further optimization of the dependence on dimension $d$ and error $\epsilon$ could enhance practical performance. Finally, the authors suggest that these quantum coreset techniques could be adapted for specialized clustering variants, including fair or capacitated clustering.
Summary updated