8B UI Agent Trained With Online RL on Live iOS Apps Ties Gemini-3.1-Pro on UINavBench

Online Dense Reinforcement Learning with Planning-Grounding Agent for UI Navigation on Live IOS Apps

Peitong Duan, Khashayar Gatmiry, Jeffrey Nichols, Samy Bengio, Emmanuel Abbe

cs.AI

2026-10-29

Apple trains an 8B planner with online PPO on 512 concurrent iOS VMs; UINavBench success rises from 16.7% to 32.4%, tying Gemini-3.1-Pro, though iOSWorld stays low.

What problem this solves

Running a frontier model on a phone UI can cost several dollars per task, which rules out everyday use. Small models trained with SFT (imitating human demonstrations) tend to memorize trajectories, and one wrong tap leaves them with no idea how to recover. Existing online RL work mostly pays out only at the end of a task, so ten steps of good progress earn nothing if the last step fails.

This paper trains a small planner with online RL on real iOS apps and adds feedback for intermediate steps.

Method

Three pieces carry the design.

They also propose GiGPPO. GiGPO (a GRPO variant) builds step-level baselines from identical recurring states, but with 4 to 8 rollouts per task on live devices, identical screens almost never repeat. GiGPPO instead finds the nearest sibling state by 64-bit perceptual-hash Hamming distance and feeds its return and the distance into a small MLP (about 0.9M parameters) on the critic, so the critic learns how far to trust the neighbor. Training also needs a 15-step critic warm-up with the policy frozen; otherwise advantages are dominated by value error.

Infrastructure uses cloud iOS VM snapshots (about 10 seconds to reset) and runs 512 trajectories at once. Each update samples 16 tasks with 8 rollouts each, capped at 30 steps per episode.

Results

SetupUINavBenchiOSWorldAndroidWorld
SFT baseline16.7%4.5%4.7%
PPO (terminal only), step 33621.6%7.5%19.8%
PPO, step 33632.4%2.3%32.8%
GiGPPO, step 33628.4%9.8%31.9%
Qwen3.8-27B19.6%19.5%49.1%
Gemini-3.5-Flash28.4%12.9%57.8%
Gemini-3.1-Pro32.4%39.5%60.8%

On UINavBench (116 tasks on real iOS apps), PPO ties Gemini-3.1-Pro and beats Flash and Qwen3.8-27B. Trained only on iOS, the agent reaches 32.8% on AndroidWorld versus 4.7% for SFT, the roughly sevenfold gain in the abstract. Dense rewards mainly speed up learning: PPO at 168 steps (one epoch) already matches or beats terminal-only PPO at 336. On UINavBench, GiGPPO at 75 and 168 steps lands near PPO at 168 and 336.

Why it matters

For teams building cheap or on-device UI agents, this is a usable recipe: step-level LLM judging, discounting only the dense term, and a separately warmed-up critic. It also shows online RL on real devices can run at hundreds of parallel environments. The headline claim of matching Gemini-3.1-Pro holds on one benchmark only, so treat it as a local result.

Limitations

Terms

Source

Related papers

All paper explainers