Lexically Constrained Neural Machine Translation with Levenshtein Transformer

Raymond Hendy Susanto, Shamil Chollampatt, Liling Tan
4/27/2020
cs.CL
transformer-attention

Official code: raymondhs/constrained-levt (40 stars, Python, MIT, last commit 2020-07-14).

Abstract

This paper proposes a simple and effective algorithm for incorporating lexical constraints in neural machine translation. Previous work either required re-training existing models with the lexical constraints or incorporating them during beam search decoding with significantly higher computational overheads.

Show full abstract

Leveraging the flexibility and speed of a recently proposed Levenshtein Transformer model (Gu et al., 2019), our method injects terminology constraints at inference time without any impact on decoding speed. Our method does not require any modification to the training procedure and can be easily applied at runtime with custom dictionaries. Experiments on English-German WMT datasets show that our approach improves an unconstrained baseline and previous approaches.

View on arXivView PDF

Code Implementations(1)

MIT

Lexically Constrained Neural Machine Translation with Levenshtein Transformer

405Python, CudaOct 23, 20196 years agoMIT

Similar Papers

Cite this paper

@article{susanto2020lexically,
  title  = {Lexically Constrained Neural Machine Translation with Levenshtein Transformer},
  author = {Raymond Hendy Susanto and Shamil Chollampatt and Liling Tan},
  year   = {2020},
  eprint = {2004.12681},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.12681}
}

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

Discussion