Self-Prompting Large Language Models for Zero-Shot Open-Domain QA

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Li, Junlong, Wang, Jinyuan, Zhang, Zhuosheng, Zhao, Hai
Format: Preprint
Publié: 2022
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929292679577600
author Li, Junlong
Wang, Jinyuan
Zhang, Zhuosheng
Zhao, Hai
author_facet Li, Junlong
Wang, Jinyuan
Zhang, Zhuosheng
Zhao, Hai
contents Open-Domain Question Answering (ODQA) aims to answer questions without explicitly providing specific background documents. This task becomes notably challenging in a zero-shot setting where no data is available to train tailored retrieval-reader models. While recent Large Language Models (LLMs) like GPT-3 have demonstrated their effectiveness in zero-shot ODQA using direct prompting methods, these methods still fall short of fully harnessing the potential of LLMs when implicitly invoked. In this paper, we propose a Self-Prompting framework to explicitly utilize the massive knowledge encoded in the parameters of LLMs and their strong instruction understanding abilities. Concretely, we prompt LLMs step by step to generate multiple pseudo QA pairs with background passages and explanations entirely from scratch. These generated elements are then utilized for in-context learning. Experimental results show that our method significantly surpasses previous state-of-the-art zero-shot methods on three widely-used ODQA datasets and even achieves comparable performance with various customized fine-tuned models on full training data. Our code is available at https://github.com/lockon-n/self-prompting.
format Preprint
id arxiv_https___arxiv_org_abs_2212_08635
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Self-Prompting Large Language Models for Zero-Shot Open-Domain QA
Li, Junlong
Wang, Jinyuan
Zhang, Zhuosheng
Zhao, Hai
Computation and Language
Artificial Intelligence
Open-Domain Question Answering (ODQA) aims to answer questions without explicitly providing specific background documents. This task becomes notably challenging in a zero-shot setting where no data is available to train tailored retrieval-reader models. While recent Large Language Models (LLMs) like GPT-3 have demonstrated their effectiveness in zero-shot ODQA using direct prompting methods, these methods still fall short of fully harnessing the potential of LLMs when implicitly invoked. In this paper, we propose a Self-Prompting framework to explicitly utilize the massive knowledge encoded in the parameters of LLMs and their strong instruction understanding abilities. Concretely, we prompt LLMs step by step to generate multiple pseudo QA pairs with background passages and explanations entirely from scratch. These generated elements are then utilized for in-context learning. Experimental results show that our method significantly surpasses previous state-of-the-art zero-shot methods on three widely-used ODQA datasets and even achieves comparable performance with various customized fine-tuned models on full training data. Our code is available at https://github.com/lockon-n/self-prompting.
title Self-Prompting Large Language Models for Zero-Shot Open-Domain QA
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2212.08635