UI-S1: Advancing GUI Automation via Semi-online Reinforcement Learning

Zhengxi Lu, Jiabo Ye, Fei Tang, Yongliang Shen, Haiyang Xu, Ziwei Zheng, Weiming Lu, Ming Yan, Fei Huang, Jun Xiao, Yueting Zhuang · Submission to ICLR 2026 · Withdrawn

TL;DR

Current graphical user interface (GUI) automation agents face a stark trade-off: offline RL on static trajectories trains stably but fails during multi-turn online execution, while online RL with interactive environments suffers from sparse rewards and steep deployment costs. Semi-online Reinforcement Learning (Semi-online RL) bridges this divide by simulating multi-turn rollouts on static offline trajectories, using an adaptive Patch Module to recover from errors and dual-level rewards to optimize long-term execution. The resulting model, UI-S1-7B, achieves open-source state-of-the-art multi-turn performance—improving AndroidWorld task success rate to 34.0% (competitive with GPT-4o's 34.5%).

What Problem Does This Paper Address?

Building multimodal agents that can execute complex, multi-step actions across mobile and web interfaces is a central challenge in digital automation. Prior reinforcement learning (RL) paradigms for GUI agents exhibit major shortcomings:

  1. Offline RL (e.g., UI-R1, GUI-R1): Trains on pre-collected expert trajectories by supervising isolated steps with ground-truth history. Because agents never learn to condition on their own past generated reasoning or actions, they suffer from distribution shift and catastrophic failures when deployed in real environments. Moreover, step-wise local rewards fail to penalize multi-step planning errors.
  2. Online RL (e.g., ARPO, MobileGUI-RL): Trains agents through live environment interactions. While this captures true sequential dynamics, real-world GUI tasks have sparse and delayed rewards (often received only at task completion), and scaling to diverse environments requires prohibitive engineering overhead.

Methods

The authors propose Semi-online RL, which simulates online rollouts using static demonstration data without requiring live environment engines:

[Agent generates action & reasoning based on its OWN past history]
                             │
               Does action match expert?
              ├── YES ──► Advance to next static screenshot
              └── NO  ──► Patch Module intervenes (up to ε times)
                             │
          Inject expert action (Thought-Free Patch)
          Continue rollout & compute dual-level advantage

Key technical components include:

  • Semi-Online Rollout: During policy rollouts, the agent maintains its own generated chain-of-thought and predicted actions in its context history ($H_t$). Next states are retrieved from the expert demonstration only if the predicted action matches the expert action.
  • Patch Module: When the agent diverges from the expert demonstration, naive termination would forfeit all downstream steps in the trajectory. Instead, the Patch Module intervenes (up to an error budget $\epsilon$): it substitutes the expert action into the context (optionally generating synthetic reasoning) so the rollout can continue. The authors explore Thought-Free, Off-Policy, and On-Policy thought patching, finding that Thought-Free Patch ($\epsilon=1$) offers the best trade-off between speed and performance.
  • Hierarchical Reward & Dual-Level Advantage: Rewards incorporate formatting, action type correctness, and exact match accuracy. Long-horizon dependencies are captured via discounted future returns ($R_t$) calculated up to the natural (pre-patch) trajectory segment end. Training optimizes a combination of step-level advantage (local relative return) and episode-level advantage (overall task completion).
  • Semi-Online Performance (SOP) Metric: A new multi-turn benchmark protocol built on AndroidControl-Test that feeds the model's own outputs back into its history and terminates upon failure, reporting Progress (PG) and Task Success Rate (TSR).

Datasets

  • Training: Supervised Fine-Tuning (SFT) followed by Semi-online RL using ~2,000 offline interaction trajectories from AndroidControl-Train and Amex.
  • Dynamic Multi-Turn Evaluation: AndroidWorld (116 real-world OS tasks), AITW-Gen (300 tasks), AITW-Web (150 tasks), and MiniWob++ (92 web-interaction tasks).
  • Static & Single-Turn Evaluation: SOP (multi-turn proxy), ScreenSpot-V2, ScreenSpot-Pro, AndroidControl-High, and GUI Odyssey.

Key Insights and Ideas

  • Teacher-forcing hides multi-turn brittleness: Offline benchmarks that provide ground-truth history at every step show very poor correlation with live agent performance (e.g., AndroidControl-High vs. AndroidWorld achieves an $R^2$ of only 0.470). By contrast, evaluating with model-generated histories under the proposed SOP metric strongly predicts real-world online performance ($R^2 = 0.934$).
  • Action patching preserves trajectory data: Without patching, early missteps terminate the rollout, starving the model of feedback from later execution phases. Even a minimal, single-step patch ($\epsilon = 1$) substantially increases training policy entropy and final task success.
  • Discounted future returns prevent premature termination: Setting discount $\gamma = 0$ (optimizing purely for immediate step rewards) causes training instability, whereas $\gamma = 0.5$ incentives the model to preserve multi-step plans rather than greedily terminating early.

Key Results

  • Dynamic Multi-Turn Performance: Built on Qwen2.5-VL-7B, UI-S1-7B achieves state-of-the-art results among 7B/8B models:
  • AndroidWorld (AW): Reaches 34.0% success rate (up from 14.9% base model baseline and 21.7% SFT), beating 32B/72B open models (Qwen2.5VL-32B at 31.5%, Aguvis-72B at 26.1%) and approaching closed-source GPT-4o (34.5%).
  • AITW-Gen: Achieves 74.3% (+23.8% over base).
  • AITW-Web: Achieves 40.2% (vs. 28.8% base).
  • Single-Turn Capabilities: Unlike pure multi-turn RL that can degrade foundational visual grounding, UI-S1-7B preserves and improves single-turn metrics (+15.5% Step Success Rate on AndroidControl-High; +7.1% on GUI Odyssey).
  • Model Scalability: Semi-online RL scales across model sizes, driving significant relative gains on 3B, 7B, and 32B models.

Limitations and Future Work

  • Symbolic Reasoning and Arithmetic: Small-scale VLMs still fail at tasks requiring precise numerical manipulation or complex logic (e.g., in a multi-step counting task, UI-S1-7B remembered displayed numbers correctly but miscalculated $9 \times 10 \times 9 \times 5 \times 5 = 2250$ instead of $20250$).
  • Hard Task Ceiling: On AndroidWorld, error reductions were concentrated heavily in easy tasks (41 fewer errors) and medium tasks (12 fewer errors), while hard tasks saw marginal progress (reducing errors from 73 to 71).
  • Inference Overhead of Advanced Thought Patching: While on-policy thought synthesis produced marginally higher scores, it incurred a $2.3\times$ increase in training time, necessitating the use of simpler thought-free patching.

Summary updated

BibTeX
@misc{lu2025ui,
  author = {Zhengxi Lu and Jiabo Ye and Fei Tang and Yongliang Shen and Haiyang Xu and Ziwei Zheng and Weiming Lu and Ming Yan and Fei Huang and Jun Xiao and Yueting Zhuang},
  title = {{UI-S1: Advancing GUI Automation via Semi-online Reinforcement Learning}},
  year = {2025},
  eprint = {2509.11543},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.11543},
}

Loading related content...

Figure