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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Huang, Pengcheng, Mu, Yongyu, Wu, Yuzhang, Li, Bei, Xiao, Chunyang, Xiao, Tong, Zhu, Jingbo
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916329270804480
author Huang, Pengcheng
Mu, Yongyu
Wu, Yuzhang
Li, Bei
Xiao, Chunyang
Xiao, Tong
Zhu, Jingbo
author_facet Huang, Pengcheng
Mu, Yongyu
Wu, Yuzhang
Li, Bei
Xiao, Chunyang
Xiao, Tong
Zhu, Jingbo
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_13164
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Translate-and-Revise: Boosting Large Language Models for Constrained Translation
Huang, Pengcheng
Mu, Yongyu
Wu, Yuzhang
Li, Bei
Xiao, Chunyang
Xiao, Tong
Zhu, Jingbo
Computation and Language
Artificial Intelligence
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.
title Translate-and-Revise: Boosting Large Language Models for Constrained Translation
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2407.13164