TransliCo: A Contrastive Learning Framework to Address the Script Barrier in Multilingual Pretrained Language Models

Yihong Liu, Chunlan Ma, Haotian Ye, Hinrich Schütze · DOI

Abstract

Multilingual Pretrained Language Models (mPLMs) are designed to facilitate knowledge transfer across languages; however, their effectiveness is often hindered by the "script barrier." Because these models rely heavily on lexical overlap and shared subwords, languages written in different scripts—such as Greek, Hindi, and English—frequently occupy isolated subspaces within the model's representation. This paper introduces TRANSLICO, a novel fine-tuning framework that aligns disparate writing systems into a shared vector space by contrasting original sentences with their Latin transliterations. The resulting model, FURINA, demonstrates significant improvements in zero-shot cross-lingual transfer across diverse tasks, including sentence retrieval, text classification, and sequence labeling.

Introduction: The Script Barrier in Multilingual Models

Modern mPLMs like XLM-R and Glot500-m have revolutionized cross-lingual NLP, yet they remain sensitive to the surface-level features of writing systems. When two languages share a common script, the model can easily map similar concepts through shared subword tokens. However, when scripts differ, the model lacks a natural bridge to connect them, leading to suboptimal "zero-shot transfer." For instance, training a model on English and expecting it to perform on Russian or Arabic often yields poor results if the model has not explicitly learned the relationship between those scripts.

Previous attempts to mitigate this issue often relied on "romanization" at inference time—converting all input text into the Latin script. While functional, this approach is computationally clunky and risks losing semantic nuances. TRANSLICO instead addresses the problem at the representation level, teaching the model to understand different scripts natively within a unified, script-neutral subspace.

The TRANSLICO Framework

TRANSLICO fine-tunes existing mPLMs (specifically Glot500-m) using two primary training objectives designed to bridge the gap between scripts:

  1. Masked Language Modeling (MLM): The framework applies the standard "fill-in-the-blank" task to both original sentences and their Latin transliterations (generated via the uroman tool). This ensures the model retains its core language modeling capabilities while becoming familiar with transliterated forms.
  2. Transliteration Contrastive Modeling (TCM): This is the core innovation of the framework. For any given sentence, the model views the original script and its Latin transliteration as a positive pair. Using a contrastive loss function, the model is trained to pull these two representations closer together in the vector space while simultaneously pushing them away from unrelated sentences (negative pairs) in the batch.

Latin as a Universal Hub

Rather than attempting to align every possible script pair—an $N^2$ complexity problem—TRANSLICO treats the Latin script as a central hub. By aligning Script A to Latin and Script B to Latin, Script A and Script B become implicitly aligned. This "hub-and-spoke" architecture allows the model to exploit areal features—lexical similarities between languages in the same region that were previously obscured by different writing systems, such as those found in the Indic or Slavic language families.

Experimental Results

The authors produced FURINA by fine-tuning Glot500-m on a 5% sample of the Glot500-c dataset, comprising approximately 75 million sentence-transliteration pairs across 500 languages and 30 scripts.

Performance Gains

FURINA outperformed the base Glot500-m model across several benchmarks:

  • Sentence Retrieval: On the Bible (SR-B) task, accuracy increased from 47.2 to 58.1.
  • Text Classification: On the Taxi1500 dataset, the model achieved a Macro F1 score improvement of 6.7 points, representing a relative gain of over 10%.
  • Indic Group Case Study: In a specialized evaluation using IndicGLUE, FURINA improved Cloze-style Question Answering accuracy from 34.0% to 46.4%, demonstrating the framework's power in low-resource, multi-script environments.

Layer-Wise Alignment

An interesting finding during development was the importance of layer selection. The authors discovered that using representations from the 8th layer (of 12) provided the best balance for alignment. While the final layers of Transformers often drift back toward script-specific patterns or the original pre-training task, the middle layers represent a "multilingual sweet spot" where cross-lingual relationships are most effectively captured.

Limitations and Future Directions

Despite its success, TRANSLICO faces challenges with logographic systems like Hani (Chinese). The authors noted a performance drop in these scripts, likely because phonetic transliteration (pinyin) loses the semantic distinctions inherent in characters where different meanings share the same sound. Additionally, a slight performance dip on the Tatoeba retrieval task suggested a "domain shift" issue, as the fine-tuning data was heavily weighted toward religious texts (the Bible) compared to Tatoeba's modern, everyday sentences.

Future work may involve integrating the TRANSLICO objectives directly into the initial pre-training phase of mPLMs, rather than applying them as a post-hoc fine-tuning step, to further solidify the model's script-agnostic capabilities.

Conclusion

TRANSLICO provides a robust and efficient path toward breaking the script barrier in multilingual NLP. By leveraging contrastive learning and Latin transliteration as a bridge, the FURINA model demonstrates that mPLMs can be taught to see past the surface level of writing systems, unlocking better zero-shot transfer for hundreds of languages worldwide.

Summary updated

BibTeX
@inproceedings{liu2024translico,
  author = {Yihong Liu and Chunlan Ma and Haotian Ye and Hinrich Schütze},
  title = {{TransliCo: A Contrastive Learning Framework to Address the Script Barrier in Multilingual Pretrained Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.136},
}
Figure