UniBridge: A Unified Approach to Cross-Lingual Transfer Learning for Low-Resource Languages

Trinh Pham, Khoi Le, Anh Tuan LuuACL 2024

Introduction

While Multilingual Large Language Models (mLLMs) like mBERT and XLM-R have revolutionized NLP, their utility remains concentrated in the world's top 100 languages. This leaves a "substantial void" for approximately 6,900 low-resource languages. When these models encounter languages with unique scripts (e.g., Amharic or Pashto), they typically suffer from two critical failures: a Tokenization Crisis, where unknown scripts lead to a sea of [UNK] tokens, and an Initialization Gap, where new language embeddings are poorly initialized or require computationally prohibitive manual tuning.

UniBridge is an end-to-end framework designed to bridge these gaps by automating vocabulary sizing, semantically initializing embeddings across scripts, and aggregating knowledge from multiple source languages.

Methodology

The UniBridge framework introduces a systematic five-stage pipeline to adapt pre-trained models to new, low-resource linguistic environments efficiently.

The complete UniBridge pipeline, encompassing vocabulary searching, embedding initialization, language adaptation, and multi-source inference.

Rather than relying on heuristic guesses for vocabulary size, UniBridge utilizes an algorithm based on Average Log Probability (ALP). This allows researchers to find an optimal balance between model complexity and linguistic coverage using CPU resources alone, bypassing the need for expensive GPU training cycles during the search phase.

2. Language-Specific Embedding Initialization

This stage represents the core innovation of UniBridge. Instead of random initialization, the system leverages both lexical overlap and semantic alignment.

Detailed view of the embedding initialization process using lexical and semantic alignment to bridge different scripts.

For tokens that do not match lexically—a common occurrence across different scripts—UniBridge uses static FastText embeddings to identify "semantic neighbors" in the source model's space. For non-aligned tokens, the embedding vector is calculated as a weighted sum of the nearest aligned tokens, providing a "warm start" for the model.

3. Model Adaptation with KL-Divergence

During fine-tuning, UniBridge employs Kullback–Leibler (KL) divergence as a regularizer. This ensures that the representation of the new language remains aligned with the original multilingual embedding space, preventing catastrophic forgetting of pre-trained knowledge.

4. Multi-Source Transfer Inference

UniBridge moves beyond simple English-to-target transfer. It calculates a "Harmony Weight"—a similarity metric between the target and multiple source languages (e.g., Russian, Arabic, Chinese). During inference, predictions from various task adapters are aggregated and weighted based on these harmony scores, allowing the model to prioritize knowledge from linguistically similar sources.

Evaluation and Results

The framework was evaluated across diverse benchmarks, including WikiANN (NER), Universal Dependencies (POS tagging), and AmericasNLI.

Key Performance Metrics

UniBridge demonstrated significant improvements over standard baselines:

  • Named Entity Recognition (WikiANN): Using XLM-R, UniBridge achieved an average F1 score of 45.95, outperforming the base model (43.14) and the MAD-X framework (38.38).
  • POS Tagging (UD): On an mBERT backbone, UniBridge reached an accuracy of 58.64, a massive increase from the base mBERT's 37.82.
  • Unseen Scripts: The most dramatic gains occurred in languages with unique scripts. In Amharic (amh), UniBridge (mBERT) achieved an F1 of 15.46, compared to the 12.87 baseline.

Key Insights

  1. Scripts are the Primary Bottleneck: Data volume is less critical than the tokenizer's ability to represent characters. Without proper representation, the model cannot effectively process monolingual data.
  2. Semantic Warm Starts are Essential: Ablation studies confirmed that embedding initialization is the most critical component. Removing it caused F1 scores on XLM-R to plummet from ~46 to ~6.5.
  3. Source Diversity: For languages like Pashto, aggregating knowledge from Arabic or Persian via multi-source transfer is often more effective than relying solely on English.

Conclusion and Future Work

UniBridge provides a robust, accessible pathway for bringing high-quality NLP to underserved languages. By optimizing vocabulary and embeddings before reaching the GPU, it democratizes model adaptation. Future research will focus on improving data quality through better language identification and exploring advanced regularization methods like optimal transport to further refine subspace alignment.

Summary updated

BibTeX
@inproceedings{pham2024unibridge,
  author = {Trinh Pham and Khoi Le and Anh Tuan Luu},
  title = {{UniBridge: A Unified Approach to Cross-Lingual Transfer Learning for Low-Resource Languages}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.174},
}
Figure