Does Transliteration Help Multilingual Language Modeling?

Ibraheem Muhammad Moosa, Mahmud Elahi Akhter, Ashfia Binte Habib · DOI

Multilingual Language Models (MLLMs) like mBERT and XLM-R are designed to facilitate knowledge transfer across languages. However, they often struggle with the "script barrier." Many linguistically related languages use different writing systems—for example, Hindi uses Devanagari while Bengali uses the Bengali script. To a model, these related words appear entirely distinct, hindering cross-lingual transfer and leading to inefficient tokenization.

Methodology: The Uni-Script Approach

Researchers investigated whether transliterating diverse scripts into a single common script (Latin) could overcome these hurdles. Focusing on Indic languages, they trained two architectures: ALBERT (11M parameters) and RemBERT (192M parameters). For each, they compared a "multi-script" version (original text) with a "uni-script" version (transliterated to Latin via ISO 15919).

Bridging the Gap: Internal Representation Similarity

To understand how transliteration affects the model's internal logic, the researchers used Centered Kernel Alignment (CKA) to measure the similarity of representations for parallel sentences across languages.

CKA similarity across layers for ALBERT and RemBERT models.

The analysis revealed that uni-script models maintain high cross-lingual similarity deep into their hidden layers. By removing the visual "disguise" of different scripts, the models were able to map semantically identical concepts to the same mathematical space more effectively.

Improving Tokenization Efficiency

A major issue for low-resource languages in MLLMs is "sub-word fragmentation." When a script is rare in the training data, words are often broken into many small, meaningless tokens. Transliteration acts as a "great equalizer" here.

Sub-word fertility comparison across various Indic languages.

The uni-script approach significantly reduced sub-word fertility. For instance, the ALBERT uni-script tokenizer achieved a fertility score of 1.55, compared to 1.825 for the multi-script version. Keeping words whole allows the model to learn their meanings more easily.

Performance Gains and the "No-Harm" Principle

The benefits of transliteration translated into significant performance boosts on the IndicGLUE benchmark. In Named Entity Recognition (NER), the uni-script ALBERT model outperformed the multi-script version by a staggering 13.61 points for Assamese. Furthermore, on zero-shot Question Answering (CSQA), the uni-script model showed a 3.33% average improvement across languages.

Crucially, the "uni-script" approach followed a "no-harm" principle: while it provided massive gains for low-resource languages like Assamese or Oriya, it did not degrade the performance of high-resource languages like Hindi.

Conclusion and Future Directions

Transliteration offers a powerful, low-cost method to enhance the performance and efficiency of multilingual models. While the current approach requires interacting in Latin script, future work may involve using transliteration as an internal "bridge" while maintaining native script interfaces. This research highlights that for linguistically related languages, the script is often just a surface-level barrier that can be engineered away to unlock better cross-lingual transfer.

Summary updated

BibTeX
@inproceedings{moosa2023does,
  author = {Ibraheem Muhammad Moosa and Mahmud Elahi Akhter and Ashfia Binte Habib},
  title = {{Does Transliteration Help Multilingual Language Modeling?}},
  booktitle = {EACL (Findings)},
  year = {2023},
  doi = {10.18653/v1/2023.findings-eacl.50},
}
Figure