Abstract
Multilingual pre-trained models like XLM-R frequently suffer from a "cross-lingual transfer gap," where performance on target languages lags significantly behind the source language (typically English). This paper introduces X-MIXUP, a novel approach that addresses this gap by interpolating the hidden representations of parallel sentence pairs during training. By bridging the internal representation discrepancy between languages, X-MIXUP encourages the model to develop more universal, language-invariant semantic features.
Introduction
High-quality labeled data is scarce for most of the world's languages. Cross-lingual transfer learning attempts to mitigate this by training models on high-resource source languages and transferring that knowledge to lower-resource target languages. However, even state-of-the-art multilingual models exhibit a cross-lingual representation discrepancy: semantically identical sentences in different languages occupy distinct regions in the model's latent space. This discrepancy is a primary driver of poor transfer performance. The challenge lies in forcing the model to treat these different linguistic paths as the same underlying semantic concept.
Methods
The proposed X-MIXUP (Cross-Lingual Manifold Mixup) enhances the standard "translate-train" strategy. Instead of simply augmenting the dataset with translations, X-MIXUP performs interpolation in the manifold space.
The core mechanism involves several key components:
- Manifold Mixup on Parallel Pairs: The model interpolates between a source sentence and its translation. A cross-attention mechanism allows the target language hidden states to act as a "query," extracting relevant semantic information from the source before blending.
- Dynamic Mixup Ratio ($\lambda$): To handle noisy machine translations, the model adaptively adjusts the mixup ratio based on the entropy of attention weights, limiting the influence of poor translations.
- Scheduled Sampling: To combat "exposure bias" caused by the distribution shift between real and translated text, the model gradually transitions from real source inputs to translated inputs during training.
- Consistency Loss: A specialized loss function ensures that both the internal representations and final predictions remain consistent across languages.
Results and Discussion
X-MIXUP was evaluated on the XTREME benchmark, covering 40 languages across tasks like sentence classification (XNLI, PAWS-X), structured prediction (POS, NER), and question answering (XQuAD, MLQA, TyDiQA).
Key findings include:
- State-of-the-Art Gains: X-MIXUP achieved an average performance gain of 1.8% across the XTREME benchmark compared to strong baselines like XLM-R. On XNLI, it reduced the transfer gap to 4.9 points, outperforming previous methods like XTUNE.
- Representation Alignment: Visual analysis (Figure 1) confirms that X-MIXUP effectively "pulls" the representations of different languages closer together, creating a more unified semantic space compared to standard translate-train methods.
- Discrepancy Correlation: Using Centered Kernel Alignment (CKA), the authors confirmed a strong correlation between reduced representation discrepancy and improved transfer performance.
- Layer Sensitivity: The optimal depth for manifold mixing varies by task; classification tasks benefit from early-layer mixing, while complex tasks like Question Answering require mixing in deeper layers (e.g., layer 16).
Conclusion
X-MIXUP provides a robust framework for narrowing the cross-lingual transfer gap by forcing models to learn language-agnostic representations. While currently reliant on machine translation quality, future work could explore integrating X-MIXUP directly into the pre-training phase to build inherently more universal multilingual models from the start.
Summary updated