Glancing Transformer for Non-Autoregressive Neural Machine Translation

Lihua Qian, Hao Zhou, Yu Bao, Mingxuan Wang, Lin Qiu +3 more
8/18/2020
193 citations
cs.CL
transformer-attention

Official code: FLC777/GLAT (138 stars, Python, last commit 2023-03-15).

Abstract

Recent work on non-autoregressive neural machine translation (NAT) aims at improving the efficiency by parallel decoding without sacrificing the quality. However, existing NAT methods are either inferior to Transformer or require multiple decoding passes, leading to reduced speedup.

Show full abstract

We propose the Glancing Language Model (GLM), a method to learn word interdependency for single-pass parallel generation models. With GLM, we develop Glancing Transformer (GLAT) for machine translation. With only single-pass parallel decoding, GLAT is able to generate high-quality translation with 8-15 times speedup. Experiments on multiple WMT language directions show that GLAT outperforms all previous single pass non-autoregressive methods, and is nearly comparable to Transformer, reducing the gap to 0.25-0.9 BLEU points.

View on arXivView PDF

Code Implementations(1)

FLC777/GLATOfficial100%

Implementation of "Glancing Transformer for Non-Autoregressive Neural Machine Translation"

13829Python, CudaJun 25, 20213 years ago

Similar Papers

Cite this paper

@article{qian2020glancing,
  title  = {Glancing Transformer for Non-Autoregressive Neural Machine Translation},
  author = {Lihua Qian and Hao Zhou and Yu Bao and Mingxuan Wang and Lin Qiu and Weinan Zhang and Yong Yu and Lei Li},
  year   = {2020},
  eprint = {2008.07905},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.07905}
}

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/2008.07905.svg)](https://codeofpaper.com/paper/2008.07905)

Discussion