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

半自回归神经机器翻译

Semi-Autoregressive Neural Machine Translation

Alibaba Group(阿里巴巴集团);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)

Chunqi Wang, Ji Zhang, Haiqing Chen

摘要:

神经机器翻译的现有方法通常是自回归模型。虽然这些模型达到了最先进的翻译质量,但它们的并行性很低,因此在解码长序列时速度很慢。本文提出了一种新的快速序列生成模型--半自回归Transformer(SAT)模型。SAT在全局中保持自回归特性,但在局部中减轻,因此能够在每个时间步并行产生多个连续的单词。在英德和汉英翻译任务上进行的实验表明,SAT在翻译质量和解码速度之间取得了很好的平衡。在WMT'14英-德翻译中,SAT在保持88%翻译质量的同时,实现了5.58 $\times$的加速比,明显优于以前的非自回归方法。当在每个时间步产生两个单词时,SAT几乎是无损的(BLEU分数仅下降1\%)。

英文摘要:

Existing approaches to neural machine translation are typically autoregressive models. While these models attain state-of-the-art translation quality, they are suffering from low parallelizability and thus slow at decoding long sequences. In this paper, we propose a novel model for fast sequence generation --- the semi-autoregressive Transformer (SAT). The SAT keeps the autoregressive property in global but relieves in local and thus is able to produce multiple successive words in parallel at each time step. Experiments conducted on English-German and Chinese-English translation tasks show that the SAT achieves a good balance between translation quality and decoding speed. On WMT'14 English-German translation, the SAT achieves 5.58$\times$ speedup while maintains 88\% translation quality, significantly better than the previous non-autoregressive methods. When produces two words at each time step, the SAT is almost lossless (only 1\% degeneration in BLEU score).

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

↑