Proceedings

Efficient Quantum Approximate kNN Algorithm via Granular-Ball Computing

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 6642-6649.

https://doi.org/10.24963/ijcai.2025/739

Abstract

High time complexity is one of the biggest challenges faced by k-Nearest Neighbors (kNN). Although current classical and quantum kNN 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 kNN(GB-QkNN). 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 kNN-like algorithms, as revealed by a comprehensive complexity analysis.

  1. Altaisky, 2001
  2. M. V. Altaisky. Quantum neural network. arXiv preprint, quant-ph/0107012, 2001.
  3. [Basheer et al., 2020] A. Basheer, S. K. Goyal, and A. Afham. Quantum k-nearest neighbors algorithm. arXiv preprint, arXiv:2003.09187, 2020.
  4. [Bennett et al., 1993] C. H. Bennett, G. Brassard, and C. Crépeau. Teleporting an unknown quantum state via dual classical and einstein-podolsky-rosen channels. Phys- ical Review Letters, 70(13):1895, 1993.
  5. [Farhi et al., 2017] E. Farhi, J. Goldstone, and S. Gutmann. Quantum algorithms for fixed qubit architectures. arXiv preprint, arXiv:1703.06199, 2017.
  6. [Feng et al., 2023] C. Feng, B. Zhao, and X. Zhou. An enhanced quantum k-nearest neighbor classification algo- rithm based on polar distance. Entropy, 25(1):127, 2023.
  7. [Fu et al., 2021] C. Fu, C. Wang, and D. Cai. High dimen- sional similarity search with satellite system graph: Ef- ficiency, scalability, and unindexed query compatibility. IEEE Transactions on Pattern Analysis and Machine In- telligence, 44(8):4139-4150, 2021.
  8. [Gao et al., 2022] L. Z. Gao, C. Y. Lu, and G. D. Guo. Quan- tum k-nearest neighbors classification algorithm based on mahalanobis distance. Frontiers in Physics, 10:1047466, 2022.
  9. [Giovannetti et al., 2008] V. Giovannetti, S. Lloyd, and L. Maccone. Quantum random access memory. Physical Review Letters, 100(16):160501, 2008.
  10. [Guo et al., 2003] G. Guo, D. Bell, and H. Wang. Knn model-based approach in classification. In OTM Confeder- ated International Conferences "On the Move to Meaning- ful Internet Systems". Springer, Berlin, Heidelberg, 2003.
  11. [Jayaram Subramanya S., 2019] Simhadri H. V. Jayaram Subramanya S., Devvrit F. Diskann: Fast accurate billion- point nearest neighbor search on a single node. In Ad- vances in Neural Information Processing Systems, vol- ume 32, 2019.
  12. [Li et al., 2022] J. Li, S. Lin, and K. Yu. Quantum k-nearest neighbor classification algorithm based on hamming dis- tance. Quantum Information Processing, 21(1):18, 2022.
  13. [Li W. and others., 2019] Sun Y. Li W., Zhang Y. and oth- ers. Approximate nearest neighbor search on high dimen- sional data-experiments, analyses, and improvement. IEEE Transactions on Knowledge and Data Engineering, 32(8):1475-1488, 2019.
  14. [Malkov and Yashunin, 2016] Y. A. Malkov and D. A. Yashunin. Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. IEEE Transactions on Pattern Analysis and Ma- chine Intelligence, PP(99), 2016.
  15. [Munoz J. V., 2019] Dias Z. Munoz J. V., Gonc ¸alves M. A. Hierarchical clustering-based graphs for large scale ap- proximate nearest neighbor search. Pattern Recognition, 96:106970, 2019.
  16. [Quezada et al., 2022] L. F. Quezada, G. H. Sun, and S. H. Dong. Quantum version of the k-nn classifier based on a quantum sorting algorithm. Annalen der Physik, 534(5):2100449, 2022.
  17. [Rebentrost et al., 2014] P. Rebentrost, M. Mohseni, and S. Lloyd. Quantum support vector machine for big data classification. Physical Review Letters, 113(13):130503, 2014.
  18. [Xia et al., 2022] S. Xia, X. Dai, and G. Wang. An efficient and adaptive granular-ball generation method in classifica- tion problem. IEEE Transactions on Neural Networks and Learning Systems, 35(4):5319-5331, 2022.
  19. [Yuan et al., 2022] S. Yuan, W. Zhao, S. Gao, et al. An adap- tive threshold-based quantum image segmentation algo- rithm and its simulation. Quantum Information Process- ing, 21(10):359, 2022.
  20. [Zardini et al., 2024] E. Zardini, E. Blanzieri, and D. Pas- torello. A quantum k-nearest neighbors algorithm based on the euclidean distance estimation. Quantum Machine Intelligence, 6(1):1-22, 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards