[Paper Review] End-to-End Non-Autoregressive Neural Machine Translation with Connectionist Temporal Classification
This paper proposes an end-to-end non-autoregressive neural machine translation model using Connectionist Temporal Classification (CTC) to enable parallel decoding without iterative refinement. By projecting encoder states into a longer sequence and applying CTC loss, the model achieves 4x faster inference than autoregressive baselines while maintaining translation quality at 80–90% of autoregressive BLEU scores on English-Romanian and English-German tasks.
Autoregressive decoding is the only part of sequence-to-sequence models that prevents them from massive parallelization at inference time. Non-autoregressive models enable the decoder to generate all output symbols independently in parallel. We present a novel non-autoregressive architecture based on connectionist temporal classification and evaluate it on the task of neural machine translation. Unlike other non-autoregressive methods which operate in several steps, our model can be trained end-to-end. We conduct experiments on the WMT English-Romanian and English-German datasets. Our models achieve a significant speedup over the autoregressive models, keeping the translation quality comparable to other non-autoregressive models.
Motivation & Objective
- To address the sequential bottleneck in autoregressive neural machine translation by enabling full parallelization at inference.
- To develop a non-autoregressive NMT model that can be trained end-to-end without separate stages or iterative refinement.
- To maintain competitive translation quality while significantly improving inference speed over autoregressive models.
- To explore the use of Connectionist Temporal Classification (CTC) as a unified training objective for sequence-to-sequence translation without alignment supervision.
Proposed method
- The model uses a Transformer encoder with a learnable projection to expand each encoder state into k vectors, creating a k×Tx-length sequence s.
- A CTC-style decoder processes s without autoregressive constraints, generating output tokens or null symbols in parallel.
- The CTC loss computes the probability of all possible alignments between the output sequence and the reference, summing over all valid paths via the forward-backward algorithm.
- The model is trained end-to-end using the CTC objective, eliminating the need for separate length estimation or iterative refinement steps.
- The architecture avoids the use of masking in self-attention, enabling full parallelization during inference.
Experimental results
Research questions
- RQ1Can a non-autoregressive NMT model be trained end-to-end using CTC without separate length estimation or iterative refinement?
- RQ2How does the translation quality of an end-to-end CTC-based non-autoregressive model compare to autoregressive and multi-stage non-autoregressive baselines?
- RQ3To what extent does the splitting factor k affect model performance and inference efficiency?
- RQ4Is there a correlation between the number of null symbols and translation quality in the CTC-based model?
Key findings
- The model achieves a 4x speedup in decoding time compared to the autoregressive baseline, with 350ms average inference time on GPU for English-German translation.
- On the WMT English-German translation task, the model reaches 25.12 BLEU for en-de and 28.89 for de-en, representing 80–90% of the autoregressive baseline's performance.
- The model's performance is mildly correlated with the number of null symbols (r = 0.15), suggesting that increasing the splitting factor k could improve results at the cost of higher memory usage.
- Sentence-level BLEU scores degrade slightly more with longer source sentences in the non-autoregressive model (r = -0.42) than in the autoregressive model (r = -0.39), indicating a modest length generalization gap.
- Manual evaluation shows that the non-autoregressive model produces fewer correct translations (23% vs 65%) and more errors like missing verbs or corrupt named entities, but still outperforms some prior non-autoregressive methods in BLEU scores.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.