Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Query Expansion by Prompting Large Language Models

About

Query expansion is a widely used technique to improve the recall of search systems. In this paper, we propose an approach to query expansion that leverages the generative abilities of Large Language Models (LLMs). Unlike traditional query expansion approaches such as Pseudo-Relevance Feedback (PRF) that relies on retrieving a good set of pseudo-relevant documents to expand queries, we rely on the generative and creative abilities of an LLM and leverage the knowledge inherent in the model. We study a variety of different prompts, including zero-shot, few-shot and Chain-of-Thought (CoT). We find that CoT prompts are especially useful for query expansion as these prompts instruct the model to break queries down step-by-step and can provide a large number of terms related to the original query. Experimental results on MS-MARCO and BEIR demonstrate that query expansions generated by LLMs can be more powerful than traditional query expansion methods.

Rolf Jagerman, Honglei Zhuang, Zhen Qin, Xuanhui Wang, Michael Bendersky• 2023

Related benchmarks

TaskDatasetResultRank
Information RetrievalBEIR v1.0.0 (test)--
55
Tool CallingAPI-Bank L-1--
46
Question AnsweringNaturalQA
EM37.17
26
Tool CallingAPI-Bank L-2--
25
Question AnsweringWebQA
EM26.18
23
Tool RetrievalTOOLRET Zero-Shot Web*
nDCG@1031
15
Tool RetrievalTOOLRET Zero-Shot Code
nDCG@1026.8
15
Tool RetrievalTOOLRET Zero-Shot Macro-Avg
nDCG@1032
15
Tool RetrievalTOOLRET Zero-Shot Custom
nDCG@1038.7
15
Tool RetrievalTOOLRET In-Domain (Avg)
nDCG@1045
15
Showing 10 of 18 rows

Other info

Follow for update