Skip to main content
QUICK REVIEW

[Paper Review] From English To Foreign Languages: Transferring Pre-trained Language Models

Ke Tran|arXiv (Cornell University)|Feb 18, 2020
Topic ModelingComputer Science28 references23 citations
TL;DR

This paper proposes RAMEN, a method to rapidly transfer a pretrained English BERT model to other languages by initializing foreign word embeddings using aligned fastText vectors and fine-tuning the bilingual model with a single GPU. The approach achieves competitive or better zero-shot performance than multilingual BERT on natural language inference and dependency parsing across six languages, with training completed in under two days.

ABSTRACT

Pre-trained models have demonstrated their effectiveness in many downstream natural language processing (NLP) tasks. The availability of multilingual pre-trained models enables zero-shot transfer of NLP tasks from high resource languages to low resource ones. However, recent research in improving pre-trained models focuses heavily on English. While it is possible to train the latest neural architectures for other languages from scratch, it is undesirable due to the required amount of compute. In this work, we tackle the problem of transferring an existing pre-trained model from English to other languages under a limited computational budget. With a single GPU, our approach can obtain a foreign BERT base model within a day and a foreign BERT large within two days. Furthermore, evaluating our models on six languages, we demonstrate that our models are better than multilingual BERT on two zero-shot tasks: natural language inference and dependency parsing.

Motivation & Objective

  • To address the challenge of transferring high-performing English pretrained language models to low-resource languages under limited computational budgets.
  • To enable fast, efficient adaptation of English BERT to other languages without training from scratch.
  • To evaluate whether bilingual models built via transfer learning can match or exceed the performance of multilingual BERT in zero-shot cross-lingual tasks.
  • To investigate the utility of transferred models as feature extractors in supervised dependency parsing.

Proposed method

  • Initialize target language word embeddings in the English embedding space using aligned fastText vectors to ensure semantic proximity between translation pairs.
  • Fix the pretrained English BERT encoder layers and only train the target language word embeddings during the first step of adaptation.
  • Construct a bilingual language model combining English and target language embeddings and fine-tune all parameters jointly on monolingual data from both languages.
  • Use a masked language modeling objective during fine-tuning to preserve contextual representations and improve zero-shot transfer.
  • Leverage a single GPU to train the bilingual model, reducing training time to 20 hours for base and 46 hours for large variants.
  • Compare performance against mBERT and a BERT model trained from scratch on the same data to validate efficiency and effectiveness.

Experimental results

Research questions

  • RQ1Can a pretrained English BERT model be effectively transferred to other languages with minimal computational cost?
  • RQ2How does the quality of foreign word embedding initialization affect zero-shot cross-lingual transfer performance?
  • RQ3Does the transferred bilingual model outperform multilingual BERT in zero-shot natural language inference and dependency parsing?
  • RQ4Can the transferred model serve as an effective feature extractor in supervised dependency parsing?

Key findings

  • RAMEN achieves a foreign BERT base model in 20 hours and a large model in 46 hours using a single Tesla V100 GPU, significantly reducing training time compared to training from scratch.
  • On six languages, RAMEN outperforms multilingual BERT on both zero-shot natural language inference (XNLI) and dependency parsing, with a 10.3% average improvement on XNLI when using random initialization.
  • With proper initialization using aligned fastText vectors, RAMEN achieves better zero-shot performance than mBERT, especially on morphologically rich and SOV languages like Arabic and Hindi.
  • Even with only 20,000 training updates (3.5 GPU hours), RAMEN outperforms a BERT model trained from scratch for 400 hours on dependency parsing, demonstrating high sample efficiency.
  • In supervised dependency parsing, RAMEN + RoBERTa-large achieves a LAS score of 86.5, outperforming mBERT (84.6) and showing strong potential as a feature extractor.
  • The performance of the transferred model strongly correlates with the performance of the original English BERT model, indicating that high-quality English pretraining enables effective cross-lingual knowledge transfer.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.