arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.18814quant-ph
收藏

使用自动编码器和量子支持向量机进行图像分类的混合量子-经典特征提取方法

Hybrid Quantum-Classical Feature Extraction approach for Image Classification using Autoencoders and Quantum SVMs

Donovan Slabbert, Francesco Petruccione

AI总结:

本文提出ResNet10式卷积自动编码器结合QSVM/QOCSVM的混合图像分类流水线,并在HTRU、MNIST和CIFAR-10上评估降维、重建与分类效果。

摘要:

为了将量子计算机用于图像分类等机器学习任务,需要进行审慎考虑:NISQ时代的量子计算机存在诸多限制,包括噪声、可扩展性、读入和读出时间以及门操作时间。因此,应当制定策略以缓解复杂数据集对量子机器学习流水线整体效率可能造成的影响,否则可能导致过度的资源需求或噪声增加。我们采用一种受ResNet10启发的卷积自动编码器作为经典特征提取方法,既降低数据集维度,又提取抽象且有意义的特征,随后将其输入量子机器学习模块。所选量子模块是量子增强支持向量机(QSVM),因为支持向量机通常不需要大样本量即可识别数据中的模式,并且具有浅深度量子电路,可限制噪声影响。自动编码器通过图像重建进行训练,以提取有意义的特征,目标是最小化训练集上的均方误差。研究使用三个图像数据集来说明该流水线:HTRU-1、MNIST和CIFAR-10。针对高度不平衡的HTRU-1数据集,我们还加入了量子增强单类支持向量机(QOCSVM),并提供经典机器学习结果作为基准。最后,还纳入HTRU-2数据集,作为具有良好相关特征数据集的基准。自动编码器在MNIST上实现了近乎完美的重建和较高分类准确率,而CIFAR-10由于图像复杂性表现较差,HTRU-1则因数据集不平衡而表现不佳。这凸显了在通过经典特征提取进行降维与利用量子方法获得预测性能之间保持平衡的必要性。

英文摘要:

In order to leverage quantum computers for machine learning tasks such as image classification, careful consideration is required: NISQ-era quantum computers have limitations, which include noise, scalability, read-in and read-out times, and gate operation times. Therefore, strategies should be devised to mitigate the impact that complex datasets can have on the overall efficiency of a quantum machine learning pipeline. This may otherwise lead to excessive resource demands or increased noise. We apply a classical feature extraction method using a ResNet10-inspired convolutional autoencoder to both reduce the dimensionality of the dataset and extract abstract and meaningful features before feeding them into a quantum machine learning block. The quantum block of choice is a quantum-enhanced support vector machine (QSVM), as support vector machines typically do not require large sample sizes to identify patterns in data and have short-depth quantum circuits, which limits the impact of noise. The autoencoder is trained to extract meaningful features through image reconstruction, aiming to minimize the mean squared error across a training set. Three image datasets are used to illustrate the pipeline: HTRU-1, MNIST, and CIFAR-10. We also include a quantum-enhanced one-class support vector machine (QOCSVM) for the highly unbalanced HTRU-1 set, as well as classical machine learning results to serve as a benchmark. Finally, the HTRU-2 dataset is also included to serve as a benchmark for a dataset with well-correlated features. The autoencoder achieved near-perfect reconstruction and high classification accuracy for MNIST, while CIFAR-10 showed poorer performance due to image complexity, and HTRU-1 struggled because of dataset imbalance. This highlights the need for a balance between dimensionality reduction through classical feature extraction and prediction performance using quantum methods.

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

↑