Skip to main content
QUICK REVIEW

[论文解读] Improving Question Answering Model Robustness with Synthetic Adversarial Data Generation

Max Bartolo, Tristan Thrush|arXiv (Cornell University)|Apr 18, 2021
Topic ModelingComputer Science参考文献 40被引用 67
一句话总结

本文提出了一种合成对抗性数据生成流程,以在不依赖昂贵的人工标注对抗性样本的情况下提升问答模型的鲁棒性。通过利用大语言模型进行问题生成,并采用自训练方法对答案进行重新标注,该方法将少量人工标注的对抗性数据集扩展为更大规模、高质量的合成数据集,将人类欺骗率从17.6%降低至8.8%,并在AdversarialQA上将F1提升3.7分。

ABSTRACT

Despite recent progress, state-of-the-art question answering models remain vulnerable to a variety of adversarial attacks. While dynamic adversarial data collection, in which a human annotator tries to write examples that fool a model-in-the-loop, can improve model robustness, this process is expensive which limits the scale of the collected data. In this work, we are the first to use synthetic adversarial data generation to make question answering models more robust to human adversaries. We develop a data generation pipeline that selects source passages, identifies candidate answers, generates questions, then finally filters or re-labels them to improve quality. Using this approach, we amplify a smaller human-written adversarial dataset to a much larger set of synthetic question-answer pairs. By incorporating our synthetic data, we improve the state-of-the-art on the AdversarialQA dataset by 3.7F1 and improve model generalisation on nine of the twelve MRQA datasets. We further conduct a novel human-in-the-loop evaluation to show that our models are considerably more robust to new human-written adversarial examples: crowdworkers can fool our model only 8.8% of the time on average, compared to 17.6% for a model trained without synthetic data.

研究动机与目标

  • 解决问答任务中人工标注对抗性数据成本高且规模有限的问题。
  • 在无需额外标注工作的情况下,提升模型对人工构造的对抗性样本的鲁棒性。
  • 开发一种可扩展的合成数据生成流程,以增强模型在多样化问答基准上的泛化能力。
  • 引入一种新型的人机协同评估方法——经验证的模型错误率(vMER),用于衡量模型鲁棒性。
  • 证明合成数据可有效替代或增强人工标注的对抗性数据用于模型训练。

提出的方法

  • 使用维基百科文章作为合成数据生成的原始材料。
  • 采用预训练语言模型(RoBERTa)从文章中识别出高置信度的答案候选。
  • 利用微调后的BARTLarge模型,基于文章和答案生成问题。
  • 通过多次随机种子的自训练方法,提升答案的一致性并重新标注低置信度预测。
  • 基于不同模型间答案的一致性以及置信度阈值对合成样本进行过滤。
  • 将上述流程整合为完整的合成数据生成系统,用于放大现有的对抗性数据集。

实验结果

研究问题

  • RQ1合成对抗性数据生成能否有效提升模型对人类对手的鲁棒性?
  • RQ2在模型欺骗率方面,合成数据与人工标注的对抗性数据相比表现如何?
  • RQ3合成数据在多大程度上能提升模型在多样化问答基准上的泛化能力?
  • RQ4通过模型分歧进行自训练能否提升合成问答对的质量?
  • RQ5所提出的流程是否能显著减少对昂贵人工标注对抗性样本的需求?

主要发现

  • 在人机协同评估中,合成数据生成流程将人类欺骗率从17.6%降低至8.8%,显著提升了模型鲁棒性。
  • 该方法在AdversarialQA数据集上将最先进F1分数提升了3.7分。
  • 使用合成数据训练的模型展现出更好的泛化能力,在十二个MRQA数据集中的九个上表现更优。
  • 不同随机种子下模型间的一致性作为过滤信号,比影响函数更有效,从而生成更高质量的合成数据。
  • 合成数据流程成功将少量人工标注的对抗性数据集扩展为更大规模、高质量的训练集,且无需额外人工标注。
  • 所提出的经验证的模型错误率(vMER)指标在评估模型对人类对手的鲁棒性方面表现有效。

阅读本论文

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

在 Nubint 中阅读本论文

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