Abstract
Modern neural machine translation (NMT) systems frequently produce "hallucinations"—fluent but unfaithful translations. While Conditional Bilingual Mutual Information (CBMI) has been used to address this, it suffers from a lack of normalization and source-agnosticism. We present Normalized Pointwise Mutual Information (NPMI), a robust adaptive training method that incorporates a source-side language model to bound importance scores. Our approach significantly reduces hallucinations and improves translation quality, particularly in low-resource settings, by applying multi-level weighting and dynamic smoothing.
Introduction
The fluency of modern NMT models often masks a critical failure: the generation of target text that is detached from the source context. Previous attempts to mitigate this using CBMI aimed to down-weight training examples where the target is highly predictable from context alone. However, CBMI is unbounded, creating a bias against longer, faithful translations and failing to adequately penalize short, noisy pairs. This "source-agnostic" nature means it ignores the likelihood of the source sentence itself, leading to suboptimal training weights.
As shown in Figure 1, CBMI scores for a faithful translation (a) and a noisy one (b) are nearly identical (1.38 vs 1.30), whereas NPMI clearly distinguishes between them (0.77 vs 0.15). This demonstrates NPMI's superior ability to identify unfaithful "hallucinations" by providing a more discriminative scoring mechanism.
The NPMI Framework
The proposed NPMI-based adaptive training introduces three key innovations to the NMT training pipeline:
- Source-Aware Normalization: Unlike CBMI, which only considers the translation model and the target language model, NPMI integrates a source-side language model (sLM). This allows the system to estimate the joint probability $p(x, y)$ and use it to bound the mutual information score between -1 and 1. This normalization creates a "level playing field" for sentences of different lengths, fixing the divergence issues common in log-likelihood metrics.
- Multi-Level Weighting: NPMI is applied at both the sentence level and the token level. Sentence-level weighting helps identify high-quality pairs in noisy datasets, while token-level weighting identifies specific words that require the most "attention" to the source text.
- Dynamic Smoothing: To ensure training stability, a smoothing parameter $c$ is introduced. This parameter gradually increases the influence of NPMI weights as the language models themselves become more reliable, preventing early training instability.
Experimental Results
We evaluated NPMI on three standard translation benchmarks: WMT14 English-German (large-scale), WMT16 English-Romanian (mid-sized), and IWSLT14 German-English (small-scale spoken language). NPMI consistently outperformed both the standard Transformer baseline and previous CBMI-based state-of-the-art methods across all tasks.
On the IWSLT14 De-En task, the synergy between sentence-level and token-level weighting was particularly evident. As shown in Figure 4, using either method alone improved performance, but combining both levels achieved a COMET score of 41.40, a significant jump from the 40.58 baseline. These gains were most pronounced in smaller datasets, suggesting that NPMI is highly effective when training data is scarce or noisy.
Discussion and Insights
The effectiveness of NPMI stems from its ability to distinguish between general fluency and source-triggered faithfulness. By including a source-side LM, the model can identify when a target word is common in general versus when it is specifically triggered by the source text. Interestingly, experiments showed that a shared language model for both source and target languages can achieve comparable performance to separate models (41.26 vs 41.40 COMET), offering a more memory-efficient implementation for practical deployment.
While NPMI significantly improves faithfulness and reduces hallucinations, it can occasionally lead to overly literal translations that miss idiomatic nuances. Future research may explore using powerful, pre-trained language models like GPT or BERT variants as the scoring backbone to further refine the balance between idiomatic fluency and source faithfulness.
Summary updated