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

面向少样本问答的基于提示的合成数据生成

Prompting-based Synthetic Data Generation for Few-Shot Question Answering

University of Stuttgart(斯图加特大学);IBM Research Zurich(IBM苏黎世研究院)

Maximilian Schmidt, Andrea Bartezzaghi, Ngoc Thang Vu

AI总结:

针对少样本问答数据标注成本高、领域适配性差的问题,提出利用Prompting框架基于大语言模型生成合成数据,验证其任务无关知识可超越预训练/微调范式,在多数据集少样本问答上性能优于现有最优方法。

摘要:

尽管语言模型(LM)已提升了问答任务的性能,但它们仍需要大量数据。而数据标注是一个耗时的过程,这一点在问答任务中尤为突出——该任务可能需要解析大型文档,并标注问题及其对应答案。此外,问答模型通常仅在其训练所用的领域上表现良好。由于标注成本高昂,我们认为来自语言模型的领域无关知识(例如语言理解能力)足以创建经过精心整理的数据集。基于这一动机,我们证明在少样本设置下,与现有最优方法相比,使用大语言模型能够提升在多个数据集上的问答性能。为此,我们利用Prompting框架进行数据生成,表明语言模型包含有价值的任务无关知识,其应用可超越常见的预训练/微调范式。最终,我们在少样本问答任务上持续优于以往方法。

英文摘要:

Although language models (LMs) have boosted the performance of Question Answering, they still need plenty of data. Data annotation, in contrast, is a time-consuming process. This especially applies to Question Answering, where possibly large documents have to be parsed and annotated with questions and their corresponding answers. Furthermore, Question Answering models often only work well for the domain they were trained on. Since annotation is costly, we argue that domain-agnostic knowledge from LMs, such as linguistic understanding, is sufficient to create a well-curated dataset. With this motivation, we show that using large language models can improve Question Answering performance on various datasets in the few-shot setting compared to state-of-the-art approaches. For this, we perform data generation leveraging the Prompting framework, suggesting that language models contain valuable task-agnostic knowledge that can be used beyond the common pre-training/fine-tuning scheme. As a result, we consistently outperform previous approaches on few-shot Question Answering.

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

↑