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

불확실성 활용: 장기 과제 LLM 에이전트를 위한 엔트로피 조절 정책 경사법

Jiawei Wang, Jiacai Liu, Yuqian Fu, Yingru Li, Xintao Wang, Yuan Lin 외 4명 · arXiv · 2025년 9월 11일

- **연구 문제** 장기 과제에서 희소한 결과 보상은 중간 단계의 신용 배정을 어렵게 만듭니다.
- **연구 방법** 정책 엔트로피로 단계별 이점을 재가중하고 다음 단계의 명확성 보너스를 더하는 방식입니다.
- **주요 결과** Qwen2.5-32B-Instruct 기반 Deep Search에서 DAPO의 전체 평균 62.0이 EMPG 적용 후 65.3으로 보고됩니다.

## 장기 과제에서 희소 보상의 신용 배정 문제

장기 과제를 수행하는 LLM 에이전트는 최종 결과에서만 보상을 받는 경우가 많습니다. 이 경우 여러 단계 중 어느 중간 행동이 성공에 기여했는지 구분하기 어렵습니다. 기존 접근은 역강화학습이나 호기심 기반 보상처럼 밀집 보상을 만들거나, 단계별 피드백을 주는 Process Reward Models를 사용해 왔습니다. 그러나 이들은 계산 비용이 크거나 많은 사람의 주석을 요구하며, 상호작용형 에이전트 과제에서 하나의 올바른 단계를 정의하기도 어렵습니다. 이 논문은 이러한 배경에서 정책 그래디언트 자체의 학습 동역학을 살펴봅니다.

## 엔트로피 기반 정책 그래디언트 재보정

이 논문은 정책 엔트로피에 따라 단계별 학습 신호를 조절하는 Entropy-Modulated Policy Gradients(EMPG)를 제안합니다. 한 단계는 추론 후 행동을 하나로 묶은 주기이며, 그 단계의 토큰별 엔트로피를 평균한 값을 불확실성 측정으로 사용합니다. 자기보정 그래디언트 스케일링은 배치 안 엔트로피를 최솟값과 최댓값으로 정규화한 뒤 g(H)=exp(−k·H\_norm)을 계산하고, 배치 평균이 1이 되도록 나눠 공유 이점을 재가중합니다. 그 결과 신뢰도가 높은 단계의 이점은 증폭되고 불확실한 단계의 이점은 감쇠됩니다. 미래 명확성 보너스는 다음 단계의 f(H)=exp(−k′·H\_norm,t+1)를 가산항으로 더합니다.

마지막으로 수정 이점의 배치 평균을 빼서 최종 이점을 만듭니다. 저자들은 이 두 구성요소가 엔트로피 결합 문제를 완화하는 방향이라고 설명합니다.

## 명제 1과 엔트로피-기울기 결합의 근거

명제 1은 로짓에 대한 점수 함수 ∇z log π(a\|s)의 기대 제곱 L2 노름이 1 − exp(−H2(π))와 같다고 제시합니다. 여기서 H2(π)는 Rényi-2 엔트로피이며, 증명은 행동 확률의 제곱합(collision probability)을 이용합니다. 이 식은 엔트로피가 높을수록 기대 기울기 노름이 커지는 경향을 나타냅니다. 따라서 확신이 높은 올바른 단계는 기울기가 작아 충분히 강화되지 못하고, 불확실한 탐색 단계는 큰 기울기로 학습을 불안정하게 만들 수 있다는 것이 저자들의 논지입니다. 이 명제는 소프트맥스 정책에 대한 결과이며, 그 밖의 정책 형태에 대해서는 이 논문에서 다루지 않습니다.

## WebShop·ALFWorld 및 Deep Search 검증 설계

실험은 WebShop, ALFWorld, Deep Search 세 과제에서 수행됩니다. WebShop과 ALFWorld에서는 Qwen2.5-1.5B-Instruct와 Qwen2.5-7B-Instruct를 사용해 GRPO와 DAPO에 EMPG를 적용했습니다. Deep Search에서는 Qwen2.5-32B-Instruct를 사용했고, 도메인 내 세트 WebWalker, HotpotQA, 2wiki와 도메인 외 세트 Musique, Bamboogle을 구분해 보고합니다. 표 1은 3개의 랜덤 시드 평균으로 보고되며, 기준 방법은 GRPO와 DAPO입니다.

## 주요 결과와 Deep Search 구성요소 분석

WebShop과 ALFWorld에서 Qwen2.5-7B-Instruct 기반 DAPO에 EMPG를 적용하면 WebShop 성공률이 82.7%로 보고됩니다. Qwen2.5-1.5B-Instruct에서는 GRPO의 ALFWorld 전체 성공률이 EMPG 적용 후 +8.1포인트 높아진 것으로 표에 나타납니다. Deep Search에서 DAPO 기준 방법의 전체 평균 점수는 62.0이며, EMPG 적용 후 65.3으로 보고됩니다. 도메인 내 평균은 +3.1, 도메인 외 평균은 +3.9 높아집니다. 절제 실험에서 Gradient Scaling만 추가한 변형의 전체 평균은 63.7이고 Future Bonus만 추가한 변형은 64.2입니다.

이 값들은 Deep Search 표에 보고된 결과이며, 다른 과제나 모델로 일반화되지 않습니다.

## 학습 안정성과 단계 수준 엔트로피 관찰

학습 안정성 실험은 Qwen2.5-32B-Instruct의 KL Loss를 0부터 300 학습 단계까지 추적합니다. DAPO 기준 방법의 KL Loss는 약 240 단계 이후 불규칙하게 튀는 양상을 보이지만, EMPG 적용 모델은 낮고 안정적인 값을 유지합니다. 공정한 비교를 위해 두 방법 모두 220 단계 체크포인트를 최종 평가에 사용했으며, 저자들은 EMPG가 더 학습될 경우 성능을 계속 높일 수 있을 가능성을 언급합니다. 또한 ALFWorld에서 9,000개 이상의 단계를 분석했을 때, 초기 엔트로피 백분위 15%-20%처럼 낮은 엔트로피 단계에서도 평균 엔트로피 변화가 나타났습니다. 이 관찰은 토큰 수준의 결과가 단계 수준으로 그대로 옮겨지지 않는다는 저자들의 해석과 함께 제시됩니다.

## 적용 범위와 한계

이 논문의 불확실성 측정은 정책 엔트로피 기반 단계 수준 근사입니다. 저자들은 Monte Carlo dropout이나 앙상블 기반 추정기는 탐색하지 않았다고 밝히며, 이를 향후 연구로 남깁니다. 주요 비교는 GRPO와 DAPO 위에서의 적용 결과이며, 명제 1은 소프트맥스 정책에 대해 제시됩니다. 실험은 세 개의 에이전트 과제와 특정 Qwen2.5 모델에서 수행되었으므로, 다른 모델이나 과제에서의 효과는 이 논문의 근거 밖입니다. WebShop과 ALFWorld 실험은 A100 GPU에서 재실행되었고, Deep Search의 학습 프레임워크는 독점 환경입니다.

## 논문 정보

- **저자**: Jiawei Wang, Jiacai Liu, Yuqian Fu, Yingru Li, Xintao Wang, Yuan Lin, Yu Yue, Lin Zhang, Yang Wang, Ke Wang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 9월 11일
- **등록일**: 2026년 10월 30일
- **수정일**: 2025년 9월 11일
- **버전**: v1
- **arXiv**: 2509.09265
- **분류**: cs.LG · cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2509.09265v1) · [원문 PDF ↗](https://arxiv.org/pdf/2509.09265v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

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). Harnessing Uncertainty: Entropy-Modulated Policy Gradients for Long-Horizon LLM Agents. arXiv:2509.09265v1. https://arxiv.org/abs/2509.09265v1

**BibTeX**

```
@misc{wang2025harnessing,
  title = {{Harnessing Uncertainty: Entropy-Modulated Policy Gradients for Long-Horizon LLM Agents}},
  author = {Jiawei Wang and Jiacai Liu and Yuqian Fu and Yingru Li and Xintao Wang and Yuan Lin and Yu Yue and Lin Zhang and Yang Wang and Ke Wang},
  year = {2025},
  eprint = {2509.09265},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.09265v1}
}
```

## 이 논문의 용어

- [Proximal Policy Optimization](https://refivu.com/terms/59b59e5d0f9d-proximal-policy-optimization)
- [Proposition 1](https://refivu.com/terms/ef6913a0bc9e-proposition-1)
- [ReAct](https://refivu.com/terms/420780a0fd8c-react)
- [Qwen2.5-7B-instruct](https://refivu.com/terms/7ec5caed2fdf-qwen2-5-7b-instruct)
- [AlfWorld](https://refivu.com/terms/492e006382ef-alfworld)
- [Group Relative Policy Optimization](https://refivu.com/terms/a0ff8c33b858-group-relative-policy-optimization)
- [WebShop](https://refivu.com/terms/3af52e1053c4-webshop)
- [policy gradient theorem](https://refivu.com/terms/53494c052971-policy-gradient-theorem)
- [Qwen2.5-32B-Instruct](https://refivu.com/terms/80a0a1e87eb4-qwen2-5-32b-instruct)
- [min-max scaling](https://refivu.com/terms/defa456fd798-min-max-scaling)
- [KL loss](https://refivu.com/terms/d35793d49f18-kl-loss)
- [Policy entropy](https://refivu.com/terms/0c6dafaf8588-policy-entropy)
- [Process Reward Models](https://refivu.com/terms/261a14649d59-process-reward-models)
- [Verl-Agent](https://refivu.com/terms/364d39ade351-verl-agent)

## 다른 논문 해설

- [Memorization Sinks: Isolating Memorization during LLM Training](https://refivu.com/papers/94b8907e-d8e1-4ea1-8a9a-e62a36d359f5-memorization-sinks-isolating-memorization-during-llm.md)
- [Causes and Consequences of Representational Similarity in Machine Learning Models](https://refivu.com/papers/6b0ad684-cf72-44f6-a000-907b3bc08461-causes-and-consequences-of-representational-similarity-in.md)
- [Fast Exact Unlearning for In-Context Learning Data for LLMs](https://refivu.com/papers/23aa217b-d660-453b-a2b1-84bccd08af1a-fast-exact-unlearning-for-in-context-learning-data.md)
- [Dirichlet-Prior Shaping: Guiding Expert Specialization in Upcycled MoEs](https://refivu.com/papers/3425e7f2-ce6d-4498-a701-39a88daf5fa8-dirichlet-prior-shaping-guiding-expert-specialization-in.md)
- [Rethinking Thinking Tokens: LLMs as Improvement Operators](https://refivu.com/papers/311f969a-0893-4159-8d5e-ab320c2460f2-rethinking-thinking-tokens-llms-as-improvement-operators.md)
- [NorMuon: Making Muon more efficient and scalable](https://refivu.com/papers/350de3a2-cf61-41a3-b49f-62f33c8bf1de-normuon-making-muon-more-efficient-and-scalable.md)
- [What Characterizes Effective Reasoning? Revisiting Length, Review, and Structure of CoT](https://refivu.com/papers/43bea187-421a-4e06-a02f-919fc67071e0-what-characterizes-effective-reasoning-revisiting-length.md)
- [Causal Abstraction Inference under Lossy Representations](https://refivu.com/papers/1b02f588-6f46-499e-b0de-c27b169c7c79-causal-abstraction-inference-under-lossy-representations.md)
- [Controlled Generation with Equivariant Variational Flow Matching](https://refivu.com/papers/f7a0ae68-e9e4-4a46-a6a4-4799a6790c6f-controlled-generation-with-equivariant-variational-flow.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/e4b272e4-871e-408d-8fc3-3c7807a16367-harnessing-uncertainty-entropy-modulated-policy-gradients)
