Where to Learn and How Far to Roll Out: Efficient Adaptive Training for GUI Agents
Organizations: Alibaba Token Hub, Alibaba Group · MMLab, The Chinese University of Hong Kong
Abstract
Trajectory-level GRPO is a common approach for training multi-step GUI agents, but repeatedly rolling out complete trajectories from the task root can be inefficient: task-level rewards provide coarse supervision over which intermediate decisions require improvement, while already-mastered prefixes are repeatedly re-executed before reaching difficult states. We introduce a two-stage adaptive training framework that jointly addresses where to learn and how far to roll out. We first construct reusable intermediate checkpoints from successful expert trajectories and select informative pivots using action disagreement, which measures uncertainty directly from sampled GUI actions. Stage I performs one-step RL at these pivots to improve uncertain local decisions. Stage II then progressively expands policy responsibility through adaptive Local, Suffix, and Root training according to task progress. Recoverable checkpoints enable repeated training from intermediate states without replaying the preceding trajectory. Across MobileGym and CUA-Gym-Hub, our method reduces environment interaction by 56-61% relative to Vanilla GRPO while improving task performance, demonstrating that jointly allocating training across states and rollout ranges can substantially improve GUI-agent RL efficiency.
Figures & tables
| Environment | Checkpoint Restore | 10-Step Replay | Time Reduction |
|---|---|---|---|
| MobileGym | 2.97 s | 15.7 s | 81.1% |
| CUA-Gym-Hub | 3.21 s | 11.3 s | 71.6% |
| Method | MobileGym | CUA-Gym-Hub | ||||
|---|---|---|---|---|---|---|
| Samples | Train | Held-Out | Samples | Train | Held-Out | |
| All Pivots | 38.4K | 61.14 / 74.70 | 50.00 / 63.28 | 16.4K | 63.75 / 68.75 | 47.08 / 60.00 |
| Reward Variance | 8.2K | 56.02 / 72.29 | 45.70 / 60.16 | 14.3K | 67.44 / 73.75 | 47.50 / 57.87 |
| Action Disagreement (Ours) | 8.2K | 58.73 / 74.70 | 48.83 / 62.50 | 15.4K | 68.81 / 75.00 | 52.08 / 61.67 |
| Method | MobileGym | CUA-Gym-Hub | ||
|---|---|---|---|---|
| Train | Held-Out | Train | Held-Out | |
| Base | 48.80 / 62.65 | 40.82 / 57.03 | 52.81 / 61.25 | 47.08 / 58.33 |
| SFT | 81.93 / 90.36 | 48.24 / 65.63 | 70.00 / 73.75 | 50.83 / 58.33 |
| Base Vanilla | 56.33 / 71.08 | 47.66 / 62.50 | 61.88 / 68.75 | 45.83 / 55.00 |
| Base Hybrid | 56.93 / 73.49 | 47.85 / 64.84 | 65.31 / 75.00 | 55.83 / 65.00 |
| Action Vanilla | 62.65 / 74.69 | 49.61 / 62.50 | 65.63 / 68.75 | 53.33 / 63.33 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Action Counts | Action Counts | ||
|---|---|---|---|
| – | |||
| – | – | ||
| – | – – | ||
| – – | – – | ||
| – – | – – | ||
| – – – | – – – – – – – |
RL for GUI Agents
Reinforcement learning for GUI agents trains screen-based AI to complete multi-step tasks across mobile, web, and desktop interfaces.
See all 52 papers