EMNLP 2023short main0 citations

Query2doc: Query Expansion with Large Language Models

Liang Wang, Nan Yang, Furu Wei

Abstract

This paper introduces a simple yet effective query expansion approach, denoted as query2doc, to improve both sparse and dense retrieval systems. The proposed method first generates pseudo-documents by few-shot prompting large language models (LLMs), and then expands the query with generated pseudo documents. LLMs are trained on web-scale text corpora and are adept at knowledge memorization. The pseudo-documents from LLMs often contain highly relevant information that can aid in query disambiguation and guide the retrievers. Experimental results demonstrate that query2doc boosts the performance of BM25 by 3% to 15% on ad-hoc IR datasets, such as MS-MARCO and TREC DL, without any model fine-tuning. Furthermore, our method also benefits state-of-the-art dense retrievers in terms of both in-domain and out-of-domain results.

query expansionlarge language modelsinformation retrieval
BibTeX
@inproceedings{
wang2023querydoc,
title={Query2doc: Query Expansion with Large Language Models},
author={Liang Wang and Nan Yang and Furu Wei},
booktitle={The 2023 Conference on Empirical Methods in Natural Language Processing},
year={2023},
url={https://openreview.net/forum?id=QH4EMvwF8I}
}