Introduction
Pre-trained contextualized language models (PrLMs) such as BERT and RoBERTa have set new benchmarks in Natural Language Processing (NLP). However, these models are predominantly trained on English corpora, creating a significant "English tax" for other languages. Training these massive models from scratch for low-resource languages is often computationally prohibitive and data-intensive.
The Challenge of Multilingual Modeling
Existing approaches to cross-lingual NLP face several hurdles. Training from scratch ignores the structural commonalities shared across human languages. Multilingual models (mPrLMs), while effective, typically require retraining the entire architecture when a new language is added—a process that is both slow and expensive. Furthermore, simple vocabulary replacement fails to account for structural mismatches in word order and sequence length between languages.
The TreLM Framework
To address these issues, researchers proposed TreLM (Transferring Language Modeling), a framework designed to "port" high-resource English models to new target languages efficiently. TreLM introduces three primary technical innovations:
- Adversarial Embedding Aligning: This technique maps target language embeddings into the same vector space as the original English model, providing a foundational word-level alignment.
- The TRILayer (Transferring Intermediate Layer): Acting as an architectural pivot, this layer reorders hidden representations to match the target language's syntax and sequence length.
- CdLM (Cross-lingual Language Modeling): A training objective that uses explicit alignment to task the model with generating target-language tokens from source-language inputs.
Efficiency and Performance
The core advantage of TreLM is its economy of scale. Unlike mPrLMs that necessitate repeated large-scale pre-training, TreLM allows the heavy lifting to be done once in English, with subsequent transfers requiring significantly fewer resources.
Empirical results demonstrate TreLM's superiority:
- Chinese (CLUE): TRI-BERT-base outperformed mBERT-base on nearly all tasks, such as achieving a score of 72.98 on AFQMC compared to mBERT's 70.29.
- Indonesian: In a lower-resource setting, TRI-RoBERTa-base achieved a 79.95 Labeled Attachment Score (LAS) in dependency parsing, surpassing both mBERT and the language-specific IndoBERT.
- Computational Cost: Training a TRI-BERT-base model requires approximately 20 TPU-days, a 68% reduction compared to the 64 TPU-days needed for the original BERT-base.
Conclusion
TreLM offers a scalable and cost-effective pathway for extending state-of-the-art NLP capabilities to diverse languages. By leveraging structural transfer rather than brute-force retraining, it democratizes access to high-performance language models. Future research aims to eliminate the dependency on parallel corpora through unsupervised cross-lingual transfer.
Summary updated