arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.00438cs.CL
收藏

基于预训练广度选择的Few-Shot问答

Few-Shot Question Answering by Pretraining Span Selection

Tel Aviv University(特拉维夫大学);Allen Institute for AI(艾伦人工智能研究所)

Ori Ram, Yuval Kirstain, Jonathan Berant, Amir Globerson, Omer Levy

摘要:

在几个问答基准测试中,通过对10万个带注释的问题和答案进行微调,预训练模型已经达到了人类平等。我们探索了更现实的Few-Shot设置,其中只有几百个训练样本可用,并观察到标准模型表现不佳,突出了当前预训练目标和问答之间的差异。我们提出了一个新的预训练计划量身定制的问答:循环跨度选择。给定一个具有多组重复跨度的段落,我们在每组中屏蔽除一个之外的所有重复跨度,并要求模型为每个屏蔽的跨度选择段落中的正确跨度。掩蔽的范围被一个特殊的标记替换,该标记被视为问题表示,稍后在微调期间使用该标记来选择答案范围。所得到的模型在多个基准上获得了令人惊讶的良好结果(例如,72.7 F1在SQuAD上只有128个训练样本),同时在高资源环境中保持竞争力。

英文摘要:

In several question answering benchmarks, pretrained models have reached human parity through fine-tuning on an order of 100,000 annotated questions and answers. We explore the more realistic few-shot setting, where only a few hundred training examples are available, and observe that standard models perform poorly, highlighting the discrepancy between current pretraining objectives and question answering. We propose a new pretraining scheme tailored for question answering: recurring span selection. Given a passage with multiple sets of recurring spans, we mask in each set all recurring spans but one, and ask the model to select the correct span in the passage for each masked span. Masked spans are replaced with a special token, viewed as a question representation, that is later used during fine-tuning to select the answer span. The resulting model obtains surprisingly good results on multiple benchmarks (e.g., 72.7 F1 on SQuAD with only 128 training examples), while maintaining competitive performance in the high-resource setting.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑