Deciphering Foreign Language

Sujith Ravi, Kevin KnightACL 2011

TL;DR

This research demonstrates that machine translation (MT) models can be trained without any parallel "Rosetta Stone" data. By framing translation as a large-scale decipherment task—treating a foreign language as a complex code for English—the authors successfully learn translation parameters using only unrelated monolingual corpora.

The Challenge: Translation Without Parallel Data

Traditional Statistical Machine Translation (SMT) relies heavily on bilingual corpora—parallel texts where the same sentence exists in two languages. However, for the vast majority of the world’s 6,000+ languages, such parallel data is non-existent.

The authors tackle this "zero-parallel data" challenge by asking: Can we learn to translate Spanish into English if we only have a pile of Spanish text and a completely unrelated pile of English text? This is a massive search problem because the vocabulary is huge, and the "key" (the translation table) is non-deterministic and involves complex word re-orderings.

Methods: Algorithmic Frameworks for Decipherment

The authors propose two primary algorithmic frameworks to solve this "decipherment" problem:

  1. Iterative EM (Expectation-Maximization): Standard EM algorithms fail on large vocabularies because memory requirements grow quadratically. The authors introduce an iterative approach: they start by training on only the most frequent $K$ words, then gradually "unfreeze" more of the vocabulary, fixing high-probability mappings to keep the search space manageable.
  2. Bayesian Decipherment: They use a noisy-channel model where the "cipher" is generated by a plaintext English source. To make inference efficient, they employ Parallelized Gibbs Sampling with a "Smart Sample-Choice" strategy. Instead of sampling from the entire English vocabulary, they use an English bigram language model to prune choices to only those that are linguistically plausible.
Examples of deciphered sentences showing the model's attempts to map ciphered IDs back to English text.

For the full MT task, they adapt IBM Model 3 to work in this unsupervised setting, accounting for word substitutions, insertions, deletions, and local re-orderings.

Datasets and Evaluation

The authors evaluate their methods on two types of data:

  • Word Substitution Ciphers: Using the Temporal expression corpus and the Transtac corpus to test 1-to-1 word mappings.
  • Machine Translation: Using the Time corpus (Spanish/English temporal expressions) and the OPUS movie subtitle corpus.
  • Monolingual Data: Crucially, the English language models were built from text that was not a translation of the Spanish test data.

Key Insights

  • The Language Model as a Teacher: In standard MT, the Language Model (LM) helps pick the most fluent output. Here, the LM is the primary signal for training. If a specific translation table makes the foreign text look like natural English, the model assumes that table is correct.
  • Decipherment vs. Decoding: The authors distinguish between "decoding" (finding the best translation) and "decipherment" (learning the model parameters themselves from non-parallel data).
  • Quantifying the Value of Parallel Data: One of the most interesting findings is the "exchange rate" between data types: 10,000 monolingual sentences provided roughly the same translation quality as 200–500 parallel sentence pairs.
  • Starting Small: The success of the Iterative EM approach suggests that "curriculum learning"—starting with frequent, easy-to-map words—is essential for breaking into high-dimensional unsupervised problems.

Key Results

The Bayesian method showed significant scalability and accuracy improvements over traditional EM.

Decipherment accuracy comparison showing the Bayesian method outperforming EM variants, especially on larger datasets.
  • Word Decipherment: On the Transtac corpus, the Bayesian method achieved up to 82.5% accuracy in recovering the original words, significantly outperforming standard EM which was "intractable" at that scale.
  • Machine Translation: On the Time corpus, the decipherment approach achieved a BLEU score of 48.7 (using a whole-segment LM). While lower than a parallel-trained system (which hit 88.0), it represents a massive leap over previous unsupervised attempts.
  • Scalability: Parallelized sampling allowed them to process 100k tokens in roughly 3 hours using 10 nodes.

Limitations and Future Work

  • Domain Sensitivity: The system performs best on restricted domains where the vocabulary and structures are somewhat formulaic.
  • Global Re-ordering: The simplified IBM Model 3 struggles with "global" re-ordering (e.g., translating between SVO and SOV languages).
  • Morphology: More complex morphological analysis would be needed for highly inflected languages.
  • Future Direction: The next step is combining small amounts of parallel data with large amounts of non-parallel data to "conquer" more difficult language pairs.

Summary updated

BibTeX
@inproceedings{ravi2011deciphering,
  author = {Sujith Ravi and Kevin Knight},
  title = {{Deciphering Foreign Language}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2011},
}
Figure