arXiv:2505.20096cs.CLcs.AI2025-05被引 43

多智能体协作推理让问答更准更可信

MA-RAG: Multi-Agent Retrieval-Augmented Generation via Collaborative Chain-of-Thought Reasoning

  • 拆解任务为规划、定义步骤、提取证据、问答四步,智能体协同思考
  • 小模型加MA-RAG胜过更大单体模型,大模型在多跳问答中创纪录
  • 无需领域微调即可在医学问答中媲美专用模型,结果可解释

我们提出MA-RAG,一种基于多智能体的检索增强生成框架,用于应对复杂信息查询中的歧义与推理挑战。不同于依赖端到端微调或孤立组件优化的传统RAG方法,MA-RAG通过规划、步骤定义、提取和问答四个专业化智能体协同工作,将任务分解为查询消歧、证据提取和答案合成等子任务,并利用思维链提示实现中间推理的通信,逐步优化检索与生成过程,同时保持模块化可解释性。在NQ、HotpotQA、2WikimQA和TriviaQA等多跳与模糊问答基准上的实验表明,MA-RAG在所有模型规模下均显著优于独立大模型和现有RAG方法。值得注意的是,仅用小型LLaMA3-8B模型搭配MA-RAG即超越更大规模的独立大模型,而大型变体(LLaMA3-70B和GPT-4o-mini)在挑战性多跳数据集上达到新最优表现。消融研究显示,规划器与提取器对多跳推理至关重要,且高容量模型对问答生成尤为关键。除通用领域外,MA-RAG还可泛化至医疗问答领域,在未进行任何领域微调的情况下,表现媲美专用模型。结果表明,协同模块化推理在检索增强系统中极具效能:MA-RAG不仅提升答案准确率与鲁棒性,还提供可解释的中间推理路径,树立了高效可靠多智能体RAG的新范式。

原文摘要 · Abstract (English)

We present MA-RAG, a Multi-Agent framework for Retrieval-Augmented Generation (RAG) that addresses the inherent ambiguities and reasoning challenges in complex information-seeking tasks. Unlike conventional RAG methods that rely on end-to-end fine-tuning or isolated component enhancements, MA-RAG orchestrates a collaborative set of specialized AI agents: Planner, Step Definer, Extractor, and QA Agents, each responsible for a distinct stage of the RAG pipeline. By decomposing tasks into subtasks such as query disambiguation, evidence extraction, and answer synthesis, and enabling agents to communicate intermediate reasoning via chain-of-thought prompting, MA-RAG progressively refines retrieval and synthesis while maintaining modular interpretability. Extensive experiments on multi-hop and ambiguous QA benchmarks, including NQ, HotpotQA, 2WikimQA, and TriviaQA, demonstrate that MA-RAG significantly outperforms standalone LLMs and existing RAG methods across all model scales. Notably, even a small LLaMA3-8B model equipped with MA-RAG surpasses larger standalone LLMs, while larger variants (LLaMA3-70B and GPT-4o-mini) set new state-of-the-art results on challenging multi-hop datasets. Ablation studies reveal that both the planner and extractor agents are critical for multi-hop reasoning, and that high-capacity models are especially important for the QA agent to synthesize answers effectively. Beyond general-domain QA, MA-RAG generalizes to specialized domains such as medical QA, achieving competitive performance against domain-specific models without any domain-specific fine-tuning. Our results highlight the effectiveness of collaborative, modular reasoning in retrieval-augmented systems: MA-RAG not only improves answer accuracy and robustness but also provides interpretable intermediate reasoning steps, establishing a new paradigm for efficient and reliable multi-agent RAG.

多智能体检索增强可解释性问答系统

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。