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

非自回归神经机器翻译的连续空间迭代精化

Iterative Refinement in the Continuous Space for Non-Autoregressive Neural Machine Translation

New York University(纽约大学)

Jason Lee, Raphael Shu, Kyunghyun Cho

摘要:

我们提出了一个有效的推理过程,非自回归机器翻译,迭代完善纯粹在连续空间的翻译。给定用于机器翻译的连续潜变量模型(Shu等人,2020),我们训练一个推理网络来近似目标句子的边缘对数概率的梯度,只使用潜在变量作为输入。这允许我们使用基于梯度的优化来在推理时找到近似最大化其边际概率的目标句子。由于每个细化步骤只涉及低维潜在空间中的计算(我们在实验中使用8),我们避免了现有的非自回归推理过程,往往在令牌空间细化所产生的计算开销。我们将我们的方法与最近提出的类似EM的推理过程(Shu等人,2020),在混合空间中进行优化,包括离散和连续变量。我们在WMT'14 En-De,WMT'16 Ro-En和IWELL '16 De-En上评估了我们的方法,并观察到与EM类推理相比的两个优点:(1)它在计算上是高效的,即每个细化步骤的速度是原来的两倍,(2)它更有效,在相同数量的细化步骤的情况下产生更高的边际概率和BLEU分数。例如,在WMT'14 En-De上,我们的方法能够以比自回归模型快6.2倍的速度解码,而对翻译质量的影响最小(0.9 BLEU)。

英文摘要:

We propose an efficient inference procedure for non-autoregressive machine translation that iteratively refines translation purely in the continuous space. Given a continuous latent variable model for machine translation (Shu et al., 2020), we train an inference network to approximate the gradient of the marginal log probability of the target sentence, using only the latent variable as input. This allows us to use gradient-based optimization to find the target sentence at inference time that approximately maximizes its marginal probability. As each refinement step only involves computation in the latent space of low dimensionality (we use 8 in our experiments), we avoid computational overhead incurred by existing non-autoregressive inference procedures that often refine in token space. We compare our approach to a recently proposed EM-like inference procedure (Shu et al., 2020) that optimizes in a hybrid space, consisting of both discrete and continuous variables. We evaluate our approach on WMT'14 En-De, WMT'16 Ro-En and IWSLT'16 De-En, and observe two advantages over the EM-like inference: (1) it is computationally efficient, i.e. each refinement step is twice as fast, and (2) it is more effective, resulting in higher marginal probabilities and BLEU scores with the same number of refinement steps. On WMT'14 En-De, for instance, our approach is able to decode 6.2 times faster than the autoregressive model with minimal degradation to translation quality (0.9 BLEU).

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

↑