Abstract
Example-Based Machine Translation (EBMT) traditionally relies on retrieving and recombining fragments from a bilingual corpus. However, the generation phase often faces a trade-off between semantic fidelity and grammatical fluency. This paper proposes a log-linear framework that integrates six diverse knowledge sources—including semantic similarity, context similarity, and length models—to optimize the generation process. Our system achieves a BLEU score of 0.2571, representing a significant improvement over both baseline EBMT and phrase-based statistical machine translation (SMT) systems like Pharaoh.
Introduction
The core philosophy of Example-Based Machine Translation (EBMT) is translation by analogy. By finding similar examples in a bilingual database and recombining their components, EBMT systems aim to produce high-quality translations. However, the "generation" step—where fragments are selected and assembled—has historically been problematic. Semantic-based approaches using thesauruses often result in ungrammatical transitions, while purely statistical approaches using n-gram models can lose the semantic essence of the source sentence.
To address this, we introduce a log-linear model for EBMT generation. This framework, widely successful in Statistical Machine Translation (SMT), allows for the simultaneous weighting of multiple feature functions. By balancing semantic accuracy with statistical fluency, the proposed model overcomes the limitations of previous EBMT generation strategies.
Methodology
Tree-String Correspondence (TSC)
The fundamental unit of our translation model is the Tree-String Correspondence (TSC). A TSC consists of a source language parse tree, its corresponding target language string, and the word-level alignments between them. Within these trees, "substitution nodes" serve as slots where other translation fragments can be recursively inserted.
Log-Linear Feature Functions
The generation process is modeled as a search for the translation that maximizes a weighted sum of six feature functions:
- Matching Score (MS): Calculates semantic similarity between input and example words using WordNet.
- Context Similarity (CS): Uses cosine distance to ensure the global context of the example matches the input.
- Word Translation Probability (WTP): Assesses the reliability of internal word alignments.
- Target String Selection Probability (SSP): Models the likelihood of a target string given a specific source tree structure.
- Language Model Probability (LMP): A trigram model trained on a large Chinese corpus to ensure fluency.
- Length Selection Probability (LSP): A normal distribution model designed to penalize unnaturally long or short translations.
The system employs a bottom-up beam search algorithm to navigate the space of possible TSC matches and find the optimal translation candidate.
Experimental Results
We evaluated our system using a bilingual corpus of 262,060 English-Chinese sentence pairs. The English side was parsed using the Collins parser, and word alignments were generated via GIZA++. The language model was trained on a 228-million-word Chinese corpus.
Performance Analysis
The integration of additional features consistently improved translation quality. Notably, the introduction of the Length Selection Probability (LSP) addressed a common bias in language models toward longer sentences, leading to a 16.2% decrease in average translation length and a corresponding boost in BLEU score.
As shown in the ablation study, the full model (E4) achieved the highest performance. Compared to a baseline EBMT system (E1), the proposed model showed a 15.9% relative improvement. Furthermore, it outperformed the popular phrase-based SMT system, Pharaoh, by 17.2% (an absolute BLEU increase of 0.0378).
Discussion and Conclusion
By treating EBMT generation as a log-linear optimization problem, we successfully balanced semantic closeness with grammatical fluency. The inclusion of context similarity (CS) proved vital for choosing appropriate translation examples by considering the sentence as a whole.
Despite these gains, the system remains dependent on the quality of the initial English parse. Future work will explore the use of parse forests to mitigate errors from 1-best parsing. Additionally, we aim to refine the search complexity to handle an increasing number of substitution nodes more efficiently.
Summary updated