Not All Queries Need Rewriting: When Prompt-Only LLM Refinement Helps and Hurts Dense Retrieval
Varun Kotte

TL;DR
This study systematically evaluates prompt-only LLM query rewriting in dense retrieval, revealing it can both improve and degrade performance depending on domain-specific lexical alignment and suggesting domain-adaptive strategies as safer alternatives.
Contribution
It provides the first comprehensive empirical analysis of prompt-only LLM rewriting effects on dense retrieval across multiple benchmarks and retrievers, highlighting domain-dependent behaviors.
Findings
Rewriting degrades nDCG@10 by 9.0% on FiQA
Rewriting improves nDCG@10 by 5.1% on TREC-COVID
Rewriting has no significant effect on SciFact
Abstract
Prompt-only, single-step LLM query rewriting, where a rewrite is generated from the query alone without retrieval feedback, is commonly used in production RAG pipelines, but its effect on dense retrieval is poorly understood. We present a systematic empirical study across three BEIR benchmarks, two dense retrievers, and multiple training configurations, and find strongly domain-dependent behavior: rewriting degrades nDCG@10 by 9.0 percent on FiQA, improves it by 5.1 percent on TREC-COVID, and has no significant effect on SciFact. We identify a consistent mechanism: degradations co-occur with reduced lexical alignment between rewritten queries and relevant documents, as rewriting replaces domain-specific terms in already well-matched queries. In contrast, improvements arise when rewriting shifts queries toward corpus-preferred terminology and resolves inconsistent nomenclature. Lexical…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsInformation Retrieval and Search Behavior · Biomedical Text Mining and Ontologies · Natural Language Processing Techniques
