arXiv:2610.10955cs.IROct 2026

Manuscript Offprint

arXiv:2610.10955

Learning Multi-Step Query Rewriting via Corpus Feedback for Conversational Search

João Coelho, Hong Wang, Jie Yuan, Zhuoer Wang, Samson Koelle, Wei Niu

João Coelho 1∗^{1*}, Hong Wang 2^{2}, Jie Yuan 2^{2}, Zhuoer Wang 2^{2}, Samson Koelle 2^{2}, and Wei Niu 2^{2}

1^{1} INESC-ID and Carnegie Mellon University

2^{2} Amazon

jmcoelho@andrew.cmu.edu

Abstract. Conversational Query Rewriting (CQR) turns a context dependent user turn into a standalone query for a retriever, and most methods do this in a single step from the dialogue history before retrieving once. The rewrite is therefore fixed before any corpus evidence is available to correct its reference resolution or its vocabulary. We recast CQR as a sequential retrieval problem: an agent rewrites the current turn, retrieves, and conditions its next rewrite on the returned passages. The agent acts in a typed space of three rewriting operations, resolving conversational intent into a standalone query, generating lexical reformulations, or synthesizing pseudo-documents for document-to-document matching, together with a stop action that ends the episode. We train the policy with supervised fine-tuning followed by reinforcement learning against a single retrieval-quality reward, using no human rewrite annotations. Across TopiOCQA and QReCC, the agent outperforms several retrieval-aligned baselines, while remaining effective across retrieval backends and generalizing to the CAsT benchmarks without additional training. Further analysis shows that, through retrieval-reward optimization alone, the learned policy develops a behavior of grounding pseudo-documents in passages retrieved by earlier steps, substantially improving retrieval.

Keywords: Query Rewriting · Retrieval Feedback · LLM Agents

1 Introduction

Conversational search systems must handle queries whose meaning depends on prior turns [36,57]. A question such as “when was it released?” cannot be resolved without the entities and topics established earlier in the conversation. Conversational Query Rewriting (CQR) transforms the current turn into a self-contained query that an existing retriever can process, and it is the standard interface between conversational systems and retrieval infrastructure [2,7,45,55].

Most CQR methods produce a single rewrite from the conversational history and issue it directly to the retriever. This includes both supervised rewriters trained on human annotations [25,45,55][25,45,55], and recent reinforcement learning

  • Work done while interning at Amazon.

Coelho et al.

methods that optimize rewriting from retrieval rewards. ConvSearch-R1 [61], for example, learns to rewrite using retrieval feedback but still makes a single rewriting decision before seeing any retrieved documents. Consequently, these methods cannot adapt the query to the language and entities used in the target corpus. Using retrieval results to inform a subsequent query is, however, a long-standing idea in information retrieval. Pseudo-relevance feedback methods use terms from top-ranked documents to expand the initial query for a subsequent retrieval [11,40,20]. This principle has also been applied to conversational search, where retrieved documents are used to expand or refine conversational queries [26,38]. Such approaches typically rely on predefined feedback mechanisms, fixing how information from retrieved documents is incorporated into the subsequent query rather than learning this process from retrieval outcomes.

Recent agentic search systems extend this iterative paradigm by alternating between search and reasoning until enough evidence is gathered to answer a question [15,44]. They are typically trained and evaluated for end-to-end question answering, where retrieval is an intermediate step. How a conversational query should be reformulated after observing retrieved evidence, and how successive retrievals can progressively refine it, remains comparatively unexplored.

In this work, we formulate conversational query rewriting as a sequential retrieval problem. An agent repeatedly reformulates the current turn, issues each reformulation to the retriever, and uses the returned passages as feedback for its next decision. It chooses among three typed rewriting operations: (i) resolving conversational intent into a self-contained query, (ii) generating lexical reformulations, and (iii) synthesizing pseudo-documents for document-to-document matching [9]; it can also issue a stop action that ends the episode. We train the policy with supervised fine-tuning followed by reinforcement learning, using retrieval quality as the only objective and no human rewrite annotations.

We first evaluate results in the standard in-domain setting, training and evaluating on TopiOCQA and QReCC with BM25, and comparing against existing retrieval-aligned CQR methods under the same setup. We then test generalization across retrieval backends, by replacing BM25 with a dense retriever at inference time. Finally, we test zero-shot transfer by evaluating the TopiOCQA and QReCC-trained models on TREC CAsT without further training. Across these settings, the multi-step agent improves over multiple baselines, with further analysis showing that retrieval-reward optimization alone leads the learned policy to progressively ground its reformulations in corpus evidence: it first resolves the query intent, optionally refines its lexical formulation, and finally generates pseudo-documents conditioned on passages retrieved by earlier steps.

References (61)