Abstract
Explicit alignment objectives—using parallel text to force multilingual models to align meanings across languages—are a popular technique for boosting cross-lingual performance. However, this study suggests that these methods are not a universal solution. Through a rigorous evaluation across multiple tasks and random seeds, we find that explicit alignment often fails to improve state-of-the-art models like XLM-R. Furthermore, simply increasing model capacity proves to be a significantly more effective and reliable strategy for improving zero-shot transfer.
Introduction
Multilingual encoders such as mBERT and XLM-RoBERTa (XLM-R) serve as the foundation for modern NLP, enabling "zero-shot" transfer where models trained on English can perform tasks in dozens of other languages. To enhance this transfer, researchers frequently employ explicit alignment. This involves using bitexts (translated sentence pairs) and auxiliary loss functions to ensure that the representations of words and their translations are mathematically close.
Despite the popularity of these methods, previous studies often reported results based on single tasks (typically XNLI) and single experimental runs. This paper investigates the robustness of these improvements across different tasks, noisier data sources, and multiple training runs to determine if reported gains are consistent or merely the result of "lucky" random seeds.
Methodology
We compare three primary alignment strategies:
- Linear Mapping: A classic approach that learns a rotation matrix to align static features across languages.
- L2 Alignment: Fine-tuning the entire encoder to minimize the Euclidean distance between aligned word pairs.
- Contrastive Alignment (Proposed): Inspired by contrastive learning in computer vision, this objective encourages a word and its translation to be more similar to each other than to a set of "negative" examples.
- Weak Alignment: Negative examples are drawn only from the target language.
- Strong Alignment: Negative examples are drawn from both source and target languages.
To ensure robustness, we report the mean and standard deviation across five different random seeds for every experiment.
Experimental Setup
Datasets
- Training (Bitexts): We utilize both high-quality curated corpora (e.g., MultiUN, Europarl) and a noisier, more realistic dataset, OPUS-100, which better reflects the data quality available for low-resource languages.
- Evaluation: Models are tested on XNLI (Classification), NER (Sequence Labeling), POS tagging, and Dependency Parsing.
Key Results and Insights
The "Bigger is Better" Eclipse
The most significant finding is that the performance gap between a base model and a large model (e.g., XLM-R base vs. XLM-R large) far exceeds any gains provided by alignment objectives. For instance, XLM-R Large (no alignment) achieves ~80.4% on XNLI, while the best-aligned XLM-R Base only reaches ~76.1%. Scaling model capacity is a more reliable path to performance than explicit alignment.
Alignment as a Double-Edged Sword
While alignment objectives occasionally benefit older models like mBERT (particularly in POS tagging and Parsing), they frequently degrade the performance of XLM-R. In some cases, such as NER with Linear Mapping, performance dropped by over 10 points. This suggests that high-capacity models may already capture sufficient cross-lingual structure during unsupervised pre-training.
The Fragility of Single-Run Results
By reporting standard deviations, we demonstrate that many previously reported "improvements" fall within the range of random noise. This highlights a potential reproducibility crisis in the fine-tuning of multilingual models.
Robustness of Contrastive Objectives
When alignment is necessary, the proposed contrastive objective proves more robust than L2 distance, especially when dealing with noisy word alignments generated by automated tools.
Conclusion
Our findings indicate that the limitations of current alignment methods are not due to data quality, but rather the objectives themselves. Future research should prioritize scaling model capacity and developing evaluation schemes that account for variance across multiple runs. Moving forward, the community should explore more sophisticated ways to utilize bitexts that do not aggressively interfere with a model's internal representations.
Summary updated