Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

SQuAD: 100,000+ Questions for Machine Comprehension of Text

  • Problem Existing reading comprehension datasets are either high quality but too small for data-intensive models, or large but semi-synthetic.
  • Method Crowdworkers wrote questions on paragraphs from 536 Wikipedia articles and highlighted answer spans, and a logistic regression model over lexical, frequency and dependency features selects a span from constituent candidates.
  • Results The logistic regression model reached 51.0% F1 on the test set, against 86.8% F1 for human performance.

What SQuAD asks a system to do

Reading comprehension asks a system to read a passage and answer questions about it, which requires both understanding the language and drawing on general knowledge about the world. The bottleneck the authors identify is training data. Carefully curated reading comprehension sets are high quality but too small to train data-intensive models, while the large sets are semi-synthetic and do not resemble explicit reading comprehension questions.

SQuAD answers each question with a contiguous span of the Wikipedia passage it was written for. It contains 107,785 question-answer pairs on 536 articles, nearly two orders of magnitude more than the manually labeled MCTest set. Figure 1 of the survey table places SQuAD among related resources by source, answer formulation and size, and shows that it is similar to TREC-QA in open-endedness while far larger than the curated sets.

No answer choices are offered, so a system must choose among every possible span of the passage. The candidate set is therefore much larger than in multiple-choice reading comprehension.

How passages and questions were collected

Passages come from the top 10000 English Wikipedia articles under an internal PageRank ranking, and 536 articles were sampled uniformly from that set. Paragraphs were extracted with images, figures and tables stripped, and paragraphs shorter than 500 characters were dropped. This gave 23,215 paragraphs, which were split randomly into training (80%), development (10%) and test (10%) sets by article.

Question writing ran on the Daemo platform over Amazon Mechanical Turk. Workers needed a 97% HIT acceptance rate, at least 1000 HITs, and a location in the United States or Canada. Workers spent about 4 minutes per paragraph, were paid $9 per hour, and wrote up to 5 questions per paragraph, entering each answer as a highlighted span.

Workers saw a sample paragraph with good and bad questions and answers, along with the reasons for each judgment. They were asked to phrase questions in their own words rather than copy phrases from the paragraph. The interface enforced this with a reminder at the start of each paragraph and by disabling copy and paste on the paragraph text.

For the development and test sets, at least two more answers were collected for each question. A second crowdworker saw only the questions and the article's paragraphs and selected the shortest answering span.

Answer types and reasoning in the development set

Common noun phrases make up 31.8% of answers, dates and other numbers together make up 19.8%, and about a third of answers are proper nouns, so the answers extend well beyond named entities.

To study reasoning, four questions were sampled from each of the 48 development articles, giving 192 examples that were labeled by hand into one or more categories. Syntactic variation is the largest category at 64.1%, followed by lexical variation through synonymy at 33.3%, multiple sentence reasoning at 13.6%, lexical variation requiring world knowledge at 9.1%, and ambiguous cases at 6.1%.

Each example has some lexical or syntactic divergence from its answer sentence, and some fall into several categories.

Syntactic divergence is measured by first finding anchors, which are word-lemma pairs shared by the question and the answer sentence. From each anchor, the unlexicalized dependency path to the wh-word in the question and the path to the answer span in the sentence are extracted. The edit distance between these two paths counts the minimum number of deletions or insertions needed to turn one into the other, and the divergence is the minimum of that distance over all anchors.

The worked example in Figure 3 sums edit costs of 1, 2 and 1 for a total of 4. Divergence values spread widely across the dataset. The histogram shows a divergence of 0 for one example and 6 for another, and the measure ignores lexical variation. A small divergence does not make a question easy, because other candidates in the sentence may have similarly small divergence.

How the logistic regression model scores spans

During training, a gold answer that is not a constituent is replaced by the shortest constituent containing it. Ignoring punctuation and articles, 77.3% of correct development answers are constituents.

Each continuous feature is discretized into 10 equally sized buckets, which gives 180 million features, most of them lexicalized or dependency tree path features. Matching word and bigram frequencies, root match, length, span word frequency, constituent label and span POS tags are the other groups. Matching frequencies use summed TF-IDF values, and the bigram version uses the generalization described by Shirakawa et al.

(2015).

Lexicalized features pair lemmas of question words with lemmas of words within distance 2 of the span, and they also pair question and answer lemmas. They target lexical variation. Dependency tree path features follow the path from each shared word to the span, optionally joined with the path from the wh-word, and they target syntactic variation.

The model minimizes a multiclass log-likelihood loss with AdaGrad at an initial learning rate of 0.1. Updates are made on the batch of all questions for one paragraph, because those questions share the same candidates. L2 regularization uses a coefficient of 0.1 divided by the number of batches, and training runs for three passes over the training data.

Exact match, F1 and the human estimate

Exact match is the share of predictions that match one of the ground truth answers exactly. Both metrics ignore punctuation and the articles a, an and the. F1 treats the prediction and each ground truth as bags of tokens and takes the overlap. For each question the maximum F1 over the ground truths is kept, and these values are averaged over all questions.

Each development and test question has at least three answers. For the human estimate, the second answer is treated as the prediction and the remaining answers as ground truth. On the test set this gives 77.0% exact match and 86.8% F1. Most mismatches come from including or excluding non-essential phrases, such as the phrase monsoon trough versus movement of the monsoon trough, rather than from disagreement about the answer.

Model against baselines and humans

On the development set, the logistic regression model reached 40.0% exact match and 51.0% F1. The Sliding Window Baseline reached 13.2% exact match and 20.2% F1, and adding the distance-based extension gave 13.3% and 20.2%. On the test set the logistic regression model reached 40.4% exact match and 51.0% F1, against 12.5% and 19.7% for the plain sliding window and 13.0% and 20.0% with the distance extension.

A random guess scored 1.1% exact match and 4.1% F1 on the development set.

Human performance on the test set is 77.0% exact match and 86.8% F1, and the development set gives 80.3% and 90.5%. The gap to the logistic regression model is therefore about 35.8 points of test F1. The authors cite Wang and Jiang (2016), who obtained 70.3% F1 on SQuAD v1.1, and note that results on v1.0 are similar. That model and version are not part of this paper's controlled comparison.

The authors report that the gap between their logistic regression model and human performance has more than halved since release.

Which feature groups carry the model

Removing both the lexicalized and the dependency tree path features lowers development F1 from 51.0% to 35.8%, and the training F1 falls from 91.7% to 33.9%. Removing only the lexicalized features gives 45.4% development F1, and removing only the dependency tree path features gives 46.4%. These two groups are the most important. The authors note that the dependency path features matter more in SQuAD than in the analysis by Chen et al.

(2016).

Removing each other group lowers development F1 by a smaller amount: matching word frequencies give 48.1%, span POS tags 49.7%, matching bigram frequencies 50.3%, constituent label 50.4%, lengths and span word frequencies 50.5%, and root match 50.6%. A drop when a group is removed shows that the full model needs that group. It does not show that the group contributes more than the others, and the removal of root match still lowers development F1 from 51.0%.

With lexicalized features the model overfits the training set. The authors found that increasing L2 regularization hurt development performance.

Answer types and syntactic divergence

The model's development F1 is highest on dates at 72.1% and on other numeric answers at 62.5%, and lowest on verb phrases at 31.2%, adjective phrases at 37.9% and other answers at 34.8%. Human F1 is 93.9% on dates and between 82.4% and 95.4% on the other categories. The authors attribute the strong results on dates and numbers to there being few plausible candidates for these answers, and they note that named entities are still relatively easy to identify through their POS tag features.

The model's weakest categories together cover 47.6% of the dataset.

Model F1 falls as syntactic divergence grows, while human F1 stays stable across the full range of divergence. The authors read the stability of human performance as evidence that people are not distracted by surface differences between question and sentence. They propose that the size of this degradation could indicate whether a model generalizes in the right way.

Limits of the evidence

The candidate restriction sets a ceiling: because only constituents are candidates, 77.3% of correct development answers are reachable, and the model cannot select the rest. The model picks the right sentence with 79.3% accuracy, so most of the remaining error lies in finding the exact span inside the sentence.

The paper's experiments compare only the logistic regression model with the sliding window baselines and humans. The neural result for Wang and Jiang (2016) comes from a cited source and is reported on v1.1. The human figure comes from a single second answer per question, and mismatches arise from phrase boundaries. Syntactic divergence ignores lexical variation, so it measures only one side of question difficulty.

Paper info

Authors
Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, Percy Liang
Venue
arXiv · Preprint
First published
2016-6-16
Added
2026-10-20
Updated
2016-10-11
Version
v3
arXiv
1606.05250
Category
cs.CL
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, Percy Liang (2016). SQuAD: 100,000+ Questions for Machine Comprehension of Text. arXiv:1606.05250v3. https://arxiv.org/abs/1606.05250v3

BibTeX
@misc{rajpurkar2016squad,
  title = {{SQuAD: 100,000+ Questions for Machine Comprehension of Text}},
  author = {Pranav Rajpurkar and Jian Zhang and Konstantin Lopyrev and Percy Liang},
  year = {2016},
  eprint = {1606.05250},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1606.05250v3}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up