arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.06260cs.CV
收藏

基于量子KNN算法的图像分类

Image Classification Based on Quantum KNN Algorithm

Beijing University of Technology(北京工业大学);Linyi University(临沂大学)

Yijie Dang, Nan Jiang, Hao Hu, Zhuoxiao Ji, Wenyin Zhang

摘要:

图像分类是机器学习和图像处理领域的一个重要课题。然而,常用的分类方法-K近邻算法由于其两个主要的过程:相似度计算和搜索都是耗时的,所以其复杂度很高。特别是在大数据时代,当要分类的图像量很大时,问题就突出了。本文尝试利用量子计算机强大的并行计算能力来优化图像分类的效率。该方案基于量子K近邻算法。首先,在经典计算机上提取图像的特征向量。然后将特征向量输入到一个量子叠加态中,利用量子叠加态实现相似度的并行计算。其次,采用量子最小值搜索算法来加快相似度的搜索过程。最后,利用量子测量对图像进行分类。量子算法的复杂度仅为O((kM)^(1/2)),优于经典算法。此外,测量步骤仅执行一次,以确保方案的有效性。实验结果表明,该算法在Graz-01数据集和Caltech-101数据集上的分类准确率分别为83.1%和78%,与现有的经典算法接近。因此,我们的量子方案具有良好的分类性能,同时大大提高了效率。

英文摘要:

Image classification is an important task in the field of machine learning and image processing. However, the usually used classification method --- the K Nearest-Neighbor algorithm has high complexity, because its two main processes: similarity computing and searching are time-consuming. Especially in the era of big data, the problem is prominent when the amount of images to be classified is large. In this paper, we try to use the powerful parallel computing ability of quantum computers to optimize the efficiency of image classification. The scheme is based on quantum K Nearest-Neighbor algorithm. Firstly, the feature vectors of images are extracted on classical computers. Then the feature vectors are inputted into a quantum superposition state, which is used to achieve parallel computing of similarity. Next, the quantum minimum search algorithm is used to speed up searching process for similarity. Finally, the image is classified by quantum measurement. The complexity of the quantum algorithm is only O((kM)^(1/2)), which is superior to the classical algorithms. Moreover, the measurement step is executed only once to ensure the validity of the scheme. The experimental results show that, the classification accuracy is 83.1% on Graz-01 dataset and 78% on Caltech-101 dataset, which is close to existing classical algorithms. Hence, our quantum scheme has a good classification performance while greatly improving the efficiency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑