arXiv:2411.19276quant-phcs.LG2024-11被引 15

对比量子与经典神经网络在图像分类中的表现,发现二者效果相当且各有优势。

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

  • 用降维数据和全图数据分别测试随机量子与经典模型
  • 量子与经典混合模型在多数数据集上准确率相近,无明显优劣
  • 量子模型对初始参数不敏感,纠缠作用复杂且非越强越好

我们比较了随机化经典与量子神经网络,以及经典与量子-经典混合卷积神经网络在监督二分类图像任务中的表现。所用量子电路适配近期量子设备,采用两种方法:在降维数据上应用随机神经网络,或在全图数据上应用卷积神经网络。评估在三个复杂度递增的纯经典数据集上:人工超立方体数据集、MNIST手写数字和工业图像。研究目标是揭示量子与经典模型在不同二分类任务中的表现差异,以及优质量子模型的关键特征。分析了分类准确率与量子模型超参数的相关性,探讨了纠缠的作用及初始训练参数的影响。结果表明,经典与量子-经典混合模型在大多数数据集上达到统计等效的分类准确率,无一方持续领先。有趣的是,量子神经网络对初始参数变化具有更低方差;纠缠作用呈现复杂性:虽引入纠缠门有优势,但可优化的纠缠能力与模型性能无相关性。同时观察到纠缠门数量与平均门纠缠强度呈反比关系。本研究从产业视角出发,为量子机器学习在二分类图像任务中的应用提供了洞见,指明了量子线路设计、纠缠利用及模型迁移潜力的研究方向。

原文摘要 · Abstract (English)

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.

量子机器学习图像分类神经网络纠缠

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。