Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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/

Jiawei Wang, Jiacai Liu, Yuqian Fu, Yingru Li, Xintao Wang, Yuan Lin, Yu Yue, Lin Zhang, Yang Wang, Ke Wang• 2025

Related benchmarks

TaskDatasetResultRank
Interactive Decision-makingAlfWorld
Overall Success Rate71.48
118
Web Navigation and ShoppingWebshop
Success Rate69.3
81
Interactive Decision-makingWebshop
Success Rate75.46
36
Interactive Task CompletionAlfWorld
Pick Success Rate84.18
28
Agentic ReasoningALFWorld (test)
Success Rate78.5
21
Household Agent InteractionAlfWorld
Pick Success Rate92.9
20
Agentic ReasoningWebShop (test)
Success Rate69.3
15
Agentic ReasoningMinesweeper (test)
Success Rate40.1
12
Agentic ReasoningSokoban (test)
Success Rate12.8
12
Showing 9 of 9 rows

Other info

Follow for update