Query Decomposition for RAG: Balancing Exploration-Exploitation
Roxana Petcu, Kenton Murray, Daniel Khashabi, Evangelos Kanoulas, Maarten de Rijke, Dawn Lawrie, Kevin Duh
TL;DR
The paper reframes query decomposition for retrieval-augmented generation as an exploitation–exploration bandit problem, where each sub-query is an arm and retrieval is performed under a fixed budget. It introduces rank-aware Bernoulli rewards, diversity considerations, and Thompson sampling, and extends to hierarchical, correlated MAB to exploit informative sub-queries. Across NeuCLIR and ResearchyQuestions, the approach yields consistent gains in document-level precision and alpha-nDCG, and improves downstream long-form generation with Auto-ARGUE, especially at small budgets. The work demonstrates that principled budgeted retrieval with sub-query hierarchy enhances grounding and reduces noise, offering practical guidance for efficient RAG systems. Future work could explore contextual and deeper hierarchical correlations and joint optimization of retrieval and generation objectives.
Abstract
Retrieval-augmented generation (RAG) systems address complex user requests by decomposing them into subqueries, retrieving potentially relevant documents for each, and then aggregating them to generate an answer. Efficiently selecting informative documents requires balancing a key trade-off: (i) retrieving broadly enough to capture all the relevant material, and (ii) limiting retrieval to avoid excessive noise and computational cost. We formulate query decomposition and document retrieval in an exploitation-exploration setting, where retrieving one document at a time builds a belief about the utility of a given sub-query and informs the decision to continue exploiting or exploring an alternative. We experiment with a variety of bandit learning methods and demonstrate their effectiveness in dynamically selecting the most informative sub-queries. Our main finding is that estimating document relevance using rank information and human judgments yields a 35% gain in document-level precision, 15% increase in α-nDCG, and better performance on the downstream task of long-form generation.
