arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.11218cs.CL
收藏

不需要提高对Transformer NMT中电源故障的认识

Promoting the Knowledge of Source Syntax in Transformer NMT Is Not Needed

Charles University(查理大学)

Thuong-Hai Pham, Dominik Macháček, Ondřej Bojar

摘要:

神经机器翻译中语言注释的效用似乎在过去的论文中已经建立。然而,这些实验仅限于经常性的序列到序列架构和相对较小的数据设置。我们专注于最先进的Transformer模型,并使用更大的语料库。具体来说,我们试图通过简单的数据操作技术或通过一个专用的模型组件,使用多任务学习来促进源端语法的知识。特别地,我们训练其中一个Transformer attention head来生成源端依赖树。总的来说,我们的研究结果对多任务设置与语言信息的效用提出了一些质疑。在以前的作品中推荐的数据操作技术,在大数据设置中证明是无效的。将自我注意视为依存关系似乎更有前途:它有助于翻译,并揭示了Transformer模型可以很容易地掌握句法结构。然而,一个重要但奇怪的结果是,相同的收益是通过使用平凡的“线性树”,而不是真正的依赖关系。因此,增益的原因可能不是来自增加的语言知识,而是来自我们在自注意矩阵上诱导的一些更简单的正则化效应。

英文摘要:

The utility of linguistic annotation in neural machine translation seemed to had been established in past papers. The experiments were however limited to recurrent sequence-to-sequence architectures and relatively small data settings. We focus on the state-of-the-art Transformer model and use comparably larger corpora. Specifically, we try to promote the knowledge of source-side syntax using multi-task learning either through simple data manipulation techniques or through a dedicated model component. In particular, we train one of Transformer attention heads to produce source-side dependency tree. Overall, our results cast some doubt on the utility of multi-task setups with linguistic information. The data manipulation techniques, recommended in previous works, prove ineffective in large data settings. The treatment of self-attention as dependencies seems much more promising: it helps in translation and reveals that Transformer model can very easily grasp the syntactic structure. An important but curious result is, however, that identical gains are obtained by using trivial "linear trees" instead of true dependencies. The reason for the gain thus may not be coming from the added linguistic knowledge but from some simpler regularizing effect we induced on self-attention matrices.

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

↑