RESEARCH

ML APPLICATIONS

Aligned Cross Entropy for Non-Autoregressive Machine Translation

July 15, 2020

Abstract

Non-autoregressive machine translation models significantly speed up decoding by allowing for parallel prediction of the entire target sequence. However, modeling word order is more challenging due to the lack of autoregressive factors in the model. This difficultly is compounded during training with cross entropy loss, which can highly penalize small shifts in word order. In this paper, we propose aligned cross entropy (AXE) as an alternate loss function for training of non-autoregressive models. AXE uses a differentiable dynamic program to assign loss based on the best possible monotonic alignment between target tokens and model predictions. AXE-based non-monotonic training of conditional masked language models (CMLMs) improves performance by 3 and 5 BLEU points respectively on WMT 16 EN-RO and WMT 14 EN-DE. It also significantly outperforms the state-of-the-art non-autoregressive models on a range of translation benchmarks.

Download the Paper

AUTHORS

Written by

Marjan Ghazvininejad

Luke Zettlemoyer

Omer Levy

Vladimir Karpukhin

Publisher

ICML

Related Publications

October 02, 2026

RESEARCH

Tightness of the Cycle-Based Relaxation for Completed Length-Three Alpha-Cycles

Aykut Arslan

October 02, 2026

October 02, 2026

RESEARCH

On Solvable Evolution Algebras and a Conjecture by García-Martínez and Pérez-Rodríguez

Andres Barei Bueno

October 02, 2026

October 02, 2026

RESEARCH

String Two-Point Function = Height Function on a Curve

Anindya Dey, Gabriel Herczeg, An Huang, Nicolas Jaramillo Torres, Jacob H. Swenberg

October 02, 2026

October 02, 2026

RESEARCH

Semiabelian Groups Need Not Be Monomial

Joseph Phillip Brennan, Milana Golich

October 02, 2026

Help Us Pioneer The Future of AI

We share our open source frameworks, tools, libraries, and models for everything from research exploration to large-scale production deployment.