arXiv · 2504.21015
Don't Retrieve, Generate: Prompting LLMs for Synthetic Training Data in Dense Retrieval
Abstract
Training effective dense retrieval models typically relies on hard negative (HN) examples mined from large document corpora using methods such as BM25 or cross-encoders, which require full corpus access and expensive index construction. We propose generating synthetic hard negatives directly from a provided query and positive passage, using Large Language Models(LLMs). We fine-tune DistilBERT using synthetic negatives generated by four state-of-the-art LLMs ranging from 4B to 30B parameters (Qwen3, LLaMA3, Phi4) and evaluate performance across 10 BEIR benchmark datasets. Contrary to the prevailing assumption that stronger generative models yield better synthetic data, find that our generative pipeline consistently underperforms traditional corpus-based mining strategies (BM25 and Cross-Encoder). Furthermore, we observe that scaling the generator model does not monotonically improve retrieval performance and find that the 14B parameter model outperforms the 30B model and in some settings it is the worst performing.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Aarush Sinha. 2025-04-20. Don't Retrieve, Generate: Prompting LLMs for Synthetic Training Data in Dense Retrieval. https://arxiv.org/abs/2504.21015
Cite the original work for its findings. Save a collection to share your selection of sources.