M2QA: Multi-domain Multilingual Question Answering

Leon Engländer, Hannah Sterz, Clifton Poth, Jonas Pfeiffer, Ilia Kuznetsov, Iryna Gurevych

Abstract

This paper introduces M2QA, a multi-domain multilingual Question Answering benchmark designed to evaluate model generalization across simultaneous shifts in language and domain. Comprising 13,500 human-annotated SQuAD-style instances in German, Turkish, and Chinese across three distinct domains (News, Product Reviews, and Creative Writing), M2QA highlights significant performance gaps in current state-of-the-art models when moving beyond the standard "English Wikipedia" training distribution.

Introduction: The Challenge of Joint Generalization

In Natural Language Processing (NLP), generalization is often treated as two independent axes: cross-lingual (shifting languages) and cross-domain (shifting subject matter). However, real-world applications frequently demand "joint" shifts—for instance, applying a model trained on English Wikipedia to Chinese Creative Writing. Existing benchmarks often rely on "translationese" (machine-translated text) or focus on a single axis of variation, failing to capture the cultural and linguistic nuances of naturally occurring text.

Overview of the M2QA benchmark showing the intersection of language and domain axes with a German News example.

The M2QA Benchmark

The M2QA dataset consists of 13,500 Q&A pairs following the SQuAD 2.0 format, which requires models to either extract a short answer or identify if a question is unanswerable. Unlike previous datasets, M2QA uses naturally occurring source material (e.g., the Gutenberg Corpus for Creative Writing) rather than translations. It is the first benchmark to satisfy rigorous requirements for coverage, diversity, openness, and naturalness across all tested language-domain combinations.

Methods

The researchers evaluated three primary model classes:

  1. Multilingual Encoders: Baselines like XLM-R, fine-tuned on English SQuAD v2 data.
  2. Large Language Models (LLMs): Including Llama 2/3, GPT-3.5, and Aya 23, tested in zero-shot and few-shot settings.
  3. Modular Adapters: Two novel setups based on the MAD-X framework were proposed. MAD-X+Domain stacks language and domain adapters sequentially, while MAD-X² trains them simultaneously. The latter proved more efficient, achieving comparable results with 75% fewer training steps.

Results and Key Insights

Evaluation on M2QA revealed that even advanced LLMs struggle significantly with joint shifts.

Comprehensive performance results (F1 and EM) across languages and domains for various models.
  • Top Performers: GPT-3.5-turbo-0613 achieved the highest average F1 score (53.11), followed by the massively multilingual Aya 23 (51.61).
  • The "Whitespace" Trap: A critical finding was that standard SQuAD metrics are biased against non-spaced languages like Chinese. By implementing a jieba tokenizer-based metric, the authors corrected a dismal 0.11 F1 score for XLM-R in Chinese Creative Writing to a more representative 8.78.
  • Domain Difficulty: The News domain was consistently the easiest due to its structured nature. In contrast, Creative Writing and Product Reviews posed significant challenges, particularly for models like Llama 2, which frequently hallucinated or defaulted to English when prompted in Turkish or Chinese.
  • Catastrophic Forgetting: Fine-tuning on English domain data (e.g., English reviews) before transferring to a target language often decreased performance, suggesting that models over-specialize and lose general multilingual capabilities during domain adaptation.

Conclusion and Future Work

M2QA exposes the limitations of current models in handling the complexity of real-world, multi-axis data shifts. The primary bottleneck for expanding such benchmarks is the scarcity of openly licensed, non-English text across diverse domains. Future research will focus on low-resource languages and more sophisticated adapter-merging techniques to bridge the gap between source and target distributions. The dataset and code have been made public to facilitate further research into robust joint transfer.

Summary updated

BibTeX
@inproceedings{englander2024m,
  author = {Leon Engländer and Hannah Sterz and Clifton Poth and Jonas Pfeiffer and Ilia Kuznetsov and Iryna Gurevych},
  title = {{M2QA: Multi-domain Multilingual Question Answering}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.365},
}
Figure