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

基于神经网络的序列到序列学习

Sequence to Sequence Learning with Neural Networks

Google(谷歌)

Ilya Sutskever, Oriol Vinyals, Quoc V. Le

摘要:

深度神经网络(DNN)是一种强大的模型,在困难的学习任务上取得了优异的性能。尽管DNN在大型标记训练集可用时工作良好,但它们不能用于将序列映射到序列。在本文中,我们提出了一个通用的端到端的方法来序列学习,使序列结构的假设最少。我们的方法使用多层长短期记忆(LSTM)将输入序列映射到固定维度的向量,然后使用另一个深度LSTM从向量解码目标序列。我们的主要结果是,在WMT'14数据集的英语到法语翻译任务中,LSTM产生的翻译在整个测试集上的BLEU得分为34.8,其中LSTM的BLEU得分因词汇表外的单词而受到惩罚。此外,LSTM在长句上没有困难。相比之下,基于短语的SMT系统在同一数据集上的BLEU得分为33.3。当我们使用LSTM对上述SMT系统产生的1000个假设进行重新排序时,它的BLEU分数增加到36.5,接近该任务之前的最佳结果。LSTM还学习了对词序敏感并且对主动和被动语态相对不变的合理短语和句子表示。最后,我们发现颠倒所有源句子(但不是目标句子)中单词的顺序显著提高了LSTM的性能,因为这样做在源句子和目标句子之间引入了许多短期依赖关系,这使得优化问题变得更容易。

英文摘要:

Deep Neural Networks (DNNs) are powerful models that have achieved excellent performance on difficult learning tasks. Although DNNs work well whenever large labeled training sets are available, they cannot be used to map sequences to sequences. In this paper, we present a general end-to-end approach to sequence learning that makes minimal assumptions on the sequence structure. Our method uses a multilayered Long Short-Term Memory (LSTM) to map the input sequence to a vector of a fixed dimensionality, and then another deep LSTM to decode the target sequence from the vector. Our main result is that on an English to French translation task from the WMT'14 dataset, the translations produced by the LSTM achieve a BLEU score of 34.8 on the entire test set, where the LSTM's BLEU score was penalized on out-of-vocabulary words. Additionally, the LSTM did not have difficulty on long sentences. For comparison, a phrase-based SMT system achieves a BLEU score of 33.3 on the same dataset. When we used the LSTM to rerank the 1000 hypotheses produced by the aforementioned SMT system, its BLEU score increases to 36.5, which is close to the previous best result on this task. The LSTM also learned sensible phrase and sentence representations that are sensitive to word order and are relatively invariant to the active and the passive voice. Finally, we found that reversing the order of the words in all source sentences (but not target sentences) improved the LSTM's performance markedly, because doing so introduced many short term dependencies between the source and the target sentence which made the optimization problem easier.

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

↑