SOTAVerified

Lexically Constrained Neural Machine Translation with Levenshtein Transformer

2020-04-27ACL 2020Code Available1· sign in to hype

Raymond Hendy Susanto, Shamil Chollampatt, Liling Tan

Code Available — Be the first to reproduce this paper.

Reproduce

Code

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. 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.

Tasks

Reproductions