Training Neural Machine Translation To Apply Terminology Constraints

Georgiana Dinu, Prashant Mathur, Marcello Federico, Yaser Al-Onaizan
6/3/2019
cs.CLcs.AIcs.LG

Official code: mtresearcher/terminology_dataset (24 stars, Python, Apache-2.0, last commit 2020-02-27).

Abstract

This paper proposes a novel method to inject custom terminology into neural machine translation at run time. Previous works have mainly proposed modifications to the decoding algorithm in order to constrain the output to include run-time-provided target terms.

Show full abstract

While being effective, these constrained decoding methods add, however, significant computational overhead to the inference step, and, as we show in this paper, can be brittle when tested in realistic conditions. In this paper we approach the problem by training a neural MT system to learn how to use custom terminology when provided with the input. Comparative experiments show that our method is not only more effective than a state-of-the-art implementation of constrained decoding, but is also as fast as constraint-free decoding.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Terminology Dataset

245PythonOct 17, 20196 years agoApache-2.0

Similar Papers

Cite this paper

@article{dinu2019training,
  title  = {Training Neural Machine Translation To Apply Terminology Constraints},
  author = {Georgiana Dinu and Prashant Mathur and Marcello Federico and Yaser Al-Onaizan},
  year   = {2019},
  eprint = {1906.01105},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.01105}
}

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

Discussion