Self-prompting Large Language Models For Zero-shot Open-domain QA · The Large Language Model Bible Contribute to LLM-Bible

Self-prompting Large Language Models For Zero-shot Open-domain QA

Junlong Li, Jinyuan Wang, Zhuosheng Zhang, Hai Zhao. Arxiv 2022

[Paper] [Code]    
Applications GPT Has Code In Context Learning Interpretability And Explainability Model Architecture Prompting Tools Training Techniques

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.

Similar Work