Word Alignment as Preference for Machine Translation

Qiyu Wu, Masaaki Nagata, Zhongtao Miao, Yoshimasa Tsuruoka

Abstract

The problem of hallucination and omission, a long-standing problem in machine translation (MT), is more pronounced when a large language model (LLM) is used in MT because an LLM itself is susceptible to these phenomena. In this work, we mitigate the problem in an LLM-based MT model by guiding it to better word alignment. We first study the correlation between word alignment and the phenomena of hallucination and omission in MT. Then we propose to utilize word alignment as preference to optimize the LLM-based MT model. The preference data are constructed by selecting chosen and rejected translations from multiple MT tools. Subsequently, direct preference optimization is used to optimize the LLM-based model towards the preference signal. Given the absence of evaluators specifically designed for hallucination and omission in MT, we further propose selecting hard instances and utilizing GPT-4 to directly evaluate the performance of the models in mitigating these issues. We verify the rationality of these designed evaluation methods by experiments, followed by extensive results demonstrating the effectiveness of word alignment-based preference optimization to mitigate hallucination and omission. On the other hand, although it shows promise in mitigating hallucination and omission, the overall performance of MT in different language directions remains mixed, with slight increases in BLEU and decreases in COMET.

Introduction

Large Language Models (LLMs) like Llama-3 and GPT-4 have revolutionized Machine Translation (MT). However, they remain susceptible to two critical errors: hallucination (generating content not present in the source) and omission (failing to translate parts of the source). Standard metrics like BLEU and COMET often overlook these granular faithfulness issues if the output remains fluent. This research introduces the Word Alignment Preference (WAP) framework to explicitly reward faithfulness by leveraging word-level alignment scores.

The Word Alignment Preference (WAP) Framework

The core insight of this work is that word alignment coverage—the ratio of source words that align to at least one target word—serves as a strong proxy for translation faithfulness. To capitalize on this, the authors developed a three-stage optimization process.

The WAP framework: Diverse translations are collected, scored via a word aligner to create preference pairs, and used for Direct Preference Optimization (DPO).
  1. Diverse Translation Collection: Multiple candidates are generated for each source sentence using tools like DeepL, ChatGPT, and human references.
  2. Preference Data Construction: A state-of-the-art word aligner (WSPAlign) calculates coverage scores. The candidate with the highest score is labeled "Chosen," and the lowest is "Rejected."
  3. Direct Preference Optimization (DPO): A base model (ALMA-13B) is fine-tuned using DPO. Unlike standard supervised fine-tuning, DPO trains the model to distinguish between faithful and unfaithful translations, effectively learning the boundary of hallucination.

Evaluation on Hard Instances

Because hallucinations are relatively rare in simple sentences, the researchers focused on "hard instances"—sentences where baseline models struggle (low COMET scores). They utilized the HalOmi benchmark and GPT-4 as a judge to evaluate performance specifically on these difficult cases.

Radar charts comparing WAP (Ours) and ALMA-13B across BLEU and COMET metrics for hard and easy instances. WAP shows distinct advantages in hard scenarios.

Key Results

The WAP model demonstrated significant improvements in faithfulness, particularly where it matters most. On the hardest 100 instances ($N=100$), WAP consistently outperformed the ALMA-13B baseline across various language pairs.

  • Faithfulness Gains: GPT-4 evaluations showed a 4.96-point average increase in coverage scores for difficult cases over the baseline.
  • Human Preference: In blind tests for Chinese-to-English translation, humans preferred WAP translations 39.66% of the time, compared to only 11.33% for the baseline.
  • Error Reduction: Most notably, WAP reduced the rate of severe hallucinations and omissions to 0% in the human-evaluated subset, whereas the baseline still suffered from these errors.

Conclusion

While WAP significantly mitigates hallucination and omission in challenging translation tasks, it introduces a subtle trade-off between faithfulness and fluency, as seen in mixed results for general COMET scores across entire test sets. Future work will explore reducing reliance on expensive evaluators like GPT-4 and expanding the framework to non-English-centric language pairs.

Summary updated

BibTeX
@inproceedings{wu2024word,
  author = {Qiyu Wu and Masaaki Nagata and Zhongtao Miao and Yoshimasa Tsuruoka},
  title = {{Word Alignment as Preference for Machine Translation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=htSsNiqzj5},
}
Figure