PromptReps: Prompting Large Language Models to Generate Dense and Sparse Representations for Zero-Shot Document Retrieval
Shengyao Zhuang, Xueguang Ma, Bevan Koopman, Jimmy Lin, Guido Zuccon

TL;DR
PromptReps leverages large language models with prompts to generate both dense and sparse representations for zero-shot document retrieval, achieving high effectiveness without training.
Contribution
It introduces a prompt-based method combining dense and sparse representations for zero-shot retrieval, avoiding training and enabling full-corpus retrieval.
Findings
Achieves comparable or better retrieval effectiveness than trained LLM embedding methods.
Works well across multiple zero-shot datasets like MSMARCO and TREC.
Utilizes a hybrid approach with dense embeddings and sparse bag-of-words representations.
Abstract
Utilizing large language models (LLMs) for zero-shot document ranking is done in one of two ways: (1) prompt-based re-ranking methods, which require no further training but are only feasible for re-ranking a handful of candidate documents due to computational costs; and (2) unsupervised contrastive trained dense retrieval methods, which can retrieve relevant documents from the entire corpus but require a large amount of paired text data for contrastive training. In this paper, we propose PromptReps, which combines the advantages of both categories: no need for training and the ability to retrieve from the whole corpus. Our method only requires prompts to guide an LLM to generate query and document representations for effective document retrieval. Specifically, we prompt the LLMs to represent a given text using a single word, and then use the last token's hidden states and the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Handwritten Text Recognition Techniques
