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

利用词汇快捷方式拓宽神经机器翻译的表征瓶颈

Widening the Representation Bottleneck in Neural Machine Translation with Lexical Shortcuts

University of Edinburgh(爱丁堡大学);University of Amsterdam(阿姆斯特丹大学);University of Zurich(苏黎世大学)

Denis Emelin, Ivan Titov, Rico Sennrich

摘要:

Transformer是一种最先进的神经翻译模型,它使用注意力来迭代地改进词汇表示,并从周围的上下文中提取信息。词汇特征被输入到第一层,并通过隐藏层的深层网络传播。我们认为,需要表示和传播词汇功能,在每一层限制了模型的学习能力和代表其他相关的信息的任务。为了缓解这个瓶颈,我们在嵌入层和编码器和解码器中的每个后续层之间引入门控快捷连接。这使得模型能够动态地访问相关的词汇内容,而无需将有限的资源用于将其存储在中间状态中。我们表明,所提出的修改产生一致的改进超过基线Transformer标准WMT翻译任务在5个翻译方向(平均0.9 BLEU),并减少了隐藏层传递的词汇信息量。此外,我们评估不同的方式来整合词汇连接到Transformer架构,并提出消融实验,探索建议的快捷方式对模型行为的影响。

英文摘要:

The transformer is a state-of-the-art neural translation model that uses attention to iteratively refine lexical representations with information drawn from the surrounding context. Lexical features are fed into the first layer and propagated through a deep network of hidden layers. We argue that the need to represent and propagate lexical features in each layer limits the model's capacity for learning and representing other information relevant to the task. To alleviate this bottleneck, we introduce gated shortcut connections between the embedding layer and each subsequent layer within the encoder and decoder. This enables the model to access relevant lexical content dynamically, without expending limited resources on storing it within intermediate states. We show that the proposed modification yields consistent improvements over a baseline transformer on standard WMT translation tasks in 5 translation directions (0.9 BLEU on average) and reduces the amount of lexical information passed along the hidden layers. We furthermore evaluate different ways to integrate lexical connections into the transformer architecture and present ablation experiments exploring the effect of proposed shortcuts on model behavior.

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

↑