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

用于文本分类的量子自注意力神经网络

Quantum Self-Attention Neural Networks for Text Classification

Institute for Quantum Computing, Baidu Research(百度研究院量子计算研究所);Centre for Quantum Software and Information, University of Technology Sydney(悉尼科技大学量子软件与信息中心);The University of Hong Kong(香港大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Guangxi Li, Xuanqiang Zhao, Xin Wang

AI总结:

针对QNLP依赖句法预处理、难以扩展的问题,提出量子自注意力神经网络QSANN,用高斯投影量子自注意力实现可在近期量子设备运行的文本分类,并取得优于现有QNLP与经典基线的效果。

摘要:

量子计算的一个新兴方向是在人工智能的各个领域建立有意义的量子应用,包括自然语言处理(NLP)。尽管一些基于句法分析的努力已经打开了量子自然语言处理(QNLP)研究的大门,但繁重的句法预处理和依赖句法的网络架构等限制使其在更大规模的真实世界数据集上不切实际。本文提出一种新的简单网络架构,称为量子自注意力神经网络(QSANN),可弥补这些限制。具体而言,我们将自注意力机制引入量子神经网络,随后利用高斯投影量子自注意力作为一种合理的量子版自注意力。因此,QSANN在更大规模数据集上有效且可扩展,并具有可在近期量子设备上实现的理想特性。特别地,在公开数据集的文本分类任务数值实验中,我们的QSANN优于现有最佳的基于句法分析的QNLP模型以及一个简单的经典自注意力神经网络。我们进一步表明,该方法对低水平量子噪声表现出鲁棒性,并展现出对量子神经网络架构的适应韧性。

英文摘要:

An emerging direction of quantum computing is to establish meaningful quantum applications in various fields of artificial intelligence, including natural language processing (NLP). Although some efforts based on syntactic analysis have opened the door to research in Quantum NLP (QNLP), limitations such as heavy syntactic preprocessing and syntax-dependent network architecture make them impracticable on larger and real-world data sets. In this paper, we propose a new simple network architecture, called the quantum self-attention neural network (QSANN), which can compensate for these limitations. Specifically, we introduce the self-attention mechanism into quantum neural networks and then utilize a Gaussian projected quantum self-attention serving as a sensible quantum version of self-attention. As a result, QSANN is effective and scalable on larger data sets and has the desirable property of being implementable on near-term quantum devices. In particular, our QSANN outperforms the best existing QNLP model based on syntactic analysis as well as a simple classical self-attention neural network in numerical experiments of text classification tasks on public data sets. We further show that our method exhibits robustness to low-level quantum noises and showcases resilience to quantum neural network architectures.

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

↑