arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.09541cs.CLcs.AIcs.LG
收藏

QANet:结合局部卷积和整体自注意的阅读理解

QANet: Combining Local Convolution with Global Self-Attention for Reading Comprehension

Carnegie Mellon University(卡内基梅隆大学);Google Brain(谷歌大脑)

Adams Wei Yu, David Dohan, Minh-Thang Luong, Rui Zhao, Kai Chen, Mohammad Norouzi, Quoc V. Le

摘要:

当前的端到端机器阅读和问答(Q\&A)模型主要基于具有注意力的递归神经网络(RNN)。尽管它们取得了成功,但由于RNN的顺序性,这些模型在训练和推理方面往往都很慢。我们提出了一种新的Q\&A架构,称为QANet,它不需要递归网络:它的编码器仅由卷积和自注意组成,其中卷积模型局部交互和自注意模型全局交互。在SQuAD数据集上,我们的模型在训练方面快3倍到13倍,在推理方面快4倍到9倍,同时达到与递归模型相同的准确性。加速增益允许我们用更多的数据训练模型。因此,我们将我们的模型与通过神经机器翻译模型的反向翻译生成的数据相结合。在SQuAD数据集上,我们使用增强数据进行训练的单个模型在测试集上获得了84.6的F1分数,这明显优于最好的F1分数81.8。

英文摘要:

Current end-to-end machine reading and question answering (Q\&A) models are primarily based on recurrent neural networks (RNNs) with attention. Despite their success, these models are often slow for both training and inference due to the sequential nature of RNNs. We propose a new Q\&A architecture called QANet, which does not require recurrent networks: Its encoder consists exclusively of convolution and self-attention, where convolution models local interactions and self-attention models global interactions. On the SQuAD dataset, our model is 3x to 13x faster in training and 4x to 9x faster in inference, while achieving equivalent accuracy to recurrent models. The speed-up gain allows us to train the model with much more data. We hence combine our model with data generated by backtranslation from a neural machine translation model. On the SQuAD dataset, our single model, trained with augmented data, achieves 84.6 F1 score on the test set, which is significantly better than the best published F1 score of 81.8.

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

↑