Saved in:
Bibliographic Details
Main Authors: Yang, Yilin, Lee, Stefan, Tadepalli, Prasad
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.05738
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913465438830592
author Yang, Yilin
Lee, Stefan
Tadepalli, Prasad
author_facet Yang, Yilin
Lee, Stefan
Tadepalli, Prasad
contents Beam search decoding is the de-facto method for decoding auto-regressive Neural Machine Translation (NMT) models, including multilingual NMT where the target language is specified as an input. However, decoding multilingual NMT models commonly produces ``off-target'' translations -- yielding translation outputs not in the intended language. In this paper, we first conduct an error analysis of off-target translations for a strong multilingual NMT model and identify how these decodings are produced during beam search. We then propose Language-informed Beam Search (LiBS), a general decoding algorithm incorporating an off-the-shelf Language Identification (LiD) model into beam search decoding to reduce off-target translations. LiBS is an inference-time procedure that is NMT-model agnostic and does not require any additional parallel data. Results show that our proposed LiBS algorithm on average improves +1.1 BLEU and +0.9 BLEU on WMT and OPUS datasets, and reduces off-target rates from 22.9\% to 7.7\% and 65.8\% to 25.3\% respectively.
format Preprint
id arxiv_https___arxiv_org_abs_2408_05738
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Language-Informed Beam Search Decoding for Multilingual Machine Translation
Yang, Yilin
Lee, Stefan
Tadepalli, Prasad
Computation and Language
Beam search decoding is the de-facto method for decoding auto-regressive Neural Machine Translation (NMT) models, including multilingual NMT where the target language is specified as an input. However, decoding multilingual NMT models commonly produces ``off-target'' translations -- yielding translation outputs not in the intended language. In this paper, we first conduct an error analysis of off-target translations for a strong multilingual NMT model and identify how these decodings are produced during beam search. We then propose Language-informed Beam Search (LiBS), a general decoding algorithm incorporating an off-the-shelf Language Identification (LiD) model into beam search decoding to reduce off-target translations. LiBS is an inference-time procedure that is NMT-model agnostic and does not require any additional parallel data. Results show that our proposed LiBS algorithm on average improves +1.1 BLEU and +0.9 BLEU on WMT and OPUS datasets, and reduces off-target rates from 22.9\% to 7.7\% and 65.8\% to 25.3\% respectively.
title Language-Informed Beam Search Decoding for Multilingual Machine Translation
topic Computation and Language
url https://arxiv.org/abs/2408.05738