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

MinPrompt:基于图的最小提示数据增强用于少样本问答

MinPrompt: Graph-based Minimal Prompt Data Augmentation for Few-shot Question Answering

Amazon Search(亚马逊搜索)

Xiusi Chen, Jyun-Yu Jiang, Wei-Cheng Chang, Cho-Jui Hsieh, Hsiang-Fu Yu, Wei Wang

AI总结:

MinPrompt通过图算法选择最少信息句子并生成问答对进行微调,在少样本开放域问答中实现高效且准确率相当或更优的结果。

摘要:

近年来,少样本问答(QA)的进展主要依赖于预训练大型语言模型(LLM)的强大能力以及在特定设置下的微调。尽管预训练阶段已经赋予LLM强大的推理能力,但LLM仍需针对特定领域进行微调以达到最佳效果。在本文中,我们提出选择最具信息量的数据进行微调,从而提高微调过程的效率,并在开放域问答任务上获得相当甚至更好的准确率。我们提出了MinPrompt,一个基于近似图算法和无监督问题生成的开放域问答最小数据增强框架。我们将原始文本转换为图结构,以建立不同事实句子之间的联系,然后应用图算法识别覆盖原始文本中最多信息所需的最小句子集。我们基于识别出的句子子集生成问答对,并在选定的句子上训练模型以获得最终模型。在多个基准数据集上的实证结果和理论分析表明,MinPrompt能够以高效率达到与基线相当或更好的结果,并在F-1分数上带来一致的改进。

英文摘要:

Recent advances in few-shot question answering (QA) mostly rely on the power of pre-trained large language models (LLMs) and fine-tuning in specific settings. Although the pre-training stage has already equipped LLMs with powerful reasoning capabilities, LLMs still need to be fine-tuned to adapt to specific domains to achieve the best results. In this paper, we propose to select the most informative data for fine-tuning, thereby improving the efficiency of the fine-tuning process with comparative or even better accuracy on the open-domain QA task. We present MinPrompt, a minimal data augmentation framework for open-domain QA based on an approximate graph algorithm and unsupervised question generation. We transform the raw text into a graph structure to build connections between different factual sentences, then apply graph algorithms to identify the minimal set of sentences needed to cover the most information in the raw text. We then generate QA pairs based on the identified sentence subset and train the model on the selected sentences to obtain the final model. Empirical results on several benchmark datasets and theoretical analysis show that MinPrompt is able to achieve comparable or better results than baselines with a high degree of efficiency, bringing consistent improvements in F-1 scores.

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

↑