Optimizing Tokenization Choice for Machine Translation across Multiple Target Languages

Nasser Zalmout, Nizar Habash

Abstract

This paper investigates the impact of Arabic tokenization schemes on Statistical Machine Translation (SMT) performance across five target languages: English, French, Spanish, Russian, and Chinese. By moving beyond a "one-size-fits-all" approach, the authors demonstrate that optimal tokenization varies significantly by target language and specific word context. Utilizing word lattices and Conditional Random Field (CRF) classifiers to select context-appropriate tokenization, the study achieves performance gains of up to 1.4 BLEU points. These findings highlight the critical role of language-specific preprocessing for morphologically rich languages.

Introduction: The Challenge of Morphological Complexity

In Machine Translation (MT), tokenization is the fundamental process of breaking raw text into discrete units for translation. While straightforward for morphologically simple languages like English, "morphologically rich" languages like Arabic present a significant challenge. A single Arabic word can encapsulate multiple grammatical elements, including conjunctions (e.g., "and"), particles (e.g., "will"), a central stem, and pronominal suffixes (e.g., "her").

Figure 1: Example of tokenized Arabic-to-English alignment where clitics are separated for better word-to-word mapping.

Traditionally, researchers apply a single tokenization scheme across an entire corpus, regardless of the target language. This paper challenges this approach, exploring whether the optimal way to decompose Arabic words depends on the linguistic structure of the target language and the specific context of the word within a sentence.

Methods and Tokenization Schemes

The researchers evaluated several strategies for translating Arabic into five diverse target languages. Central to their evaluation were six fixed tokenization schemes, ranging from no splitting (D0) to the aggressive splitting of all clitics (D3).

Table 1: Overview of Arabic tokenization schemes evaluated in the study.

Beyond fixed schemes, the authors introduced two advanced methods:

  1. Word Lattice Decoding: Instead of a single tokenized string, the translation engine receives a "lattice"—a directed graph representing multiple possible tokenization paths. The decoder then selects the path that maximizes translation probability.
  2. Learning Optimal Tokenization: To reduce the computational overhead of lattice decoding, the authors trained a Conditional Random Field (CRF) classifier. This model predicts the optimal tokenization scheme for a word based on local context (e.g., POS tags and lemmas), shifting the complexity from the decoding phase to a faster preprocessing step.

The study utilized the Multi UN corpus, providing parallel Arabic text for all five target languages. A training set of 200,000 lines was used to emphasize performance in scenarios where data sparsity makes tokenization choices more impactful.

Key Insights: Target Language Sensitivity

The results confirm that "one size does not fit all." The optimal tokenization scheme varies significantly based on the target language's own morphology:

  • English and French: These languages favored the standard Penn Arabic Treebank (ATB) scheme.
  • Spanish: Performed best with more granular splitting (D2 or D3).
  • Russian and Chinese: These languages, which lack definite articles, benefited most from a modified scheme (D3*) that removes the Arabic definite article ("Al").

The lattice approach consistently outperformed any single fixed scheme, proving that different words within the same sentence often require different splitting strategies to align correctly with the target language.

Results and Performance Gains

The implementation of flexible tokenization yielded substantial improvements:

  • Lattice Gains: Word lattice decoding provided a statistically significant boost of approximately 1.4 BLEU points over standard baselines.
  • Classifier Efficiency: The CRF classifier successfully captured the majority of the lattice's gains (+0.9 BLEU) while operating 4x faster, making it a viable solution for real-time translation pipelines.

Conclusion and Future Directions

While this research was conducted within the framework of Statistical Machine Translation, the underlying linguistic insights remain highly relevant to modern Neural Machine Translation (NMT). Although NMT often utilizes sub-word units like Byte Pair Encoding (BPE), the discovery that target-language-specific preprocessing can mitigate data sparsity and improve alignment suggests that manual tokenization optimization still holds value. Future work may explore these strategies on larger datasets or investigate the specific "verbosity" of tokenization as a key performance driver.

Summary updated

BibTeX
@article{zalmout2017optimizing,
  author = {Nasser Zalmout and Nizar Habash},
  title = {{Optimizing Tokenization Choice for Machine Translation across Multiple Target Languages}},
  journal = {Prague Bull. Math. Linguistics},
  year = {2017},
}
Figure