Introduction
Large Language Model (LLM) agents have shown promise in navigating smartphone interfaces, yet they remain hindered by three critical bottlenecks that prevent them from functioning as reliable personal assistants. First, an over-reliance on LLM reasoning often leads to hallucinations or failures in understanding complex UI layouts. Second, environmental isolation limits agents to a "closed-world" view, where they cannot access external web knowledge or identify uninstalled applications. Finally, operational amnesia prevents agents from learning from past successes, forcing them to reconstruct reasoning chains for every new request, which increases latency and battery consumption.
Methodology
To overcome these challenges, we propose MobileRAG, a framework that decomposes the retrieval process into three specialized functional layers:
- LocalRAG: This module manages application selection. Instead of relying on LLM intuition, it utilizes a lightweight retriever (BGE-small) to match user prompts against a database of local app descriptions. If the required tool is missing, LocalRAG can autonomously trigger a download from the Play Store.
- InterRAG: Designed for open-domain queries, InterRAG bridges the gap between the device and the web. When an agent encounters an unknown entity, InterRAG retrieves the top relevant web results via a Search API and provides a structured summary to inform the agent's next action.
- MemRAG: This module serves as the agent's long-term memory, storing successful task "trajectories." When a similar query is received, MemRAG allows the system to either reuse the successful steps entirely or provide them as a "hint," significantly reducing redundant reasoning.
Evaluation and Results
We evaluated MobileRAG using MobileRAG-Eval, a benchmark consisting of 80 tasks, including 36 new advanced instructions requiring multi-app coordination and external knowledge. Testing was conducted on both Android Studio emulators and physical Xiaomi 15 Pro devices.
Key Performance Metrics
MobileRAG demonstrated significant improvements over existing state-of-the-art (SOTA) models:
- Task Success Rate (TSR): Achieved 80.0%, representing a 10.3% improvement over the previous SOTA.
- App Selection (AS) Rate: Reached a perfect 100%, compared to 92.9% for Mobile-Agent-E.
- Efficiency: On complex "Triple-App" tasks, the framework reduced the average number of LLM calls from 8.0 to 4.3. Furthermore, by utilizing cached sequences, the number of operational action steps was reduced from 8.0 to just 1.0 in many cases.
- Latency: The retrieval overhead is minimal, with LocalRAG processing queries in approximately 0.005 seconds.
Discussion and Future Work
MobileRAG effectively treats Retrieval-Augmented Generation as a form of "action caching." By decoupling perception from selection and enabling self-healing workflows through external search, the agent becomes more proactive and efficient.
However, limitations remain. The system's performance is partially dependent on the quality of app descriptions in the Play Store, and significant UI updates could potentially invalidate stored trajectories in MemRAG. Future research will focus on enhancing memory robustness against UI changes and exploring on-device training to address the privacy implications of storing task histories.
Summary updated