Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Question Answering Robustness: A Multi-Level Error Analysis and Mitigation Study

Agniv Roy Choudhury, Vignesh Ponselvan Rajasingh|arXiv (Cornell University)|Jan 6, 2026
Topic ModelingComputer Science0 citations
TL;DR

The paper analyzes adversarial robustness of transformer QA models on AddSent, identifies negation and entity substitution as key failure modes, and shows that scaling ELECTRA from small to base plus targeted mitigation (notably Entity-Aware contrastive learning) yields near-parity between clean and adversarial performance.

ABSTRACT

Question answering (QA) systems achieve impressive performance on standard benchmarks like SQuAD, but remain vulnerable to adversarial examples. This project investigates the adversarial robustness of transformer models on the AddSent adversarial dataset through systematic experimentation across model scales and targeted mitigation strategies. We perform comprehensive multi-level error analysis using five complementary categorization schemes, identifying negation confusion and entity substitution as the primary failure modes. Through systematic evaluation of adversarial fine-tuning ratios, we identify 80% clean + 20% adversarial data as optimal. Data augmentation experiments reveal a capacity bottleneck in small models. Scaling from ELECTRA-small (14M parameters) to ELECTRA-base (110M parameters) eliminates the robustness-accuracy trade-off, achieving substantial improvements on both clean and adversarial data. We implement three targeted mitigation strategies, with Entity-Aware contrastive learning achieving best performance: 89.89% AddSent Exact Match (EM) and 90.73% SQuAD EM, representing 94.9% closure of the adversarial gap. To our knowledge, this is the first work integrating comprehensive linguistic error analysis with Named Entity Recognition (NER)-guided contrastive learning for adversarial QA, demonstrating that targeted mitigation can achieve near-parity between clean and adversarial performance.

Motivation & Objective

  • Identify dominant failure modes of QA models under adversarial AddSent attacks.
  • Quantify how model scale and training mix affect robustness to adversarial examples.
  • Develop and evaluate targeted mitigation strategies informed by linguistic error analysis.
  • Demonstrate whether adversarial robustness can be achieved without sacrificing clean accuracy.

Proposed method

  • Train ELECTRA-based QA models on SQuAD with AddSent adversarial data across multiple mixing ratios (90-10, 80-20, 70-30, 60-40, 50-50).
  • Perform multi-level error analysis using negation, entity substitution, and distractor-focused categories to identify failure patterns.
  • Evaluate five error-taxonomy schemes and select the most actionable for mitigation.
  • Implement adversarial fine-tuning (80-20 mix) and assess data augmentation to address capacity limits.
  • Develop and compare three targeted mitigations: Negation-Aware contrastive learning, Entity-Aware contrastive learning, and baseline enhancements.
  • Scale from ELECTRA-small (14M) to ELECTRA-base (110M) to assess capacity effects on robustness and accuracy.

Experimental results

Research questions

  • RQ1How vulnerable is ELECTRA-small to AddSent adversarial examples?
  • RQ2What linguistic and structural patterns cause QA model failures under AddSent?
  • RQ3Which error categorization provides the most actionable mitigation guidance?
  • RQ4Can targeted mitigation improve adversarial robustness without harming clean performance, and what roles do model scale and data mix play?

Key findings

  • Negation confusion (40.4%) and entity substitution (29.9%) are the dominant error modes.
  • 80-20 adversarial fine-tuning with ELECTRA-small yields best robustness-accuracy balance among small models (AddSent EM 66.57%, SQuAD EM 62.85%).
  • Scaling to ELECTRA-base (110M) resolves the robustness-accuracy trade-off and yields high performance on both adversarial and clean data (AddSent EM 88.43%, SQuAD EM 89.97% with 80-20 original).
  • Entity-Aware contrastive learning (NER-guided hard negatives) achieves AddSent EM 89.89% and SQuAD EM 90.73%, closing 94.9% of the adversarial gap (to near parity).
  • Negation-Aware mitigation provides smaller gains (AddSent +0.50 pp, SQuAD +0.10 pp).
  • Entity-Aware mitigation outperforms negation-aware by ~0.96 pp on AddSent, and reduces the adversarial gap more substantially.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.