Abstract
Autonomous mobile GUI agents face a significant trade-off between the reasoning capabilities of large cloud-based models and the efficiency of small on-device models. This paper introduces OpenPhone, a hybrid device-cloud framework that optimizes a 3B-parameter model for routine on-device tasks while selectively escalating complex reasoning to the cloud. By employing a two-stage training pipeline (SFT followed by Group Relative Policy Optimization) and an efficient textual memory system, OpenPhone achieves performance comparable to much larger models while significantly reducing operational costs and latency.
Introduction
Building autonomous agents capable of navigating mobile graphical user interfaces (GUIs) presents a "Goldilocks" dilemma. On-device models, typically under 4B parameters, often lack the reasoning depth required for multi-step tasks. Conversely, larger models (7B+ parameters) or closed-source APIs like GPT-4 are memory-intensive, expensive, and introduce significant latency due to constant cloud communication.
Furthermore, "context bloat" from high-resolution screenshots makes it difficult for small models to maintain long-term interaction history. OpenPhone addresses these bottlenecks through a collaborative architecture and optimized training strategies that distill visual history into manageable textual states.
The OpenPhone Framework
The OpenPhone system utilizes a three-pronged approach to balance efficiency and intelligence:
- Lightweight Reasoning Agent: Starting with Qwen2.5-VL-3B, the model is enhanced via a two-stage pipeline. Supervised Fine-Tuning (SFT) on synthetic data establishes basic GUI interaction skills. This is followed by Group Relative Policy Optimization (GRPO), a reinforcement learning technique that optimizes the policy without requiring a separate critic model, thereby saving memory during training.
- Efficient Memory Management: To avoid the token overhead of raw screenshots, OpenPhone distills interaction history into compact textual state assessments. This allows the agent to retain 10–20 steps of context within a limited memory footprint.
- Device-Cloud Collaboration: The system employs a Task Complexity Assessment and a Dynamic Orchestration Policy. If the on-device model exhibits signs of confusion—such as repetitive actions or incorrect navigation—the system seamlessly transitions the task to a cloud-based model (e.g., Gemini-2.5-Pro).
Experimental Evaluation
The framework was evaluated using the AndroidLab benchmark (138 tasks across nine apps) and a custom set of 25 real-world tasks involving apps like Chrome, TikTok, and Gmail. Training data was augmented using a synthetic pipeline where a "teacher" model (Gemini-2.5-Pro) generated reasoning chains for existing trajectories.
Performance and Efficiency
The standalone OpenPhone 3B model achieved a 15.2% success rate, a significant improvement over the base Qwen2.5-VL-3B’s 2.2%, outperforming several 7B and 9B models. When integrated into the hybrid device-cloud system, it reached a 47.1% success rate on AndroidLab, nearing the 56.5% achieved by pure cloud-based Gemini-2.5-Pro while reducing cloud calls by 10%.
From an efficiency standpoint, the 3B model ran 50% faster than 7B alternatives on a single NVIDIA RTX 3090. Notably, 9B models were unable to run on the same hardware while maintaining the necessary context length, highlighting the importance of the 3B parameter class for on-device deployment.
Discussion and Conclusion
OpenPhone demonstrates that a properly aligned 3B model, utilizing Chain-of-Thought (CoT) reasoning and GRPO, can rival much larger models. A key insight is the value of strategic escalation: many agents fail only at critical logic junctions. By allowing the on-device model to handle routine navigation and only invoking the cloud for high-complexity reasoning, the system optimizes both cost and performance. Future work will focus on further reducing cloud reliance by pushing more reasoning capabilities to the edge and incorporating more diverse, human-labeled trajectories.
Summary updated