数据集:

mbartolo/synQA

语言:

en

许可:

mit

计算机处理:

monolingual

语言创建人:

found

批注创建人:

generated

源数据集:

original

预印本库:

arxiv:1606.05250

大小:

100K<n<1M

任务:

问答
英文

synQA 数据集卡片

数据集摘要

synQA 是一个阅读理解数据集,创建于 "Improving Question Answering Model Robustness with Synthetic Adversarial Data Generation" ( https://aclanthology.org/2021.emnlp-main.696/ ) 中。它包含了在 SQuAD v1.1 ( https://arxiv.org/abs/1606.05250 ) 训练集中的段落上合成生成的 314,811 个问题。

在这项工作中,我们使用合成对抗数据生成来增强问答模型对人类对手的鲁棒性。我们开发了一个数据生成流程,选择源段落,确定候选答案,生成问题,然后最终进行过滤或重新标记以提高质量。使用这种方法,我们将一个较小的人工编写的对抗数据集增强到一个更大的合成问答对数据集。通过融入我们的合成数据,我们在 AdversarialQA ( https://adversarialqa.github.io/ ) 数据集上的基准性能提高了3.7F1,并且在 MRQA 的十二个数据集中有九个表现出了模型的泛化性能提升。我们还进行了一项新颖的人机参与评估,表明我们的模型对新的人类对抗样本具有相当高的鲁棒性:相比于在没有合成数据训练的模型平均上容易被众包工人戏弄 17.6% 的情况,他们仅能将我们的模型戏弄 8.8% 的时间。

关于数据集的详细信息,请参阅论文。

支持的任务

extractive-qa:数据集可用于训练抽取式问答模型,该模型的任务是从一个段落中选择回答问题的答案。成功处理该任务的常用评估标准是实现高词重叠( F1 score )。

语言

数据集中的文本为英文。相关的 BCP-47 代码是 en。

数据集结构

数据实例

数据以与 SQuAD 1.1 相同的格式提供。下面是一个示例:

{
  "data": [
    {
      "title": "None",
      "paragraphs": [
        {
          "context": "Architecturally, the school has a Catholic character. Atop the Main Building's gold dome is a golden statue of the Virgin Mary. Immediately in front of the Main Building and facing it, is a copper statue of Christ with arms upraised with the legend \"Venite Ad Me Omnes\". Next to the Main Building is the Basilica of the Sacred Heart. Immediately behind the basilica is the Grotto, a Marian place of prayer and reflection. It is a replica of the grotto at Lourdes, France where the Virgin Mary reputedly appeared to Saint Bernadette Soubirous in 1858. At the end of the main drive (and in a direct line that connects through 3 statues and the Gold Dome), is a simple, modern stone statue of Mary.",
          "qas": [
            {
              "id": "689f275aacba6c43ff112b2c7cb16129bfa934fa",
              "question": "What material is the statue of Christ made of?",
              "answers": [
                {
                  "answer_start": 190,
                  "text": "organic copper"
                }
              ]
            },
            {
              "id": "73bd3f52f5934e02332787898f6e568d04bc5403",
              "question": "Who is on the Main Building's gold dome?",
              "answers": [
                {
                  "answer_start": 111,
                  "text": "the Virgin Mary."
                }
              ]
            },
            {
              "id": "4d459d5b75fd8a6623446290c542f99f1538cf84",
              "question": "What kind of statue is at the end of the main drive?",
              "answers": [
                {
                  "answer_start": 667,
                  "text": "modern stone"
                }
              ]
            },
            {
              "id": "987a1e469c5b360f142b0a171e15cef17cd68ea6",
              "question": "What type of dome is on the Main Building at Notre Dame?",
              "answers": [
                {
                  "answer_start": 79,
                  "text": "gold"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

数据字段

  • title:该数据集中的所有标题都为 "None"
  • context:上下文/段落
  • id:每个问题的字符串标识符
  • answers:提供的答案列表(我们的情况下为每个问题一个,但在 SQuAD 中可能存在多个),其中包括一个 answer_start 字段,表示答案片段的起始字符索引,以及一个 text 字段,表示答案文本。

数据拆分

数据集由314,811个示例组成,我们在一个两阶段的微调过程中使用了这些示例(有关详细信息,请参阅论文)。

数据集创建

策划理由

创建此数据集是为了研究使用合成对抗数据生成提高最先进的问答模型的鲁棒性的效果。

源数据

源段落来自维基百科,与 SQuAD v1.1 中使用的相同。

源语言制片人是维基百科编辑和 BART-Large 生成模型提供的。

个人和敏感信息

未提供任何注释者身份信息。

使用数据的注意事项

数据集的社会影响

此数据集的目的是帮助开发更好的问答系统。

成功处理支持的任务将能够从一个简短段落中提供准确的抽取式回答。这个数据集可以被看作是一个支持资源,用于提高处理当前最先进模型难以正确回答的问题的能力,因此通常需要比检测与问题高度重叠的段落明确提到的短语更复杂的理解能力。

然而,值得注意的是,源段落既有领域限制,也有语言特定性,并且提供的问题和答案不构成任何特定的社会应用。

偏见讨论

该数据集可能在源段落选择、候选答案选择、生成问题、质量重新标记过程以及由用于收集 SQuAD 和 AdversarialQA 数据的对抗注释过程激发的任何算法偏见方面存在各种偏见。

其他已知限制

无

其他信息

数据集策展人

此数据集最初由 Max Bartolo、Tristan Thrush、Robin Jia、Sebastian Riedel、Pontus Stenetorp 和 Douwe Kiela 在伦敦大学学院(UCL)和Facebook AI Research(FAIR)进行的工作中创建。

许可信息

该数据集在 MIT License 下分发。

引用信息

@inproceedings{bartolo-etal-2021-improving,
    title = "Improving Question Answering Model Robustness with Synthetic Adversarial Data Generation",
    author = "Bartolo, Max  and
      Thrush, Tristan  and
      Jia, Robin  and
      Riedel, Sebastian  and
      Stenetorp, Pontus  and
      Kiela, Douwe",
    booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing",
    month = nov,
    year = "2021",
    address = "Online and Punta Cana, Dominican Republic",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.emnlp-main.696",
    doi = "10.18653/v1/2021.emnlp-main.696",
    pages = "8830--8848",
    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 and 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.",
}

贡献

感谢 @maxbartolo 添加了此数据集。