用强化学习训练能真实上网搜索的论文研究智能体,效果远超传统方法。
DeepResearcher: Scaling Deep Research via Reinforcement Learning in Real-world Environments

- 在真实网页环境里端到端训练大模型研究代理,突破模拟环境限制。
- 比提示工程方法高28.9分,比现有强化学习方法高7.2分。
- 可自主规划、交叉验证、自我反思,适合复杂科研任务场景。
具备网络搜索能力的大语言模型在深度研究任务中展现出巨大潜力。然而,现有方法主要依赖人工设计提示(提示工程),性能脆弱;或在受控的检索增强生成(RAG)环境中进行强化学习,无法反映真实交互复杂性。本文提出DeepResearcher,首个通过在真实世界网络环境中规模化强化学习来实现大模型研究代理端到端训练的综合框架。与假设所有信息存在于固定语料库的RAG方法不同,我们的方法让智能体学会应对开放网络中嘈杂、无结构且动态变化的信息。我们设计了专用多智能体架构,使浏览智能体能从多种网页结构中提取相关信息,并克服重大技术挑战。在开放域研究任务上的大量实验表明,DeepResearcher相比提示工程基线提升最高达28.9分,相比RAG-based RL代理提升7.2分。定性分析揭示了端到端强化学习训练中涌现出的认知行为,包括制定研究计划、跨源信息交叉验证、自我反思以调整研究方向,以及在无法找到确定答案时保持诚实。结果表明,在真实网络环境中进行端到端训练不仅是实现细节,更是发展符合实际应用需求的稳健研究能力的根本要求。代码已开源:https://github.com/GAIR-NLP/DeepResearcher。
原文摘要 · Abstract (English)
Large Language Models (LLMs) equipped with web search capabilities have demonstrated impressive potential for deep research tasks. However, current approaches predominantly rely on either manually engineered prompts (prompt engineering-based) with brittle performance or reinforcement learning within controlled Retrieval-Augmented Generation (RAG) environments (RAG-based) that fail to capture the complexities of real-world interaction. In this paper, we introduce DeepResearcher, the first comprehensive framework for end-to-end training of LLM-based deep research agents through scaling reinforcement learning (RL) in real-world environments with authentic web search interactions. Unlike RAG-based approaches that assume all necessary information exists within a fixed corpus, our method trains agents to navigate the noisy, unstructured, and dynamic nature of the open web. We implement a specialized multi-agent architecture where browsing agents extract relevant information from various webpage structures and overcoming significant technical challenges. Extensive experiments on open-domain research tasks demonstrate that DeepResearcher achieves substantial improvements of up to 28.9 points over prompt engineering-based baselines and up to 7.2 points over RAG-based RL agents. Our qualitative analysis reveals emergent cognitive behaviors from end-to-end RL training, including the ability to formulate plans, cross-validate information from multiple sources, engage in self-reflection to redirect research, and maintain honesty when unable to find definitive answers. Our results highlight that end-to-end training in real-world web environments is not merely an implementation detail but a fundamental requirement for developing robust research capabilities aligned with real-world applications. We release DeepResearcher at https://github.com/GAIR-NLP/DeepResearcher.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。