Paying More Attention to Source Context: Mitigating Unfaithful Translations from Large Language Model

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhang, Hongbin, Chen, Kehai, Bai, Xuefeng, Xiang, Yang, Zhang, Min
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910481175805952
author Zhang, Hongbin
Chen, Kehai
Bai, Xuefeng
Xiang, Yang
Zhang, Min
author_facet Zhang, Hongbin
Chen, Kehai
Bai, Xuefeng
Xiang, Yang
Zhang, Min
contents Large language models (LLMs) have showcased impressive multilingual machine translation ability. However, unlike encoder-decoder style models, decoder-only LLMs lack an explicit alignment between source and target contexts. Analyzing contribution scores during generation processes revealed that LLMs can be biased towards previously generated tokens over corresponding source tokens, leading to unfaithful translations. To address this issue, we propose to encourage LLMs to pay more attention to the source context from both source and target perspectives in zeroshot prompting: 1) adjust source context attention weights; 2) suppress irrelevant target prefix influence; Additionally, we propose 3) avoiding over-reliance on the target prefix in instruction tuning. Experimental results from both human-collected unfaithfulness test sets focusing on LLM-generated unfaithful translations and general test sets, verify our methods' effectiveness across multiple language pairs. Further human evaluation shows our method's efficacy in reducing hallucinatory translations and facilitating faithful translation generation.
format Preprint
id arxiv_https___arxiv_org_abs_2406_07036
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Paying More Attention to Source Context: Mitigating Unfaithful Translations from Large Language Model
Zhang, Hongbin
Chen, Kehai
Bai, Xuefeng
Xiang, Yang
Zhang, Min
Computation and Language
Artificial Intelligence
Large language models (LLMs) have showcased impressive multilingual machine translation ability. However, unlike encoder-decoder style models, decoder-only LLMs lack an explicit alignment between source and target contexts. Analyzing contribution scores during generation processes revealed that LLMs can be biased towards previously generated tokens over corresponding source tokens, leading to unfaithful translations. To address this issue, we propose to encourage LLMs to pay more attention to the source context from both source and target perspectives in zeroshot prompting: 1) adjust source context attention weights; 2) suppress irrelevant target prefix influence; Additionally, we propose 3) avoiding over-reliance on the target prefix in instruction tuning. Experimental results from both human-collected unfaithfulness test sets focusing on LLM-generated unfaithful translations and general test sets, verify our methods' effectiveness across multiple language pairs. Further human evaluation shows our method's efficacy in reducing hallucinatory translations and facilitating faithful translation generation.
title Paying More Attention to Source Context: Mitigating Unfaithful Translations from Large Language Model
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.07036