数据集:
The MRQA 2019 Shared Task focuses on generalization in question answering. An effective question answering system should do more than merely interpolate from the training set to answer test examples drawn from the same distribution: it should also be able to extrapolate to out-of-distribution examples — a significantly harder challenge.
The dataset is a collection of 18 existing QA dataset (carefully selected subset of them) and converted to the same format (SQuAD format). Among these 18 datasets, six datasets were made available for training, six datasets were made available for development, and the final six for testing. The dataset is released as part of the MRQA 2019 Shared Task.
From the official repository:
The format of the task is extractive question answering. Given a question and context passage, systems must find the word or phrase in the document that best answers the question. While this format is somewhat restrictive, it allows us to leverage many existing datasets, and its simplicity helps us focus on out-of-domain generalization, instead of other important but orthogonal challenges.
We have adapted several existing datasets from their original formats and settings to conform to our unified extractive setting. Most notably:
A span is judged to be an exact match if it matches the answer string after performing normalization consistent with the SQuAD dataset. Specifically:
Answers are evaluated using exact match and token-level F1 metrics. One can refer to the mrqa_official_eval.py for evaluation.
The text in the dataset is in English. The associated BCP-47 code is en .
An examples looks like this:
{
'qid': 'f43c83e38d1e424ea00f8ad3c77ec999',
'subset': 'SQuAD'
'context': 'CBS broadcast Super Bowl 50 in the U.S., and charged an average of $5 million for a 30-second commercial during the game. The Super Bowl 50 halftime show was headlined by the British rock group Coldplay with special guest performers Beyoncé and Bruno Mars, who headlined the Super Bowl XLVII and Super Bowl XLVIII halftime shows, respectively. It was the third-most watched U.S. broadcast ever.',
'context_tokens': {
'offsets': [0, 4, 14, 20, 25, 28, 31, 35, 39, 41, 45, 53, 56, 64, 67, 68, 70, 78, 82, 84, 94, 105, 112, 116, 120, 122, 126, 132, 137, 140, 149, 154, 158, 168, 171, 175, 183, 188, 194, 203, 208, 216, 222, 233, 241, 245, 251, 255, 257, 261, 271, 275, 281, 286, 292, 296, 302, 307, 314, 323, 328, 330, 342, 344, 347, 351, 355, 360, 361, 366, 374, 379, 389, 393],
'tokens': ['CBS', 'broadcast', 'Super', 'Bowl', '50', 'in', 'the', 'U.S.', ',', 'and', 'charged', 'an', 'average', 'of', '$', '5', 'million', 'for', 'a', '30-second', 'commercial', 'during', 'the', 'game', '.', 'The', 'Super', 'Bowl', '50', 'halftime', 'show', 'was', 'headlined', 'by', 'the', 'British', 'rock', 'group', 'Coldplay', 'with', 'special', 'guest', 'performers', 'Beyoncé', 'and', 'Bruno', 'Mars', ',', 'who', 'headlined', 'the', 'Super', 'Bowl', 'XLVII', 'and', 'Super', 'Bowl', 'XLVIII', 'halftime', 'shows', ',', 'respectively', '.', 'It', 'was', 'the', 'third', '-', 'most', 'watched', 'U.S.', 'broadcast', 'ever', '.']
},
'question': "Who was the main performer at this year's halftime show?",
'question_tokens': {
'offsets': [0, 4, 8, 12, 17, 27, 30, 35, 39, 42, 51, 55],
'tokens': ['Who', 'was', 'the', 'main', 'performer', 'at', 'this', 'year', "'s", 'halftime', 'show', '?']
},
'detected_answers': {
'char_spans': [
{
'end': [201],
'start': [194]
}, {
'end': [201],
'start': [194]
}, {
'end': [201],
'start': [194]
}
],
'text': ['Coldplay', 'Coldplay', 'Coldplay'],
'token_spans': [
{
'end': [38],
'start': [38]
}, {
'end': [38],
'start': [38]
}, {
'end': [38],
'start': [38]
}
]
},
'answers': ['Coldplay', 'Coldplay', 'Coldplay'],
}
Training data
| Dataset | Number of Examples |
|---|---|
| SQuAD | 86,588 |
| NewsQA | 74,160 |
| TriviaQA | 61,688 |
| SearchQA | 117,384 |
| HotpotQA | 72,928 |
| NaturalQuestions | 104,071 |
Development data
This in-domain data may be used for helping develop models.
| Dataset | Examples |
|---|---|
| SQuAD | 10,507 |
| NewsQA | 4,212 |
| TriviaQA | 7,785 |
| SearchQA | 16,980 |
| HotpotQA | 5,904 |
| NaturalQuestions | 12,836 |
Test data
The final testing data only contain out-of-domain data.
| Dataset | Examples |
|---|---|
| BioASQ | 1,504 |
| DROP | 1,503 |
| DuoRC | 1,501 |
| RACE | 674 |
| RelationExtraction | 2,948 |
| TextbookQA | 1,503 |
From the official repository:
Note: As previously mentioned, the out-of-domain dataset have been modified from their original settings to fit the unified MRQA Shared Task paradigm. At a high level, the following two major modifications have been made:
1. All QA-context pairs are extractive. That is, the answer is selected from the context and not via, e.g., multiple-choice. 2. All contexts are capped at a maximum of 800 tokens. As a result, for longer contexts like Wikipedia articles, we only consider examples where the answer appears in the first 800 tokens.
As a result, some splits are harder than the original datasets (e.g., removal of multiple-choice in RACE), while some are easier (e.g., restricted context length in NaturalQuestions --- we use the short answer selection). Thus one should expect different performance ranges if comparing to previous work on these datasets.
From the official repository:
Both train and test datasets have the same format described above, but may differ in some of the following ways:
[More Information Needed]
Initial Data Collection and Normalization[More Information Needed]
Who are the source language producers?[More Information Needed]
[More Information Needed]
Annotation process[More Information Needed]
Who are the annotators?[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Unknown
@inproceedings{fisch2019mrqa,
title={{MRQA} 2019 Shared Task: Evaluating Generalization in Reading Comprehension},
author={Adam Fisch and Alon Talmor and Robin Jia and Minjoon Seo and Eunsol Choi and Danqi Chen},
booktitle={Proceedings of 2nd Machine Reading for Reading Comprehension (MRQA) Workshop at EMNLP},
year={2019},
}
Thanks to @jimmycode , @VictorSanh for adding this dataset.