NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

longhorns at DADC 2022: How many linguists does it take to fool a Question Answering model? A systematic approach to adversarial attacks

Venelin Kovatchev, Trina Chatterjee, Venkata Subrahmanyan Govindarajan, Jifan Chen, Eunsol Choi, Gabriella Chronis, Anubrata Das, Katrin Erk, Matthew Lease, Junyi Jessy Li, Yating Wu, Kyle MahowaldarXiv 2022

Abstract

Developing methods to adversarially challenge NLP systems is a promising avenue for improving both model performance and interpretability. Here, we describe the approach of the team "longhorns" on Task 1 of the The First Workshop on Dynamic Adversarial Data Collection (DADC), which asked teams to manually fool a model on an Extractive Question Answering task. Our team finished first, with a model error rate of 62%. We advocate for a systematic, linguistically informed approach to formulating adversarial questions, and we describe the results of our pilot experiments, as well as our official submission.

Introduction

While modern NLP models often boast "super-human" performance on benchmarks like SQuAD or GLUE, researchers have long suspected these systems are "right for the wrong reasons." Models often rely on spurious correlations or "shortcuts" rather than true linguistic understanding. The Dynamic Adversarial Data Collection (DADC) challenge aims to expose these cracks. In this task, humans act as adversaries, attempting to write questions that a human can easily answer from a given text, but which cause a state-of-the-art model to fail. We address the lack of a "straightforward recipe" for creating these adversarial examples by proposing a systematic approach rooted in computational and psycholinguistics.

Methodology

Our approach moved away from ad-hoc guessing toward a structured attack strategy list. The methodology involved three primary components:

  1. Taxonomy of Attacks: We categorized potential attacks into three buckets:
  2. Lexical/Syntactic: Utilizing garden-path sentences, complex coreference (e.g., "the actor who bought the house" vs. "the actor who sold it"), and negation.
  3. Reasoning: Forcing the model to perform numerical, temporal, or common-sense reasoning that isn't explicitly stated as a single text span.
  4. Model Priors: Exploiting the model's internal "shortcuts," such as its tendency to pick the most prominent entity of the correct type.
  5. Pilot Testing: Before the official submission, we ran experiments to measure the Model Error Rate (MER) for each strategy, identifying which linguistic "traps" were most effective.
  6. Collaborative Brainstorming: We found that groups of researchers working together generated more diverse and successful attacks than individuals working in isolation.

The study utilized the Dynabench platform for dynamic dataset creation, using context passages provided by the DADC organizers for Task 1 ("Better Annotators"). Our official submission consisted of 100 extractive QA examples designed to fool the model-in-the-loop.

Analysis of Model Vulnerabilities

Our experiments revealed several key insights into model behavior. One prominent issue is the "Entity Type" Shortcut. Models are surprisingly good at identifying the type of answer needed (e.g., a date for "when"). However, they are easily fooled by "distractors"—other entities of the same type mentioned in the text. If a story mentions multiple people, the model often defaults to the one mentioned first or most frequently, regardless of the question's logic.

A successful attack exploiting entity type shortcuts and complex syntax.

Furthermore, we observed a Semantic Similarity Bias. When a model is confused by a complex question, it defaults to "semantic overlap," looking for a text span that shares the most words with the question. This can be exploited by crafting questions that share high lexical overlap with incorrect spans.

A successful adversarial attack targeting temporal spans.

We also identified Linguistic "Taxes" such as "garden path" sentences. While humans find these manageable, models often fail to "re-parse" and get stuck on the initial, incorrect interpretation. Finally, Reasoning remains a significant hurdle; models struggle with basic logic, such as temporal ordering or simple arithmetic.

Results

The "longhorns" team ranked first in the DADC 2022 competition. We achieved a 62% Model Error Rate (MER), meaning more than half of our carefully crafted questions successfully fooled the state-of-the-art model-in-the-loop. While temporal and numerical reasoning attacks were highly successful, they were often harder to implement given the brevity of the provided passages compared to distractor-based attacks.

Conclusion

Our work demonstrates that a systematic, linguistically-informed approach is highly effective for adversarial data collection. However, limitations remain, including the simplicity of provided passages and the time-intensive nature of manual question crafting (5–10 minutes per passage). Future work will explore scaling these strategies to other tasks like Natural Language Inference (NLI) and automating the generation of "human-simple, model-hard" examples.

Summary updated

BibTeX
@misc{kovatchev2022longhorns,
  author = {Venelin Kovatchev and Trina Chatterjee and Venkata Subrahmanyan Govindarajan and Jifan Chen and Eunsol Choi and Gabriella Chronis and Anubrata Das and Katrin Erk and Matthew Lease and Junyi Jessy Li and Yating Wu and Kyle Mahowald},
  title = {{longhorns at DADC 2022: How many linguists does it take to fool a Question Answering model? A systematic approach to adversarial attacks}},
  year = {2022},
  eprint = {2206.14729},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.14729},
}
Figure