MAIN-RAG lets LLMs clean up their own knowledge retrieval mess, making answers more reliable.
MAIN-RAG introduces a training-free multi-agent system where LLMs collaborate to filter and rank retrieved documents, improving RAG accuracy without additional training.
-----
https://arxiv.org/abs/2501.00332
π Original Problem:
β Traditional RAG systems struggle with noisy document retrieval, leading to decreased accuracy and increased computational overhead
β Current solutions either require extensive training or are sensitive to input prompts
-----
π οΈ Solution in this Paper:
β MAIN-RAG uses three specialized LLM agents working together: Predictor, Judge, and Final-Predictor
β Agent-1 (Predictor) generates initial answers for each retrieved document
β Agent-2 (Judge) evaluates document relevance using a novel scoring mechanism based on log probability differences
β Agent-3 (Final-Predictor) generates the final answer using filtered and ranked documents
β An adaptive judge bar dynamically adjusts filtering thresholds based on document score distributions
-----
π‘ Key Insights:
β Document ordering significantly impacts RAG performance
β Related documents show high scores with low variance, while noisy documents have uniform distribution
β Adaptive filtering thresholds perform better than fixed thresholds
-----
π Results:
β 2-11% improvement in answer accuracy across 4 QA benchmarks
β Outperforms training-free baselines by 6.1% with Mistral-7B
β Matches performance of training-based methods without requiring additional compute
------
Are you into AI and LLMsβ Join my daily AI newsletter. I will send you 7 emails a week analyzing the highest signal AI developments. ββ
π https://rohanpaul.substack.com/










