Paper: 2605.06642 Authors: Xiangyuan Xue, Yifan Zhou, Zidong Wang, Shengji Tang, Philip Torr, Wanli Ouyang, Lei Bai, Zhenfei Yin Institutions: CUHK, Shanghai AI Lab, University of Georgia, University of Oxford Categories: cs.CL Code: github.com/xxyQwQ/StraTA Models: huggingface.co/collections/xxyQwQ/strata
Abstract
Large language models (LLMs) are increasingly used as interactive agents, but optimizing them for long-horizon decision making remains difficult because current methods are largely purely reactive, which weakens both exploration and credit assignment over extended trajectories. This paper presents Strategic Trajectory Abstraction (StraTA), a framework that introduces an explicit trajectory-level strategy into agentic reinforcement learning. StraTA samples a compact strategy from the initial task state, conditions subsequent actions on that strategy, and trains strategy generation and action execution jointly with a hierarchical GRPO-style rollout design, enhanced by diverse strategy rollout and critical self-judgment. Experiments show that StraTA consistently improves both sample efficiency and final performance, reaching 93.1% success on ALFWorld, 84.2% on WebShop, and 63.5% on SciWorld—outperforming frontier closed-source models.
Key Contributions
-
Strategic Trajectory Abstraction: Introduces an explicit trajectory-level strategy that decomposes long-horizon decision making into two objectives: generating a good strategy and executing actions that faithfully follow it.
-
Hierarchical GRPO Training: Develops a hierarchical rollout structure that samples multiple strategies per task and multiple rollouts per strategy, enabling both strategy-level and action-level comparisons.
-
Top-Performing Strategy Rewards: Assigns each strategy a reward based on the top-performing fraction of its rollouts, providing a reliable estimate of strategy quality beyond trajectory-level outcome rewards.
-
Diverse Strategy Rollout: Uses farthest-point sampling to broaden semantic exploration over candidate strategies, preventing collapse to similar plans.
-
Critical Self-Judgment: Introduces step-level auxiliary rewards that penalize actions that neither follow the strategy nor advance task progress, improving credit assignment.
-
State-of-the-Art Performance: Achieves 93.1% on ALFWorld, 84.2% on WebShop, and 63.5% on SciWorld (with 100% on the Lifespan subset), outperforming both prompting-based agents and prior RL methods.
Methodology
The Problem with Reactive Agents
Current agentic RL methods are purely reactive:
- At each step, the agent predicts the next action solely from the current state
- The policy must decide both the immediate next move and the overall course of action simultaneously
- This coupling yields:
- Short-sighted exploration
- Unnecessary backtracking
- Internally inconsistent behavior
- Difficult credit assignment over long trajectories
StraTA Framework
Core Idea: Introduce an explicit trajectory-level strategy that guides the entire episode.
Process:
- Strategy Generation: At the beginning of each episode, sample a compact strategy from the initial task state
- Strategy Conditioning: Fix the strategy and prepend it to every subsequent decision
- Action Execution: Generate each action from both the global strategy and the local state
- Joint Optimization: Train strategy generation and action execution together
This decomposition separates high-level planning from low-level execution, enabling more coherent and consistent behavior.
Hierarchical GRPO Training
StraTA builds a hierarchical rollout structure:
Two-Level Rollouts:
- Strategy Level: For each task, sample multiple strategies (e.g., 4 strategies)
- Action Level: For each strategy, perform multiple rollouts (e.g., 4 trajectories per strategy)
Two-Level Comparisons:
- Strategy-Level: Compare different plans for the same task
- Action-Level: Compare trajectories generated under the same plan
Strategy Quality Estimation:
- Assign each strategy a reward based on the top-performing fraction of its rollouts
- This provides a more reliable signal than averaging all rollouts
- Helps identify strategies that have high potential even if some executions fail
Enhanced Training Techniques
1. Diverse Strategy Rollout:
- Use farthest-point sampling in embedding space to select diverse strategies
- Prevents the model from generating semantically similar plans
- Broadens exploration over the strategy space
2. Critical Self-Judgment:
- Introduce step-level auxiliary rewards
- Penalize actions that:
- Don’t follow the stated strategy
- Don’t advance task progress
- Improves fine-grained credit assignment
- Helps the model learn to execute strategies faithfully
Results
ALFWorld (Household Tasks)
| Model | Success Rate |
|---|---|
| Prompting Baselines | ~70-80% |
| Prior RL Methods (GiGPO) | 86.7% (1.5B) |
| StraTA (1.5B) | 90.7% |
| StraTA (7B) | 93.1% |
Improvements:
- +4.0% over GiGPO at 1.5B scale
- Consistent gains across model scales
WebShop (E-commerce Tasks)
| Model | Success Rate |
|---|---|
| Prompting Baselines | ~60-70% |
| Prior RL Methods (GiGPO) | 65.0% (1.5B) |
| StraTA (1.5B) | 82.5% |
| StraTA (7B) | 84.2% |
Improvements:
- +17.5% over GiGPO at 1.5B scale
- Dramatic improvement on this challenging benchmark
SciWorld (Scientific Discovery)
| Model | Overall Score |
|---|---|
| Frontier Closed-Source Models | 57.4% |
| Prior RL Baselines | 57.0% |
| StraTA | 63.5% |
Subset Performance:
- Lifespan: 100.0% (perfect score)
- Outperforms GPT-4 and other frontier models
- +6.1% over closed-source models
- +6.5% over prior RL baselines
Sample Efficiency
StraTA demonstrates improved sample efficiency across all benchmarks:
- Faster convergence during training
- Better performance with fewer environment interactions
- More stable learning curves
Takeaways
-
Strategy Matters: Introducing explicit trajectory-level strategies significantly improves long-horizon agent performance, validating the intuition that planning and execution should be separated.
-
Hierarchical Optimization Works: The two-level rollout structure enables effective joint optimization of strategy generation and action execution, addressing both exploration and credit assignment challenges.
-
Beyond Reactive Agents: StraTA demonstrates that purely reactive approaches are suboptimal for long-horizon tasks—agents benefit from forming high-level plans before executing actions.
-
Practical Impact: The dramatic improvements on WebShop (+17.5%) and SciWorld (outperforming GPT-4) show that StraTA has immediate practical value for real-world agentic applications.
-
Scalability: Consistent improvements across model scales (1.5B to 7B) suggest the approach scales well and could benefit even larger models.
-
Generalization: Strong performance across diverse domains (household tasks, e-commerce, scientific discovery) demonstrates the framework’s generality.
-
Human-Like Problem Solving: StraTA’s approach mirrors human problem-solving patterns—form a plan, execute under that plan, reflect on results—suggesting alignment with cognitive principles.
-
Credit Assignment: The combination of top-performing strategy rewards and critical self-judgment provides more accurate credit assignment than standard RL approaches.
-
Future Directions: The framework opens possibilities for:
- Multi-level hierarchies (strategies, sub-strategies, actions)
- Strategy refinement and adaptation during execution
- Transfer learning of strategies across tasks
- Interpretable agent behavior through explicit strategies
论文: 2605.06642 作者: Xiangyuan Xue, Yifan Zhou, Zidong Wang, Shengji Tang, Philip Torr, Wanli Ouyang, Lei Bai, Zhenfei Yin 机构: 香港中文大学, 上海人工智能实验室, 佐治亚大学, 牛津大学 分类: cs.CL 代码: github.com/xxyQwQ/StraTA 模型: huggingface.co/collections/xxyQwQ/strata
摘要
大型语言模型(LLM)越来越多地被用作交互式智能体,但优化它们进行长期决策仍然困难,因为当前方法主要是纯反应式的,这削弱了扩展轨迹上的探索和信用分配。本文提出了战略轨迹抽象(StraTA),这是一个将显式轨迹级策略引入智能体强化学习的框架。StraTA从初始任务状态采样紧凑策略,在该策略上调节后续动作,并通过分层GRPO风格的展开设计联合训练策略生成和动作执行,通过多样化策略展开和关键自我判断进一步增强。实验表明,StraTA持续改进样本效率和最终性能,在ALFWorld上达到93.1%的成功率,在WebShop上达到84.2%,在SciWorld上达到63.5%——超越了前沿闭源模型。
主要贡献
-
战略轨迹抽象:引入显式轨迹级策略,将长期决策分解为两个目标:生成好的策略和忠实执行该策略的动作。
-
分层GRPO训练:开发了一个分层展开结构,每个任务采样多个策略,每个策略进行多次展开,实现策略级和动作级比较。
-
最佳表现策略奖励:根据其展开的最佳表现部分为每个策略分配奖励,提供超越轨迹级结果奖励的可靠策略质量估计。
-
多样化策略展开:使用最远点采样来扩大候选策略的语义探索,防止崩溃到相似的计划。
-
关键自我判断:引入步骤级辅助奖励,惩罚既不遵循策略也不推进任务进度的动作,改进信用分配。
-
最先进的性能:在ALFWorld上达到93.1%,在WebShop上达到84.2%,在SciWorld上达到63.5%(在Lifespan子集上达到100%),超越了基于提示的智能体和先前的RL方法。
方法论
反应式智能体的问题
当前的智能体RL方法是纯反应式的:
- 在每一步,智能体仅从当前状态预测下一个动作
- 策略必须同时决定即时的下一步行动和整体行动方案
- 这种耦合导致:
- 短视的探索
- 不必要的回溯
- 内部不一致的行为
- 长轨迹上的困难信用分配
StraTA框架
核心思想:引入显式轨迹级策略来指导整个回合。
过程:
- 策略生成:在每个回合开始时,从初始任务状态采样紧凑策略
- 策略调节:固定策略并将其前置到每个后续决策
- 动作执行:从全局策略和局部状态生成每个动作
- 联合优化:一起训练策略生成和动作执行
这种分解将高级规划与低级执行分离,实现更连贯和一致的行为。
分层GRPO训练
StraTA构建了一个分层展开结构:
两级展开:
- 策略级:对于每个任务,采样多个策略(例如4个策略)
- 动作级:对于每个策略,执行多次展开(例如每个策略4条轨迹)
两级比较:
- 策略级:比较同一任务的不同计划
- 动作级:比较在同一计划下生成的轨迹
策略质量估计:
- 根据其展开的最佳表现部分为每个策略分配奖励
- 这提供了比平均所有展开更可靠的信号
- 帮助识别即使某些执行失败也具有高潜力的策略
增强训练技术
1. 多样化策略展开:
- 在嵌入空间中使用最远点采样来选择多样化的策略
- 防止模型生成语义相似的计划
- 扩大策略空间的探索
2. 关键自我判断:
- 引入步骤级辅助奖励
- 惩罚以下动作:
- 不遵循声明的策略
- 不推进任务进度
- 改进细粒度信用分配
- 帮助模型学习忠实执行策略
实验结果
ALFWorld(家庭任务)
| 模型 | 成功率 |
|---|---|
| 提示基线 | ~70-80% |
| 先前RL方法(GiGPO) | 86.7%(1.5B) |
| StraTA(1.5B) | 90.7% |
| StraTA(7B) | 93.1% |
改进:
- 在1.5B规模上比GiGPO高4.0%
- 在各个模型规模上持续获得提升
WebShop(电子商务任务)
| 模型 | 成功率 |
|---|---|
| 提示基线 | ~60-70% |
| 先前RL方法(GiGPO) | 65.0%(1.5B) |
| StraTA(1.5B) | 82.5% |
| StraTA(7B) | 84.2% |
改进:
- 在1.5B规模上比GiGPO高17.5%
- 在这个具有挑战性的基准测试上有显著改进
SciWorld(科学发现)
| 模型 | 总体得分 |
|---|---|
| 前沿闭源模型 | 57.4% |
| 先前RL基线 | 57.0% |
| StraTA | 63.5% |
子集性能:
- Lifespan:100.0%(完美分数)
- 超越GPT-4和其他前沿模型
- 比闭源模型高6.1%
- 比先前RL基线高6.5%
样本效率
StraTA在所有基准测试中展示了改进的样本效率:
- 训练期间更快的收敛
- 更少的环境交互获得更好的性能
- 更稳定的学习曲线
要点总结
-
策略很重要:引入显式轨迹级策略显著改进了长期智能体性能,验证了规划和执行应该分离的直觉。
-
分层优化有效:两级展开结构实现了策略生成和动作执行的有效联合优化,解决了探索和信用分配挑战。
-
超越反应式智能体:StraTA证明了纯反应式方法对于长期任务是次优的——智能体在执行动作之前形成高级计划会受益。
-
实际影响:在WebShop(+17.5%)和SciWorld(超越GPT-4)上的显著改进表明StraTA对实际智能体应用具有直接的实用价值。
-
可扩展性:在模型规模(1.5B到7B)上的一致改进表明该方法扩展良好,可能使更大的模型受益。
-
泛化能力:在不同领域(家庭任务、电子商务、科学发现)的强大性能证明了框架的通用性。
-
类人问题解决:StraTA的方法反映了人类问题解决模式——形成计划、在该计划下执行、反思结果——表明与认知原则的一致性。
-
信用分配:最佳表现策略奖励和关键自我判断的结合提供了比标准RL方法更准确的信用分配。
-
未来方向:该框架为以下方面开辟了可能性:
- 多级层次结构(策略、子策略、动作)
- 执行期间的策略细化和适应
- 跨任务的策略迁移学习
- 通过显式策略实现可解释的智能体行为