Abstract
Cross-lingual transfer is often limited by the "script barrier," where models fail to exploit lexical overlap between languages written in different scripts. While transliteration to a common script like Latin can mitigate this, standard multilingual pretrained language models (mPLMs) struggle with transliterated text due to sub-optimal tokenization and mismatched embeddings. We present TRANSMI (Transliterate-Merge-Initialize), a training-free framework that adapts existing mPLMs to handle transliterated data. By mapping a model's original vocabulary and embeddings into a common Latin script, TRANSMI achieves performance gains of 3% to 34% on transliterated tasks without degrading performance on original scripts.
Introduction
The success of multilingual pretrained language models (mPLMs) like XLM-R and Glot500 has revolutionized cross-lingual transfer. However, these models often fail when the source and target languages use different scripts—a phenomenon known as the "script barrier." For example, a model might not recognize the semantic similarity between the English word "sun" and its transliterated Chinese counterpart "taiyang" if it was only trained on Chinese characters.
Common solutions involve training massive models from scratch on transliterated data or performing parameter-heavy adaptation, both of which are computationally expensive. Furthermore, standard tokenizers often fail on transliterated text, breaking meaningful words into nonsensical subword fragments because they lack exposure to those specific character sequences. TRANSMI addresses these challenges by providing a zero-training method to bridge the script gap.
Methodology: The TRANSMI Framework
The TRANSMI framework operates in three distinct stages to augment an existing mPLM's capabilities:
- Transliterate: Every subword in the mPLM’s original vocabulary is converted into a common script (typically Latin) using rule-based tools like Uroman. This creates a mapping between the original script and its Romanized version.
- Merge: The new transliterated subwords are integrated into the tokenizer. A key challenge is transliteration ambiguity, where multiple original subwords (e.g., simplified and traditional Chinese characters) map to the same Latin string. The authors evaluated three strategies:
- Min-Merge: Retains the score of the least frequent original subword.
- Max-Merge: Retains the score of the most frequent original subword. This was found to be the most effective strategy as it preserves the model's natural tokenization paths.
- Average-Merge: Averages the scores of colliding subwords.
- Initialize: Embeddings for the new subwords are initialized using the weights of the original subwords. In cases of collisions, embeddings are either copied (Max-Merge) or averaged.
This process results in a modified model that can process both the original script and its Romanized version within the same underlying semantic space, requiring zero additional training.
Experimental Setup
The framework was evaluated using three state-of-the-art mPLMs: XLM-R, Glot500, and FURINA. These models were tested across a diverse set of tasks and datasets:
- Sentence Retrieval: Evaluated on the Bible (SR-B) and Tatoeba (SR-T) datasets.
- Text Classification: Tested using Taxi1500 (covering 1500 languages) and SIB200 for topic classification.
- Sequence Labeling: Benchmarked on WikiANN for Named Entity Recognition (NER) and Universal Dependencies for Part-of-Speech (POS) tagging.
Performance was measured on both original script datasets and their transliterated counterparts.
Results and Discussion
TRANSMI consistently outperformed original mPLMs on transliterated data, with performance gains ranging from 3% to 34% across different tasks. Crucially, performance on the original, non-transliterated scripts remained stable, demonstrating that the framework successfully augments the model without catastrophic forgetting.
Key Insights
- The Superiority of Max-Merge: Prioritizing the most frequent subword during collisions allows the model to maintain more "natural" tokenization, which is critical for downstream performance.
- Phonetic vs. Logographic Scripts: The method is highly effective for phonetic scripts (e.g., Cyrillic, Devanagari). However, it faces challenges with logographic scripts like Chinese (Hani), where transliteration often removes semantic nuances like tones, leading to increased ambiguity.
- Broad Impact: TRANSMI benefits both low-resource ("tail") and high-resource ("head") languages when they are presented in transliterated forms.
Conclusion and Future Work
TRANSMI provides a robust, training-free baseline for researchers working with transliterated data. It is highly efficient, requiring zero GPU hours for adaptation, making it an ideal starting point for further fine-tuning.
Future work may address the limitations of lossy transliteration by incorporating more sophisticated, language-specific transliterators that preserve tonal information. Additionally, while this study focused on SentencePiece Unigram tokenizers, extending the framework to BPE-based models like BERT remains an area for exploration. Despite the significant improvements, a performance gap between native and transliterated scripts persists, suggesting that targeted fine-tuning may still be necessary for optimal results.
Summary updated