Papers
arxiv:2407.13164

Translate-and-Revise: Boosting Large Language Models for Constrained Translation

Published on Jul 18, 2024
Authors:
,
,
,
,
,
,

Abstract

A revision process that prompts large language models to correct translations based on unmet constraints improves constrained translation accuracy across lexical and structural tasks, outperforming standard LLMs and neural machine translation methods.

Imposing constraints on machine translation systems presents a challenging issue because these systems are not trained to make use of constraints in generating adequate, fluent translations. In this paper, we leverage the capabilities of large language models (LLMs) for constrained translation, given that LLMs can easily adapt to this task by taking translation instructions and constraints as prompts. However, LLMs cannot always guarantee the adequacy of translation, and, in some cases, ignore the given constraints. This is in part because LLMs might be overly confident in their predictions, overriding the influence of the constraints. To overcome this overiding behaviour, we propose to add a revision process that encourages LLMs to correct the outputs by prompting them about the constraints that have not yet been met. We evaluate our approach on four constrained translation tasks, encompassing both lexical and structural constraints in multiple constraint domains. Experiments show 15\% improvement in constraint-based translation accuracy over standard LLMs and the approach also significantly outperforms neural machine translation (NMT) state-of-the-art methods.

Community

Author's note (Translate-and-Revise / CCL 2024):
Even when required terminology or structural constraints are included in the prompt, LLMs often drop constraints during single-pass translation. Translate-and-Revise adds a targeted revision stage that flags unmet constraints in the initial draft and prompts the LLM to revise. Across four lexical and structural constrained translation tasks, TAR achieves comparable or better constraint satisfaction than specialized NMT constrained decoding with much higher BLEU.
Official ACL Anthology record: https://aclanthology.org/2024.ccl-1.82/ | Project page: https://passionate11.github.io/Translate-and-Revise-project-page/ | Table 2 CSV: https://huggingface.co/datasets/chengpingan/lexically-constrained-translation-results | Interactive guide: https://huggingface.co/spaces/chengpingan/terminology-constrained-translation

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2407.13164
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2407.13164 in a model README.md to link it from this page.

Datasets citing this paper 1

Spaces citing this paper 1

Collections including this paper 2