[Paper Review] Non-Autoregressive Translation with Layer-Wise Prediction and Deep Supervision
This paper proposes DSLP, a non-autoregressive Transformer model that improves translation quality through layer-wise prediction and deep supervision, achieving state-of-the-art performance—surpassing autoregressive models on three of four benchmarks—while accelerating inference by 14.8x.
How do we perform efficient inference while retaining high translation quality? Existing neural machine translation models, such as Transformer, achieve high performance, but they decode words one by one, which is inefficient. Recent non-autoregressive translation models speed up the inference, but their quality is still inferior. In this work, we propose DSLP, a highly efficient and high-performance model for machine translation. The key insight is to train a non-autoregressive Transformer with Deep Supervision and feed additional Layer-wise Predictions. We conducted extensive experiments on four translation tasks (both directions of WMT'14 EN-DE and WMT'16 EN-RO). Results show that our approach consistently improves the BLEU scores compared with respective base models. Specifically, our best variant outperforms the autoregressive model on three translation tasks, while being 14.8 times more efficient in inference.
Motivation & Objective
- Address the quality-efficiency trade-off in neural machine translation by improving non-autoregressive models without sacrificing inference speed.
- Overcome the limitations of standard non-autoregressive Transformers, which generate all tokens in parallel and lack sequential calibration, leading to inconsistent or repetitive outputs.
- Improve model calibration by introducing predictions at every decoder layer, enabling intermediate predictions to inform and refine subsequent layers.
- Enhance training stability and performance by applying deep supervision and mixed training, where intermediate predictions are partially supervised by ground-truth tokens.
- Demonstrate the generality and effectiveness of the framework across multiple base non-autoregressive models (vanilla NAT, CMLM, GLAT, CTC) on diverse translation tasks.
Proposed method
- Introduce layer-wise prediction in a non-autoregressive Transformer, where each decoder layer produces a prediction for the target sequence, enabling progressive refinement through the network depth.
- Apply deep supervision by training each decoder layer to predict the ground-truth target sequence, ensuring intermediate predictions are grounded and meaningful.
- Implement a mixed training strategy that combines ground-truth tokens with layer-wise predictions during training using a learnable mixing ratio (set to 0.3), improving training stability and performance.
- Use a standard Transformer architecture as the backbone, with modifications to allow intermediate predictions to be passed forward and used in subsequent layers for calibration.
- Apply knowledge distillation from an autoregressive teacher model to guide the training of the non-autoregressive student model, improving alignment and reducing mode collapse.
- Employ BPE tokenization and evaluate on WMT’14 EN–DE, WMT’16 EN–RO, and their reverse directions to assess robustness and generalization.
Experimental results
Research questions
- RQ1Can layer-wise prediction and deep supervision significantly improve the quality of non-autoregressive translation without compromising inference speed?
- RQ2Does introducing intermediate predictions across decoder layers enable meaningful calibration and reduce repetition and inconsistency in generated sequences?
- RQ3How does mixed training—where intermediate predictions are partially replaced with ground-truth tokens—affect model convergence and final performance?
- RQ4Can the DSLP framework outperform both standard non-autoregressive models and even their autoregressive teacher models in terms of BLEU score while maintaining high inference efficiency?
- RQ5Does the proposed method generalize across different base non-autoregressive architectures (e.g., CTC, GLAT, CMLM) and translation directions?
Key findings
- DSLP consistently improves BLEU scores across all four translation tasks (WMT’14 EN–DE, DE–EN, WMT’16 EN–RO, RO–EN), with gains exceeding 1 BLEU point over respective base models.
- The best DSLP variant, using CTC with mixed training, achieves a BLEU score of 30.8 on WMT’14 EN–DE, surpassing the autoregressive teacher model’s score of 30.7.
- On three of the four benchmark datasets, the DSLP model outperforms its autoregressive teacher model, demonstrating that non-autoregressive models can exceed autoregressive baselines in quality.
- The model achieves a 14.8x speedup in inference compared to the autoregressive teacher model, maintaining high quality.
- Word repetition rates decrease significantly from early to final layers (e.g., <15% in final layer), confirming effective calibration through deeper layers.
- Mixed training with a ratio of 0.3 yields optimal performance, while annealing the mixing ratio to zero degrades final results, indicating that partial ground-truth supervision is essential during training.
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.