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

Prompt-R1: 通过端到端强化学习实现的协作自动提示框架

Prompt-R1: Collaborative Automatic Prompting Framework via End-to-end Reinforcement Learning

Hainan University(海南大学);Nanyang Technological University(南洋理工大学);Hithink Research(慧思研究);HKUST (Guangzhou)(香港科技大学(广州));IDEA Research(IDEA研究院);Tsinghua University(清华大学);National University of Singapore(新加坡国立大学);Nanjing University of Science and Technology(南京理工大学)

Wenjin Liu, Haoran Luo, Xueyuan Lin, Haoming Liu, Tiesunlong Shen, Jiapu Wang, Rui Mao, Erik Cambria

AI总结:

本文提出Prompt-R1框架,通过小规模LLM与大规模LLM协作,利用强化学习提升复杂问题解决能力,实验表明其在多个数据集上表现优异。

摘要:

近年来,先进的大型语言模型(LLMs)以越来越快的速度涌现。然而,面对复杂问题时,大多数用户往往无法提供准确有效的提示与LLMs交互,从而限制了LLMs的性能。为解决这一挑战,我们提出了Prompt-R1,一种端到端强化学习框架,利用小规模LLM与大规模LLM协作,取代用户交互以更好地解决问题。这种协作被建模为多轮提示交互,其中小规模LLM进行思考并生成提示,而大规模LLM执行复杂推理。设计了双约束奖励机制以优化正确性、生成质量和推理准确性。Prompt-R1提供了一种即插即用的框架,支持使用各种大规模LLM进行推理和训练。在多个公开数据集上的实验表明,Prompt-R1在多个任务上显著优于基线模型。我们的代码可在https://github.com/QwenQKing/Prompt-R1上公开获取。

英文摘要:

Recently, advanced large language models (LLMs) have emerged at an increasingly rapid pace. However, when faced with complex problems, most users are often unable to provide accurate and effective prompts to interact with LLMs, thus limiting the performance of LLMs. To address this challenge, we propose Prompt-R1, an end-to-end reinforcement learning framework that uses a small-scale LLM to collaborate with large-scale LLMs, replacing user interaction to solve problems better. This collaboration is cast as a multi-turn prompt interaction, where the small-scale LLM thinks and generates prompts, and the large-scale LLM performs complex reasoning. A dual-constrained reward is designed to optimize for correctness, generation quality, and reasoning accuracy. Prompt-R1 provides a plug-and-play framework that supports both inference and training with various large-scale LLMs. Experiments on multiple public datasets show that Prompt-R1 significantly outperforms baseline models across tasks. Our code is publicly available at https://github.com/QwenQKing/Prompt-R1.

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

↑