AEM:多轮代理强化学习中的自适应熵调节
AEM: Adaptive Entropy Modulation for Multi-Turn Agentic Reinforcement Learning
AI总结:
AEM通过自适应调节熵动态,改进多轮代理强化学习中的探索与利用平衡,无需监督即可提升性能。
摘要:
强化学习(RL)显著提升了大语言模型(LLM)代理与环境交互和解决多轮任务的能力。然而,有效的代理RL仍具挑战:稀疏仅结果奖励对长交互轨迹中各步骤的信用分配指导有限。现有方法常引入密集中间监督,如过程奖励模型或辅助自监督信号,增加监督和调优复杂度并可能限制跨任务和领域的泛化。我们提出AEM,一种无监督的信用分配方法,通过自适应调节RL训练中的熵动态以改进探索-利用权衡。由于在代理RL中环境通常受完整响应影响,而非单个token,我们的分析将熵动态从token层面提升到响应层面,使不确定性估计与LLM代理的有效动作粒度对齐,并减少对token级采样噪声的敏感性。我们进一步表明,熵漂移在自然梯度更新下由采样响应优势与其相对惊奇度的相互作用所主导。受此结果启发,AEM推导出一个实用的响应级不确定性代理,并利用其重新缩放优势,利用正负样本间不断变化的平衡自然地从探索过渡到利用。在ALFWorld、WebShop和SWE-bench-Verified上的广泛实验表明,AEM在1.5B至32B规模的模型上一致改进了强大的RL基线,包括整合进最先进的软件工程RL训练框架时的+1.4%提升。
英文摘要:
Reinforcement learning (RL) has substantially improved the ability of large language model (LLM) agents to interact with environments and solve multi-turn tasks. However, effective agentic RL remains challenging: sparse outcome-only rewards provide limited guidance for assigning credit to individual steps within long interaction trajectories. Existing approaches often introduce dense intermediate supervision, such as process reward models or auxiliary self-supervised signals, which increases supervision and tuning complexity and may limit generalization across tasks and domains. We present AEM, a supervision-free credit assignment method that adaptively modulates entropy dynamics during RL training to improve the exploration-exploitation trade-off. Since in agentic RL the environment is typically affected by a complete response, rather than an individual token, our analysis lifts entropy dynamics from the token level to the response level, aligning uncertainty estimation with the effective action granularity of LLM agents and reducing sensitivity to token-level sampling noise. We further show that entropy drift under natural-gradient updates is governed by the interaction between the sampled-response advantage and its relative surprisal. Motivated by this result, AEM derives a practical response-level uncertainty proxy and uses it to rescale advantages, leveraging the evolving balance between positive and negative samples to naturally transition from exploration to exploitation. Extensive experiments on ALFWorld, WebShop, and SWE-bench-Verified with models ranging from 1.5B to 32B demonstrate that AEM consistently improves strong RL baselines, including a +1.4\% gain when integrated into a state-of-the-art software-engineering RL training framework.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。