Adversarial Examples for Evaluating Reading Comprehension Systems
Open accessThe DOI matches its Crossref record; 40 of the 40 references it cites were found in a registry or an index.
Abstract
Standard accuracy metrics indicate that reading comprehension systems are making rapid progress, but the extent to which these systems truly understand language remains unclear.To reward systems with real language understanding abilities, we propose an adversarial evaluation scheme for the Stanford Question Answering Dataset (SQuAD).Our method tests whether systems can answer questions about paragraphs that contain adversarially inserted sentences, which are automatically generated to distract computer systems without changing the correct answer or misleading humans.In this adversarial setting, the accuracy of sixteen published models drops from an average of 75% F1 score to 36%; when the adversary is allowed to add ungrammatical sequences of words, average accuracy on four models decreases further to 7%.We hope our insights will motivate the development of new models that understand language more precisely.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“The second trend is that neural networks routinely fail on exactly the phenomena where such symbolic models succeed, for example, logical inference [6,9], compositionality [7,23] and out-of-distribution generalization [24–26].”
From Symbols and grounding in large language models (2023) · cites this paper as [25]
Experimental — accuracy not yet measuredThe source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“The diference between the training dataset and the deployment data is called distribution shift, which often results in a performance drop [24,46,61].”
From Human-AI Collaboration via Conditional Delegation: A Case Study of Content Moderation (2022) · cites this paper as [46]
Experimental — accuracy not yet measuredThe cited source says what the claim attributes to it.
In the citing paper
“AI performance can signifcantly drop for out-of-distribution examples that are diferent from the training data (in-distribution examples) [9,24,46,61].”
From Human-AI Collaboration via Conditional Delegation: A Case Study of Content Moderation (2022) · cites this paper as [46]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Glove: Global Vectors for Word Representation
Pennington, J., Socher, R., & Manning, C. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1162 · Cited by 34,071 · cited 1×
“We replace nouns and adjectives with antonyms from WordNet (Fellbaum, 1998), and change named entities and numbers to the nearest word in GloVe word vector space 2 (Pennington et al., 2014) with the same part of speech.”
MethodLabaca-Castro, R. (2023) · Machine Learning under Malware Attack · doi:10.1007/978-3-658-40442-0_9 · Cited by 19,272
GAN(Generative Adversarial Nets)
(2017) · Journal of Japan Society for Fuzzy Theory and Intelligent Informatics · doi:10.3156/jsoft.29.5_177_2 · Cited by 19,270
WordNet: An Electronic Lexical Database
Kilgarriff, A., & Fellbaum, C. (2000) · Language · doi:10.2307/417141 · Cited by 11,464
Explaining and Harnessing Adversarial Examples
Goodfellow, I. J., Shlens, J., & Szegedy, C. (2014) · arXiv · doi:10.48550/arxiv.1412.6572 · Cited by 10,381 · cited 5×
“Ad- 6 All previous experiments used parameters released by Seo et al. (2016) versarial training (Goodfellow et al., 2015) can be used for any model trained with stochastic gradient descent, but it requires generating new adversarial examples at every iteration; this is feasible for images, where…”
BackgroundMethodInfluentialIntriguing properties of neural networks
Szegedy, C., Zaremba, W., Sutskever, I., Bruna, J., Erhan, D., Goodfellow, I., & Fergus, R. (2013) · arXiv · doi:10.48550/arxiv.1312.6199 · Cited by 8,143 · cited 4×
“Prior work in computer vision adds imperceptible adversarial perturbations to input images, relying on the fact that such small perturbations cannot change an image’s true label (Szegedy et al., 2014; Goodfellow et al., 2015).”
BackgroundInfluentialThe Stanford CoreNLP Natural Language Processing Toolkit
Manning, C., Surdeanu, M., Bauer, J., Finkel, J., Bethard, S., & McClosky, D. (2014) · Proceedings of 52nd Annual Meeting of the Association for Computational Linguistics: System Demonstrations · doi:10.3115/v1/p14-5010 · Cited by 7,037 · cited 1×
“We define a set (Manning et al., 2014), plus a few custom categories (e.g., abbreviations), and manually associate a fake answer with each type.”
MethodSQuAD: 100,000+ Questions for Machine Comprehension of Text
Rajpurkar, P., Zhang, J., Lopyrev, K., & Liang, P. (2016) · Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/d16-1264 · Cited by 6,208 · cited 4×
“Given a model f that takes in paragraph-question pairs ( p, q ) and outputs an answer ˆ a , the standard accuracy over a test set D test is simply where v is the F1 score between the true answer a and the predicted answer f ( p, q ) (see Rajpurkar et al. (2016) for details).”
BackgroundMethodInfluentialSelf-citationPractical Black-Box Attacks against Machine Learning
Papernot, N., McDaniel, P., Goodfellow, I., Jha, S., Celik, Z. B., & Swami, A. (2017) · Proceedings of the 2017 ACM on Asia Conference on Computer and Communications Security · doi:10.1145/3052973.3053009 · Cited by 3,495
Universal Adversarial Perturbations
Moosavi-Dezfooli, S.-M., Fawzi, A., Fawzi, O., & Frossard, P. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.17 · Cited by 2,680
Cited by
Items 1,001–1,014 of 1,014
PromptAttack: Probing Dialogue State Trackers with Adversarial Prompts
Dong, X., He, Y., Zhu, Z., & Caverlee, J. (2023) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2023.findings-acl.677 · Cited by 7
Cao, X., Dawa, D., Qun, N., & Trashi, N. (2023) · Workshop on Trustworthy Natural Language Processing (TrustNLP) · doi:10.18653/v1/2023.trustnlp-1.4 · Cited by 5
“Jia and Liang (2017) first proposed generating adversarial samples for English public datasets and evaluating NLP models from a robustness perspective.”
How Fragile is Relation Extraction under Entity Replacements?
Wang, Y., Hooi, B., Wang, F., Cai, Y., Liang, Y., Zhou, W., Tang, J., Duan, M., & Chen, M. (2023) · Conference on Computational Natural Language Learning · doi:10.18653/v1/2023.conll-1.27 · Cited by 12
AntiNODE: Evaluating Efficiency Robustness of Neural ODEs
Haque, M., Chen, S., Haque, W., Liu, C., & Yang, W. H. (2023) · IEEE International Conference on Computer Vision Workshops · doi:10.1109/iccvw60793.2023.00164 · Cited by 11
“With a similar approach, adversarial attacks have Figure 1: Difference in latency with different number of iterations been extended to various fields like text and speech processing [6, 33], and graph models [56, 3].”
BackgroundComplex network effects on the robustness of graph convolutional networks
Miller, B. A., Chan, K., & Eliassi‐Rad, T. (2024) · Applied Network Science · doi:10.1007/s41109-024-00611-9 · Cited by 5
“Since that time, numerous attack methods have been proposed, largely focused on the image classification domain (though there has been interest in natural language processing as well, e.g., [18]).”
BackgroundHow Resilient are Language Models to Text Perturbations?
Romero-Alvarado, D., Hernández‐Orallo, J., & Martínez‐Plumed, F. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-77731-8_8 · Cited by 10
Detecting Adversarial Audio via Activation Quantization Error
Liu, H., & Ditzler, G. (2020) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn48605.2020.9206986 · Cited by 8
“In addition to image classification tasks, attacks against other DNN-based applications are also explored extensively, such as semantic segmentation, image captioning, text classification, and medical prediction [6]– [9].”
BackgroundWang, Y., & Zhang, H. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-73197-7_32 · Cited by 5
Zero-shot domain adaptation for natural language inference by projecting superficial words out
Cui, W., Zheng, G., & Wang, W. (2021) · Knowledge-Based Systems · doi:10.1016/j.knosys.2021.107193 · Cited by 5
ECON: On the Detection and Resolution of Evidence Conflicts
Jiayang, C., Chan, C., Zhuang, Q., Qiu, L., Zhang, T., Liu, T., Song, Y., Zhang, Y., Liu, P., & Zhang, Z. (2024) · Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2024.emnlp-main.447 · Cited by 4
Towards Fair and Robust Classification
Sun, H., Wu, K., Wang, T., & Wang, W. H. (2022) · 2022 IEEE 7th European Symposium on Security and Privacy (EuroS&P) · doi:10.1109/eurosp53844.2022.00030 · Cited by 3
“Given a target model M, a set of testing samples {(atest i ,xtest i , ytest i )}i=1 and their predictions Ŷ test = {ŷtest i }i=1 made by M, we follow the metric of adversarial accuracy [7], [33], [34] to measure the robustness score M.”
MethodDissecting Adversarial Robustness of Multimodal LM Agents
Wu, C. H., Shah, R., Koh, J. Y., Salakhutdinov, R., Fried, D., & Raghunathan, A. (2024) · arXiv · doi:10.48550/arxiv.2406.12814 · Cited by 1
“While early works focused on image classifiers, later works have extended adversarial attacks to LM (Jia & Liang, 2017; Wallace et al., 2019).”
YESciEval: Robust LLM-as-a-Judge for Scientific Question Answering
D'Souza, J., Giglou, H. B., & Münch, Q. (2025) · arXiv · doi:10.48550/arxiv.2505.14279
“Inspired by Jia and Liang (2017), who applied heuristic adversarial perturbations to assess NLP brittleness in reading comprehension (2016), we introduce rubric-based adversarial variants of the benign scienceQ&A dataset to evaluate the robustness of LLM-as-a-judge systems.”
Xian, R. P., Lee, A. J., Lolla, S., Wang, V., Cui, Q., Ro, R., & Abbasi-Asl, R. (2024) · arXiv · doi:10.48550/arxiv.2402.10527
“Unlike text addition attacks that introduce distracting information (Jia & Liang, 2017; Wallace et al., 2019a), the edit constraint on Q that is usually enforced in text adversarial attacks (Roth et al., 2024) doesn’t preclude large semantic perturbations at the entity level in the distractors.”
BackgroundMethod
Metadata
- Authors
- Jia, R., & Liang, P.
- Affiliations
- Stanford University (US)
- Venue
- Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing
- Published
- 2017
- Pages
- 2021-2031
- OpenAlex
- W2963969878
- Cited by
- 1,410
- References
- 39
- Citations by year
- 2026: 33 · 2025: 72 · 2024: 67 · 2023: 156 · 2022: 189 · 2021: 270 · 2020: 291 · 2019: 198 · 2018: 124 · 2017: 10
- FWCI
- 76.16
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- cc-by
- Locations
- Conference on Empirical Methods in Natural Language Processing (EMNLP) (publishedVersion, cc-by)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- National Science Foundation ((DGE-114747, 114747)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Keywords
- adversarial examples, reading comprehension assessment, question answering, SQuAD, adversarial perturbations, language comprehension, model robustness
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.