2025-05-08 · 专家 · 机器学习 · 自然语言处理

ZeroSearch: Incentivize the Search Capability of LLMs without Searching

提出ZEROSEARCH,一种无需与真实搜索引擎交互,通过强化学习激励大型语言模型(LLM)搜索能力的框架。

更新于 2025-05-08。作者:Hao Sun、Zile Qiao、Jiayan Guo、Xuanbo Fan、Yingyan Hou、Yong Jiang、Pengjun Xie、Fei Huang、Yan Zhang。

中文摘要

有效的信息搜索对于提升大型语言模型(LLMs)的推理和生成能力至关重要。最近的研究探索了通过在现实环境中的实际搜索引擎交互使用强化学习(RL)来提高LLMs的搜索能力。虽然这些方法显示出有希望的结果,但它们面临两大挑战:(1)无法控制的文档质量:搜索引擎返回的文档质量往往不可预测,这会给训练过程引入噪声和波动。(2)高昂的API成本:RL训练需要频繁的轮次,可能涉及数十万次搜索请求,这导致了大量的API费用,严重限制了可扩展性。为了应对这些挑战,我们引入了ZeroSearch,这是一个强化学习框架,它通过不与真实搜索引擎交互来激励LLMs的搜索能力。我们的方法从轻量级的监督微调开始,将LLM转变为一个检索模块,能够根据查询生成相关和噪声文档。在RL训练期间,我们采用基于课程表的轮次策略,逐步降低生成文档的质量,通过逐步向模型展示越来越具有挑战性的检索场景,逐渐激发模型的推理能力。广泛的实验表明,ZeroSearch通过使用3B LLM作为检索模块,有效地激励了LLMs的搜索能力。令人瞩目地是,一个7B检索模块达到了与真实搜索引擎相当的性能,而一个14B检索模块甚至超过了它。此外,它很好地泛化到了各种参数大小的基调和指令调整模型,并且兼容广泛的RL算法。

英文摘要

Effective information searching is essential for enhancing the reasoning and generation capabilities of large language models (LLMs). Recent research has explored using reinforcement learning (RL) to improve LLMs' search capabilities by interacting with live search engines in real-world environments. While these approaches show promising results, they face two major challenges: (1) Uncontrolled Document Quality: The quality of documents returned by search engines is often unpredictable, introducing noise and instability into the training process. (2) Prohibitively High API Costs: RL training requires frequent rollouts, potentially involving hundreds of thousands of search requests, which incur substantial API expenses and severely constrain scalability. To address these challenges, we introduce ZeroSearch, a reinforcement learning framework that incentivizes the search capabilities of LLMs without interacting with real search engines. Our approach begins with lightweight supervised fine-tuning to transform the LLM into a retrieval module capable of generating both relevant and noisy documents in response to a query. During RL training, we employ a curriculum-based rollout strategy that incrementally degrades the quality of generated documents, progressively eliciting the model's reasoning ability by exposing it to increasingly challenging retrieval scenarios. Extensive experiments demonstrate that ZeroSearch effectively incentivizes the search capabilities of LLMs using a 3B LLM as the retrieval module. Remarkably, a 7B retrieval module achieves comparable performance to the real search engine, while a 14B retrieval module even surpasses it. Furthermore, it generalizes well across both base and instruction-tuned models of various parameter sizes and is compatible with a wide range of RL algorithms.

解读

一句话总结

提出ZEROSEARCH,一种无需与真实搜索引擎交互,通过强化学习激励大型语言模型(LLM)搜索能力的框架。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源