Introduction
Multilingual Sentence Encoders (MSEs) like LaBSE and mE5 are essential for mapping diverse languages into a shared semantic space. However, scaling these models to hundreds of languages introduces the "curse of multilinguality" (CoM), where parameter sharing leads to negative interference and degraded performance. Furthermore, a fundamental "alignment-specialization trade-off" exists: optimizing for monolingual semantic nuances often conflicts with the requirements for strict cross-lingual alignment.
This paper proposes a modular framework that addresses these challenges by isolating language-specific knowledge using Low-Rank Adaptation (LoRA). By separating monolingual specialization from cross-lingual alignment, the authors achieve state-of-the-art performance while mitigating the interference typical of monolithic models.
Methodology: A Modular Training Pipeline
The core of the proposed approach is a three-stage training pipeline designed to decouple different types of linguistic knowledge.
- Monolingual Specialization (Language Adaptation): Dedicated tokenizers and language-specific adapters are trained using Masked Language Modeling (MLM). This allows the model to capture the unique structural properties of each language without affecting the parameters of others.
- Sentence Encoding (SE) Training: A second adapter layer is trained to specialize the model for sentence-level representations. To scale this across 22 languages, the authors utilize machine-translated paraphrase data derived from English datasets like MNLI and Quora Duplicate Questions.
- Cross-Lingual Alignment (CLA): Finally, a CLA adapter aligns non-English embeddings to an English pivot space. This stage uses a mix of paraphrase and parallel data to balance the needs of downstream tasks like semantic similarity and bitext mining.
At inference, only the modules relevant to the input language are activated, ensuring high precision with minimal computational overhead.
Experimental Setup and Evaluation
The framework was evaluated using CC100 and MADLAD-400 for adaptation, and a suite of benchmarks including STS17/STSB (similarity), SICK/STR24 (relatedness), and FLORES/Tatoeba (bitext mining). The study also utilized SIB-200 for topic classification across over 200 languages.
A key finding was the effectiveness of high-quality machine translation (MT) for synthesizing training data. Using the NLLB-3.3B model to translate English paraphrase datasets proved sufficient for building robust encoders in languages lacking native resources.
Key Results and Insights
The modular approach consistently outperformed monolithic baselines across various metrics. Notably, the separation of concerns allowed for simultaneous excellence in both bitext mining and semantic similarity—tasks that often exhibit a trade-off in standard models.
Performance Highlights
- Low-Resource Languages: On the STR24 dataset, the modular LaBSE variant achieved a +9.2 point improvement over the baseline, demonstrating the power of isolated language adaptation.
- Reduced Language Bias: Modular models exhibited significantly lower language bias, indicating a superior ability to align meanings across languages without being misled by language-specific surface features.
- Cross-Lingual Superiority: The modular mE5 variant outperformed its full-parameter counterpart by nearly 10 points on the cross-lingual STSB benchmark, effectively overcoming the curse of multilinguality.
Limitations and Future Directions
While effective, the modular framework requires Language Identification (LID) to select the appropriate adapter at inference. Additionally, the total number of parameters grows linearly with the number of languages, which may pose storage challenges for universal models. Future work may explore applying LoRA to embedding layers to further compress language-specific modules and extending the framework to encoder-decoder architectures.
Conclusion
By isolating language-specific adaptation from cross-lingual alignment, this modular framework effectively bypasses the curse of multilinguality. The results demonstrate that high-performance, scalable MSEs can be built by prioritizing architectural modularity, offering a promising path for supporting the world's diverse languages in a unified semantic space.
Summary updated