Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translation

By Matt Post, David Vilar. 2018

367 citations recorded by the source corpus.

The end-to-end nature of neural machine translation (NMT) removes many ways of manually guiding the translation process that were available in older paradigms. Recent work, however, has introduced a new capability: lexically constrained or guided decoding, a modification to beam search that forces the inclusion of pre-specified words and phrases in the output. However, while theoretically sound, existing approaches have computational complexities that are either linear (Hokamp and Liu, 2017) or exponential (Anderson et al., 2017) in the number of constraints. We present a algorithm for lexically constrained decoding with a complexity of O(1) in the number of constraints. We demonstrate the algorithm’s remarkable ability to properly place these constraints, and use it to explore the shaky relationship between model and BLEU scores. Our implementation is available as part of Sockeye.

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. Yejin Choi
  2. Mohit Bansal
  3. Noah A. Smith
  4. Luke S. Zettlemoyer
  5. Hannaneh Hajishirzi
  6. Jianfeng Gao
  7. Percy Liang
  8. Graham Neubig

In Computer Vision and Pattern Recognition

  1. Yejin Choi
  2. Mohit Bansal
  3. Luc Van Gool
  4. Jianfeng Gao
  5. Hannaneh Hajishirzi
  6. Dacheng Tao
  7. Trevor Darrell
  8. Cordelia Schmid

In Natural Language Processing

  1. Yejin Choi
  2. Mohit Bansal
  3. Noah A. Smith
  4. Luke S. Zettlemoyer
  5. Hannaneh Hajishirzi
  6. Graham Neubig
  7. Caiming Xiong
  8. Jianfeng Gao

Citations in the corpus