Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translation

By Jungo Kasai, Nikolaos Pappas, James Cross, Noah A. Smith. 2020

156 citations recorded by the source corpus.

Much recent effort has been invested in non-autoregressive neural machine translation, which appears to be an efficient alternative to state-of-the-art autoregressive machine translation on modern GPUs. In contrast to the latter, where generation is sequential, the former allows generation to be parallelized across target token positions. Some of the latest non-autoregressive models have achieved impressive translation quality-speed tradeoffs compared to autoregressive baselines. In this work, we reexamine this tradeoff and argue that autoregressive baselines can be substantially sped up without loss in accuracy. Specifically, we study autoregressive models with encoders and decoders of varied depths. Our extensive experiments show that given a sufficiently deep encoder, a single-layer autoregressive decoder can substantially outperform strong non-autoregressive models with comparable inference speed. We show that the speed disadvantage for autoregressive baselines compared to non-autoregressive methods has been overestimated in three aspects: suboptimal layer allocation, insufficient speed measurement, and lack of knowledge distillation. Our results establish a new protocol for future research toward fast, accurate machine translation. Our code is available at https://github.com/jungokasai/deep-shallow.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Noah A. Smith
  4. Yejin Choi
  5. Furu Wei
  6. Jianfeng Gao
  7. Yi Tay
  8. Graham Neubig

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Jitendra Malik
  4. Trevor Darrell
  5. Ming-Hsuan Yang
  6. Xiaogang Wang
  7. Andrew Zisserman
  8. Cordelia Schmid

In Natural Language Processing

  1. Yejin Choi
  2. Noah A. Smith
  3. Graham Neubig
  4. Luke S. Zettlemoyer
  5. Mohit Bansal
  6. Kyunghyun Cho
  7. Furu Wei
  8. Hannaneh Hajishirzi

Citations in the corpus