AI
StateRAG: Controlled State Tracking Improves Multi-Step Information Retrieval
A new framework uses validated state contracts to manage complex retrieval-augmented generation workflows, showing significant gains over existing methods.
Multi-step retrieval-augmented generation (RAG) systems face a persistent challenge: tracking what information has been gathered, what gaps remain, and how the overall search plan is evolving. Existing approaches either lose this state information in free-form conversation histories or fail to properly validate state updates, leading to inconsistencies.
The Problem with Current Approaches#
When RAG systems operate without explicit state management, each retrieval step must independently reconstruct what's been done so far from prior context—an inefficient and error-prone process. Conversely, systems that do track state explicitly often lack safeguards against conflicting or invalid updates, allowing the system to inadvertently overwrite useful information or diverge from its original plan.
How StateRAG Works#
The new StateRAG framework addresses these issues by orchestrating four specialized roles through a validated state system:
- Planner: proposes updates to the retrieval strategy
- Navigator: modifies the overall retrieval trajectory
- Retriever: fetches relevant evidence
- Verifier: assesses whether the information gathered is sufficient
Each proposed update spans four state fields: the current plan, the retrieval trace, collected evidence, and sufficiency assessment. A dedicated controller acts as a gatekeeper, checking every proposal against the accepted state before applying it. Rejected updates can be revised within the query budget, ensuring consistency across the entire workflow. Only once all updates are validated does the final Reader extract an answer strictly from the confirmed evidence.
Performance Gains#
Testing on LongBench and related benchmarks shows StateRAG delivering measurable improvements. It outperforms free-form trajectory baselines by 7.7 Macro F1 points and unverified explicit-state methods by 4.1 points. The approach consistently transfers to document QA and passage retrieval tasks, and exceeds leading external baselines by 5.3 points on LongBench, 5.0 on QASPER, and 4.3 on DocVQA.

