A Topic-Triggered Language Model for Statistical Machine Translation

Heng Yu, Jinsong Su, Yajuan Lv, Qun Liu

Abstract

Statistical Machine Translation (SMT) systems primarily rely on local n-gram language models (LMs) to ensure output fluency. However, these models are often blind to global document context, struggling with polysemous words that require broader thematic understanding. We present a Source-Topic-Triggered Language Model (STLM) that projects topic distributions from the source text to the target language during the decoding process. Our approach achieves a significant +0.76 BLEU score improvement and a 6% reduction in word perplexity on Chinese-to-English translation tasks, demonstrating the efficacy of incorporating document-level topical information.

Introduction

In the field of Statistical Machine Translation, the Language Model (LM) plays a critical role in generating fluent target sentences. Traditional LMs typically utilize n-gram models, which predict the next word based on a very limited local window (usually 2 or 3 preceding words). While effective for local syntax, this approach lacks a global perspective, often leading to incorrect word choices when a word has multiple meanings—a phenomenon known as polysemy.

Figure 1: Examples of how the word "shot" varies in meaning across different topical contexts, illustrating the need for global document context in translation.

As shown in Figure 1, a word like "shot" can refer to a photograph in a film context, a chance in oral speech, a gun discharge in a military setting, or a goal in sports. Without awareness of the overall document topic, a standard LM might select an inappropriate translation.

Methodology

The proposed Source-Topic-Triggered Language Model (STLM) addresses this limitation through a two-phase approach:

1. Training Topic-Specific Language Models

Rather than training a single monolithic LM, the researchers employ a Hidden Topic Markov Model (HTMM) to analyze the training corpus. Unlike standard Latent Dirichlet Allocation (LDA), HTMM assumes that words within the same sentence share a single topic, which better aligns with the requirements of language modeling. The corpus is segmented into specialized sub-models corresponding to specific topics such as politics, sports, or military affairs.

2. The Trigger Mechanism

During the decoding of a new document, the system lacks the complete target text to determine its topic. To circumvent this, the STLM calculates the topic distribution of the source text. It then uses a projection matrix, learned from word alignments, to "trigger" the relevant target-side topic models. The final LM score is calculated as a weighted sum of these specialized models, providing a "soft clustering" that avoids data sparsity issues associated with picking a single "hard" topic.

Experimental Setup

The model was evaluated on the NIST Chinese-to-English translation task. The translation model was trained on 1.5 million sentence pairs, while the language model utilized 10 million sentences from the Xinhua portion of the GIGAWORD corpus. Evaluation was conducted using the NIST 2006 development set and test sets from 2004, 2005, and 2008.

Results and Discussion

The STLM consistently outperformed the baseline n-gram model and previous topic-adaptation techniques, such as the "Tam" model.

Figure 5: Performance comparison of the STLM against baseline and other topic-based models across multiple NIST test sets, showing improvements in BLEU (B) and Translation Edit Rate (TER).

As detailed in Figure 5, the STLM achieved an average improvement of +0.76 BLEU points. Furthermore, it reduced the Translation Edit Rate (TER) by an average of 0.88, indicating that the resulting translations required fewer manual corrections. Beyond translation metrics, the model improved fluency, reducing word perplexity by 6%. Empirical testing suggested that a granularity of 30 topics provided the optimal balance between specialized topical knowledge and sufficient data density for training.

Conclusion

By incorporating document-level topical information, the STLM effectively resolves ambiguities that frequently challenge standard n-gram models. The use of source-to-target topic projection allows for real-time application during decoding. Future research will focus on integrating syntactic and semantic features into this framework to further enhance global context modeling in machine translation.

Summary updated

BibTeX
@inproceedings{yu2013topic,
  author = {Heng Yu and Jinsong Su and Yajuan Lv and Qun Liu},
  title = {{A Topic-Triggered Language Model for Statistical Machine Translation}},
  booktitle = {IJCNLP},
  year = {2013},
}
Figure