Abstract
This paper introduces a simple, English-only training method to improve zero-shot cross-lingual transfer in multilingual models like mBERT and XLM-R. By combining "Embedding-Push" and "Attention-Pull" objectives during training with synonym-augmented data, the method forces English representations into a broader, language-agnostic semantic space. This significantly boosts performance on low-resource languages without requiring expensive parallel corpora or bilingual dictionaries.
The Challenge of Zero-Shot Cross-Lingual Transfer
Multilingual language models (like mBERT and XLM-R) have driven massive improvements in cross-lingual NLP tasks. However, fine-tuning these models for low-resource languages typically requires parallel corpora or bilingual dictionaries, which are expensive and often unavailable.
To bypass this, researchers use zero-shot cross-lingual transfer: fine-tuning the model exclusively on a high-resource language (like English) and evaluating it on other languages. The challenge is that multilingual models naturally cluster word embeddings by language family. If a model is fine-tuned only on English, its decision boundaries tightly hug the English cluster, leading to poor generalization on distant languages. While previous works have tried to expand this "robust region" using adversarial training or synonym augmentation, the expanded regions still remain too close to the English cluster to effectively encompass other languages.
Methodology: Virtual Multilingual Embeddings (VME)
The authors propose a novel training framework that creates a "Virtual Multilingual Embedding" (VME) using only English resources. They augment English training batches by randomly replacing words with synonyms from a pre-defined dictionary. They then apply three distinct training targets:
- Embedding-Push Target (EPT): This loss function actively pushes the embedding of the original English sentence and its synonym-augmented version apart in the embedding space. This forces the representations to break out of the isolated English cluster.
- Attention-Pull Target (APT): To prevent the loss of semantic meaning when pushing embeddings, APT acts as a structural anchor. It minimizes the difference between the self-attention matrices of the original and augmented sentences. Because attention matrices capture the relative linguistic relationships between words, this "pull" preserves the sentence's core meaning and syntax.
- Robust Target: A standard cross-entropy classification loss applied to both the original and augmented examples to train the actual task classifier.
Key Insights and Results
The authors evaluated their method on standard cross-lingual benchmarks including XNLI (15 languages) and PAWS-X (7 languages).
- Synergistic Dynamics: Ablation studies reveal that neither EPT nor APT works well alone. Pushing embeddings without constraints destroys semantics, while pulling without pushing fails to escape the English cluster. Together, they project English text into a language-agnostic semantic space.
- Attention as a Structural Anchor: The authors found that pulling attention matrices works better than pulling global sentence embeddings. Attention matrices capture the relative 1-hop graph structure between words, whereas global embeddings biased the model too heavily toward English-like syntax, hurting performance on distant languages.
- Quantitative Gains: The proposed method achieved up to a 4.2% average accuracy improvement on mBERT and a 1.4% improvement on XLM-R on the XNLI dataset, outperforming strong recent baselines like RS-DA and Syntax-augmented BERT. It also set new state-of-the-art zero-shot results on PAWS-X.
Limitations and Future Work
The method's success is heavily dependent on the size and quality of the English synonym dictionary. Scaling down the dictionary size noticeably degrades cross-lingual transfer performance. Additionally, while English is the default high-resource language, the authors found that using German or Russian as the source language yielded slightly better overall transfer in some setups. Future work could explore how to optimally select or combine source languages to maximize the coverage of the Virtual Multilingual Embedding space.
Summary updated