Using Word Embeddings to Enforce Document-Level Lexical Consistency in Machine Translation

Eva Martínez Garcia, Carles Creus, Cristina España-Bonet, Lluís MàrquezPrague Bull. Math. Linguistics 2017

Introduction

Traditional Statistical Machine Translation (SMT) systems typically operate on a sentence-by-sentence basis. While computationally efficient, this local focus often results in lexical inconsistency. A single term in a source document might be translated differently across paragraphs (e.g., translating "portrait" as retrato in one sentence and cuadro in the next), which disrupts document coherence and jars human readers. Standard decoders struggle to resolve this because fixing inconsistencies often requires simultaneous changes across multiple sentences, a task that standard "hill-climbing" algorithms often fail to navigate without falling into local optima.

Methodology

To address this, the researchers utilized a document-oriented decoder called Lehrer and introduced two key components:

  1. Semantic Space Lexical Consistency (SSLC) Feature: This scoring mechanism uses word embeddings to evaluate how well a translation choice fits its document-wide context. It calculates the cosine similarity between a word's vector and the aggregate vectors of its surrounding context.
  2. Lexical Consistency Change Operation (LCCO): This new decoding operation allows the system to "jump" to more consistent states. Instead of modifying a single word in isolation, LCCO identifies inconsistently translated terms across the document and synchronizes them to a single variant in one step.

The study explored both monolingual and bilingual word embeddings (CBOW and Skip-gram) trained using the word2vec toolkit.

Experimental Setup

The system was trained on the Europarl English-to-Spanish corpus. Development and testing were conducted on the NewsCommentary 2009 and 2010 datasets, respectively. The researchers compared their enhanced Lehrer system against a standard Moses baseline.

Results and Discussion

The performance of various configurations was evaluated using standard automatic metrics: TER, BLEU, NIST, and METEOR.

Table 1: Performance of various system configurations on Development and Test sets. Bold values indicate the best performance in each category.

As shown in Table 1, the improvements in automatic metrics were marginal and generally not statistically significant. This highlights a "BLEU blind spot": standard n-gram-based metrics are largely insensitive to document-level consistency. A consistent word choice might not improve the local n-gram overlap even if it significantly improves readability for a human.

However, human evaluation revealed a different story. In pairwise comparisons, human annotators preferred the output of the consistency-aware system 60% of the time. Qualitative analysis confirmed that the system successfully maintained consistent terminology (e.g., consistently using retrato for "portrait") where the baseline system fluctuated between different synonyms.

Conclusion

This research demonstrates that while automatic metrics may not capture the benefits of document-level consistency, human readers value it highly. The combination of a semantic consistency feature (SSLC) and a global change operation (LCCO) effectively navigates the search space to produce more coherent translations. Future work involves extending these techniques to Neural Machine Translation (NMT) and applying consistency checks at the lemma or sense level to handle different grammatical forms of the same word.

Summary updated

BibTeX
@article{garcia2017using,
  author = {Eva Martínez Garcia and Carles Creus and Cristina España-Bonet and Lluís Màrquez},
  title = {{Using Word Embeddings to Enforce Document-Level Lexical Consistency in Machine Translation}},
  journal = {Prague Bull. Math. Linguistics},
  year = {2017},
}
Figure