Context Aware Query Rewriting for Text Rankers using LLM
Not on the map. Why?
Abstract (arXiv)
Query rewriting refers to an established family of approaches that are applied to underspecified and ambiguous queries to overcome the vocabulary mismatch problem in document ranking. Queries are typically rewritten during query processing time for better query modelling for the downstream ranker. With the advent of large-language models (LLMs), there have been initial investigations into using generative approaches to generate pseudo documents to tackle this inherent vocabulary gap. In this work, we analyze the utility of LLMs for improved query rewriting for text ranking tasks. We find that there are two inherent limitations of using LLMs as query re-writers -- concept drift when using only queries as prompts and large inference costs during query processing. We adopt a simple, yet surprisingly effective, approach called context aware query rewriting (CAR) to leverage the benefits of LLMs for query understanding. Firstly, we rewrite ambiguous training queries by context-aware prompting of LLMs, where we use only relevant documents as context.Unlike existing approaches, we use LLM-based query rewriting only during the training phase. Eventually, a ranker is fine-tuned on the rewritten queries instead of the original queries during training. In our extensive experiments, we find that fine-tuning a ranker using re-written queries offers a significant improvement of up to 33% on the passage ranking task and up to 28% on the document ranking task when compared to the baseline performance of using original queries.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 37 of its 59 references that are in the map. First posted on arXiv 31 Aug 2023.
Builds on
37 of 59 references.
References · 37
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2022A Survey on In-context Learningcited by 717
- 2019Passage Re-ranking with BERTcited by 629
- 2022Precise Zero-Shot Dense Retrieval without Relevance Labelscited by 508
- 2023Larger language models do in-context learning differentlycited by 386
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
25 more
- 2021An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQAcited by 298
- 2022Generate rather than Retrieve: Large Language Models are Strong Context Generatorscited by 296
- 2022Prompting GPT-3 To Be Reliablecited by 258
- 2022Transformer Memory as a Differentiable Search Indexcited by 242
- 2022Promptagator: Few-shot Dense Retrieval From 8 Examplescited by 233
- 2019Document Expansion by Query Predictioncited by 225
- 2023Query Rewriting for Retrieval-Augmented Large Language Modelscited by 211
- 2023Query2doc: Query Expansion with Large Language Modelscited by 146
- 2022Autoregressive Search Engines: Generating Substrings as Document Identifierscited by 112
- 2019Deeper Text Understanding for IR with Contextual Neural Language Modelingcited by 111
- 2018Learning to Ask Good Questions: Ranking Clarification Questions using Neural Expected Value of Perfect Informationcited by 110
- 2022Task-aware Retrieval with Instructionscited by 107
- 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
- 2022InPars: Data Augmentation for Information Retrieval using Large Language Modelscited by 60
- 2023Query Expansion by Prompting Large Language Modelscited by 56
- 2023Generative Query Reformulation for Effective Adhoc Searchcited by 24
- 2023Doc2Query--: When Less is Morecited by 20
- 2021Rethinking Search: Making Domain Experts out of Dilettantescited by 18
- 2017Relevance-based Word Embeddingcited by 12
- 2019Identifying Unclear Questions in Community Question Answering Websitescited by 12
- 2020Deep Reinforced Query Reformulation for Information Retrievalcited by 10
- 2021Extractive Explanations for Interpretable Text Rankingcited by 9
- 2023Leveraging Summary Guidance on Medical Report Summarizationcited by 8
- 2022Context-Aware Query Rewriting for Improving Users' Search Experience on E-commerce Websitescited by 3
- 2020Brown University at TREC Deep Learning 2019cited by 1
Built on by
Citing papers per year: 2023: 1; 2024: 7; 2025: 6.
14 papers.
Sort:
By area:
- 2023System 2 Attention (is something you might need too)cited by 85
- 2024Re-Invoke: Tool Invocation Rewriting for Zero-Shot Tool Retrievalcited by 50
- 2024On the Multi-turn Instruction Following for Conversational Web Agentscited by 42
- 2025HM-RAG: Hierarchical Multi-Agent Multimodal Retrieval Augmented Generationcited by 31
- 2024EVOR: Evolving Retrieval for Code Generationcited by 22
- 2025SPAR: Scholar Paper Retrieval with LLM-based Agents for Enhanced Academic Searchcited by 7
- 2025Disambiguation in Conversational Question Answering in the Era of LLMs and Agents: A Surveycited by 6
- 2024A Reality check of the benefits of LLM in businesscited by 5
- 2024Broadening Access to Simulations for End-Users via Large Language Models: Challenges and Opportunitiescited by 4
- 2025Beyond Contrastive Learning: Synthetic Data Enables List-wise Training with Multiple Levels of Relevancecited by 4
- 2024KaPQA: Knowledge-Augmented Product Question-Answeringcited by 2
- 2025Exploring Rewriting Approaches for Different Conversational Taskscited by 1
- 2025PaperRegister: Boosting Flexible-grained Paper Search via Hierarchical Register Indexing14 Aug 2025
- 2025SPAR: Scholar Paper Retrieval with LLM-based Agents for Enhanced Academic Search21 Jul 2025
- 2025Disambiguation in Conversational Question Answering in the Era of LLMs and Agents: A Survey18 May 2025
- 2025HM-RAG: Hierarchical Multi-Agent Multimodal Retrieval Augmented Generation13 Apr 2025
- 2025Beyond Contrastive Learning: Synthetic Data Enables List-wise Training with Multiple Levels of Relevance29 Mar 2025
- 2025Exploring Rewriting Approaches for Different Conversational Tasks26 Feb 2025
- 2024Broadening Access to Simulations for End-Users via Large Language Models: Challenges and Opportunities3 Sep 2024
- 2024Understanding the User: An Intent-Based Ranking Dataset30 Aug 2024
- 2024Re-Invoke: Tool Invocation Rewriting for Zero-Shot Tool Retrieval3 Aug 2024
- 2024KaPQA: Knowledge-Augmented Product Question-Answering22 Jul 2024
- 2024A Reality check of the benefits of LLM in business9 Jun 2024
- 2024On the Multi-turn Instruction Following for Conversational Web Agents23 Feb 2024
2 more
- 2024EVOR: Evolving Retrieval for Code Generation19 Feb 2024
- 2023System 2 Attention (is something you might need too)20 Nov 2023
- 2025HM-RAG: Hierarchical Multi-Agent Multimodal Retrieval Augmented Generationcited by 31
- 2024EVOR: Evolving Retrieval for Code Generationcited by 22
- 2025HM-RAG: Hierarchical Multi-Agent Multimodal Retrieval Augmented Generation13 Apr 2025
- 2024EVOR: Evolving Retrieval for Code Generation19 Feb 2024
- 2023System 2 Attention (is something you might need too)cited by 85
- 2024Re-Invoke: Tool Invocation Rewriting for Zero-Shot Tool Retrievalcited by 50
- 2024A Reality check of the benefits of LLM in businesscited by 5
- 2024Broadening Access to Simulations for End-Users via Large Language Models: Challenges and Opportunitiescited by 4
- 2024KaPQA: Knowledge-Augmented Product Question-Answeringcited by 2
- 2025Exploring Rewriting Approaches for Different Conversational Taskscited by 1
- 2025PaperRegister: Boosting Flexible-grained Paper Search via Hierarchical Register Indexingcited by 1
- 2024Understanding the User: An Intent-Based Ranking Datasetcited by 0
- 2025PaperRegister: Boosting Flexible-grained Paper Search via Hierarchical Register Indexing14 Aug 2025
- 2025Exploring Rewriting Approaches for Different Conversational Tasks26 Feb 2025
- 2024Broadening Access to Simulations for End-Users via Large Language Models: Challenges and Opportunities3 Sep 2024
- 2024Understanding the User: An Intent-Based Ranking Dataset30 Aug 2024
- 2024Re-Invoke: Tool Invocation Rewriting for Zero-Shot Tool Retrieval3 Aug 2024
- 2024KaPQA: Knowledge-Augmented Product Question-Answering22 Jul 2024
- 2024A Reality check of the benefits of LLM in business9 Jun 2024
- 2023System 2 Attention (is something you might need too)20 Nov 2023