Non-Autoregressive Translation with Layer-Wise Prediction and Deep Supervision

Chenyang Huang, Hao Zhou, Osmar R. Zaïane, Lili Mou, Lei Li
10/14/2021
65 citations
cs.CL
transformer-attention

Official code: chenyangh/DSLP (44 stars, Python, MIT, last commit 2024-01-09).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

chenyangh/DSLPOfficial100%
MIT

Deeply Supervised, Layer-wise Prediction-aware (DSLP) Transformer for Non-autoregressive Neural Machine Translation

445Python, CudaOct 13, 20212 years agoMIT
transformertranslation

Similar Papers

Cite this paper

@article{huang2021nonautoregressive,
  title  = {Non-Autoregressive Translation with Layer-Wise Prediction and Deep Supervision},
  author = {Chenyang Huang and Hao Zhou and Osmar R. Zaïane and Lili Mou and Lei Li},
  year   = {2021},
  eprint = {2110.07515},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.07515}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.07515.svg)](https://codeofpaper.com/paper/2110.07515)

Discussion