Language Model Prior for Low-Resource Neural Machine Translation

Christos Baziotis, Barry Haddow, Alexandra Birch
4/30/2020
cs.CL

Official code: cbaziotis/lm-prior-for-nmt (43 stars, Jupyter Notebook, MIT, last commit 2021-03-16).

Abstract

The scarcity of large parallel corpora is an important obstacle for neural machine translation. A common solution is to exploit the knowledge of language models (LM) trained on abundant monolingual data.

Show full abstract

In this work, we propose a novel approach to incorporate a LM as prior in a neural translation model (TM). Specifically, we add a regularization term, which pushes the output distributions of the TM to be probable under the LM prior, while avoiding wrong predictions when the TM "disagrees" with the LM. This objective relates to knowledge distillation, where the LM can be viewed as teaching the TM about the target language. The proposed approach does not compromise decoding speed, because the LM is used only at training time, unlike previous work that requires it during inference. We present an analysis of the effects that different methods have on the distributions of the TM. Results on two low-resource machine translation datasets show clear improvements even with limited monolingual data.

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains source code for the paper "Language Model Prior for Low-Resource Neural Machine Translation"

437Jupyter Notebook, PythonApr 30, 20205 years agoMIT
language-modellm-priorsmachine-translationmonolingualneural-machine-translation+3 more

Similar Papers

Cite this paper

@article{baziotis2020language,
  title  = {Language Model Prior for Low-Resource Neural Machine Translation},
  author = {Christos Baziotis and Barry Haddow and Alexandra Birch},
  year   = {2020},
  eprint = {2004.14928},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.14928}
}

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

Discussion