Skip to main content
QUICK 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 Science被引用 0
一句话总结

该论文分析了 AddSent 上对 Transformer QA 模型的对抗鲁棒性,识别否定和实体替换为关键失效模式,并显示将 ELECTRA 从 small 提升到 base 及有针对性的缓解措施(尤其是 Entity-Aware 对比学习)实现了清洁与对抗性能的近似等同。

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.

研究动机与目标

  • 在对抗 AddSent 攻击下识别 QA 模型的主导失效模式。
  • 量化模型规模和训练混合对鲁棒性对抗性样本的影响。
  • 开发并评估基于语言学错误分析的有针对性缓解策略。
  • 证明在不牺牲清洁准确度的情况下是否可以实现对抗鲁棒性。

提出的方法

  • 在 SQuAD 上使用 AddSent 对抗数据以多种混合比例(90-10、80-20、70-30、60-40、50-50)训练 ELECTRA 基于的 QA 模型。
  • 通过否定、实体替换和分散注意力的类别进行多层次错误分析,以识别失效模式。
  • 评估五种错误分类方案并筛选最具可操作性的缓解措施。
  • 实施对抗性微调(80-20 混合)并评估数据增强以应对容量上限。
  • 开发并比较三种有针对性的缓解策略:否定感知对比学习、实体感知对比学习以及基线增强。
  • 将容量从 ELECTRA-small(14M)扩展到 ELECTRA-base(110M),以评估容量对鲁棒性与准确度的影响。

实验结果

研究问题

  • RQ1ELECTRA-small 对 AddSent 对抗样本有多脆弱?
  • RQ2有哪些语言学与结构模式导致 QA 模型在 AddSent 下失效?
  • RQ3哪种错误分类提供最具可操作性的缓解指导?
  • RQ4有针对性的缓解是否能在不损害清洁性能的前提下提升对抗鲁棒性,模型规模和数据混合在其中起到什么作用?

主要发现

  • 否定混乱(40.4%)和实体替换(29.9%)是主导的错误模式。
  • 在小模型中,80-20 对抗性微调的鲁棒性-准确度平衡最佳(AddSent EM 66.57%,SQuAD EM 62.85%)。
  • 扩展到 ELECTRA-base(110M)解决了鲁棒性与准确度的权衡,在对抗数据与清洁数据上都取得高性能(AddSent EM 88.43%,SQuAD EM 89.97%(80-20 原始)。
  • 实体感知对比学习(NER 指导的难负样本)实现 AddSent EM 89.89% 和 SQuAD EM 90.73%,将对抗差距缩小至约 94.9% 的接近对等。
  • 否定感知缓解带来较小提升(AddSent +0.50 绩效点,SQuAD +0.10 点)。
  • 实体感知缓解在 AddSent 上较否定感知高约 0.96 点,并更显著地缩小对抗差距。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。