SPARC-RAG: Adaptive Sequential-Parallel Scaling with Context Management for Retrieval-Augmented Generation
Yuxin Yang, Gangda Deng, Ömer Faruk Akgül, Nima Chitsazan, Yash Govilkar, Akasha Tigalappanavara, Shi-Xiong Zhang, Sambit Sahu, Viktor Prasanna
TL;DR
This work tackles the inefficiencies and noise that arise when scaling retrieval-augmented generation for multi-hop QA by introducing SPARC-RAG, a multi-agent framework that jointly adapts sequential depth and parallel width under a unified context-management mechanism. It deploys three specialized agents—Query Rewriter, Context Manager, and Answer Evaluator—alongside retrieval and generation components to orchestrate dynamic, memory-aware expansion across branches and rounds. A lightweight, scaling-oriented fine-tuning regime with process-level preference pairs, including a weighted DPO loss, further improves stopping decisions and encourages complementary parallel exploration. Empirical results show that joint depth-width scaling yields superior accuracy-cost trade-offs on single- and multi-hop QA benchmarks, with fine-tuning delivering additional gains in efficiency and robustness. The approach demonstrates that explicit context management and adaptive inference-time scaling can substantially enhance performance for knowledge-intensive tasks while controlling resource usage.
Abstract
Retrieval-Augmented Generation (RAG) grounds large language model outputs in external evidence, but remains challenged on multi-hop question answering that requires long reasoning. Recent works scale RAG at inference time along two complementary dimensions: sequential depth for iterative refinement and parallel width for coverage expansion. However, naive scaling causes context contamination and scaling inefficiency, leading to diminishing or negative returns despite increased computation. To address these limitations, we propose SPARC-RAG, a multi-agent framework that coordinates sequential and parallel inference-time scaling under a unified context management mechanism. SPARC-RAG employs specialized agents that maintain a shared global context and provide explicit control over the scaling process. It generates targeted, complementary sub-queries for each branch to enable diverse parallel exploration, and explicitly regulates exiting decisions based on answer correctness and evidence grounding. To optimize scaling behavior, we further introduce a lightweight fine-tuning method with process-level verifiable preferences, which improves the efficiency of sequential scaling and effectiveness of parallel scaling. Across single- and multi-hop QA benchmarks, SPARC-RAG consistently outperforms previous RAG baselines, yielding an average +6.2 F1 improvement under lower inference cost.
