Breaking the Script Barrier in Multilingual Pre-Trained Language Models with Transliteration-Based Post-Training Alignment

Orgest Xhelili, Yihong Liu, Hinrich Schütze

Introduction

Multilingual Pre-trained Language Models (mPLMs), such as mBERT and XLM-R, have revolutionized cross-lingual transfer, allowing models trained on high-resource languages to perform tasks in low-resource ones. However, these models frequently encounter a "script barrier." Even when two languages share significant linguistic roots or vocabulary—such as Arabic and Farsi—the use of different writing systems causes subword tokenizers to treat them as entirely unrelated strings. This lack of overlap in the model's vocabulary prevents it from mapping related concepts into a shared representation space, severely limiting zero-shot transfer performance.

To address this, this paper introduces Transliteration-Based Post-Training Alignment (PPA), a method that leverages rule-based transliteration to bridge the gap between scripts without the need for expensive parallel translation data.

The PPA Methodology

The core innovation of PPA is the use of a common Latin-script "pivot" to align representations across different writing systems. The researchers utilize Uroman, a rule-based tool, to convert monolingual text into a phonetic Latin representation. By doing so, they provide the model with a consistent visual and structural anchor across languages.

The authors fine-tune an existing mPLM (Glot500) using three simultaneous training objectives:

  1. Masked Language Modeling (MLM): Standard training on both the original script and the transliterated text. This ensures the model maintains its linguistic knowledge while becoming familiar with the new Latin-pivot format.
  2. Sentence-Level Alignment (SEQ): Utilizing a contrastive learning objective (similar to SimCSE), the model is trained to produce nearly identical vector representations for an original sentence and its transliterated counterpart.
  3. Token-Level Alignment (TLM): The model processes a concatenated pair of the original and transliterated sentences. By masking tokens in one version and requiring the model to attend to the other to predict them, the model learns fine-grained alignments between specific words across scripts.

Experimental Setup and Language Groups

The study focuses on two "areal" language groups where historical and geographic proximity has led to shared linguistic features despite script differences:

  • Mediterranean-Amharic-Farsi: Including Arabic (and its dialects), Greek, Hebrew, Amharic, Turkish, and Maltese.
  • South+East Asian: Including Korean, Lao, Burmese, Tibetan, Thai, and various forms of Chinese.

Training data was sampled from the Glot500-c corpus, and the models were evaluated across a diverse battery of benchmarks, including sentence retrieval (SR-B), text classification (Taxi1500, SIB200), Named Entity Recognition (WikiAnn), and Part-of-Speech tagging (Universal Dependencies).

Key Insights and Results

Massive Gains in Retrieval

The most striking results appeared in the SR-B sentence retrieval task. The PPA-aligned models outperformed the base Glot500 model by an average of 20%, with some specific language pairs experiencing performance boosts of up to 50%. This suggests that transliteration is an exceptionally effective signal for aligning global sentence semantics.

The Importance of Token-Level Alignment

While sentence-level alignment (SEQ) is sufficient for retrieval tasks, the researchers found that Token-Level Alignment (TLM) was essential for "bottleneck" tasks like NER and POS tagging. These tasks require the model to understand the specific syntactic and semantic role of individual words, which TLM facilitates by forcing cross-script word mapping.

Intra-Group vs. English-Centric Transfer

A significant finding of the paper is that English is not always the optimal source for cross-lingual transfer. The PPA method demonstrated that transferring knowledge from a high-resource language within the same linguistic group (e.g., Farsi to Arabic) often yielded superior results compared to transferring from English. By breaking the script barrier, PPA allows the model to finally exploit the shared vocabulary and structural similarities inherent in these related languages.

Script-Specific Variations

The Mediterranean group saw more consistent improvements than the South+East Asian group. The authors attribute this to the nature of the scripts: Mediterranean scripts are largely phonetic, making them highly compatible with Latin transliteration. In contrast, logographic scripts like Chinese present a greater challenge, as a single character may map to a complex phonetic string, complicating the 1-to-1 alignment process.

Limitations and Future Work

Despite its success, the PPA method faces a "vocabulary bottleneck." Because the model uses a fixed vocabulary from its original pre-training, it may not have the optimal subword units for transliterated text. Future research could explore extending the vocabulary to include transliteration-specific tokens.

Additionally, transliteration can be "lossy," occasionally introducing ambiguity where distinct original characters map to the same Latin homograph. The authors suggest that future iterations could explore explicit alignment objectives, such as directly minimizing the distance between word-level embeddings to further refine the model's internal mapping.

Conclusion

Transliteration-Based Post-Training Alignment offers a cost-effective and highly scalable solution to the script barrier in multilingual NLP. By using transliteration as a "free" alignment signal, PPA enables mPLMs to recognize the deep linguistic connections between languages that were previously obscured by their writing systems, significantly advancing the state of zero-shot cross-lingual transfer.

Summary updated

BibTeX
@inproceedings{xhelili2024breaking,
  author = {Orgest Xhelili and Yihong Liu and Hinrich Schütze},
  title = {{Breaking the Script Barrier in Multilingual Pre-Trained Language Models with Transliteration-Based Post-Training Alignment}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=ivU2XbPq4P},
}
Figure