paper-with-me

홈 › Papers

Context Aware Query Rewriting for Text Rankers using LLM

2023-08-31 · Abhijit Anand, Venktesh V, Vinay Setty, Avishek Anand

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.

📄 PDF Abstract BibTeX arXiv:2308.16753

Code (0)

등록된 구현이 없습니다.

Tasks

Document RankingPassage Ranking

Methods 이 논문이 사용한 방법론

AWARE We propose to theoretically and empirically examine the effect of incorporating weighting schemes into walk-aggregating GNNs. To this end, we propose a simple, interpretable, and…

Similar Papers 제목 키워드 기반

Context-Aware Query Rewriting for Improving Users' Search Experience on E-commerce Websites

2022-01-16 · ACL ARR January 2022 1 · Anonymous

E-commerce queries are often short and ambiguous. E-commerce query understanding often uses query rewriting to disambiguate user-input queries. While using e-commerce search tools, users tend to enter multiple searches, …

Graph Attention

Context-Aware Query Rewriting for Improving Users' Search Experience on E-commerce Websites

2022-09-15 · Simiao Zuo, Qingyu Yin, Haoming Jiang, Shaohui Xi 외

E-commerce queries are often short and ambiguous. Consequently, query understanding often uses query rewriting to disambiguate user-input queries. While using e-commerce search tools, users tend to enter multiple searche…

Graph Attention

Context-Aware Sentence/Passage Term Importance Estimation For First Stage Retrieval

2019-10-23 · Zhuyun Dai, Jamie Callan

Term frequency is a common method for identifying the importance of a term in a query or document. But it is a weak signal, especially when the frequency distribution is flat, such as in long queries or short documents w…

Passage RetrievalRetrievalSentence

E3-Rewrite: Learning to Rewrite SQL for Executability, Equivalence,and Efficiency

2025-08-12 · Dongjie Xu, Yue Cui, Weijie Shi, Qingzhi Ma 외 arxiv

SQL query rewriting aims to reformulate a query into a more efficient form while preserving equivalence. Most existing methods rely on predefined rewrite rules. However, such rule-based approaches face fundamental limita…

Reinforcement Learning

MLR: A Two-stage Conversational Query Rewriting Model with Multi-task Learning

2020-04-13 · Shuangyong Song, Chao Wang, Qianqian Xie, Xinxing Zu 외

Conversational context understanding aims to recognize the real intention of user from the conversation history, which is critical for building the dialogue system. However, the multi-turn conversation understanding in o…

Multi-Task Learning