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

Xiusi Chen, Jyun-Yu Jiang, Wei-Cheng Chang, Cho-Jui Hsieh, Hsiang-Fu Yu +1 more
10/8/2023
cs.CL

No official code found. Best implementation: xiusic/MinPrompt (14 stars, Apache-2.0, last commit 2024-05-03).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

xiusic/MinPromptCommunity55%
Apache-2.0

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

141Shell, PythonMay 2, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{chen2023minprompt,
  title  = {MinPrompt: Graph-based Minimal Prompt Data Augmentation for Few-shot Question Answering},
  author = {Xiusi Chen and Jyun-Yu Jiang and Wei-Cheng Chang and Cho-Jui Hsieh and Hsiang-Fu Yu and Wei Wang},
  year   = {2023},
  eprint = {2310.05007},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.05007v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.05007.svg)](https://codeofpaper.com/paper/2310.05007)

Discussion