2025-09-12 · 专家 · 机器学习 · 自然语言处理

Harnessing Uncertainty: Entropy-Modulated Policy Gradients for Long-Horizon LLM Agents

本文提出了一种名为EMPG的框架,通过调整策略梯度,解决了长期任务中基于大语言模型的智能体在稀疏奖励环境下的学习效率问题。

更新于 2026-04-08。作者:Jiawei Wang、Jiacai Liu、Yuqian Fu、Yingru Li、Xintao Wang、Yuan Lin、Yu Yue、Lin Zhang、Yang Wang、Ke Wang。

中文摘要

在长期任务中,基于大型语言模型(LLMs)的近期代理面临一个重大挑战,那就是基于结果稀疏的奖励使得难以对中间步骤进行信用分配。先前的方法主要关注创建密集的奖励信号以指导学习,要么通过传统的强化学习技术如逆强化学习,要么使用过程奖励模型进行逐步反馈。在本文中,我们识别出LLMs学习动态中的一个基本问题:策略梯度的幅度与熵本质上耦合,这导致对自信正确的动作进行更新效率低下,并可能导致对不确定动作的大更新不稳定。为了解决这个问题,我们提出了熵调制策略梯度(EMPG),这是一个根据步骤不确定性和最终任务结果重新校准学习信号的框架。EMPG放大了对自信正确动作的更新,惩罚自信的错误,并减弱来自不确定步骤的更新以稳定探索。我们进一步引入了一个用于未来清晰度的奖励项,鼓励代理找到更可预测的解决方案路径。通过在三个具有挑战性的代理任务——WebShop、ALFWorld和Deep Search——上的综合实验,我们证明了EMPG实现了显著的性能提升,并且显著优于强大的策略梯度基线。项目页面在https://empgseed-seed.github.io/。

英文摘要

In long-horizon tasks, recent agents based on Large Language Models (LLMs) face a significant challenge that sparse, outcome-based rewards make it difficult to assign credit to intermediate steps. Previous methods mainly focus on creating dense reward signals to guide learning, either through traditional reinforcement learning techniques like inverse reinforcement learning or by using Process Reward Models for step-by-step feedback. In this paper, we identify a fundamental problem in the learning dynamics of LLMs: the magnitude of policy gradients is inherently coupled with the entropy, which leads to inefficient small updates for confident correct actions and potentially destabilizes large updates for uncertain ones. To resolve this, we propose Entropy-Modulated Policy Gradients (EMPG), a framework that re-calibrates the learning signal based on step-wise uncertainty and the final task outcome. EMPG amplifies updates for confident correct actions, penalizes confident errors, and attenuates updates from uncertain steps to stabilize exploration. We further introduce a bonus term for future clarity that encourages agents to find more predictable solution paths. Through comprehensive experiments on three challenging agent tasks, WebShop, ALFWorld, and Deep Search, we demonstrate that EMPG achieves substantial performance gains and significantly outperforms strong policy gradient baselines. Project page is at https://empgseed-seed.github.io/

解读

一句话总结

本文提出了一种名为EMPG的框架,通过调整策略梯度,解决了长期任务中基于大语言模型的智能体在稀疏奖励环境下的学习效率问题。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt