[Paper Review] Ask Optimal Questions: Aligning Large Language Models with Retriever's Preference in Conversation
This paper proposes RetPO, a framework that optimizes large language models (LLMs) to generate query rewrites aligned with retriever preferences in conversational search. By prompting a large LLM to generate multiple rewrites, collecting retrieval performance feedback to form a large-scale dataset (RF Collection), and fine-tuning a smaller LLM using preference-based optimization, RetPO achieves state-of-the-art performance on QReCC and TopiOCQA, outperforming even GPT-4.
Conversational search, unlike single-turn retrieval tasks, requires understanding the current question within a dialogue context. The common approach of rewrite-then-retrieve aims to decontextualize questions to be self-sufficient for off-the-shelf retrievers, but most existing methods produce sub-optimal query rewrites due to the limited ability to incorporate signals from the retrieval results. To overcome this limitation, we present a novel framework RetPO (Retriever's Preference Optimization), which is designed to optimize a language model (LM) for reformulating search queries in line with the preferences of the target retrieval systems. The process begins by prompting a large LM to produce various potential rewrites and then collects retrieval performance for these rewrites as the retrievers' preferences. Through the process, we construct a large-scale dataset called RF collection, containing Retrievers' Feedback on over 410K query rewrites across 12K conversations. Furthermore, we fine-tune a smaller LM on this dataset to align it with the retrievers' feedback. Our resulting model demonstrates superiority on two benchmarks, surpassing the previous state-of-the-art performance of rewrite-then-retrieve approaches.
Motivation & Objective
- To address the suboptimal performance of existing query rewriting methods in conversational search, which often fail to consider retrieval system preferences.
- To define and explore the concept of 'optimal query' in conversational search, where rewrites are tailored to maximize retrieval effectiveness.
- To construct a large-scale dataset of retriever feedback on query rewrites to enable preference-driven model optimization.
- To fine-tune an open-source LLM (Llama2-7b) using feedback from retrieval performance, improving its ability to generate effective rewrites.
- To demonstrate that retriever-preference-aligned rewrites outperform both human-crafted and standard LLM-generated rewrites in retrieval performance.
Proposed method
- Use a large language model (GPT-4) to generate multiple candidate query rewrites for each conversational turn using diverse prompting strategies.
- Collect retrieval performance (e.g., MRR, Recall@10) for each rewrite using the target retriever system, treating this as 'retriever feedback'.
- Construct the RF Collection dataset, comprising over 410K query rewrites across 12,000 conversations, with explicit feedback on retrieval effectiveness.
- Formulate preference pairs from the RF Collection: for each rewrite, identify a preferred and a less preferred version based on retrieval scores.
- Fine-tune a smaller LLM (Llama2-7b) using a preference optimization objective (e.g., DPO) to generate rewrites that align with the retriever’s preferences.
- Use the resulting model in inference to generate context-aware, retrieval-optimized query rewrites in conversational search.
Experimental results
Research questions
- RQ1Can query rewrites be systematically optimized based on actual retrieval system feedback rather than human judgment?
- RQ2How does feedback-driven optimization from a retriever improve retrieval performance in conversational search compared to human-annotated or standard LLM rewrites?
- RQ3To what extent can a smaller, open-source LLM be fine-tuned to outperform larger teacher models like GPT-4 in query rewriting for retrieval?
- RQ4What characteristics define an 'optimal' query rewrite in conversational search, and how do they differ from human-crafted rewrites?
- RQ5Can a preference-based framework like RetPO generalize beyond the current benchmarks and be applied to other retrieval or dialogue tasks?
Key findings
- The RetPO framework achieves state-of-the-art performance on the QReCC benchmark, improving MRR by 11.8 and Recall@10 by 19.0 over BM25.
- The fine-tuned Llama2-7b model outperforms GPT-4 in query rewriting for retrieval, demonstrating the effectiveness of feedback-driven alignment.
- RetPO-generated rewrites are rated as more informative and clearer than human-crafted rewrites in GPT-4 evaluation, despite being longer.
- The RF Collection dataset contains over 410,000 query rewrites with retriever feedback, forming the largest known collection of its kind for conversational search.
- The method produces more specific and detailed rewrites than human rewrites, which contributes to higher retrieval performance.
- The framework is effective across two major benchmarks—QReCC and TopiOCQA—demonstrating broad applicability and robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.