Cascaded Beam Search: Plug-and-Play Terminology-Forcing For Neural Machine Translation

Frédéric Odermatt, Béni Egressy, Roger Wattenhofer
5/23/2023
cs.CLcs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

This paper presents a plug-and-play approach for translation with terminology constraints. Terminology constraints are an important aspect of many modern translation pipelines. In both specialized domains and newly emerging domains (such as the COVID-19 pandemic), accurate translation of technical terms is crucial. Recent approaches often train models to copy terminologies from the input into the output sentence by feeding the target terminology along with the input. But this requires expensive training whenever the underlying language model is changed or the system should specialize to a new domain. We propose Cascade Beam Search, a plug-and-play terminology-forcing approach that requires no training. Cascade Beam Search has two parts: 1) logit manipulation to increase the probability of target terminologies and 2) a cascading beam setup based on grid beam search, where beams are grouped by the number of terminologies they contain. We evaluate the performance of our approach by competing against the top submissions of the WMT21 terminology translation task. Our plug-and-play approach performs on par with the winning submissions without using a domain-specific language model and with no additional training.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{odermatt2023cascaded,
  title  = {Cascaded Beam Search: Plug-and-Play Terminology-Forcing For Neural Machine Translation},
  author = {Frédéric Odermatt and Béni Egressy and Roger Wattenhofer},
  year   = {2023},
  eprint = {2305.14538},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.14538v1}
}

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

Discussion