BLPO: Beyond-Local Policy Optimization for Long-Horizon LLM Agents
Organizations: Beihang University · Alibaba Group
Abstract
Long-horizon tasks require large language model (LLM) agents to coordinate interdependent actions, a capability central to automating complex workflows. Stepwise group-based reinforcement learning provides finer credit than trajectory-level supervision, but reliable comparisons must account for differences in interaction history. Enforcing this consistency within the limited rollouts of each task can leave insufficient support for estimating action preferences. We propose Beyond-Local Policy Optimization (BLPO), which estimates task-progress advantages from experience shared across tasks and training updates. We summarize trajectory prefixes into task-progress states and abstract actions by their function, allowing corresponding decisions from different tasks to contribute to shared estimates. To control bias and noise from heterogeneous tasks, we accumulate context-relative returns in a global memory with balanced aggregation and reliability weighting. These global advantages complement local comparisons over normalized actions and trajectory-level credit without a learned critic or additional rollouts. Experiments on ALFWorld and WebShop with 1.5B and 7B policies show improved task success over the evaluated baselines under matched training budgets. Further analyses show faster learning and shorter trajectories with little computational overhead.
Figures & tables
| Model | Type | Method | ALFWorld | WebShop | ||
| In-Success | Out-Success | Task Score | Task Success | |||
| Closed | Prompting | GPT-4o | 48.0 | 46.0 | 31.8 | 23.7 |
| Prompting | Gemini-2.5-Pro | 60.3 | 50.5 | 42.5 | 35.9 | |
| Qwen2.5-1.5B-Instruct | Prompting | Qwen2.5 | 4.1 | – | 23.1 | 5.2 |
| Prompting | ReAct | 12.8 | – | 40.1 | 11.3 | |
| Prompting | Reflexion | 21.8 | – | 55.8 | 21.9 | |
| ALFWorld | WebShop | |||
|---|---|---|---|---|
| Variant | In-Suc. | Out-Suc. | Score | Success |
| BLPO | 94.01 | 91.54 | 87.43 | 74.02 |
| Local credit | ||||
| w/o Act. pool. | 91.34 2.67 | 83.14 8.40 | 82.79 4.64 | 66.21 7.81 |
| Task-progress groups | ||||
| w/o | 92.25 1.76 | 83.53 8.01 | 82.75 4.68 | 68.49 5.53 |
| Method | Adv. (s) | Update (s) | Share | Total (h) |
|---|---|---|---|---|
| GiGPO | 0.89 | 335.2 | 0.26% | 14.90 |
| HGPO | 0.96 | 362.6 | 0.26% | 16.11 |
| BLPO | 2.12 | 349.7 | 0.61% | 15.54 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Environment | Task-relative decision | Action function |
|---|---|---|
| ALFWorld | In Pick2, take a target from outside the destination. | Acquire an unplaced target |
| ALFWorld | In Pick2, take a target back out of the destination. | Retake a placed target |
| WebShop | Select a requested option that is not yet satisfied. | Satisfy an option |
| WebShop | Select a conflicting option or repeat an already satisfied choice. | Violate or repeat an option |
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 637 papers