mlsanityData to 7 Oct 2026

Context Aware Query Rewriting for Text Rankers using LLM

arXiv 2308.16753 ↗First posted 31 Aug 2023cs.IR cs.AIcited by 14

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  4. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
  5. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  6. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
  7. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  8. 2022A Survey on In-context Learningcited by 717
  9. 2019Passage Re-ranking with BERTcited by 629
  10. 2022Precise Zero-Shot Dense Retrieval without Relevance Labelscited by 508
  11. 2023Larger language models do in-context learning differentlycited by 386
  12. 2023Large Language Models for Information Retrieval: A Surveycited by 331
25 more
  1. 2021An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQAcited by 298
  2. 2022Generate rather than Retrieve: Large Language Models are Strong Context Generatorscited by 296
  3. 2022Prompting GPT-3 To Be Reliablecited by 258
  4. 2022Transformer Memory as a Differentiable Search Indexcited by 242
  5. 2022Promptagator: Few-shot Dense Retrieval From 8 Examplescited by 233
  6. 2019Document Expansion by Query Predictioncited by 225
  7. 2023Query Rewriting for Retrieval-Augmented Large Language Modelscited by 211
  8. 2023Query2doc: Query Expansion with Large Language Modelscited by 146
  9. 2022Autoregressive Search Engines: Generating Substrings as Document Identifierscited by 112
  10. 2019Deeper Text Understanding for IR with Contextual Neural Language Modelingcited by 111
  11. 2018Learning to Ask Good Questions: Ranking Clarification Questions using Neural Expected Value of Perfect Informationcited by 110
  12. 2022Task-aware Retrieval with Instructionscited by 107
  13. 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
  14. 2022InPars: Data Augmentation for Information Retrieval using Large Language Modelscited by 60
  15. 2023Query Expansion by Prompting Large Language Modelscited by 56
  16. 2023Generative Query Reformulation for Effective Adhoc Searchcited by 24
  17. 2023Doc2Query--: When Less is Morecited by 20
  18. 2021Rethinking Search: Making Domain Experts out of Dilettantescited by 18
  19. 2017Relevance-based Word Embeddingcited by 12
  20. 2019Identifying Unclear Questions in Community Question Answering Websitescited by 12
  21. 2020Deep Reinforced Query Reformulation for Information Retrievalcited by 10
  22. 2021Extractive Explanations for Interpretable Text Rankingcited by 9
  23. 2023Leveraging Summary Guidance on Medical Report Summarizationcited by 8
  24. 2022Context-Aware Query Rewriting for Improving Users' Search Experience on E-commerce Websitescited by 3
  25. 2020Brown University at TREC Deep Learning 2019cited by 1

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 7; 2025: 6.

14 papers.

Sort:

By area: