Dissecting Agentic RAG: A Component Ablation for Multi-Hop QA with a Local 7B Model
This paper presents a component ablation study of an Agentic RAG system using a local 7B model on HotpotQA, revealing that fixed hybrid retrieval and limited retrieval iterations outperform complex adaptive routing and deeper loops, demonstrating that simpler, non-adaptive designs are more effective for multi-hop QA under resource constraints.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to solve a complex mystery, like figuring out who stole the cookie jar and why. You have a very smart but small detective (a local 7B AI model) and a fixed, closed set of documents provided specifically for that case (a local corpus of supporting and distractor passages).
The paper asks a simple question: How do we get our small detective to solve these multi-step mysteries most effectively without wasting time or compute?
The researchers built a "super-detective" system called Agentic RAG. Instead of just asking the document pile for one page and guessing the answer, this system breaks the big mystery into smaller clues, hunts for evidence within the provided texts, checks if the clues make sense, and then puts the pieces together.
To find the best way to run this system, the researchers didn't just guess; they performed a "component ablation." Think of this as taking apart a high-end car engine bolt by bolt to see which parts actually make the car go faster, and which parts are just heavy, expensive decorations.
Here is what they discovered, using simple analogies:
1. The "Smart Router" vs. The "Fixed Hybrid"
The Setup: The system had a "traffic cop" (an adaptive router) designed to decide which search tool to use for each clue.
- If the clue had a name or a date, the cop sent it to the Keyword Search (BM25), which looks for exact word matches.
- If the clue was vague, it went to the Semantic Search (Dense), which understands the meaning of words.
- Otherwise, it used a Mix of both.
The Surprise: The researchers thought the "Smart Traffic Cop" would be the best. But it turned out the cop was a bit clumsy. Because multi-step mysteries almost always involve names and dates, the cop sent 79% of all clues to the Keyword Search. It ignored the Semantic Search too often.
The Result: When they fired the traffic cop and just used a Fixed Mix (checking both Keyword and Semantic search for every clue), the system got smarter.
- Analogy: It's like a chef who decides to use a knife for everything because they see a vegetable on the counter. But sometimes you need a spoon! By using both tools for every dish, the meal turned out better than when the chef tried to be "smart" about which tool to pick.
2. The "Endless Loop" vs. "Two Steps"
The Setup: The system was designed to hunt for clues in a loop. It could theoretically search, find a clue, search again based on that clue, search again, and so on, up to 5 times.
The Surprise: The researchers found that after two searches, the detective had found almost everything they needed. Doing a third, fourth, or fifth search didn't really help.
- Analogy: Imagine looking for your keys. You check the kitchen (Step 1). You don't find them, so you check the living room (Step 2). You find them! Checking the garage, the car, and the backyard (Steps 3, 4, 5) is a waste of time. You already have the answer. The paper found that 95% of the success happened in just the first two steps.
3. The "Question Breaker" and the "Editor"
The Setup:
- Question Breaker: Before searching, the AI breaks one big hard question into three or four smaller, easier questions.
- Editor: After finding 20 potential answers, the AI uses a special "Editor" to pick the best 5.
The Result: Both of these helped, but not as much as the first two factors.
- The Breaker: It helped accuracy, but it made the process take twice as long (because the AI had to do extra thinking).
- The Editor: It helped accuracy and took almost no extra time.
- Analogy: The "Breaker" is like hiring a translator to rewrite a difficult question before asking it. It works well, but it costs time. The "Editor" is like a librarian who quickly scans a stack of books to pick the best one. It's fast and effective, so you should always keep the Editor, but maybe skip the Translator if you are in a huge rush.
The Bottom Line
The paper concludes that for a small, local AI model (running on your own computer, not a giant cloud server), simplicity wins.
- Don't overthink the routing: Just use a mix of search tools for everything.
- Don't over-search: Two rounds of searching are enough.
- Keep the editor: It's cheap and effective.
By stripping away the complex, "adaptive" features that people assumed were necessary, the researchers built a system that was actually better, faster, and more reliable than the complicated version. They proved that for local AI, you don't need a Ferrari engine; a well-tuned bicycle often gets you to the destination first.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.