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

面向大规模机器学习模型的可证明高效量子算法研究

Towards provably efficient quantum algorithms for large-scale machine-learning models

The University of Chicago(芝加哥大学);qBraid Co.(qBraid公司);SeQure(SeQure公司);Argonne National Laboratory(阿贡国家实验室);University of California, Berkeley(加州大学伯克利分校);Massachusetts Institute of Technology(麻省理工学院);Brandeis University(布兰迪斯大学);Free University Berlin(柏林自由大学)

Junyu Liu, Minzhao Liu, Jin-Peng Liu, Ziyu Ye, Yunfei Wang, Yuri Alexeev, Jens Eisert, Liang Jiang

AI总结:

本文证明容错量子计算能以 O(T^2 polylog(n)) 复杂度高效加速大规模稀疏机器学习模型的(随机)梯度下降训练,并通过 700 万至 1.03 亿参数模型的基准测试验证了剪枝后早期阶段的量子加速潜力。

摘要:

大型机器学习模型是人工智能的革命性技术,其瓶颈包括预训练和微调过程中消耗的巨大计算开销、功耗和时间。在这项工作中,我们证明容错量子计算有可能为通用(随机)梯度下降算法提供可证明的高效解决方案,其复杂度为 O(T^2 polylog(n)),其中 n 是模型规模,T 是训练迭代次数,只要模型具有足够的耗散性和稀疏性,并且学习率较小即可。基于先前针对耗散微分方程的高效量子算法,我们发现并证明了类似算法适用于(随机)梯度下降——机器学习的主要算法。在实验中,我们对参数量从 700 万到 1.03 亿的大规模机器学习模型实例进行了基准测试。我们发现,在稀疏训练的背景下,模型剪枝后的学习早期阶段有可能实现量子加速,这促使我们提出一种稀疏参数下载与重新上传方案。我们的工作有力地表明,容错量子算法有可能为大多数最先进的大规模机器学习问题做出贡献。

英文摘要:

Large machine learning models are revolutionary technologies of artificial intelligence whose bottlenecks include huge computational expenses, power, and time used both in the pre-training and fine-tuning process. In this work, we show that fault-tolerant quantum computing could possibly provide provably efficient resolutions for generic (stochastic) gradient descent algorithms, scaling as O(T^2 polylog(n)), where n is the size of the models and T is the number of iterations in the training, as long as the models are both sufficiently dissipative and sparse, with small learning rates. Based on earlier efficient quantum algorithms for dissipative differential equations, we find and prove that similar algorithms work for (stochastic) gradient descent, the primary algorithm for machine learning. In practice, we benchmark instances of large machine learning models from 7 million to 103 million parameters. We find that, in the context of sparse training, a quantum enhancement is possible at the early stage of learning after model pruning, motivating a sparse parameter download and re-upload scheme. Our work shows solidly that fault-tolerant quantum algorithms could potentially contribute to most state-of-the-art, large-scale machine-learning problems.

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

↑