Performance analysis of coreset selection for quantum implementation of K-Means clustering algorithm

Fanzhe Qu, Sarah M. Erfani, Muhammad UsmanarXiv 2022 · DOI

Abstract

This study explores the integration of coreset selection with quantum K-Means clustering to address the limitations of Noisy Intermediate-Scale Quantum (NISQ) hardware. By reducing large datasets into small, representative coresets, the researchers aim to facilitate clustering on devices with restricted qubit counts. The performance of two coreset algorithms, BFL16 and ONESHOT, is evaluated alongside Quantum AutoEncoders (QAE) for noise mitigation. Results indicate that while coresets maintain high accuracy, a "coreset paradox" exists where larger coresets can degrade performance due to increased circuit depth and noise.

Introduction

The current "NISQ" era of quantum computing is characterized by hardware with limited qubits and high sensitivity to environmental noise. This presents a significant challenge for data-intensive tasks like K-Means clustering. To bridge this gap, this paper investigates coreset selection—a technique that compresses large datasets into weighted subsets that preserve the original statistical properties. The goal is to identify the optimal balance between data reduction and clustering accuracy in a quantum environment, ensuring that the data is small enough for quantum processing while remaining statistically significant.

Methodology

The researchers integrated classical data reduction with quantum optimization to handle large-scale data on NISQ hardware. The workflow begins with Coreset Construction, comparing the BFL16 algorithm (distribution-based) and ONESHOT (density-based) to create a weighted representative subset. This subset is then processed via the Quantum Approximate Optimization Algorithm (QAOA), which maps the clustering task to a MAX-CUT problem on a weighted graph. To address the inherent noise of current quantum devices, Quantum AutoEncoders (QAEs) are employed. These circuits are trained to compress and reconstruct quantum states, effectively filtering out bit-flip and depolarization errors. Finally, the Nelder-Mead classical optimizer is used to tune the parameters of the quantum circuit.

Quantum circuit architecture featuring state preparation and Quantum AutoEncoder (QAE) components.

Experimental Setup

The methodology was tested across six diverse datasets from the UCI Machine Learning Repository, ranging from small-scale physical exercise data to large-scale epilepsy diagnostic records. This variety allowed the team to assess how different data dimensions and distributions affect the coreset selection and subsequent quantum clustering performance.

Summary of datasets used for evaluating the coreset-based quantum clustering approach.

Results and Discussion

The experimental results highlighted a critical phenomenon termed the "Coreset Paradox." While classical machine learning typically benefits from larger datasets, the quantum implementation saw a performance decline as coreset size increased. This is attributed to the increased qubit requirements and circuit depth, which introduce more noise and create a more complex landscape for classical optimizers.

Key findings include:

  • High Fidelity: The approach achieved over 95% accuracy across all datasets when compared to classical benchmarks, proving that the data reduction didn't lose the essence of the original information.
  • Selection Strategy: BFL16 and ONESHOT demonstrated different strengths based on data distribution, with BFL16 favoring global shape and ONESHOT focusing on local density.
  • Noise Resilience: The QAE proved essential for noise resilience, successfully shifting probability distributions back toward correct clustering states even under 5% depolarization noise.

Conclusion

Coreset selection is a viable path for implementing K-Means clustering on NISQ devices. However, the trade-off between coreset size and quantum circuit complexity must be carefully managed. Future work will focus on scaling beyond 2-Means clustering and exploring more robust optimizers like SPSA to handle higher qubit counts and real-world hardware noise. Validating these results on physical quantum hardware remains the next major milestone for this research.

Summary updated

BibTeX
@misc{qu2022performance,
  author = {Fanzhe Qu and Sarah M. Erfani and Muhammad Usman},
  title = {{Performance analysis of coreset selection for quantum implementation of K-Means clustering algorithm}},
  year = {2022},
  eprint = {2206.07852},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.07852},
}
Figure