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.
Introduction
While Large Language Models (LLMs) like Llama and GPT-4 have revolutionized Machine Translation (MT), they remain prone to two specific failure modes: hallucination (generating fluent but ungrounded text) and omission (skipping parts of the source text). These errors, often referred to as over-translation and under-translation, are particularly insidious because standard MT metrics like BLEU or COMET often fail to penalize them effectively if the resulting sentence is fluent.
Furthermore, obtaining high-quality human-annotated "preference" data to teach models the difference between faithful and unfaithful translations is prohibitively expensive. This research introduces Word Alignment Preference (WAP), a framework that utilizes automated word-alignment scores as a proxy for faithfulness to train LLMs via Direct Preference Optimization (DPO).
Methodology: The WAP Framework
The WAP framework consists of three primary stages designed to automate the creation of preference signals:
- Candidate Generation: For every source sentence, multiple translation candidates are gathered from various tools, including ChatGPT, DeepL, and Google Translate, alongside the original human-written reference.
- Automated Scoring via Word Alignment: The system employs a state-of-the-art word aligner, WSPAlign, to calculate a "coverage score." This score represents the ratio of source words that successfully align to at least one word in the translation. The candidate with the highest coverage is labeled "Chosen," while the one with the lowest is labeled "Rejected."
- Preference Optimization: Using Direct Preference Optimization (DPO), an ALMA-13B model is fine-tuned on these pairs. This process encourages the model to prefer translations that maintain strict word-level correspondence with the source text.
To maintain data integrity, the authors apply filters to remove pairs that are semantically identical or where the rejected translation is merely a noisy copy of the source.
Evaluation Strategy
Because standard metrics are often blunt instruments for detecting hallucinations, the study utilizes two specialized evaluation methods:
- The HalOmi Benchmark: A manually annotated benchmark for hallucination and omission used to verify that automated word-alignment scores correlate with human judgment.
- Hard Instance Analysis: The authors argue that evaluating on an entire test set can mask improvements. By isolating "hard instances" (the sentences where the baseline model performed worst), they can more clearly observe the model's ability to handle difficult translation contexts.
- GPT-4 as a Proxy Evaluator: The study demonstrates that GPT-4 can be prompted to act as a "coverage evaluator." These GPT-4 scores showed a strong Pearson correlation (~0.57–0.60) with human-annotated error levels in the HalOmi dataset.
Key Insights and Results
Mitigating Translation Errors
Human evaluations for Chinese-to-English translation revealed that WAP significantly improved output quality. The "no hallucination" rate increased from 64% to 75.66%, and the "no omission" rate rose from 56% to 80%.
Performance on Hard Instances
On the 100 most difficult instances (those with the lowest baseline COMET scores), WAP outperformed the ALMA baseline across nearly all language pairs. Across all translation directions, WAP improved the average GPT-4 predicted coverage score by 4.96 points for these challenging cases.
The Role of Human References
An unexpected finding was that human-written translations were frequently "rejected" by the aligner in favor of model-generated ones. This suggests that gold-standard parallel corpora often contain "loose" translations or omissions that can inadvertently train models to be less faithful. WAP helps filter these signals in favor of strict alignment.
Conclusion and Future Work
Word Alignment Preference (WAP) demonstrates that classic MT concepts like word alignment remain highly relevant in the era of LLMs. By using alignment as a signal for DPO, models can be made significantly more faithful without the need for exhaustive human annotation.
However, the method's success is currently tied to the accuracy of the word aligner and the availability of high-quality translation candidates. Future work will focus on improving performance for low-resource languages (like Icelandic) and exploring non-English centric language pairs where hallucination and omission are often more prevalent.
Summary updated