English

Efficient Quantum Approximate $k$NN Algorithm via Granular-Ball Computing

Quantum Physics 2025-05-30 v1 Artificial Intelligence Machine Learning

Abstract

High time complexity is one of the biggest challenges faced by kk-Nearest Neighbors (kkNN). Although current classical and quantum kkNN algorithms have made some improvements, they still have a speed bottleneck when facing large amounts of data. To address this issue, we propose an innovative algorithm called Granular-Ball based Quantum kkNN(GB-QkkNN). This approach achieves higher efficiency by first employing granular-balls, which reduces the data size needed to processed. The search process is then accelerated by adopting a Hierarchical Navigable Small World (HNSW) method. Moreover, we optimize the time-consuming steps, such as distance calculation, of the HNSW via quantization, further reducing the time complexity of the construct and search process. By combining the use of granular-balls and quantization of the HNSW method, our approach manages to take advantage of these treatments and significantly reduces the time complexity of the kkNN-like algorithms, as revealed by a comprehensive complexity analysis.

Keywords

Cite

@article{arxiv.2505.23066,
  title  = {Efficient Quantum Approximate $k$NN Algorithm via Granular-Ball Computing},
  author = {Shuyin Xia and Xiaojiang Tian and Suzhen Yuan and Jeremiah D. Deng},
  journal= {arXiv preprint arXiv:2505.23066},
  year   = {2025}
}

Comments

8 pages; 7 figure; accepted by IJCAI 2025