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

Diformer:神经机器翻译的定向Transformer

Diformer: Directional Transformer for Neural Machine Translation

Huawei Translation Services Center(华为翻译服务中心);The University of Melbourne(墨尔本大学)

Minghan Wang, Jiaxin Guo, Yuxia Wang, Daimeng Wei, Hengchao Shang, Chang Su, Yimeng Chen, Yinglu Li, Min Zhang, Shimin Tao, Hao Yang

摘要:

自回归(AR)和非自回归(NAR)模型在性能和延迟方面各有优势,将它们结合在一个模型中可以发挥两者的优势。当前的组合框架更多地关注于将多个解码范例与统一的生成模型(例如,掩蔽语言模型)集成。然而,由于训练目标和推理之间的差距,泛化可能对性能有害。在本文中,我们的目标是通过在一个统一的框架下保持AR和NAR的原始目标来缩小差距。具体来说,我们提出了方向Transformer(变形器),通过联合建模AR和NAR到三个生成方向(从左到右,从右到左和直)与一个新引入的方向变量,它的工作原理是控制每个令牌的预测在该方向下具有特定的依赖关系。通过方向实现的统一成功地保留了AR和NAR中使用的原始依赖性假设,同时保留了泛化和性能。在4个WMT基准测试上的实验表明,对于AR和NAR解码,Dimer优于当前的联合建模工作,BLEU点超过1.5,并且与最先进的独立AR和NAR模型也具有竞争力。

英文摘要:

Autoregressive (AR) and Non-autoregressive (NAR) models have their own superiority on the performance and latency, combining them into one model may take advantage of both. Current combination frameworks focus more on the integration of multiple decoding paradigms with a unified generative model, e.g. Masked Language Model. However, the generalization can be harmful to the performance due to the gap between training objective and inference. In this paper, we aim to close the gap by preserving the original objective of AR and NAR under a unified framework. Specifically, we propose the Directional Transformer (Diformer) by jointly modelling AR and NAR into three generation directions (left-to-right, right-to-left and straight) with a newly introduced direction variable, which works by controlling the prediction of each token to have specific dependencies under that direction. The unification achieved by direction successfully preserves the original dependency assumption used in AR and NAR, retaining both generalization and performance. Experiments on 4 WMT benchmarks demonstrate that Diformer outperforms current united-modelling works with more than 1.5 BLEU points for both AR and NAR decoding, and is also competitive to the state-of-the-art independent AR and NAR models.

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

↑