STAPO: Selective Trajectory-Aware Policy Optimization for LLM Agent Training
Summary
Selective Trajectory-Aware Policy Optimization (STAPO) is a new hierarchical group-based Reinforcement Learning framework designed to train Large Language Model (LLM) agents for long-horizon tasks. It specifically tackles "trajectory neglect," a common issue where agents lose focus due to sparse and delayed rewards. Unlike prior methods that use Shannon-entropy for step-level supervision, STAPO introduces "normalized entropy" to more reliably measure confidence deviations and identify low-quality actions. This framework then optimizes these outlier steps using a joint mechanism of trajectory-aware reward and trajectory-independent penalty. Extensive experiments on ALFWorld, WebShop, and Search-Augmented QA demonstrate that STAPO achieves leading performance while substantially alleviating trajectory neglect, validating its effectiveness and robustness for agentic tasks.
Key takeaway
For Machine Learning Engineers training LLM agents on long-horizon tasks, STAPO offers a robust solution to combat trajectory neglect. You should consider integrating normalized entropy for more accurate step-level supervision, moving beyond traditional Shannon-entropy. Implementing STAPO's joint trajectory-aware reward and trajectory-independent penalty mechanism can significantly enhance agent stability and performance, especially on benchmarks like ALFWorld or WebShop.
Key insights
STAPO uses normalized entropy and a dual optimization mechanism to mitigate trajectory neglect in LLM agents, achieving leading performance.
Principles
- Trajectory neglect hinders LLM agent performance.
- Normalized entropy improves confidence estimation.
- Dual optimization enhances trajectory awareness.
Method
STAPO employs normalized entropy to identify outlier steps, then optimizes them using a joint trajectory-aware reward and trajectory-independent penalty within a hierarchical group-based RL framework.
In practice
- Apply normalized entropy for reliable decision reliability.
- Use dual reward/penalty for agent optimization.
- Test on ALFWorld, WebShop, Search-Augmented QA.
Topics
- LLM Agents
- Reinforcement Learning
- Trajectory Optimization
- Normalized Entropy
- Policy Optimization
- ALFWorld
- WebShop
Best for: Research Scientist, NLP Engineer, AI Scientist, Machine Learning Engineer, AI Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Takara TLDR - Daily AI Papers.