Document-Level Machine Translation with Word Vector Models

Eva Martínez Garcia, Cristina España-Bonet, Lluís MàrquezEamt 2015

Introduction

Statistical Machine Translation (SMT) has traditionally operated on a sentence-by-sentence basis. While effective for local syntax, this "tunnel vision" often results in a lack of document-level coherence. For instance, a sentence-based system might inconsistently translate the same term across different paragraphs or fail to resolve coreferent pronouns correctly. This research explores bridging the gap between sentence-level efficiency and document-level consistency by integrating bilingual word embeddings into a document-oriented decoder.

Methodology

The proposed approach leverages distributional semantics to guide translation choices toward the broader document context through three primary components:

1. Bilingual Word Vector Models (WVM)

The researchers utilized the word2vec framework to generate word embeddings. To adapt these for translation, they developed bilingual word vector models. By using parallel corpora and word alignments, aligned pairs (e.g., house|casa) were treated as single tokens, allowing the model to learn a shared semantic space where equivalent terms in different languages occupy similar vector positions.

2. Document-Level Decoding with Docent

Unlike standard decoders like Moses, which process sentences independently, this study employs Docent. Docent is a document-level decoder that utilizes stochastic local search (hill climbing) to optimize the translation of an entire document simultaneously. This architecture allows for the inclusion of features that span sentence boundaries.

3. Semantic Space Language Model (SSLM)

The WVMs were integrated into Docent as a Semantic Space Language Model. For each candidate word, the system calculates the cosine similarity between its vector and the average vector of the preceding 30 words in the document. This mechanism rewards translation choices that maintain semantic proximity to the established context.

Experimental Setup

The models were evaluated using extensive English-Spanish parallel datasets. The training set comprised Europarl-v7, United Nations (UN) documents, and OpenSubtitles-2012, totaling over 580 million English tokens. For development and testing, the NewsCommentary datasets (NC-2009 and NC-2011) were selected due to their high degree of topical coherence.

Results and Analysis

Lexical Substitution Performance

A key finding was the superiority of bilingual models. In a cross-lingual lexical substitution task designed to predict the correct translation of ambiguous words, the bilingual models significantly outperformed their monolingual counterparts.

Comparison of monolingual and bilingual word vector models in a lexical substitution task.

As shown in the results, the bilingual CBOW model achieved a Top 1 accuracy of 62.39%, a substantial improvement over the 47.71% achieved by the monolingual version. Furthermore, the Continuous Bag-of-Words (CBOW) architecture generally proved more effective than Skipgram for this specific application.

Translation Quality

The integration of the bilingual Semantic Space Language Model (biSSM) into Docent yielded measurable improvements in translation quality. The researchers used the ULC metric—an average of BLEU, NIST, TER, METEOR, and ROUGE—to provide a comprehensive evaluation.

Performance comparison across various translation metrics for sentence-level (Moses) and document-level (Docent) systems.

As shown in the performance table, the Docent system with bilingual semantic models (Docent + biSSM) achieved a ULC score of 77.89, outperforming the baseline Docent (77.14) and slightly exceeding the standard sentence-level Moses system (77.76). Qualitative analysis confirmed that the semantic model helped the system resolve ambiguities—such as choosing the correct translation for "desk" based on whether the context involved an office or a hotel—where baseline systems often failed.

Conclusion and Future Work

This research demonstrates that document-level context, captured through bilingual word embeddings, can enhance translation consistency and semantic accuracy. However, challenges remain. The current Docent implementation lacks "lexicalized reordering," a standard feature in Moses, which likely accounts for the slightly lower BLEU scores compared to the sentence-level baseline.

Future research directions include exploring dynamic context windows instead of a fixed 30-word range, investigating more complex neural architectures to handle polysemy, and incorporating semi-supervised learning to improve performance on rare words.

Summary updated

BibTeX
@inproceedings{garcia2015document,
  author = {Eva Martínez Garcia and Cristina España-Bonet and Lluís Màrquez},
  title = {{Document-Level Machine Translation with Word Vector Models}},
  booktitle = {Eamt},
  year = {2015},
}
Figure