Learning variable length units for SMT between related languages via Byte Pair Encoding

Anoop Kunchukuttan, Pushpak BhattacharyyaarXiv 2016

TL;DR

This paper demonstrates that Byte Pair Encoding (BPE) is a highly effective, writing-system-independent method for learning subword translation units in Statistical Machine Translation (SMT) between related languages. By automatically discovering frequent character sequences, BPE consistently outperforms traditional word, morpheme, and rule-based syllabic models, particularly in low-resource and morphologically rich scenarios.

What Problem Does This Paper Address?

Machine translation between related languages (such as Hindi to Marathi or Danish to Swedish) is a major real-world requirement, yet these language pairs frequently suffer from a severe lack of parallel training data. Fortunately, related languages share significant lexical and structural similarities, meaning they share many words with similar forms and meanings (cognates and loanwords).

To exploit these similarities, translation is often performed at the subword level. The previous state-of-the-art approach relied on "orthographic syllables" (OS)—linguistically motivated pseudo-syllables. However, OS requires hand-crafted, language-specific rules and only works for writing systems that explicitly represent vowels (like alphabets and abugidas). This leaves languages using logographic systems (like Japanese Kanji) or abjad systems (like Urdu) completely unsupported.

Methods

The authors propose using Byte Pair Encoding (BPE)—an iterative data compression algorithm originally adapted for Neural Machine Translation (NMT)—to automatically learn variable-length subword units for Phrase-Based SMT (PBSMT).

While NMT uses BPE primarily to handle vocabulary limitations, this paper applies it to SMT to capture the shared lexical patterns between related languages. The pipeline consists of:

  1. Vocabulary Learning: Learning BPE vocabularies independently on the source and target corpora.
  2. Segmentation: Segmenting the text into subwords during pre-processing, using a special boundary marker (_) to keep track of word boundaries.
  3. Translation: Training a PBSMT system using monotonic decoding (since related languages typically share word order) and a high-order (10-gram) language model to maintain context.
  4. Desegmentation: Recombining the subwords post-decoding to reconstruct full words.

Datasets

The authors evaluated their approach across an extensive benchmark spanning 16 language pairs, 17 languages, and 10 distinct writing systems (classified in Language Classification).

Language Classification
  • Indo-Aryan and Dravidian pairs: Sourced from the multilingual Indian Language Corpora Initiative (ILCI) corpus, containing roughly 44,000 sentences for training.
  • European and Southeast Asian pairs: Sourced from the OpenSubtitles2016 section of the OPUS corpus (including Bulgarian-Macedonian, Danish-Swedish, and Malay-Indonesian).
  • Monolingual Corpora: Additional large-scale monolingual datasets were used to train baseline word-level language models (detailed in Monolingual Corpora Details).
Monolingual Corpora Details

Key Insights and Ideas

  • Statistical vs. Linguistic Units: While orthographic syllables approximate true linguistic syllables, BPE units naturally span multiple linguistic categories. Purely from text statistics, BPE captures syllables, suffixes, morphemes, and entire words simultaneously, allowing the translation model to learn mappings at multiple granularities at once.
  • Writing System Independence: Because BPE operates entirely on character frequencies, it seamlessly bridges languages using non-vowel or complex writing systems (like Urdu's abjad script or Japanese Kanji) where rule-based syllabification is impossible.
  • Compact Core Vocabularies: In contrast to standard NMT, which requires tens of thousands of merge operations to handle massive vocabularies, SMT between related languages optimizes at a much lower threshold (1,000 to 4,000 merges), capturing a highly compact, shared vocabulary.

Key Results

  • Outperforming Baselines: BPE units achieved an average BLEU score improvement of 15% over word-based models and 11% over morpheme-based models.
  • Beating Rule-Based Syllables: BPE modestly outperformed orthographic syllables across most pairs, showing up to an 11% increase in BLEU score. The advantage was particularly pronounced for morphologically rich Dravidian languages, yielding a 6.25% average improvement.
  • Robustness to Data Scarcity: As shown in the learning curves (see Learning Curves), BPE and OS models perform significantly better than word/morpheme models when training data is extremely limited (e.g., 10,000 sentences).
  • Domain Robustness: BPE models trained on tourism and health domains maintained high translation quality when evaluated on an entirely unseen agriculture domain test set, proving their robustness to domain shift.
Learning Curves

Limitations and Future Work

  • Joint Bilingual BPE: The authors experimented with learning a joint BPE vocabulary across concatenated source and target corpora to improve alignment. Surprisingly, this joint model did not show any major improvement over training separate monolingual BPE models.
  • Future Directions: The authors suggest that exploring BPE and similar statistical encodings for Neural Machine Translation specifically tailored to related languages is an obvious next step. They also propose revisiting related tasks like pivot-based machine translation and domain adaptation using BPE subword units.

Summary updated

BibTeX
@misc{kunchukuttan2016learning,
  author = {Anoop Kunchukuttan and Pushpak Bhattacharyya},
  title = {{Learning variable length units for SMT between related languages via Byte Pair Encoding}},
  year = {2016},
  eprint = {1610.06510},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1610.06510},
}
Figure