TECHNOLOGY

SQuAD2: calibrate abstention on unanswerable passages

In this article
THE QUICK TAKE

Unanswerable means unsupported by the supplied paragraph, not unknowable from every possible external source.

SQuAD2.0 combines extractive reading-comprehension questions with adversarially written unanswerable questions. It is useful for testing whether a system can distinguish a supported span from a plausible unsupported guess. The official project defines this paragraph-grounded setting, which should not be confused with unrestricted web question answering.

Preserve context and answer coordinates

The release organizes articles into paragraphs and question-answer records. Each question has an identifier; answerable cases associate answer text with a start position in the supplied context, while unanswerable status is explicit. Preserve the original context before changing whitespace, punctuation or Unicode. A normalized copy may be suitable for model input, but answer spans must be mapped consistently. Verify that extracting the annotated span reconstructs the intended answer before training.

Distinguish impossible answers from plausible distractors

The dataset can include plausible answers for impossible questions. These are not ordinary positive gold spans. Treating them as targets reverses the purpose of the example by teaching the model to produce unsupported but tempting content. The original research paper explains the adversarial construction. An editorial diagnostic should inspect questions where the paragraph mentions a related entity or date but does not establish the relation actually requested.

Calibrate abstention without using the final test

Separate span selection from the decision that no answer is supported. A system may rank a plausible span highly yet still assign enough probability to abstention. Tune the no-answer threshold on development data under a stated rule, then keep it fixed for a held-out comparison. Report answerable and unanswerable performance as well as the combined metric so that a system that refuses nearly everything cannot hide behind a favorable class balance.

Retain the evaluator and prediction format

The project repository links release files and evaluation resources. Use the intended question identifiers and supply predictions without silently removing hard cases. Exact match and token-overlap scores depend on the evaluator’s normalization; preserve its revision rather than rewriting the rule after seeing errors. A correct answer expressed in an unsupported format and an unsupported answer are distinct diagnostic categories, even when both receive the same benchmark score.

Use paragraph-level evidence for the right claim

SQuAD2.0 does not directly measure retrieving the right paragraph from an enterprise corpus or citing evidence across many sources. Its no-answer cases describe missing support in the given context, not global unknowability. Citation support and completeness helps extend that distinction to generated answers. Document-level split boundaries matters when building supplementary examples from shared articles. A useful report names the release, context transformations, threshold calibration and evaluator, making abstention behavior understandable beyond a single combined score.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles