Multilingual Transfer Learning for QA Using Translation as Data Augmentation

Mihaela Bornea, Lin Pan, Sara Rosenthal, Radu Florian, Avirup Sil

TL;DR

This paper improves multilingual Question Answering (QA) by making language models "language-blind." By combining massive data augmentation via machine translation with two novel training strategies—Adversarial Training and a Language Arbitration Framework—the authors significantly outperform standard zero-shot baselines on major benchmarks like MLQA and TyDiQA.

What Problem Does This Paper Address?

Most progress in Machine Reading Comprehension (MRC) has been driven by English-centric datasets like SQuAD. While multilingual models like mBERT allow for "zero-shot" transfer—training on English and testing on another language—the performance often drops significantly.

The core challenge is that even though these models are pre-trained on many languages, their internal representations (embeddings) for the same concept in different languages don't perfectly align in semantic space. A question in Hindi and its translation in French might "look" different to the model, leading to inconsistent answers. The authors set out to bridge this gap by forcing the model to produce language-invariant embeddings.

Methods

The researchers propose three main strategies to improve cross-lingual transfer:

  1. Massive Data Augmentation: They used machine translation to expand the English SQuAD v1.1 dataset. They explored three variations: translating only the question, only the context, or both. This resulted in a "silver-labeled" dataset 14 times larger than the original.
  2. Adversarial Training (AT): Inspired by GANs, they added a "discriminator" to the training process. While the QA model tries to answer questions, the discriminator tries to guess which language the question is in. The QA model is then penalized if the discriminator succeeds, forcing it to create representations that are language-agnostic.
  3. Language Arbitration Framework (LAF): This is a novel approach to consolidate embeddings across languages using two auxiliary objectives:
  4. Produce Same Answer (PSA): This forces the model to predict the same answer span for an English question and its translation when given the same context.
  5. Question Similarity (QS): This uses a cosine-similarity loss to ensure that the embedding of a question and its translation are as close as possible.

Datasets

The models were trained primarily on SQuAD v1.1 (augmented via translation) and evaluated on two key multilingual benchmarks:

  • MLQA: A 7-language parallel dataset designed for both Cross-Lingual Transfer (XLT) and Generalized Cross-Lingual Transfer (G-XLT, where question and context languages differ).
  • TyDiQA: A benchmark covering 11 typologically diverse languages, focusing on information-seeking questions.

The scale of their data augmentation is detailed in the table below:

Table 1: Comparing our original traning data SQuAD v1.1 with our augmented training data using translation techniques. The Question Type is based on the first word in the question.

Key Insights and Ideas

  • The "Question-Only" Advantage: Interestingly, translating just the questions (T(Q)) provided a bigger boost than translating the full context. The authors attribute this to "alignment errors"—it's technically difficult to perfectly map the exact answer span from an English context to a translated one without introducing noise.
  • Language Invariance is Key: The success of AT and LAF suggests that the bottleneck in multilingual QA isn't just a lack of data, but a lack of alignment. By explicitly penalizing the model for "knowing" which language it's processing, it learns to focus on the underlying meaning.
  • Arbitration vs. Adversaries: While both novel methods worked well, the Language Arbitration Framework (specifically PSA+QS) generally proved to be the most robust, as it provides more direct supervision for alignment than the adversarial approach.

Key Results

The proposed methods showed substantial gains over the mBERT zero-shot (ZS) baseline:

  • MLQA: The best LAF model achieved a 10.2 point improvement in G-XLT and a 4 point improvement in XLT over the baseline.
  • TyDiQA: The LAF model improved the average F1 score by 5.3 points compared to the zero-shot baseline.
  • Statistical Significance: The authors confirmed via Fisher randomization tests that their LAF and AT models are statistically significantly better than both the zero-shot baseline and simple translation-based augmentation.

Limitations and Future Work

The authors noted a few hurdles:

  • The Curse of Multilinguality: As more languages are added, the per-language capacity of the model can decrease, potentially hurting performance.
  • Translation Quality: The methods rely heavily on the quality of machine translation. Errors in translation or answer-span alignment in the context can introduce "silver-label" noise that limits the model's upper bound.
  • Future Directions: The researchers suggest exploring these techniques with even larger multilingual models (like XLM-R) and investigating how to make the discriminator in the AT approach even more challenging to further drive language invariance.

Summary updated

BibTeX
@inproceedings{bornea2021multilingual,
  author = {Mihaela Bornea and Lin Pan and Sara Rosenthal and Radu Florian and Avirup Sil},
  title = {{Multilingual Transfer Learning for QA Using Translation as Data Augmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i14.17491},
}
Figure