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.
Introduction
Standard Retrieval-Augmented Generation (RAG) systems typically follow a linear "retrieve-then-read" pipeline. While effective for simple fact retrieval, these systems often struggle with multi-hop questions—queries that require connecting multiple disparate pieces of information to reach a conclusion. To overcome this, researchers have explored scaling RAG in two dimensions: sequential depth (iterative refinement) and parallel width (broad coverage).
However, "naive" scaling often hits a performance ceiling. Adding more reasoning steps can lead to context contamination, where noise from irrelevant documents overwhelms the model's attention. Furthermore, redundant parallel branches often retrieve the same information, leading to scaling inefficiency. SPARC-RAG addresses these challenges by treating scaling as a joint optimization problem managed by a specialized multi-agent architecture.
The SPARC-RAG Framework
SPARC-RAG is a multi-agent framework designed to dynamically balance reasoning depth and exploration width. The system is orchestrated by three specialized agents that interact through a unified context management mechanism:
- Query Rewriter: Instead of simple paraphrasing, this agent generates complementary sub-queries in a single pass. This ensures that parallel branches explore orthogonal directions, maximizing information coverage while minimizing redundancy.
- Answer Evaluator: This agent acts as a gatekeeper, analyzing the current evidence to decide whether to
STOP(if the answer is sufficient) orCONTINUE(if further reasoning is required). - Context Manager: Serving as the system's central memory, the Context Manager selectively integrates relevant information from parallel branches while filtering out noise. This prevents context bloat and ensures the model stays focused on pertinent evidence.
Scaling-Oriented Fine-Tuning
To optimize the behavior of these agents, the researchers introduced a lightweight fine-tuning strategy using Direct Preference Optimization (DPO). A key innovation is the use of a weighted loss function that penalizes "wrong stops" (exiting early with an incorrect answer) more heavily than "wrong continues." This asymmetric weighting teaches the model to be conservative and thorough on complex questions while remaining highly efficient on simpler ones. This calibration is crucial for maintaining accuracy without ballooning inference costs.
Experimental Evaluation and Results
The framework was evaluated across a variety of single-hop (Natural Questions) and challenging multi-hop benchmarks (HotpotQA, 2WikiMultiHopQA, Bamboogle, and MuSiQue). The agents were instantiated using Qwen2.5-7B and Qwen3-32B backbones.
SPARC-RAG consistently outperformed state-of-the-art baselines like DeepNote and Self-RAG. On the complex MuSiQue dataset, which requires 2–4 reasoning hops, SPARC-RAG achieved a 24.3 F1 score compared to DeepNote's 19.8. Beyond accuracy, the system demonstrated massive efficiency gains. After fine-tuning, the 7B model achieved better accuracy than its untuned counterpart while using approximately 60% fewer tokens. For the 32B model, the gains were even more dramatic, with token costs reduced by up to 90% through accurate early stopping.
Key Insights
- Orthogonality over Redundancy: Parallel scaling is only effective if branches find different information. The Query Rewriter is specifically trained to minimize overlap between retrieved document sets.
- Context Management as a Filter: Rather than simple concatenation, the Context Manager "compresses" the reasoning state. This keeps the prompt within the model's effective attention range, avoiding the performance degradation often seen in long-context RAG.
- The Moderate Sweet Spot: The researchers found that extreme scaling often yields diminishing returns. A configuration of $W=2$ (two parallel branches) typically provided the optimal balance of accuracy and computational cost.
Conclusion
SPARC-RAG demonstrates that smarter scaling, rather than just larger scaling, is the key to solving complex multi-hop reasoning tasks in RAG. By coordinating sequential and parallel paths through a unified context manager and optimizing agent behavior via weighted DPO, the framework achieves significant accuracy improvements while simultaneously slashing inference costs. While the multi-agent loop introduces some wall-clock latency, the gains in token efficiency and grounding accuracy make it a powerful solution for high-stakes information retrieval tasks.
Summary updated