Hierarchical Reinforcement Learning with Augmented Step-Level Transitions for LLM Agents
Organizations: Beijing University of Posts and Telecommunications · China Mobile Group Design Institute Co., Ltd · Singapore Management University
Abstract
Large language model (LLM) agents have demonstrated strong capabilities in complex interactive decision-making tasks. However, existing LLM agents typically rely on increasingly long interaction histories, resulting in high computational cost and limited scalability. In this paper, we propose STEP-HRL, a hierarchical reinforcement learning (HRL) framework that enables step-level learning by conditioning only on single-step transitions rather than full interaction histories. STEP-HRL structures tasks hierarchically, using completed subtasks to represent global progress of overall task. By introducing a local progress module, it also iteratively and selectively summarizes interaction history within each subtask to produce a compact summary of local progress. Together, these components yield augmented step-level transitions for both high-level and low-level policies. Experimental results on ScienceWorld and ALFWorld benchmarks consistently demonstrate that STEP-HRL substantially outperforms baselines in terms of performance and generalization while reducing token usage. Our code is available at https://github.com/TonyStark042/STEP-HRL.
Figures & tables
| Backbone | Method | ScienceWorld | ALFWorld | ||
| Seen | Unseen | Seen | Unseen | ||
| GPT-3.5-Turbo | ReAct | 8.57 | 5.97 | 15.41 | 13.99 |
| GPT-4 | 44.29 | 38.05 | 67.32 | 65.09 | |
| Mistral-7B | ReAct | 20.72 | 17.65 | 7.86 | 5.22 |
| Reflexion | 21.07 | 18.11 | 11.56 | 6.00 | |
| SwitchSage | 48.40 | 45.25 | 30.29 | 26.52 | |
| Model | ScienceWorld | ALFWorld | ||
| Seen | Unseen | Seen | Unseen | |
| Llama-1B | 51.88 | 49.78 | 89.86 | 89.60 |
| Llama-3B | 65.31 | 61.79 | 94.29 | 94.00 |
| Llama-8B | 80.57 | 77.81 | 96.43 | 97.76 |
| Step | Ours (s) | Normal (s) |
| 1 | 1.8 0.3 ⋆ | 1.3 0.3 |
| 10 | 1.6 0.2 | 1.4 0.2 |
| 20 | 1.5 0.2 | 1.6 0.2 |
| 30 | 1.5 0.3 | 1.7 0.3 |
| 40 | 1.6 0.2 | 1.9 0.2 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Train | Seen | Unseen |
| ScienceWorld | 1,483 | 194 | 211 |
| ALFWorld | 3,211 | 140 | 134 |
| Hyperparameter | Value |
| Optimization | |
| batch size | 128 |
| batch size per device | 8 |
| gradient accumulation steps | 2 |
| optimizer | AdamW |
| actor learning rate | |
| Task ID | Task Name | #Variants | Success Rate (%) | Avg. Steps (Succ.) | Avg. Steps (All) |
| 1 | Pick&Place | 24 | 100.0 | 12.7 | 12.7 |
| 2 | Examine in Light | 18 | 100.0 | 13.3 | 13.3 |
| 3 | Clean&Place | 31 | 100.0 | 10.6 | 10.6 |
| 4 | Heat&Place | 23 | 100.0 | 17.1 | 17.1 |
| 5 | Cool&Place | 21 | 100.0 | 15.7 | 15.7 |
| 6 | Pick Two&Place | 17 | 82.4 | 21.8 | 26.6 |
| Task ID | Task Name | #Variants | Avg Score | Avg. Steps (Succ.) | Avg. Steps (All) |
| 0 | boil | 9 | 68.9 | 45.0 | 48.3 |
| 1 | change-the-state-of-matter-of | 9 | 62.2 | 34.0 | 46.4 |
| 2 | chemistry-mix | 8 | 67.8 | 20.8 | 25.5 |
| 3 | chemistry-mix-paint-secondary-color | 9 | 88.9 | 9.5 | 9.4 |
| 4 | chemistry-mix-paint-tertiary-color | 9 | 54.4 | 16.8 | 13.7 |
| 5 | find-animal | 10 | 100.0 | 11.6 | 11.6 |
RL for LLM Agents
Reinforcement learning for large language model agents trains models to plan, use tools, and adapt through feedback from interactive tasks.
See all 583 papers