TL;DR
Xiaomi-GUI-0 is a native multimodal graphical user interface (GUI) agent designed to bridge the persistent gap between simulated benchmark success and real-world mobile usability. By training and evaluating the agent within a real-device closed loop powered by an error-driven data flywheel, the creators achieved a 72.0% success rate on a new physical-device benchmark (RealMobile) and a state-of-the-art 78.9% on AndroidWorld.
What Problem Does This Paper Address?
While current vision-language model (VLM) agents achieve high scores on static or simulated GUI benchmarks, they frequently break down when deployed on actual mobile devices. Real-world environments are highly unpredictable: they present anti-emulator protections, dynamic account states, system permission prompts, captchas, and risk-control interventions.
Traditional training pipelines rely on clean, offline success trajectories. When agents trained this way encounter an unexpected pop-up or a minor execution error, they lack the ability to recognize the failure or recover, often getting trapped in infinite repetition loops. This paper addresses this distribution shift by moving both training data collection and evaluation directly onto physical devices.
Methods
The SeerRay Team developed a comprehensive ecosystem to train Xiaomi-GUI-0 (built on a Qwen3-VL-30B backbone) using the following core components:
-
Hybrid Infrastructure: The architecture utilizes hundreds of physical smartphones and tablets as the primary execution environment, supplemented by virtual sandboxes for scalable, reproducible data collection of less risk-sensitive tasks. Overview of the hybrid infrastructure combining physical devices and virtual sandboxes.
-
High-Generalization Data Generation: To cover long-tail user intents, the authors constructed a five-level function tree for applications, mapping out how features are nested. They combined this with "behavior buckets" (representing user motivations) to synthesize complex, multi-app queries. High-generalization data construction pipeline from function tree to training trajectories.
-
Error-Driven Data Flywheel: Instead of simply scaling up data volume, the pipeline targets the model's actual failure modes. Human annotators isolate the first key error in a failed trajectory and provide a correction. Concurrently, a teacher model monitors student rollouts; if the student falters, the teacher takes over to demonstrate explicit recovery paths back to a successful state.
- Structured Chain-of-Thought (CoT): The model is forced to reason using a strict five-tag schema:
[Observation],[Reflection],[Plan],[Decision], and[Memory]. - Progressive Three-Stage Training:
- Supervised Fine-Tuning (SFT) to learn basic UI operations and format adherence.
- Step-Level Reinforcement Learning (Step RL) using Group Sequence Policy Optimization (GSPO) and a rule/LLM cascade reward to optimize local action choices.
- Agentic Reinforcement Learning (Agentic RL) to optimize long-horizon planning and error recovery across entire multi-step trajectories.
Datasets
The model was evaluated on two primary platforms:
- AndroidWorld: A standard, public simulated benchmark used to verify general task-execution capabilities.
- RealMobile (New): A newly introduced benchmark built from real user traffic and executed entirely on physical devices against live commercial apps (e.g., Douyin, Xiaohongshu, Weibo). It features 100 tasks, 57% of which are cross-application. RealMobile abandons binary pass/fail metrics in favor of fine-grained sub-goal scoring (partial credit) and includes a veto mechanism that zeroes out the score if the agent performs an irreversible or unauthorized action (like deleting user data or attempting a real financial transaction).
Key Insights and Ideas
- The First-Key-Error Rule: Because GUI failures cascade rapidly (an early wrong tap completely changes the subsequent page states), annotating only the root-cause error drastically reduces human annotation costs while maximizing the impact of the corrective supervision.
- Recovery Over Selection: Traditional data flywheels simply discard or down-weight failed trajectories. This paper demonstrates that preserving the student's erroneous context and providing a teacher-guided recovery path provides dense, highly effective signals for self-correction.
- Hierarchy-Triggered Cascade Rewards: Calibrating multi-dimensional reinforcement learning rewards is notoriously difficult. The authors implemented a top-down early-exit reward structure (checking format $\rightarrow$ action validity $\rightarrow$ structure $\rightarrow$ capability $\rightarrow$ semantic consistency). This ensures basic constraints are met before wasting compute on evaluating high-level reasoning quality.
Key Results
- RealMobile Benchmark: Xiaomi-GUI-0 achieved a 72.0% success rate, vastly outperforming locally deployable open-source models like MAI-UI-8B (33.0%). It also surpassed prominent proprietary models like Claude Opus 4.7 (60.0%) and Gemini 3.1 Flash (58.0%), approaching the performance of frontier models like Seed 2.0 Pro (80.0%).
- AndroidWorld Benchmark: The model achieved a 78.9% success rate, setting a new state-of-the-art among evaluated models and outperforming the previous best, UI-Venus-1.5-30B-A3B (77.6%).
- Foundation Tasks: On basic UI operations (clicking, scrolling, navigating), Xiaomi-GUI-0 achieved a perfect 100% success rate, indicating that basic execution mechanics are reaching saturation.
Limitations and Future Work
- The Safety & Reflection Bottleneck: "Safety & Reflection" remains the lowest-performing domain across all models. Xiaomi-GUI-0 achieved only 43.8% success here, showing that teaching an agent when not to proceed or how to handle highly ambiguous, unfulfillable instructions remains an open challenge.
- Knowledge Capacity Constraints: While the agent excels at planning and execution, it still trails top-tier proprietary models (like Gemini 3.1 Pro) on knowledge-intensive tasks. This suggests that smaller, open-source backbones still face limitations in encoding the massive world knowledge required for open-ended user requests.
Summary updated