Efficient Machine Translation Domain Adaptation

Pedro Henrique Martins, Zita Marinho, André F. T. Martins
4/26/2022
cs.CL

Official code: deep-spin/efficient_kNN_MT (5 stars, Python, MIT, last commit 2022-05-05).

Abstract

Machine translation models struggle when translating out-of-domain text, which makes domain adaptation a topic of critical importance. However, most domain adaptation methods focus on fine-tuning or training the entire or part of the model on every new domain, which can be costly.

Show full abstract

On the other hand, semi-parametric models have been shown to successfully perform domain adaptation by retrieving examples from an in-domain datastore (Khandelwal et al., 2021). A drawback of these retrieval-augmented models, however, is that they tend to be substantially slower. In this paper, we explore several approaches to speed up nearest neighbor machine translation. We adapt the methods recently proposed by He et al. (2021) for language modeling, and introduce a simple but effective caching strategy that avoids performing retrieval when similar contexts have been seen before. Translation quality and runtimes for several domains show the effectiveness of the proposed solutions.

View on arXivView PDF

Code Implementations(1)

MIT
52Python, CudaMar 31, 20224 years agoMIT

Similar Papers

Cite this paper

@article{martins2022efficient,
  title  = {Efficient Machine Translation Domain Adaptation},
  author = {Pedro Henrique Martins and Zita Marinho and André F. T. Martins},
  year   = {2022},
  eprint = {2204.12608},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.12608}
}

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

Discussion