Large Language Models Know Your Contextual Search Intent: A Prompting Framework for Conversational Search

Kelong Mao,Zhicheng Dou,Haonan Chen,Fengran Mo,Hongjin Qian
DOI: https://doi.org/10.48550/arXiv.2303.06573
2023-03-12
Information Retrieval
Abstract:In this paper, we present a prompting framework called LLMCS that leverages large language models, such as code-davinci-002 of GPT-3, to perform few-shot conversational query rewriting for conversational search. We explore three prompting methods to generate multiple query rewrites and hypothetical responses, and propose aggregating them into an integrated representation that can robustly represent the user's real contextual search intent. Experimental results on two conversational search datasets, including CAst-19 and CAsT-20, show that our approach achieves significant improvements in search effectiveness over existing baselines and manual rewrites. Notably, LLMCS can significantly outperform the state-of-the-art baselines by up to +5.9\% and +32.9\% w.r.t. NDCG@3 on CAsT-19 and CAsT-20, highlighting the vast potential of large language models for conversational search. Our code will be released at https://github.com/kyriemao/LLMCS.
What problem does this paper attempt to address?