Unifying Bayesian Inference and Vector Space Models for Improved Decipherment

Qing Dou, Ashish Vaswani, Kevin Knight, Chris DyerACL 2015

Introduction

Machine Translation (MT) has traditionally been a data-intensive field, requiring vast parallel corpora to bridge linguistic divides. However, for the majority of the world's languages, such resources are non-existent. This paper, presented at ACL 2015 and co-authored by Ashish Vaswani, tackles this "Rosetta Stone" challenge by unifying two powerful but previously separate paradigms: statistical Bayesian decipherment and semantic vector space models (word embeddings).

The Challenge of Unsupervised Translation

Historically, researchers approached unsupervised translation through two lenses. Decipherment treats a foreign language as a code, leveraging statistical regularities (like word frequency) to guess translations. While effective for local patterns, it often misses broader semantic context. Conversely, Vector Space Models rely on the premise that semantically similar words (e.g., "cat" and "dog") occupy similar relative positions in embedding spaces across languages. However, aligning these "clouds" of vectors typically requires a "seed lexicon"—a small starting dictionary—which is precisely what is missing in truly unsupervised scenarios.

The DMRE Framework

The authors introduce Dirichlet Multinomial Regression with Embeddings (DMRE), a framework designed to bridge this gap. DMRE uses word embeddings to "nudge" a Bayesian decipherment model toward semantically plausible translations without requiring an initial dictionary.

The model consists of three core components:

  1. A Bayesian Core: A standard decipherment model utilizing dependency bigrams (grammatically related word pairs).
  2. An Embedding Prior: Pre-trained word embeddings (via word2vec) provide a base distribution, replacing the assumption that all translations are equally likely.
  3. Iterative Mapping: A latent similarity matrix $M$ is learned to transform word vectors between the plaintext and ciphertext spaces.

The system employs a Stochastic Expectation-Maximization (EM) algorithm. In the E-step, the model proposes translations based on current parameters. In the M-step, these proposals are used to refine the embedding mapping $M$. This creates a virtuous cycle where improved decipherment leads to better embedding alignment, which in turn enhances decipherment accuracy.

Experimental Results

The researchers evaluated DMRE on two distinct language pairs: Spanish-English (using the Gigaword corpus) and Malagasy-English (a low-resource pair using web-crawled news).

In the Spanish-English task, DMRE demonstrated substantial gains over the baseline. As shown in Figure 2, the model's performance scales impressively with the amount of available ciphertext. Notably, with only 100k tokens of text, DMRE outperformed the baseline by a factor of six. At 100 million tokens, top-5 type accuracy reached 67.4%, compared to the baseline's 45.8%.

Decipherment accuracy for Spanish-English as a function of ciphertext tokens. DMRE significantly outperforms the baseline across all data scales.

For the more challenging Malagasy-English pair, accuracy improved from 5.1% to 11.2%. While absolute numbers are lower due to linguistic differences (VOS vs. SVO word order) and noisier data, the relative doubling of performance underscores the robustness of the approach.

Qualitative Analysis: Semantic Clustering

A key insight of this work is that the statistical regularities of decipherment can serve as the "seed" for embedding alignment. Visualizations using t-SNE confirm that the model successfully learns to group semantic clusters in a shared space.

t-SNE visualization showing the alignment of time-related terms in English and Spanish. The model naturally clusters these concepts without explicit supervision.

As illustrated in Figure 4, terms related to time—such as "years" (años), "months" (meses), and "days" (días)—are mapped closely together. This suggests that the model is capturing meaningful cross-lingual semantic relationships entirely from scratch.

Conclusion and Future Directions

By integrating the structural strengths of Bayesian inference with the semantic richness of word embeddings, DMRE nearly doubles the accuracy of state-of-the-art unsupervised translation. While challenges remain—particularly regarding linguistic divergence and computational scaling to larger vocabularies—this work represents a major step toward truly universal machine translation. Future research may explore Noise Contrastive Estimation (NCE) to handle larger vocabularies and automated hyperparameter tuning to further refine the balance between statistical and semantic signals.

Summary updated

BibTeX
@inproceedings{dou2015unifying,
  author = {Qing Dou and Ashish Vaswani and Kevin Knight and Chris Dyer},
  title = {{Unifying Bayesian Inference and Vector Space Models for Improved Decipherment}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/p15-1081},
}
Figure