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

改进长上下文文档级机器翻译

Improving Long Context Document-Level Machine Translation

RWTH Aachen University(亚琛工业大学)

Christian Herold, Hermann Ney

AI总结:

针对文档级NMT扩大上下文时内存激增、性能下降的问题,提出约束注意力变体聚焦序列相关部分并降内存,经针对性测试评估,该方法在句子级与全上下文NMT间实现良好平衡,低资源场景优势明显。

摘要:

神经机器翻译(NMT)的文档级上下文对于提升翻译的一致性与连贯性、歧义输入的翻译效果以及若干其他语言现象的处理能力至关重要。目前已有大量围绕文档级NMT的研究,但多数系统仅局限于局部上下文,通常仅将前一两句作为额外信息输入。这或许足以消解部分输入的歧义,但可能无法捕捉话题、对话风格这类文档层面的信息。当上下文规模超出局部范围时,会面临两大挑战:(1)内存占用呈指数级增长;(2)翻译性能开始下降。我们认为广泛使用的注意力机制是导致这两个问题的根源。因此,我们提出一种约束注意力变体,将注意力聚焦于序列中最相关的部分,同时降低内存消耗。在评估环节,我们采用针对性测试集结合新型评估技术,针对特定语篇相关现象分析翻译结果。研究发现,我们的方法在句子级NMT与全上下文注意力之间实现了良好的平衡,在低资源场景下表现尤为突出。

英文摘要:

Document-level context for neural machine translation (NMT) is crucial to improve the translation consistency and cohesion, the translation of ambiguous inputs, as well as several other linguistic phenomena. Many works have been published on the topic of document-level NMT, but most restrict the system to only local context, typically including just the one or two preceding sentences as additional information. This might be enough to resolve some ambiguous inputs, but it is probably not sufficient to capture some document-level information like the topic or style of a conversation. When increasing the context size beyond just the local context, there are two challenges: (i) the~memory usage increases exponentially (ii) the translation performance starts to degrade. We argue that the widely-used attention mechanism is responsible for both issues. Therefore, we propose a constrained attention variant that focuses the attention on the most relevant parts of the sequence, while simultaneously reducing the memory consumption. For evaluation, we utilize targeted test sets in combination with novel evaluation techniques to analyze the translations in regards to specific discourse-related phenomena. We find that our approach is a good compromise between sentence-level NMT vs attending to the full context, especially in low resource scenarios.

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

↑