arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.12846cs.CLcs.AIcs.LGquant-ph
收藏

QNLP实践:在量子计算机上运行组合语义模型

QNLP in Practice: Running Compositional Models of Meaning on a Quantum Computer

Quantinuum LLC(Quantinuum有限责任公司)

Robin Lorenz, Anna Pearson, Konstantinos Meichanetzidis, Dimitri Kartsaklis, Bob Coecke

AI总结:

该研究利用组合语义模型与量子理论的形式相似性,首次在NISQ量子计算机上完成超百句数据集的NLP句子分类实验,验证了模型收敛性,并为实用QNLP发展铺垫基础。

摘要:

量子自然语言处理(Quantum Natural Language Processing,QNLP)致力于设计与实现可在量子硬件上运行的NLP模型。本文展示了首批在含噪声中等规模量子(Noisy Intermediate-Scale Quantum,NISQ)计算机上开展的NLP实验结果,实验所用数据集规模超过100个句子。利用Coecke、Sadrzadeh与Clark(2010)提出的组合语义模型和量子理论的形式相似性,我们构建了可自然映射到量子线路的句子表示。我们借助这些表示实现并成功训练了NLP模型,该模型可在量子硬件上完成简单的句子分类任务。我们开展了量子模拟实验,将Coecke等人的句法敏感模型与两个使用较少句法或完全不使用句法的基线模型进行对比;具体而言,我们实现了完全不考虑句法的“词袋”模型的量子等价模型,以及仅保留词序的词序列模型的量子等价模型。实验证明,所有模型在模拟环境与量子硬件上运行时均能平稳收敛,且结果符合基于任务性质与所用数据集的预期。本文的另一重要目标是以AI和NLP研究者易于理解的方式,介绍量子硬件实验的核心原理、流程与挑战。我们的目标是在这一未被充分探索的研究领域迈出最初的小步,为实用化的量子自然语言处理铺平道路。

英文摘要:

Quantum Natural Language Processing (QNLP) deals with the design and implementation of NLP models intended to be run on quantum hardware. In this paper, we present results on the first NLP experiments conducted on Noisy Intermediate-Scale Quantum (NISQ) computers for datasets of size greater than 100 sentences. Exploiting the formal similarity of the compositional model of meaning by Coecke, Sadrzadeh and Clark (2010) with quantum theory, we create representations for sentences that have a natural mapping to quantum circuits. We use these representations to implement and successfully train NLP models that solve simple sentence classification tasks on quantum hardware. We conduct quantum simulations that compare the syntax-sensitive model of Coecke et al. with two baselines that use less or no syntax; specifically, we implement the quantum analogues of a "bag-of-words" model, where syntax is not taken into account at all, and of a word-sequence model, where only word order is respected. We demonstrate that all models converge smoothly both in simulations and when run on quantum hardware, and that the results are the expected ones based on the nature of the tasks and the datasets used. Another important goal of this paper is to describe in a way accessible to AI and NLP researchers the main principles, process and challenges of experiments on quantum hardware. Our aim in doing this is to take the first small steps in this unexplored research territory and pave the way for practical Quantum Natural Language Processing.

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

↑