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

非自回归机器翻译中的阶数无关交叉熵

Order-Agnostic Cross Entropy for Non-Autoregressive Machine Translation

Singapore Management University(新加坡管理大学);Tencent AI Lab(腾讯AI实验室)

Cunxiao Du, Zhaopeng Tu, Jing Jiang

摘要:

我们提出了一个新的训练目标命名为顺序不可知交叉熵(OaXE)的完全非自回归翻译(NAT)模型。OaXE改进了标准的交叉熵损失,以改善单词重排的效果,这是NAT中关键多模态问题的常见来源。具体地,OaXE消除了单词顺序错误的惩罚,并基于模型预测和目标令牌之间的最佳对齐来计算交叉熵损失。由于日志丢失对无效引用非常敏感,因此我们利用交叉熵初始化和丢失截断来确保模型集中在搜索空间的很大一部分。在主要的WMT基准测试上进行的大量实验表明,OaXE大大提高了翻译性能,为完全NAT模型创造了新的技术水平。进一步的分析表明,OaXE通过减少令牌重复和增加预测置信度来解决多模态问题。我们的代码、数据和训练模型可以在https://github.com/tencent-ailab/ICML21_OAXE上找到。

英文摘要:

We propose a new training objective named order-agnostic cross entropy (OaXE) for fully non-autoregressive translation (NAT) models. OaXE improves the standard cross-entropy loss to ameliorate the effect of word reordering, which is a common source of the critical multimodality problem in NAT. Concretely, OaXE removes the penalty for word order errors, and computes the cross entropy loss based on the best possible alignment between model predictions and target tokens. Since the log loss is very sensitive to invalid references, we leverage cross entropy initialization and loss truncation to ensure the model focuses on a good part of the search space. Extensive experiments on major WMT benchmarks show that OaXE substantially improves translation performance, setting new state of the art for fully NAT models. Further analyses show that OaXE alleviates the multimodality problem by reducing token repetitions and increasing prediction confidence. Our code, data, and trained models are available at https://github.com/tencent-ailab/ICML21_OAXE.

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

↑