arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2602.14697cs.AIcs.LG
收藏

强化学习中大语言模型的进化系统提示学习

Evolutionary System Prompt Learning for Reinforcement Learning in LLMs

Department of Computer Science, University of Toronto(多伦多大学计算机科学系);Department of Statistics(统计学系);Data Science, Northwestern University(数据科学,西北大学);Bridgewater AIA Labs(布里奇沃特AIA实验室)

Lunjun Zhang, Ryan Chen, Bradly C. Stadie

AI总结:

E-SPL通过结合强化学习和系统提示进化,提升大语言模型在推理和智能任务中的性能。

摘要:

构建能够从经验中自主自我改进的智能系统一直是人工智能的长期目标。目前,大型语言模型(LLMs)主要通过两种机制进行自我改进:自我反思用于上下文更新,以及强化学习(RL)用于权重更新。在本工作中,我们提出了一种名为进化系统提示学习(E-SPL)的方法,用于同时改进模型上下文和模型权重。在每次强化学习迭代中,E-SPL在多个系统提示下并行采样轨迹,然后将RL更新应用于LLM权重,并将进化更新应用于系统提示。系统提示通过突变和交叉两种遗传操作进行进化,这些操作由LLM自我反思驱动;选择基于跨RL迭代更新的相对性能评分。E-SPL鼓励在提示中编码的声明性知识与在权重中编码的程序性知识之间的自然区分,从而在推理和智能任务中实现性能提升。例如,在从易到难(AIME→BeyondAIME)的泛化设置中,E-SPL将RL成功率从38.8%提升到45.1%,同时在反思提示进化(40.0%)中表现更优。总体而言,我们的结果表明,强化学习和系统提示进化是深度协同的,结合两者能带来样本效率和泛化能力的一致提升。代码:https://github.com/LunjunZhang/E-SPL

英文摘要:

Building agentic systems that can autonomously self-improve from experience is a longstanding goal of AI. Large language models (LLMs) today primarily self-improve via two mechanisms: self-reflection for context updates, and reinforcement learning (RL) for weight updates. In this work, we propose Evolutionary System Prompt Learning (E-SPL), a method for jointly improving model contexts and model weights. In each RL iteration, E-SPL samples trajectories under multiple system prompts in parallel, then jointly applies RL updates to LLM weights and evolutionary updates to system prompts. System prompts evolve via mutation and crossover, two genetic operators driven by LLM self-reflection; selection is based on relative performance ratings updated across RL iterations. E-SPL encourages a natural division between declarative knowledge encoded in prompts and procedural knowledge encoded in weights, resulting in improved performance across reasoning and agentic tasks. For instance, in an easy-to-hard (AIME $\rightarrow$ BeyondAIME) generalization setting, E-SPL improves RL success rate from 38.8% $\rightarrow$ 45.1% while also outperforming reflective prompt evolution (40.0%). Overall, our results demonstrate that RL and system prompt evolution are deeply synergistic, and combining the two yields consistent gains in sample efficiency and generalization. Code: https://github.com/LunjunZhang/E-SPL

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

↑