RAG with a plan: Breaking complex queries into traceable atomic pieces
Plan Γ RAG decomposes complex queries into DAG-based (Directed Acyclic Graph) sub-queries for better attribution and reduced hallucinations.
A RAG system that can explain its reasoning step-by-step
π https://arxiv.org/abs/2410.20753
Original Problem π€:
Traditional Retrieval Augmented Generation (RAG) frameworks face challenges with hallucinations and lack attribution in complex queries. Current RAG systems follow a retrieve-then-reason approach, which struggles with multi-hop queries and often fails to link generated content to specific retrieved documents.
-----
Solution in this Paper π οΈ:
β’ Introduces Plan Γ RAG - shifts from retrieve-then-reason to plan-then-retrieve paradigm
β’ Generates a Directed Acyclic Graph (DAG) to decompose complex queries into atomic sub-queries
β’ Implements plug-and-play experts:
- Dynamic Query Expert: Handles sub-query generation
- Critic Expert: Controls on-demand retrievals
- Relevance Expert: Ensures document relevance
- Aggregator: Combines sub-query responses
β’ Each sub-query links to a single document, enabling clear attribution
β’ Enables parallel processing of independent sub-queries at same depth
-----
Key Insights π‘:
β’ 88.5% of sub-queries naturally map to single documents, proving effective attribution
β’ DAG structure reduces retrievals by 600 while maintaining similar accuracy
β’ No fine-tuning required - works with frozen LLMs
β’ Enables backtracking for error correction
β’ Achieves attribution by design through atomic sub-queries
-----
Results π:
β’ Outperforms vanilla LLM baselines on multi-hop datasets:
- HotpotQA: 35.67% accuracy (vs 33.93% Self-RAG)
- StrategyQA: 69.49% accuracy (vs 63.4% Self-RAG)
- Arc-Challenge: 74.12% accuracy (vs 73.12% Self-RAG)
β’ Maintains competitive performance on single-hop PopQA dataset
β’ Reduces hallucinations through expert-guided retrieval










