arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.19276quant-phcs.LG
收藏

在实践中使用量子神经网络:与经典模型在标准数据集到工业图像上的比较研究

Quantum Neural Networks in Practice: A Comparative Study with Classical Models from Standard Data Sets to Industrial Images

TRUMPF SE + Co. KG(通快集团);Fraunhofer IAO(弗劳恩霍夫劳动经济与组织研究所)

Daniel Basilewitsch, João F. Bravo, Christian Tutschku, Frederick Struckmeier

AI总结:

本文比较了量子和经典神经网络在二元图像分类中的性能,发现混合模型在多数数据集上表现相当,量子模型在初始参数和纠缠作用上有独特表现。

摘要:

我们比较了随机经典和量子神经网络(NNs)以及经典和量子-经典混合卷积神经网络(CNNs)在监督二元图像分类任务中的性能。我们保持所使用的量子电路与近期量子设备兼容,并使用两种不同的方法:在降维数据上应用随机NNs和在完整图像数据上应用CNNs。我们在这三个完全经典的、复杂性逐渐增加的数据集上评估这些方法:一个人工超立方体数据集、MNIST手写数字和工业图像。我们的主要目标是更深入地了解量子和经典模型在各种二元分类任务中的表现,以及什么定义了一个好的量子模型。我们的研究包括分类准确率与量子模型超参数之间的相关性分析,以及量子模型中纠缠作用和初始训练参数影响的分析。我们发现经典和量子-经典混合模型在大多数数据集上实现了统计上等效的分类准确率,没有一种方法在所有其他方法中都表现更好。有趣的是,我们发现量子NNs在初始训练参数方面具有较低的方差,而纠缠的作用是复杂的。虽然加入纠缠门似乎有优势,但我们还发现(可优化的)纠缠能力与模型性能之间没有相关性。我们还观察到纠缠门数量与平均门纠缠能力之间存在反比关系。我们的研究为二元图像分类任务中的量子机器学习提供了行业视角,突显了量子电路设计、纠缠利用和模型在不同应用中的可迁移性方面的局限性和进一步研究的潜在途径。

英文摘要:

We compare the performance of randomized classical and quantum neural networks (NNs) as well as classical and quantum-classical hybrid convolutional neural networks (CNNs) for the task of supervised binary image classification. We keep the employed quantum circuits compatible with near-term quantum devices and use two distinct methodologies: applying randomized NNs on dimensionality-reduced data and applying CNNs to full image data. We evaluate these approaches on three fully-classical data sets of increasing complexity: an artificial hypercube data set, MNIST handwritten digits and industrial images. Our central goal is to shed more light on how quantum and classical models perform for various binary classification tasks and on what defines a good quantum model. Our study involves a correlation analysis between classification accuracy and quantum model hyperparameters, and an analysis on the role of entanglement in quantum models, as well as on the impact of initial training parameters. We find classical and quantum-classical hybrid models achieve statistically-equivalent classification accuracies across most data sets with no approach consistently outperforming the other. Interestingly, we observe that quantum NNs show lower variance with respect to initial training parameters and that the role of entanglement is nuanced. While incorporating entangling gates seems advantageous, we also observe the (optimizable) entangling power not to be correlated with model performance. We also observe an inverse proportionality between the number of entangling gates and the average gate entangling power. Our study provides an industry perspective on quantum machine learning for binary image classification tasks, highlighting both limitations and potential avenues for further research in quantum circuit design, entanglement utilization, and model transferability across varied applications.

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

↑