TL;DR
Traditional Retrieval-Augmented Generation (RAG) frameworks rely on rigid, predefined pipelines that fail to leverage the dynamic reasoning capabilities of modern LLMs. A-RAG (Agentic RAG) solves this by exposing a hierarchical suite of retrieval tools—keyword search, semantic search, and chunk reading—directly to the model. This allows the LLM to autonomously manage its own retrieval strategy, achieving state-of-the-art accuracy on multi-hop QA while significantly reducing token overhead.
What Problem Does This Paper Address?
While frontier large language models (LLMs) excel at tool use and complex reasoning, existing RAG systems treat them as passive consumers of information. Current approaches generally fall into two paradigms:
- Single-shot retrieval: An algorithm fetches a fixed set of documents and crams them into the prompt context all at once.
- Workflow RAG: The system follows a hardcoded, step-by-step pipeline (e.g., pre-defined graph traversals or fixed iterative loops).
Neither paradigm allows the model to dynamically alter its search strategy based on intermediate findings. As a result, these systems don't scale efficiently when paired with smarter models. The authors introduce A-RAG to bridge this gap, shifting the responsibility of retrieval orchestration from static code directly to the agent.
Methods
A-RAG implements a lightweight, hierarchical indexing structure paired with a ReAct-like agent loop. Instead of heavy pre-computed knowledge graphs, it structures the corpus into three granularities:
- Keyword Level: To minimize offline indexing costs, A-RAG avoids pre-building inverted indices. Instead, it executes exact lexical text matching directly at query time, returning short sentence snippets containing the keywords.
- Sentence Level: The corpus is split into sentences and embedded using a dense encoder (
Qwen3-Embedding-0.6B). Thesemantic_searchtool computes cosine similarity at the sentence level but maps hits back to their parent chunks. - Chunk Level: Documents are partitioned into ~1,000-token chunks. The agent uses the
chunk_readtool to pull the full text of a chunk only when the keyword or semantic snippets indicate it is highly relevant.
To prevent redundant token usage, a Context Tracker monitors which chunks the agent has already read. If the agent requests a previously read chunk, the tool returns a zero-token notification ("This chunk has been read before"), forcing the agent to explore new information.
Datasets
The framework was evaluated on four demanding multi-hop reasoning and open-domain QA benchmarks:
- MuSiQue
- HotpotQA
- 2WikiMultiHopQA
- GraphRAG-Bench (evaluated via its Medical and Novel subsets)
Key Insights and Ideas
- Shifting the Bottleneck: In traditional RAG, the primary failure mode is retrieval failure ("cannot find the documents"). In A-RAG, because the agent can iteratively search, the bottleneck shifts to reasoning ("found the documents, but reasoned incorrectly").
- Progressive Information Disclosure: By returning brief snippets first and requiring an explicit
chunk_readcall for full text, A-RAG filters out irrelevant context before it ever hits the LLM's prompt. - Test-Time Compute Scaling: A-RAG demonstrates clear test-time scaling properties. Giving the model more execution steps or increasing its internal "reasoning effort" leads to steady performance gains, particularly for advanced frontier models.
Key Results
A-RAG consistently outperformed competitive baselines (including GraphRAG, HippoRAG2, and LinearRAG) across all datasets, especially when paired with next-generation reasoning models like GPT-5-mini.
- Accuracy: On the highly complex MuSiQue dataset, A-RAG (Full) achieved an LLM-Evaluation Accuracy of 74.1% using GPT-5-mini, outperforming HippoRAG2 (61.7%) and LinearRAG (62.4%). On HotpotQA, it reached 94.5%.
- Context Efficiency: Despite performing multiple rounds of search, A-RAG (Full) is incredibly token-efficient. For instance, on HotpotQA, A-RAG (Full) consumed only 2,737 tokens on average, compared to Naive RAG's 5,358 tokens and GraphRAG's 8,744 tokens, while achieving significantly higher accuracy.
Limitations and Future Work
The authors note several areas for future exploration:
- Tool Design Space: The paper evaluates a specific three-tool setup; it does not exhaustively test other potential tool configurations or granularities.
- Frontier Model Validation: Due to resource constraints, the framework was not fully benchmarked on the largest flagship models (e.g., full GPT-5 or Gemini-3), where agentic gains are expected to be even more pronounced.
- Task Generalization: The evaluation focused strictly on multi-hop QA. Future work is required to validate A-RAG on other knowledge-intensive tasks like fact verification and long-form dialogue generation.
Summary updated