TL;DR
This paper introduces Word Alignment Preference (WAP), a framework that uses word-level alignment scores as a preference signal to reduce hallucinations and omissions in Large Language Model (LLM)-based machine translation. By optimizing models via Direct Preference Optimization (DPO) on translations with high source-text coverage, the researchers significantly improved translation fidelity, particularly on "hard" instances where standard models typically fail.
What Problem Does This Paper Address?
While LLMs have shown impressive capabilities in machine translation (MT), they remain prone to two critical failure modes: hallucination (generating content not present in the source) and omission (leaving out parts of the source text). These issues are often exacerbated in LLMs because they are pre-trained to predict the next token in vast amounts of raw text rather than strictly adhering to a source-target mapping.
Standard evaluation metrics like BLEU and COMET are aggregate scores that don't always capture these specific, severe errors. Furthermore, human-written translations in training sets are not always perfect, sometimes containing their own omissions. The authors identify a need for a training signal that explicitly encourages "coverage"—ensuring every part of the source text is accounted for in the translation.
Methods
The authors propose the Word Alignment Preference (WAP) framework, which consists of three main stages:
- Diverse Translation Collection: For a given source sentence, the authors generate multiple translation candidates using different tools, including ChatGPT (GPT-3.5), DeepL, and the original human-written reference.
- Preference Data Construction: They use a state-of-the-art word aligner (WSPAlign) to calculate a "coverage score" for each candidate. This score represents the ratio of source words that successfully align with at least one word in the translation. The candidate with the highest coverage is labeled "chosen," and the one with the lowest is "rejected."
- Preference Optimization: The base model (ALMA-13B) is fine-tuned using Direct Preference Optimization (DPO). Unlike standard fine-tuning, DPO allows the model to learn the relative preference between a "good" (high coverage) and "bad" (low coverage) translation.
To ensure data quality, they apply several filters, removing pairs that are too semantically similar or where the "chosen" translation is simply a copy of the source text.
Datasets
- Training: The authors utilized the parallel training data from the ALMA project, covering five language pairs: Czech (cs), German (de), Icelandic (is), Chinese (zh), and Russian (ru) to/from English (en).
- Evaluation:
- WMT22/WMT21: Standard test sets for general MT performance.
- HalOmi: A manually annotated benchmark specifically designed for detecting hallucinations and omissions in MT.
- Hard Instances: A custom subset of the test set containing the $N$ instances where the baseline model performed worst (lowest COMET scores), as these are most likely to contain hallucinations.
Key Insights and Ideas
- Alignment as a Proxy for Fidelity: The core "aha moment" is that word alignment coverage correlates strongly with human-annotated hallucination and omission degrees. As shown in Figure 1, translations with "No Hallucination" cluster at high coverage scores, while "Full Hallucination" examples cluster near zero.
- Human References Aren't Always Gold: Interestingly, the study found that a significant portion of human-written translations were actually "rejected" by the aligner in favor of machine-generated ones (see Figure 4 in the paper), often due to human omissions in the training data.
- DPO vs. SFT: The authors found that DPO is superior to simple Supervised Fine-Tuning (SFT) on preferred data. SFT can lead to overfitting on alignment at the expense of general translation quality, whereas DPO maintains a better balance by learning from the contrast between chosen and rejected examples.
Key Results
The WAP-optimized model showed its greatest strengths on "hard" instances where the baseline struggled:
- Hard Instance Performance: In the $N=100$ hardest cases, WAP outperformed the ALMA-13B baseline by an average of +4.96 points in GPT-4 predicted coverage scores.
- Human Evaluation: On the Chinese-English (zh-en) task, human evaluators found that WAP increased the "no omission" rate by 24% compared to the baseline. Notably, instances of "full hallucination" and "full omission" dropped to zero for the WAP model.
- General Metrics: While WAP significantly mitigated specific errors, its impact on general metrics was mixed: it showed slight increases in BLEU but minor decreases in COMET across the entire test set. This suggests a trade-off where the model becomes more literal/faithful but perhaps slightly less "fluent" according to neural metrics.
Limitations and Future Work
- Alignment Errors: The method relies on the accuracy of the external word aligner. Errors in alignment can lead to noisy preference signals.
- Low-Resource Languages: The model performed worse on Icelandic (is-en), likely because both the translation tools and the word aligner are less reliable for low-resource languages.
- Evaluation Costs: Using GPT-4 as an evaluator for hallucination is effective but expensive. The authors aim to find a cost-free alternative in future work.
- Fluency Trade-off: The slight dip in COMET scores suggests that future iterations need to better balance word-level faithfulness with sentence-level naturalness.
Summary updated