MultiQA: An Empirical Investigation of Generalization and Transfer in Reading Comprehension

Alon Talmor, Jonathan Berant

TL;DR

This paper systematically explores how reading comprehension (RC) models generalize across ten diverse datasets, revealing that current models often overfit to specific dataset quirks. The authors demonstrate that pre-training on a mixture of RC tasks significantly boosts performance and data efficiency—even when using powerful models like BERT—culminating in MultiQA, a model that achieved state-of-the-art results on five different benchmarks.

What Problem Does This Paper Address?

The field of Natural Language Processing has seen an explosion of Reading Comprehension datasets (like SQuAD or TriviaQA), each designed to test different skills. However, these datasets are often treated as isolated silos. A model trained to answer questions about Wikipedia might fail miserably when asked to process messy web snippets or perform multi-hop reasoning.

The authors address a critical research gap: Generalization and Transfer. They investigate whether a model trained on one (or many) RC datasets can "zero-shot" generalize to another, and how much pre-training on existing RC data helps when fine-tuning on a new, smaller target dataset. They also seek to identify the specific factors—such as the source of the text or the style of the question—that cause models to fail when moving between tasks.

Methods

The researchers conducted a massive empirical study using two primary model architectures:

  1. DOCQA: A standard, popular RC model based on BiDAF (Bidirectional Attention Flow).
  2. BERTQA: A model leveraging BERT (Bidirectional Encoder Representations from Transformers), which provides high-capacity contextual word representations.

They performed two types of experiments across 10 datasets:

  • Zero-shot Generalization: Training on one or more "source" datasets and testing on a "target" dataset without any further training.
  • Transfer Learning: Pre-training on source datasets and then fine-tuning on a limited number of examples from the target dataset.

To ensure fair comparisons, they controlled for dataset size (e.g., training on exactly 75K examples per dataset) and developed a unified infrastructure to mix and match datasets easily.

Datasets

The study utilized 10 distinct RC benchmarks, categorized by their source and reasoning requirements:

  • Large Datasets (>75K examples): SQuAD (Wikipedia), NewsQA (Newswire), SearchQA (Web snippets), TriviaQA (Web/Wiki), and HotpotQA (Multi-hop Wikipedia).
  • Small Datasets: CQ, CWQ, ComQA (Web-based), WikiHop, and DROP (Wikipedia-based).

These datasets vary significantly in how questions were generated (crowdsourced vs. trivia vs. synthetic) and whether they require "multi-hop" reasoning (connecting information across multiple sentences or paragraphs).

Table 1: Characterization of the 10 RC datasets used in the study.

Key Insights and Ideas

  • The Generalization Gap is Real: Models typically see a ~31.5% drop in Exact Match (EM) scores when tested on a new dataset without fine-tuning. This confirms that models overfit to the specific "flavor" of their training data.
  • BERT is a Generalization Engine (mostly): BERTQA generalized significantly better than DOCQA. However, BERT's advantage is lopsided; it performs beautifully on Wikipedia (its original training corpus) but its gains are much more modest on noisy web snippets.
  • Dataset Clustering: Using a force-directed placement algorithm, the authors visualized how datasets relate. They found that datasets cluster primarily by context source (Wikipedia vs. Web snippets) and question style (Trivia vs. Crowdsourced).
Figure 1: A 2D-visualization of the similarity between dif- ferent datasets using the force-directed placement algorithm. We mark datasets that use web snippets as context with tri- angles, Wikipedia with circles, and Newswire with squares. We color multi-hop reasoning datasets in red, trivia datasets in blue, and factoid RC datasets in green.
  • Multi-Dataset Training is a "Free Lunch": Training on a mixture of datasets (Multi-75K) resulted in robust generalization that was almost as good as picking the single best source dataset for every target.
  • Data Efficiency: Pre-training on other RC datasets allows a model to reach 95% of its peak performance using only half the amount of target-specific training data compared to training from scratch.

Key Results

The authors' final model, MultiQA (BERT-large trained on 375K examples from 5 large datasets), achieved impressive results:

  • 5 New State-of-the-Art (SOTA) Results: MultiQA set new benchmarks on NewsQA, SearchQA, TQA-U, CWQ, and ComQA.
  • Surpassing Humans: On the NewsQA dataset, MultiQA (52.3 EM) actually surpassed the human performance level (46.5 EM) reported by the dataset's creators.
  • Adversarial Robustness: MultiQA proved more resilient to adversarial attacks (like the AddSent SQuAD variant) than models trained on single datasets, outperforming BERT-large by a significant margin.
Figure 2: Learning curves for the five large datasets (top is DOCQA and bottom is BERTQA). The x-axis corresponds to the number of examples from the target dataset, and the y-axis is EM. The orange curve refers to training on the target dataset only, and the blue curve refers to pre-training on 75K examples from the nearest source dataset and fine-tuning on the target dataset. The green curve is training on a fixed number of examples from all 5 large datasets without fine-tuning (MULTIQA).

Limitations and Future Work

  • Extractive Only: The study focused exclusively on "extractive" RC, where the answer is a literal span of text within the document. It did not cover abstractive RC (generating new text) or conversational QA.
  • Reasoning Types: While the paper touches on multi-hop and quantitative reasoning (DROP), the models still struggled significantly with complex mathematical reasoning, suggesting that data scale alone isn't enough to solve these logic-heavy tasks.
  • Infrastructure: The authors have open-sourced their infrastructure to encourage the community to move beyond single-dataset evaluations.

Summary updated

Abstract

A large number of reading comprehension (RC) datasets has been created recently, but little analysis has been done on whether they generalize to one another, and the extent to which existing datasets can be leveraged for improving performance on new ones. In this paper, we conduct such an investigation over ten RC datasets, training on one or more source RC datasets, and evaluating generalization, as well as transfer to a target RC dataset. We analyze the factors that contribute to generalization, and show that training on a source RC dataset and transferring to a target dataset substantially improves performance, even in the presence of powerful contextual representations from BERT (Devlin et al., 2019). We also find that training on multiple source RC datasets leads to robust generalization and transfer, and can reduce the cost of example collection for a new RC dataset. Following our analysis, we propose MultiQA, a BERT-based model, trained on multiple RC datasets, which leads to state-of-the-art performance on five RC datasets. We share our infrastructure for the benefit of the research community.
BibTeX
@inproceedings{talmor2019multiqa,
  author = {Alon Talmor and Jonathan Berant},
  title = {{MultiQA: An Empirical Investigation of Generalization and Transfer in Reading Comprehension}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  url = {https://openreview.net/forum?id=iEZYOb_h_cU},
}
Figure