STEP: Success-Rate-Aware Trajectory-Efficient Policy Optimization

Yuhan Chen, Yuxuan Liu, Long Zhang, Pengzhi Gao, Jian Luan, Wei Liu · OpenReview

Abstract

Multi-turn interaction remains challenging for online reinforcement learning. A common solution is trajectory-level optimization, which treats each trajectory as a single training sample. However, this approach can be inefficient and yield misleading learning signals: it applies uniform sampling across tasks regardless of difficulty, penalizes correct intermediate actions in failed trajectories, and incurs high sample-collection costs. To address these issues, we propose STEP (Success-rate-aware Trajectory-Efficient Policy optimization), a framework that dynamically allocates sampling based on per-task success rates and performs step-level optimization. STEP maintains a smoothed success-rate record to guide adaptive trajectory resampling, allocating more effort to harder tasks. It then computes success-rate-weighted advantages and decomposes trajectories into step-level samples. Finally, it applies a step-level GRPO augmentation to refine updates for low-success tasks. Experiments on OSWorld and AndroidWorld show that STEP substantially improves sample efficiency and training stability over trajectory-level GRPO, converging faster and generalizing better under the same sampling budget.

Introduction

Training Large Language Model (LLM) agents for multi-turn interactions—such as navigating complex computer interfaces or managing calendars—typically relies on trajectory-level reinforcement learning (RL). In this paradigm, an agent receives a single sparse reward at the end of a sequence of actions. This approach faces three critical challenges: uniform sampling across tasks of varying difficulty, inaccurate credit assignment where correct intermediate steps in failed trajectories are penalized, and high computational costs due to slow environment interactions.

Analysis of failed trajectories reveals that approximately 78% contain sub-sequences identical to successful ones, suggesting that trajectory-level penalties introduce significant noise. STEP addresses these inefficiencies by rethinking task sampling and credit assignment.

Methodology

The STEP framework architecture, illustrating Success-Rate Guided Trajectory Sampling (SR-Traj), Success-Rate-Weighted Advantage (SR-Adv), and Step-level GRPO Augmentation (SL-GRPO).

As shown in the framework overview above, STEP consists of three primary components:

  1. SR-Traj (Success-Rate Guided Trajectory Sampling): The system maintains a record of success rates for every task. Using a logistic replacement function, it identifies mastered tasks and replaces them in the training batch with more challenging, low-success tasks from a cache, ensuring the model focuses on the most informative samples.
  2. SR-Adv (Success-Rate-Weighted Advantage): To mitigate noisy credit assignment, STEP trains exclusively on successful trajectories. It weights the learning signal (advantage) based on task difficulty; a success on a rare, difficult task provides a stronger gradient update than a success on a common, easy task.
  3. SL-GRPO (Step-level GRPO Augmentation): For difficult tasks, STEP performs on-the-fly data augmentation. It takes successful steps and generates alternative actions for the same state, performing a mini-optimization using Group Relative Policy Optimization (GRPO). This refines decision boundaries without requiring additional slow environment interactions.

Experimental Results

We evaluated STEP on two GUI automation benchmarks: OSWorld (Linux-based desktop tasks) and AndroidWorld (mobile app tasks), using UI-Tars-DPO-7B as the base policy.

Training curves on OSWorld. Top: Comparison of STEP against TGRPO and GiGRPO baselines. Bottom: Ablation study showing the contribution of SR-Sampling and Step-Augmentation.

Performance and Efficiency

STEP demonstrates superior performance and efficiency across benchmarks:

  • Higher Success Rates: On the OSWorld training set, STEP achieved a 62.5% success rate, significantly outperforming the trajectory-level GRPO baseline (48.4%).
  • Enhanced Generalization: On AndroidWorld, STEP reached 45.7%, a 14.7 percentage point improvement over the baseline.
  • Training Speedup: STEP achieved a 1.74x speedup in training time per step. This efficiency stems from using shorter context windows for step-level samples and reducing reliance on slow environment rollouts through SL-GRPO.
  • Stability: The learning curves indicate that STEP converges faster and maintains greater stability than standard methods, reaching high success rates earlier in the training process.

Conclusion and Future Work

STEP significantly improves the sample efficiency and training stability of LLM agents by focusing on difficult tasks and utilizing fine-grained, step-level signals. While current results are promising, the framework currently discards failed trajectories, which may contain valuable "near-miss" information. Future work could explore incorporating intermediate reward mechanisms or path-length efficiency to further refine the learning signal.

Summary updated

BibTeX
@inproceedings{chen2026step,
  author = {Yuhan Chen and Yuxuan Liu and Long Zhang and Pengzhi Gao and Jian Luan and Wei Liu},
  title = {{STEP: Success-Rate-Aware Trajectory-Efficient Policy Optimization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.1532},
}
Figure