Large Language Models are Strong Zero-Shot Retriever
Tao Shen, Guodong Long, Xiubo Geng, Chongyang Tao, Tianyi Zhou, Daxin Jiang
TL;DR
LameR reframes zero-shot large-scale retrieval by using a frozen LLM to generate candidate-driven query augmentations while relying on a fast, non-parametric BM25 retriever. By prompting the LLM with top-M retrieved candidates, it elicits multiple plausible answers that guide the final retrieval through concatenation-based augmentation, preserving efficiency and transparency. Across MS-MARCO DL19/DL20 and BEIR benchmarks, LameR achieves strong zero-shot performance, often surpassing HyDE-based dense approaches and matching or exceeding supervised baselines in several tasks. The approach highlights the practical value of integrating in-domain demonstrations via retrieved candidates and confirms that lexicon-based retrieval can effectively leverage LLM outputs without heavy neural retrievers. Limitations include prompt sensitivity and LLM inference overhead, suggesting future work with smaller models or more robust prompting strategies.
Abstract
In this work, we propose a simple method that applies a large language model (LLM) to large-scale retrieval in zero-shot scenarios. Our method, the Language language model as Retriever (LameR), is built upon no other neural models but an LLM, while breaking brute-force combinations of retrievers with LLMs and lifting the performance of zero-shot retrieval to be very competitive on benchmark datasets. Essentially, we propose to augment a query with its potential answers by prompting LLMs with a composition of the query and the query's in-domain candidates. The candidates, regardless of correct or wrong, are obtained by a vanilla retrieval procedure on the target collection. As a part of the prompts, they are likely to help LLM generate more precise answers by pattern imitation or candidate summarization. Even if all the candidates are wrong, the prompts at least make LLM aware of in-collection patterns and genres. Moreover, due to the low performance of a self-supervised retriever, the LLM-based query augmentation becomes less effective as the retriever bottlenecks the whole pipeline. Therefore, we propose to leverage a non-parametric lexicon-based method (e.g., BM25) as the retrieval module to capture query-document overlap in a literal fashion. As such, LameR makes the retrieval procedure transparent to the LLM, thus circumventing the performance bottleneck.
