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

通过指令-策略共演进行代理策略优化

Agentic Policy Optimization via Instruction-Policy Co-Evolution

Language Technology Lab, University of Cambridge(剑桥大学语言技术实验室);Machine Learning Research Group, University of Oxford(牛津大学机器学习研究组)

Han Zhou, Xingchen Wan, Ivan Vulić, Anna Korhonen

AI总结:

INSPO通过指令与策略的共演机制,动态优化指令以提升代理在多轮检索和推理任务中的性能,显著优于静态指令基线。

摘要:

可验证奖励的强化学习(RLVR)已推动大型语言模型(LLMs)的推理能力,使能够进行有效多轮和工具集成推理的自主代理成为可能。尽管指令是定义代理的主要协议,但RLVR通常依赖于静态且手动设计的指令。然而,这些指令可能对基础模型来说是次优的,且随着代理策略的改进和对环境的探索,最优指令可能会发生变化。为弥合这一差距,我们引入了INSPO,一种新颖的指令-策略共演框架,将指令优化作为强化学习(RL)循环中的动态组成部分。INSPO维护一个动态的指令候选群体,这些候选者通过问题进行采样,其中RL循环中的奖励信号会自动分配给每个指令,并且表现低下的指令会定期被修剪。新指令是通过一种在线策略反思机制生成并验证的,其中基于LLM的优化器会分析回放缓冲区中的过往经验,并在当前策略下演化出更有效的策略。我们在多轮检索和推理任务上进行了广泛的实验,证明INSPO在依赖静态指令的强基线模型上表现显著优于。INSPO发现创新的指令,引导代理朝向更具战略性的推理路径,仅在计算开销上增加微小的情况下,就实现了显著的性能提升。

英文摘要:

Reinforcement Learning with Verifiable Rewards (RLVR) has advanced the reasoning capability of large language models (LLMs), enabling autonomous agents that can conduct effective multi-turn and tool-integrated reasoning. While instructions serve as the primary protocol for defining agents, RLVR typically relies on static and manually designed instructions. However, those instructions may be suboptimal for the base model, and the optimal instruction may change as the agent's policy improves and explores the interaction with the environment. To bridge the gap, we introduce INSPO, a novel Instruction-Policy co-evolution framework that integrates instruction optimization as a dynamic component of the reinforcement learning (RL) loop. INSPO maintains a dynamic population of instruction candidates that are sampled with questions, where reward signals in RL loops are automatically attributed to each instruction, and low performers are periodically pruned. New instructions are generated and verified through an on-policy reflection mechanism, where an LLM-based optimizer analyzes past experience from a replay buffer and evolves more effective strategies given the current policy. We conduct extensive experiments on multi-turn retrieval and reasoning tasks, demonstrating that INSPO substantially outperforms strong baselines relying on static instructions. INSPO discovers innovative instructions that guide the agent toward more strategic reasoning paths, achieving substantial performance gains with only a marginal increase in computational overhead.

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

↑