arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1812.03089quant-phcs.LG
收藏

前馈神经网络的量子算法

Quantum algorithms for feedforward neural networks

Tencent Quantum Laboratory(腾讯量子实验室);CNRS(法国国家科学研究中心);IRIF(IRIF研究所);Université Paris Diderot(巴黎狄德罗大学);The Chinese University of Hong Kong(香港中文大学)

Jonathan Allcock, Chang-Yu Hsieh, Iordanis Kerenidis, Shengyu Zhang

摘要:

量子机器学习具有广泛的工业应用潜力,考虑到量子算法在当今机器学习中的核心作用,开发用于提高神经网络性能的量子算法尤其令人感兴趣。在本文中,我们提出了量子算法的训练和评估前馈神经网络的基础上规范经典的前馈和反向传播算法。我们的算法依赖于一个有效的量子子程序近似向量之间的内积在一个强大的方式,并隐式存储在量子随机存取存储器中的快速检索在以后的阶段大的中间值。我们的算法的运行时间可以在网络的大小上比标准的经典算法快二次方,因为它们线性地依赖于网络中的神经元数量,而不是像经典情况那样依赖于神经元之间的连接数量。这使得我们的算法适用于大规模的,高度连接的网络,在网络中的边缘的数量占主导地位的经典算法的运行时间。此外,由我们的量子算法训练的网络可能对过拟合具有内在的弹性,因为该算法自然地模仿了经典技术的效果,例如用于正则化网络的drop-out。我们的算法也可以作为新的量子启发经典算法的基础,这些算法对网络维度的依赖性与量子算法相同,但在其他参数中具有二次开销,这使得它们相对不切实际。

英文摘要:

Quantum machine learning has the potential for broad industrial applications, and the development of quantum algorithms for improving the performance of neural networks is of particular interest given the central role they play in machine learning today. In this paper we present quantum algorithms for training and evaluating feedforward neural networks based on the canonical classical feedforward and backpropagation algorithms. Our algorithms rely on an efficient quantum subroutine for approximating the inner products between vectors in a robust way, and on implicitly storing large intermediate values in quantum random access memory for fast retrieval at later stages. The running times of our algorithms can be quadratically faster in the size of the network than their standard classical counterparts since they depend linearly on the number of neurons in the network, as opposed to the number of connections between neurons as in the classical case. This makes our algorithms suited for large-scale, highly-connected networks where the number of edges in the network dominates the classical algorithmic running time. Furthermore, networks trained by our quantum algorithm may have an intrinsic resilience to overfitting, as the algorithm naturally mimics the effects of classical techniques such as drop-out used to regularize networks. Our algorithms can also be used as the basis for new quantum-inspired classical algorithms which have the same dependence on the network dimensions as their quantum counterparts, but with quadratic overhead in other parameters that makes them relatively impractical.

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

↑