Agentic ESOpt:以最低GPU要求微调长时程LLM智能体
研究论文 · 2026/08/19
本文提出 Agentic ESOpt,一种基于进化策略(ES)的智能体微调框架,用于长时程 LLM 智能体。相比强化学习(RL),ES 具有模型可扩展性(仅需推理级 GPU 内存即可全参数优化)、灵活性(易于与提示空间进化组合)和长时程可扩展性(轨迹级参数归因)。Agentic ESOpt 通过采样参数扰动、奖励加权更新和余弦衰减的扰动尺度,实现参数与上下文协同进化。在 WebArena-Lite 上,Qwen-3.5-27B 的全参数优化比无技能基线提升 6.69%;在测试时自动启发式设计中,28/36 设置优于匹配基线。
该论文针对长时程 LLM 智能体微调中 RL 的计算和信用分配难题,提出基于进化策略的轻量级替代方案,具有实际应用价值,且实验验证充分。
Reinforcement Learning (RL) has been promising in single-turn LLM fine-tuning. However, long-horizon agentic reasoning introduces increasingly branching interactions and sparse rewards, exposing several limitations of RL: its heavyweight backpropagation-based training stack makes it impractical to fine-tune larger LLMs, and longer-horizon trajectories make credit assignment in RL substantially harder. This paper argues that evolution strategies (ES) can be a better choice for fine-tuning long-horizon LLM agents. Compared with agentic RL, ES offers three key advantages: 1) Model Scalability: ES enables full-parameter optimization with only minimal, inference-level GPU memory, making it possible to fine-tune large LLMs. 2) Flexibility: its lightweight, black-box feedback interface makes ES fine-tuning easy to compose with prompt-space evolution (e.g., skill optimization & test-time compute); and 3) Long-Horizon Scalability: ES performs trajectory-level parameter attribution without decomposing rewards across horizons, yielding better scalability than Agentic RL as the horizon length grows. Based on this insight, we propose Agentic ESOpt, a full-parameter agentic fine-tuning framework tailored to flexible parameter--context co-evolution. At each step, Agentic ESOpt samples perturbations around the current LLM parameters, evaluates the resulting agents with rewards, and applies an online reward-weighted update. To improve the exploration--adaptation trade-off, Agentic ESOpt further introduces a cosine decay schedule of the perturbation scale σ. On WebArena-Lite, full-parameter optimization of Qwen-3.5-27B improves the No Skill baseline by 6.69%. In test-time automatic heuristic design, Agentic ESOpt performs online prompt--parameter co-evolution, improving its matched baseline in 28 of 36 settings.