Skip to main content
QUICK REVIEW

[Paper Review] Cross-Lingual Supervision improves Large Language Models Pre-training

Andrea Schioppa, Xavier García|arXiv (Cornell University)|May 19, 2023
Topic ModelingComputer Science5 citations
TL;DR

This paper demonstrates that integrating cross-lingual supervised machine translation (MT) objectives into the pre-training of encoder-decoder large language models (LLMs) significantly improves in-context learning performance on both open and closed generation tasks across multiple languages. By using automated curriculum learning with multi-armed bandits to dynamically optimize the mixing ratio of MT and self-supervised language modeling data during training, the method achieves superior results without costly grid searches, outperforming static data sampling strategies and SOTA baselines on translation and question-answering benchmarks.

ABSTRACT

The recent rapid progress in pre-training Large Language Models has relied on using self-supervised language modeling objectives like next token prediction or span corruption. On the other hand, Machine Translation Systems are mostly trained using cross-lingual supervision that requires aligned data between source and target languages. We demonstrate that pre-training Large Language Models on a mixture of a self-supervised Language Modeling objective and the supervised Machine Translation objective, therefore including cross-lingual parallel data during pre-training, yields models with better in-context learning abilities. As pre-training is a very resource-intensive process and a grid search on the best mixing ratio between the two objectives is prohibitively expensive, we propose a simple yet effective strategy to learn it during pre-training.

Motivation & Objective

  • To investigate whether including parallel cross-lingual data during LLM pre-training improves in-context learning abilities in both open and closed generation settings.
  • To address the challenge of determining the optimal mixing ratio between self-supervised language modeling and supervised MT objectives, which is computationally prohibitive to tune via grid search.
  • To develop and evaluate a dynamic, automated strategy for scheduling the use of parallel data during pre-training that avoids hyperparameter search and outperforms static sampling policies.
  • To assess whether gains from cross-lingual supervision are due to increased multilingual data exposure or the specific structure of aligned parallel sentences.
  • To evaluate the impact of cross-lingual supervision on low-resource languages and compare performance against strong MT and LLM baselines.

Proposed method

  • Pre-train encoder-decoder LLMs on a mixture of self-supervised language modeling (e.g., next-token prediction) and supervised machine translation objectives using parallel monolingual sentence pairs.
  • Introduce a dynamic data sampling strategy using automated curriculum learning with multi-armed bandits to learn the optimal proportion of parallel MT data to use at each training step.
  • Apply the method to models of 1.2B and 3.8B parameters, training on 256 TPUv4 cores for 5 days per experiment to ensure sufficient scale.
  • Use in-context learning for evaluation, distinguishing between closed generation (same-language input/output) and open generation (cross-lingual input/output).
  • Compare results against strong baselines including M2M-124, GPT-3, XGLM, and fine-tuned mT5 models, using standard metrics like BLEU and F1 on TyDi QA and XTyDi QA.
  • Conduct ablation studies to isolate the effect of using MT data with the LM objective versus simply increasing non-English data volume.
Figure 1: Measuring transfer as the reward on task Y resulting from a gradient step on task X (X to Y in the legend). At the beginning of training the rewards of MT to itself is lower and increases over time. There is always a substantial transfer from MT to LM. We use a running average with window
Figure 1: Measuring transfer as the reward on task Y resulting from a gradient step on task X (X to Y in the legend). At the beginning of training the rewards of MT to itself is lower and increases over time. There is always a substantial transfer from MT to LM. We use a running average with window

Experimental results

Research questions

  • RQ1Does incorporating cross-lingual supervised data during LLM pre-training improve in-context learning performance on multilingual machine translation and question-answering tasks?
  • RQ2Can a dynamic, automated curriculum learning strategy outperform static data sampling policies when balancing self-supervised language modeling and supervised MT objectives?
  • RQ3Are the observed gains due to increased multilingual data exposure or the specific structure of aligned parallel sentences?
  • RQ4How do the improvements vary across high-resource and low-resource language pairs, particularly in open vs. closed generation settings?
  • RQ5Does the performance gain from cross-lingual supervision scale with model size, and how does it compare to state-of-the-art MT and LLM models?

Key findings

  • The proposed method with automated curriculum learning achieved state-of-the-art performance on multilingual machine translation, outperforming M2M-124 and other baselines on several language pairs, including 47.6 BLEU on Fr→En and 40.3 BLEU on Sw→En with the 3.8B model in open generation mode.
  • In closed generation, the 3.8B model achieved 41.2 BLEU on En→Ru and 35.0 BLEU on En→Sw, significantly outperforming the 6.7B GPT-3 and 7.5B XGLM models on the same tasks.
  • The model with automated curriculum learning outperformed static data sampling baselines from Kale et al. (2021), demonstrating that dynamic scheduling of parallel data improves performance without requiring hyperparameter tuning.
  • Ablation studies showed that using MT data with the LM objective led to significant performance drops on TyDi QA and translation tasks compared to using only monolingual data, indicating that the structure of parallel data is crucial, not just data volume.
  • On low-resource languages like My and Ta, models struggled due to insufficient training data, but for Bg→En, Hi→En, and Zh→En, the models outperformed other systems, showing strong zero-shot generalization.
  • The results suggest that cross-lingual supervision enhances multilingual capabilities beyond simple data augmentation, particularly in open-generation settings where cross-lingual generalization is required.

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.