Skip to main content
QUICK REVIEW

[论文解读] Order-Agnostic Cross Entropy for Non-Autoregressive Machine Translation

Cunxiao Du, Zhaopeng Tu|arXiv (Cornell University)|Jun 9, 2021
Natural Language Processing TechniquesComputer Science被引用 47
一句话总结

简要回答:Introduces Order-Agnostic Cross Entropy (OaXE) to train fully non-autoregressive translation models by optimizing over best alignments between predictions and target tokens, improving handling of word reordering and multimodality.

ABSTRACT

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.

研究动机与目标

  • Highlight the multimodality challenge in fully non-autoregressive translation (NAT) due to word reordering.
  • Propose OaXE as a loss that uses the best alignment between predictions and target tokens.
  • Show that OaXE outperforms XE and AXE across multiple WMT benchmarks.
  • Maintain fast inference while improving translation quality and fluency.

提出的方法

  • Define OaXE as minimizing cross-entropy over the best alignment Oi between predictions and target tokens (Y).
  • Formulate the alignment-based loss using a bipartite matching setup and solve with the Hungarian algorithm (O(N^3)).
  • Use XE initialization to avoid invalid orderings and apply loss truncation to drop unlikely predictions.
  • Optionally combine XE and OaXE with an annealing schedule to progressively emphasize OaXE.
  • Evaluate on WMT14 En-De, WMT16 En-Ro, WMT17 En-Zh, and WAT17 Ja-En with knowledge distillation and raw-data settings.

实验结果

研究问题

  • RQ1Can removing word-order penalties via best-alignment loss improve NAT performance on varied language pairs?
  • RQ2Does OaXE mitigate the NAT multimodality problem (e.g., token repetitions) without sacrificing inference speed?
  • RQ3How does OaXE compare to AXE and vanilla XE across standard NAT benchmarks and with/without knowledge distillation?
  • RQ4What are the effects of XE initialization and loss truncation on training stability and performance?

主要发现

  • OaXE substantially improves translation quality over XE and AXE across major NAT benchmarks.
  • OaXE achieves new state-of-the-art fully NAT results: En-De (26.1/30.2), En-Ro (32.4/33.3), En-Zh (32.9/22.1).
  • OaXE reduces token repetitions and increases prediction confidence compared to baselines.
  • OaXE improves fluency and handles longer sentences better, maintaining fast inference.
  • With raw data (no distillation), OaXE outperforms vanilla XE and narrows the gap to distilled data.
  • OaXE reduces multimodality (lower NCM) and yields fewer repeated tokens (lower repetition rates).

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。