arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2110.06920cs.CL
收藏

语义感知注意力改善神经机器翻译

Semantics-aware Attention Improves Neural Machine Translation

The Hebrew University of Jerusalem(耶路撒冷希伯来大学)

Aviv Slobodkin, Leshem Choshen, Omri Abend

摘要:

将句法结构整合到Transformer机器翻译中已经取得了积极的成果,但据我们所知,还没有工作试图这样做语义结构。在这项工作中,我们提出了两种新的无参数的方法注入语义信息到Transformers,都依赖于语义感知掩蔽(一些)的注意头。一种这样的方法通过场景感知自注意(SASA)头在编码器上操作。另一个在解码器上,通过场景感知交叉注意(SACrA)头。我们表现出一致的改进香草Transformer和语法感知模型的四种语言对。我们进一步表明,在一些语言对使用语义和句法结构时,额外的收益。

英文摘要:

The integration of syntactic structures into Transformer machine translation has shown positive results, but to our knowledge, no work has attempted to do so with semantic structures. In this work we propose two novel parameter-free methods for injecting semantic information into Transformers, both rely on semantics-aware masking of (some of) the attention heads. One such method operates on the encoder, through a Scene-Aware Self-Attention (SASA) head. Another on the decoder, through a Scene-Aware Cross-Attention (SACrA) head. We show a consistent improvement over the vanilla Transformer and syntax-aware models for four language pairs. We further show an additional gain when using both semantic and syntactic structures in some language pairs.

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

↑