mlsanityData to 7 Oct 2026

What Can Secondary Predictions Tell Us? An Exploration on Question-Answering with SQuAD-v2.0

arXiv 2206.14348 ↗First posted 29 Jun 2022cs.CL cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Performance in natural language processing, and specifically for the question-answer task, is typically measured by comparing a model's most confident (primary) prediction to golden answers (the ground truth). We are making the case that it is also useful to quantify how close a model came to predicting a correct answer even for examples that failed. We define the Golden Rank (GR) of an example as the rank of its most confident prediction that exactly matches a ground truth, and show why such a match always exists. For the 16 transformer models we analyzed, the majority of exactly matched golden answers in secondary prediction space hover very close to the top rank. We refer to secondary predictions as those ranking above 0 in descending confidence probability order. We demonstrate how the GR can be used to classify questions and visualize their spectrum of difficulty, from persistent near successes to persistent extreme failures. We derive a new aggregate statistic over entire test sets, named the Golden Rank Interpolated Median (GRIM) that quantifies the proximity of failed predictions to the top choice made by the model. To develop some intuition and explore the applicability of these metrics we use the Stanford Question Answering Dataset (SQuAD-2) and a few popular transformer models from the Hugging Face hub. We first demonstrate that the GRIM is not directly correlated with the F1 and exact match (EM) scores. We then calculate and visualize these scores for various transformer architectures, probe their applicability in error analysis by clustering failed predictions, and compare how they relate to other training diagnostics such as the EM and F1 scores. We finally suggest various research goals, such as broadening data collection for these metrics and their possible use in adversarial training.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 11 of its 43 references that are in the map. First posted on arXiv 29 Jun 2022.

Builds on

11 of 43 references.

References · 11

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  6. 2020Longformer: The Long-Document Transformercited by 3,362
  7. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  8. 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 667
  9. 2018Towards Accountable AI: Hybrid Human-Machine Analyses for Characterizing System Failurecited by 49
  10. 2022ILDAE: Instance-Level Difficulty Analysis of Evaluation Datacited by 17
  11. 2022Let the Model Decide its Curriculum for Multitask Learningcited by 8

Built on by

Not cited yet.