Name-aware Machine Translation

Haibo Li, Jing Zheng, Heng Ji, Qi Li, Wen Wang

Abstract

Standard statistical Machine Translation (MT) systems often struggle with named entity translation, which can significantly impact the overall meaning of a sentence. This paper presents a Name-aware Machine Translation (NAMT) framework that integrates named entity recognition and translation directly into the MT pipeline. We introduce a novel "Name-aware BLEU" metric to better evaluate entity translation accuracy. Experimental results on Chinese-English datasets show that NAMT consistently outperforms baseline systems in both name translation accuracy and overall translation quality.

Introduction

While named entities typically comprise only 3-6% of a text, they carry a disproportionate amount of its central meaning. Standard statistical MT systems achieve only approximately 60% accuracy for person names, and a single mistranslated name can derail the context of an entire sentence. Historically, MT research has overlooked this issue due to the limitations of the BLEU metric—which weights all tokens equally—and the failure of loose integration methods like post-processing name swaps, which often disrupt sentence structure and language model coherence. This paper addresses these gaps by proposing a tightly integrated "Name-aware" framework.

Methodology

The NAMT framework integrates name handling into both the training and decoding phases of a hierarchical phrase-based MT system.

The NAMT framework architecture for training and decoding.

Training via Name Replacement

A joint bilingual name tagger identifies entities in parallel training corpora. These names are temporarily replaced with entity type tags (e.g., "PER" for person). This process creates high-frequency "anchor" tokens, which significantly improves word alignment (Giza++) for rare words. Grammar rules are then extracted from a combination of the original and name-replaced data.

Name-Driven Decoding

During translation, a monolingual tagger identifies names in the source text. A dedicated subsystem translates these names using dictionaries, transliteration, and context re-ranking. These translations are dynamically injected into the decoder's phrase table, allowing the language model to select the most grammatically appropriate fit within the sentence context.

Name-aware BLEU Metric

To better reflect human utility, the authors propose a modified BLEU metric. It utilizes a tf-idf weighting scheme to prioritize tokens appearing in reference names and introduces a Name Penalty (NP) to account for the over- or under-generation of names in the output.

Experimental Setup

The system was trained on a Chinese-English corpus of 1.68 million sentence pairs from news, web, and broadcast sources (DARPA TIDES, GALE, BOLT). Evaluation was conducted across seven test sets, including formal genres (NIST 2006/2008) and informal discussion forums (BOLT 1-5).

Results and Discussion

The NAMT system demonstrated significant improvements across multiple dimensions of translation quality.

Performance comparison of Baseline, NPhrase, and NAMT systems across various metrics and datasets.

Key Performance Metrics

  • Name Translation Accuracy: NAMT achieved up to a 23.6% relative error reduction in name translation (measured by Named Entity Weak Accuracy, NEWA) compared to the baseline.
  • Overall Quality: The system consistently outperformed the baseline on Translation Edit Rate (TER) and Name-aware BLEU across all test sets.
  • Alignment Quality: F-measure for aligning words within names improved from 46.0% to 50.3%, validating the name-replacement training strategy.
  • Human Correlation: The Name-aware BLEU metric showed a 0.99 Pearson correlation with human judgments, confirming its reliability as an evaluation tool.

Insights

Masking names during training effectively handles the data sparsity problem associated with rare entities. Furthermore, tight integration within the decoder prevents the disjointed phrasing common in post-processing approaches, as the language model can naturally incorporate name translations.

Conclusion

The NAMT framework successfully addresses the critical challenge of name translation in MT. While the system shows limitations with complex nested structures and abbreviations, it provides a robust foundation for entity-aware translation. Future work will explore discriminative models for weight assignment, bilingual topic modeling for language model adaptation, and extending the framework to other out-of-vocabulary terms.

Summary updated

BibTeX
@inproceedings{li2013name,
  author = {Haibo Li and Jing Zheng and Heng Ji and Qi Li and Wen Wang},
  title = {{Name-aware Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2013},
}
Figure