Skip to main content
QUICK REVIEW

[Paper Review] VECO: Variable and Flexible Cross-lingual Pre-training for Language Understanding and Generation

Fuli Luo, Wei Wang|arXiv (Cornell University)|Oct 30, 2020
Topic ModelingComputer Science36 references14 citations
TL;DR

VECO proposes a plug-and-play cross-attention module integrated into a multilingual Transformer encoder to explicitly align cross-lingual representations during pre-training, enabling flexible deployment for both language understanding and generation tasks. It achieves state-of-the-art results on XTREME benchmarks and improves WMT14 translation by up to 1–2 BLEU points through a novel CA-MLM objective that enhances bilingual context modeling.

ABSTRACT

Existing work in multilingual pretraining has demonstrated the potential of cross-lingual transferability by training a unified Transformer encoder for multiple languages. However, much of this work only relies on the shared vocabulary and bilingual contexts to encourage the correlation across languages, which is loose and implicit for aligning the contextual representations between languages. In this paper, we plug a cross-attention module into the Transformer encoder to explicitly build the interdependence between languages. It can effectively avoid the degeneration of predicting masked words only conditioned on the context in its own language. More importantly, when fine-tuning on downstream tasks, the cross-attention module can be plugged in or out on-demand, thus naturally benefiting a wider range of cross-lingual tasks, from language understanding to generation. As a result, the proposed cross-lingual model delivers new state-of-the-art results on various cross-lingual understanding tasks of the XTREME benchmark, covering text classification, sequence labeling, question answering, and sentence retrieval. For cross-lingual generation tasks, it also outperforms all existing cross-lingual models and state-of-the-art Transformer variants on WMT14 English-to-German and English-to-French translation datasets, with gains of up to 1~2 BLEU.

Motivation & Objective

  • To address the weak cross-lingual attention patterns in existing multilingual models that rely solely on self-attention for inter-lingual alignment.
  • To improve cross-lingual representation learning by explicitly modeling interdependence between languages during pre-training.
  • To unify a single model architecture for both cross-lingual language understanding (NLU) and generation (NLG) tasks through on-demand cross-attention integration.
  • To overcome the limitations of existing encoder-only or encoder-decoder models that compromise performance on one task type when optimized for the other.
  • To enable better utilization of bilingual parallel data through a new pre-training objective, CA-MLM, that combines masked language modeling with cross-attention.

Proposed method

  • Integrates a plug-and-play cross-attention module into the Transformer encoder, where query is derived from one language’s representation and key/value from another’s, enabling explicit cross-lingual attention.
  • Proposes a novel pre-training objective called CA-MLM (Cross-Attention Masked Language Modeling), which allows masked tokens to attend to both their own language context and the other language’s full context via the cross-attention module.
  • Maintains the bidirectional context modeling capability of the original encoder by allowing the model to predict masked tokens without the cross-attention module during pre-training.
  • Supports flexible fine-tuning by enabling the cross-attention module to be plugged in or out depending on the downstream task, optimizing for either NLU or NLG.
  • Pre-trains the model on monolingual and bilingual data using a combination of CA-MLM and TLM objectives to enhance cross-lingual alignment.
  • Uses a shared subword vocabulary across languages and applies standard masked language modeling and translation language modeling as auxiliary objectives.

Experimental results

Research questions

  • RQ1Can explicit cross-attention between languages during pre-training improve cross-lingual representation alignment compared to implicit attention via self-attention?
  • RQ2Does a plug-and-play cross-attention mechanism allow a unified model to outperform specialized models in both language understanding and generation tasks?
  • RQ3Can the CA-MLM objective better leverage bilingual parallel data than traditional MLM and TLM combined?
  • RQ4How does the performance of a unified model with on-demand cross-attention compare to dedicated encoder-only or encoder-decoder models on cross-lingual benchmarks?
  • RQ5Does the flexibility of plugging in or out the cross-attention module during fine-tuning lead to consistent gains across diverse downstream tasks?

Key findings

  • VECO achieves new state-of-the-art results on the XTREME benchmark, outperforming XLM and XLM-R on multiple cross-lingual understanding tasks including text classification, sequence labeling, question answering, and sentence retrieval.
  • On the IWSLT14 English-to-German translation task, VeCo improves BLEU scores by up to 2.1 points compared to XLM and 1.5 points over mBART, demonstrating strong gains in cross-lingual generation.
  • The ablation study shows that combining CA-MLM with TLM yields 67.7 and 36.0 BLEU on XNLI and IWSLT14, respectively—significantly outperforming models trained only with MLM or TLM.
  • Pre-training with CA-MLM leads to a 3.2-point improvement on XNLI and 2.1-point gain on IWSLT14 over XLM, indicating better utilization of bilingual data.
  • mBART, despite being designed for generation, underperforms VeCo by nearly 6 points on XNLI, suggesting that joint pre-training with explicit cross-attention is more effective for NLU.
  • The Plug-In fine-tuning strategy, which activates cross-attention during fine-tuning, further boosts performance on NLU tasks, confirming the value of bilingual context fusion.

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.