2020

Nearest Neighbor Machine Translation

Khandelwal, Urvashi, Fan, Angela, Jurafsky, Dan et al.

Understand

We introduce $k$-nearest-neighbor machine translation ($k$NN-MT), which predicts tokens with a nearest neighbor classifier over a large datastore of cached examples, using representations from a neural translation model for similarity search.

  • This approach requires no additional training and scales to give the decoder direct access to billions of examples at test time, resulting in a highly expressive model that consistently improves performance across many settings.
  • Simply adding nearest neighbor search improves a state-of-the-art German-English translation model by 1.5 BLEU.
  • $k$NN-MT allows a single model to be adapted to diverse domains by using a domain-specific datastore, improving results by an average of 9.2 BLEU over zero-shot transfer, and achieving new state-of-the-art results -- without training on these domains.

Reading the bibliography…