English

Query Expansion by Prompting Large Language Models

Information Retrieval 2023-05-08 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2305.03653,
  title  = {Query Expansion by Prompting Large Language Models},
  author = {Rolf Jagerman and Honglei Zhuang and Zhen Qin and Xuanhui Wang and Michael Bendersky},
  journal= {arXiv preprint arXiv:2305.03653},
  year   = {2023}
}

Comments

7 pages, 2 figures

R2 v1 2026-06-28T10:27:06.720Z