arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.04588cs.CL
收藏

ZeroSearch: 无需搜索即可激励大语言模型的搜索能力

ZeroSearch: Incentivize the Search Capability of LLMs without Searching

Tongyi Lab , Alibaba Group(通义实验室,阿里巴巴集团)

Hao Sun, Zile Qiao, Jiayan Guo, Xuanbo Fan, Yingyan Hou, Yong Jiang, Pengjun Xie, Yan Zhang, Fei Huang, Jingren Zhou

AI总结:

本研究提出ZeroSearch框架,通过模拟搜索提升大语言模型的搜索能力,解决真实搜索引擎文档质量不可控和API成本高的问题,实验表明其在不同参数规模的模型上均表现优异。

摘要:

有效信息检索对于增强大语言模型(LLMs)的推理和生成能力至关重要。最近的研究探索了通过与真实搜索引擎在现实环境中交互,利用强化学习(RL)来提高LLMs的搜索能力。尽管这些方法显示出有前景的结果,但面临两个主要挑战:(1)不可控的文档质量:搜索引擎返回的文档质量往往不可预测,引入噪声和训练过程的不稳定性。(2)极高的API成本:RL训练需要频繁的回放,可能涉及数万次搜索请求,导致显著的API费用,并严重限制可扩展性。为了解决这些挑战,我们引入了ZeroSearch,一种新颖的RL框架,通过在训练过程中使用模拟搜索来激励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 novel RL framework that incentivizes the capabilities of LLMs to use a real search engine with simulated searches during training. Our approach begins with lightweight supervised fine-tuning to transform the LLM into a retrieval module capable of generating both useful 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑