LAReQA: Language-Agnostic Answer Retrieval from a Multilingual Pool

Uma Roy, Noah Constant, Rami Al-Rfou, Aditya Barua, Aaron Phillips, Yinfei Yang

Abstract

Modern multilingual models like mBERT excel at cross-lingual transfer for classification tasks but struggle with "strong" alignment required for retrieval. LAReQA introduces a benchmark for retrieving answers from a multilingual pool, revealing a significant "same-language bias" in existing models. We demonstrate that specific fine-tuning strategies, particularly X-Y training, are necessary to achieve true language agnosticism.

The Challenge of Strong Alignment

Most cross-lingual NLP evaluations focus on weak alignment, or zero-shot transfer. For instance, a model trained on English sentiment analysis is tested on its ability to classify Spanish text. However, real-world information retrieval requires strong alignment: the ability to find the best answer to a query regardless of the language of the candidate pool.

Visualizing same-language bias (left) versus the goal of language-agnostic retrieval (right).

Current models often fail this task due to language bias. As illustrated above, models tend to cluster embeddings by language first and semantics second. In a retrieval scenario, a model might incorrectly prefer a same-language sentence over a semantically perfect answer in a different language. LAReQA (Language-Agnostic Answer Retrieval) was designed to measure and mitigate this specific failure mode.

Methods and Training Strategies

The researchers utilize a dual-encoder architecture based on multilingual BERT (mBERT). Questions and answers are encoded independently into a shared vector space, where the score for a pair is determined by the dot product of their embeddings. This allows for efficient large-scale retrieval via nearest-neighbor search.

To combat language bias, the authors evaluated several fine-tuning regimes:

The four primary fine-tuning strategies used to evaluate and improve language agnosticism.
  • En-En: Fine-tuned exclusively on English question-answer pairs.
  • X-X: Fine-tuned on translated pairs where the question and answer share the same non-English language.
  • X-X-mono: Similar to X-X, but training batches are restricted to a single language to prevent the model from using language mismatch as a shortcut for negative examples.
  • X-Y: The most aggressive strategy, training on "mixed-language" pairs (e.g., an English question paired with a Hindi answer) to force the model to ignore language signals.
  • Translate-Test: A baseline that translates all queries and candidates into English before retrieval.

Datasets: XQuAD-R and MLQA-R

The study introduces two new retrieval benchmarks derived from extractive QA datasets:

  1. XQuAD-R: A retrieval version of XQuAD, covering 11 languages with parallel answers.
  2. MLQA-R: A retrieval version of MLQA, covering 7 languages.

Unlike standard QA tasks that highlight a span within a provided paragraph, LAReQA requires models to identify the correct sentence from a massive, multilingual pool of thousands of candidates.

Key Insights

  • The Same-Language Bias Trap: Monolingual training (En-En or X-X) actually reinforces bias. Models learn that "correctness" is correlated with language identity, which is detrimental to cross-lingual retrieval.
  • Weak Alignment vs. Strong Alignment: High performance on standard zero-shot benchmarks does not guarantee success on LAReQA. This suggests current metrics for "multilingualism" are incomplete.
  • Disentangling Meaning from Language: mBERT possesses the latent capacity for strong alignment, but it must be unlocked. The X-Y training strategy is essential to "factor out" the language signal and prioritize semantic content.

Results and Performance

On the XQuAD-R benchmark, the X-Y model achieved a 0.66 mAP (mean Average Precision), significantly outperforming the En-En baseline (0.29 mAP) and the X-X approach (0.23 mAP). While the Translate-Test baseline remains the top performer at 0.72 mAP, the gap is closing, proving that embedding-based retrieval can achieve high levels of language agnosticism.

Conclusion and Future Work

Achieving strong alignment comes with a "cost of agnosticism": models that perform best on cross-lingual retrieval sometimes see a slight dip in same-language retrieval quality. Future research will focus on training techniques that maintain high performance across both monolingual and cross-lingual tasks simultaneously, as well as scaling these methods to billion-candidate indices.

Summary updated

BibTeX
@inproceedings{roy2020lareqa,
  author = {Uma Roy and Noah Constant and Rami Al-Rfou and Aditya Barua and Aaron Phillips and Yinfei Yang},
  title = {{LAReQA: Language-Agnostic Answer Retrieval from a Multilingual Pool}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.477},
}
Figure