Can Monolingual Pretrained Models Help Cross-Lingual Classification?

Zewen Chi, Li Dong, Furu Wei, Xianling Mao, Heyan Huang

TL;DR

This paper investigates whether strong monolingual language models can boost the performance of multilingual models on cross-lingual classification tasks. The authors propose two methods, MONOX-KD and MONOX-PL, which leverage knowledge distillation or pseudo-labeling from a fine-tuned monolingual model to a multilingual model, achieving significant improvements over standard multilingual fine-tuning.

What Problem Does This Paper Address?

Supervised text classification typically relies on large amounts of labeled data, which are often scarce for languages other than English. While multilingual pre-trained language models (like mBERT) have shown promise for cross-lingual transfer, they often underperform their monolingual counterparts. This "curse of multilinguality" arises because a fixed model capacity must accommodate many languages, potentially diluting the effectiveness for any single language. This paper addresses the question of whether we can harness the power of highly performant monolingual models to improve the cross-lingual capabilities of these multilingual models, especially in zero-shot settings where no target language data is available during training.

Methods

The core idea is to transfer knowledge from a strong monolingual teacher model to a multilingual student model. The authors propose two variants of their MONOX framework:

  • MONOX-KD (Knowledge Distillation): This method uses knowledge distillation, a technique where a smaller "student" model learns to mimic the output probabilities of a larger "teacher" model. In this case, a monolingual BERT (specifically, RoBERTa-LARGE) is first fine-tuned on a source language (English) for the classification task. This fine-tuned monolingual model acts as the teacher. Then, a multilingual BERT (BERTBASE) is trained as the student, using a loss function that combines the standard cross-entropy loss on labeled source data with a distillation loss that encourages the student to match the teacher's soft probability distributions.
  • MONOX-PL (Pseudo-Label): This approach also starts with a fine-tuned monolingual teacher model. However, instead of using soft labels, it generates "pseudo-labels" for unlabeled source language data by having the teacher model predict class labels. These pseudo-labels are then filtered based on a confidence threshold. The multilingual student model is then trained on a combined dataset of original labeled source data and the pseudo-labeled data.

Both methods train the multilingual student model using only source language data (English) and then evaluate it directly on target languages without any further training.

Datasets

The paper evaluates their methods on two standard cross-lingual classification benchmarks:

  • Cross-Lingual Sentiment (CLS) dataset: This dataset consists of sentiment classification tasks across three domains and four languages.
  • Cross-Lingual NLI (XNLI) dataset: This dataset is designed for natural language inference and includes development and test sets in 15 languages, with a training set in English.

For training, the authors use English data as the source language. For MONOX-PL, they also utilize unlabeled English data to generate pseudo-labels. Notably, the proposed MONOX methods do not use any target language data during the fine-tuning phase, making them zero-shot cross-lingual methods.

Key Insights and Ideas

  • Monolingual models are significantly better: Preliminary experiments show a substantial performance gap between fine-tuned monolingual models (like RoBERTa-LARGE) and multilingual models (like mBERT) on English data, even with comparable parameter counts. This highlights the "curse of multilinguality."
  • Knowledge transfer is effective: The proposed MONOX methods successfully transfer knowledge from a strong monolingual teacher to a multilingual student, leading to improved cross-lingual performance.
  • MONOX-KD and MONOX-PL outperform baselines: Both proposed methods consistently achieve better results than standard multilingual fine-tuning (mBERT) and even a self-training variant (mBERT-ST).
  • MONOX-KD is robust to distillation temperature: The performance of MONOX-KD is relatively insensitive to the choice of distillation temperature, suggesting its practical applicability.
  • Training data size matters: The effectiveness of MONOX is observed across various training data sizes, with significant improvements seen even when using limited labeled source data.

Key Results

  • Sentiment Classification (CLS): MONOX methods provided an average accuracy improvement of 4.91% over the original multilingual BERT fine-tuning method.
  • Natural Language Inference (XNLI): MONOX-PL and MONOX-KD showed better performance than baseline methods on the challenging XNLI dataset. For instance, MONOX-PL achieved an average accuracy of 62.5% compared to mBERT's 60.9% on XNLI.
  • Training Data Size Study: On XNLI, MONOX outperformed mBERT on all data sizes except for the smallest setting (10 examples), demonstrating its ability to leverage monolingual knowledge even with limited source data.

Limitations and Future Work

  • Limitations: The paper focuses on classification tasks. The authors acknowledge that the performance improvement of mBERT-ST was only slight on XNLI, possibly due to the larger dataset size for XNLI, which might dilute the impact of self-training.
  • Future Work: The authors suggest exploring whether monolingual pretrained models can benefit other cross-lingual Natural Language Processing (NLP) tasks, such as natural language generation. They also plan to investigate the transferability of this approach to other language families and task types.

Summary updated

Abstract

Multilingual pretrained language models (such as multilingual BERT) have achieved impressive results for cross-lingual transfer. However, due to the constant model capacity, multilingual pre-training usually lags behind the monolingual competitors. In this work, we present two approaches to improve zero-shot cross-lingual classification, by transferring the knowledge from monolingual pretrained models to multilingual ones. Experimental results on two cross-lingual classification benchmarks show that our methods outperform vanilla multilingual fine-tuning.
BibTeX
@inproceedings{chi2020can,
  author = {Zewen Chi and Li Dong and Furu Wei and Xianling Mao and Heyan Huang},
  title = {{Can Monolingual Pretrained Models Help Cross-Lingual Classification?}},
  booktitle = {AACL/IJCNLP},
  year = {2020},
  doi = {10.18653/v1/2020.aacl-main.2},
}
Figure