Abstract
Recent studies have shown that post-aligning multilingual pretrained language models (mPLMs) using alignment objectives on both original and transliterated data can improve crosslingual alignment. This improvement further leads to better crosslingual transfer performance. However, it remains unclear how and why a better crosslingual alignment is achieved, as this technique only involves transliterations, and does not use any parallel data. This paper attempts to explicitly evaluate the crosslingual alignment and identify the key elements in transliteration-based approaches that contribute to better performance. For this, we train multiple models under varying setups for two pairs of related languages: (1) Polish and Ukrainian and (2) Hindi and Urdu. To assess alignment, we define four types of similarities based on sentence representations. Our experimental results show that adding transliterations alone improves the overall similarities, even for random sentence pairs. With the help of auxiliary transliteration-based alignment objectives, especially the contrastive objective, the model learns to distinguish matched from random pairs, leading to better crosslingual alignment. However, we also show that better alignment does not always yield better downstream performance, suggesting that further research is needed to clarify the connection between alignment and performance. The code implementation is based on https://github.com/cisnlp/Transliteration-PPA.
Introduction
Multilingual Pretrained Language Models (mPLMs) often struggle to transfer knowledge between languages written in different scripts, such as Hindi (Devanagari) and Urdu (Arabic). While recent research suggests that including transliterated versions of text during training helps "align" these languages in the model's internal space, the underlying mechanics of this process have remained a black box. This paper systematically deconstructs these questions to identify how transliteration-based alignment works and whether better alignment consistently translates to improved downstream performance.
Methodology: Isolating the Effects of Transliteration
To isolate the effects of data and training objectives, we trained five distinct model variants from scratch using the Glot500-c corpus. We focused on two related language pairs with different scripts: Polish-Ukrainian (Latin vs. Cyrillic) and Hindi-Urdu (Devanagari vs. Arabic).
- Model-1 (Baseline): Vanilla Masked Language Modeling (MLM) on original scripts.
- Model-2: MLM on a mix of original and transliterated data.
- Model-3: MLM + Transliteration Contrastive Modeling (TCM), which forces the model to distinguish a sentence from its transliteration versus a random sentence.
- Model-4: MLM + Transliteration Language Modeling (TLM), where the model predicts masked tokens in a sentence by looking at its transliterated counterpart.
- Model-5: An integrated approach using MLM, TCM, and TLM.
The Mechanics of Alignment: Similarity vs. Contrast
A critical insight from our analysis is that representational similarity is not synonymous with functional alignment. Simply adding transliterated data (Model-2) increases the overall cosine similarity between all sentence pairs, including random, unrelated ones. This "rising tide" effect does not help the model distinguish translations.
True alignment is driven by contrastive objectives. The TCM objective (Model-3) acts as the "secret sauce," teaching the model to specifically identify matched pairs while pushing away random ones. As shown in the representational analysis of Model-5, this leads to a clear separation between matched and random pairs in the embedding space.
Experimental Results
We evaluated the models on sentence retrieval tasks (SR-B and SR-F) and several downstream tasks, including text classification (SIB200) and Named Entity Recognition (WikiANN).
Sentence Retrieval Performance
Model-5 consistently outperformed the baseline (Model-1) across retrieval tasks. For the Hindi-Urdu pair, Top-1 accuracy on the SR-B dataset improved from 52.7% to 65.1%. Interestingly, the contrastive objective in Model-3 was often more effective at improving alignment than the predictive objective in Model-4.
The Alignment-Performance Paradox
Despite the clear improvements in crosslingual alignment, we observed a "performance paradox": better alignment does not always yield better downstream results. In some instances, forcing alignment degraded language-specific representations, leading to lower in-language performance. For example, on the SIB200 task for Hindi, the baseline Model-1 (82.8%) outperformed the more highly aligned Model-5 (80.4%).
Conclusion
Transliteration serves as a powerful bridge for crosslingual alignment, particularly when combined with contrastive learning objectives. However, the disconnect between alignment metrics and downstream performance suggests that future research should focus on balancing crosslingual consistency with the preservation of language-specific features. The code for this study is available at https://github.com/cisnlp/Transliteration-PPA.
Summary updated