Faster Transformer Decoding: N-gram Masked Self-Attention

By Ciprian Chelba, M. Chen, Ankur Bapna, Noam Shazeer. 2020

20 citations recorded by the source corpus.

Motivated by the fact that most of the information relevant to the prediction of target tokens is drawn from the source sentence $S=s_1, \ldots, s_S$, we propose truncating the target-side window used for computing self-attention by making an $N$-gram assumption. Experiments on WMT EnDe and EnFr data sets show that the $N$-gram masked self-attention model loses very little in BLEU score for $N$ values in the range $4, \ldots, 8$, depending on the task.

Subfields: Artificial Intelligence, Natural Language Processing, Efficiency & Compression

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. Noah A. Smith
  2. Krzysztof Marcin Choromanski
  3. Jungo Kasai
  4. Adrian Weller
  5. Hao Peng
  6. Tri Dao
  7. Mohit Bansal
  8. James Cross

In Natural Language Processing

  1. Noah A. Smith
  2. Jungo Kasai
  3. Nikolaos Pappas
  4. Hao Peng
  5. James Cross
  6. Graham Neubig
  7. Mohit Bansal
  8. Percy Liang

In Efficiency & Compression

  1. Noah A. Smith
  2. Nikolaos Pappas
  3. Adrian Weller
  4. Valerii Likhosherstov
  5. Krzysztof Marcin Choromanski
  6. Jared Davis
  7. Xingyou Song
  8. James Cross

Citations in the corpus