Online RL Framework Enhances Robustness of iOS UI Navigation Agents

Original title: Online Dense Reinforcement Learning with Planning-Grounding Agent for UI Navigation on Live iOS Apps
78AI Score

To address high inference costs of frontier VLMs and brittleness of SFT-trained small models, this work proposes an online reinforcement learning framework for training UI navigation agents directly on live iOS apps. By decoupling the agent into Planning and Grounding components and utilizing LLM-as-a-Judge for dense rewards, along with a novel GiGPPO value estimation method, the approach significantly improves error recovery and robustness in dynamic interfaces.

Full Report

While frontier vision-language models demonstrate strong capabilities in user interface (UI) navigation, their high inference costs prohibit everyday use. Conversely, smaller models trained via supervised fine-tuning (SFT) or offline reinforcement learning often memorize static trajectories, leading to brittle execution and an inability to recover from errors. To address these limitations, we propose a novel online reinforcement learning framework that trains UI navigation agents directly on live iOS applications. Our framework decouples the agent into two specialized components: a Planning agent and a UI Grounding model. We rely on an LLM-as-a-Judge to provide comprehensive reward signals, combining dense, step-level feedback to evaluate intermediate progress with a terminal reward for overall task completion. To effectively leverage this dual reward structure, we optimize the agent using Proximal Policy Optimization (PPO) with step-level advantage estimation. Furthermore, we introduce GiGPPO, a novel neighbor-conditioned value estimation method that improves critic stability by leveraging reward signals from visually similar states across concurrent trajectories. To support this online training paradigm at scale, we introduce an efficient infrastructure that orchestrates hundreds of concurrent virtual iOS devices. Evaluations on rigorous benchmarks, including UINavBench, iOSWorld, and AndroidWorld, demonstrate that our online RL trained agents substantially outperform both SFT and terminal-only RL baselines while accelerating training convergence. Notably, our 8B RL agents achieve nearly a sevenfold improvement over the SFT baseline in out-of-distribution generalization to Android environments, while outperforming Gemini-3.5-Flash and tying with Gemini-3.1-Pro on real iOS applications.

    • Equal contribution

[###

ILuvUI: Instruction-Tuned Language-Vision Modeling of UIs from Machine Conversations](https://machinelearning.apple.com/research/iluvui-instruction-tuned)

July 14, 2025research area Human-Computer Interactionconference IUI

Multimodal Vision-Language Models (VLMs) enable powerful applications from their fused understanding of images and language, but many perform poorly on UI tasks due to the lack of UI training data. In this paper, we adapt a recipe for generating paired text-image training data for VLMs to the UI domain by combining existing pixel-based methods with a Large Language Model (LLM). Unlike prior art, our method requires no human-provided annotations,…

Read more[###

From Interaction to Impact: Towards Safer AI Agents Through Understanding and Evaluating Mobile UI Operation Impacts](https://machinelearning.apple.com/research/towards-safer-ai-agents)

June 30, 2025research area Human-Computer Interactionconference IUI

With advances in generative AI, there is increasing work towards creating autonomous agents that can manage daily tasks by operating user interfaces (UIs). While prior research has studied the mechanics of how AI agents might navigate UIs and understand UI structure, the effects of agents and their autonomous actions—particularly those that may be risky or irreversible—remain under-explored. In this work, we investigate the real-world impacts and…

Online RL Framework Enhances Robustness of iOS UI Navigation Agents | Today for AI