TL;DR
This paper introduces a curiosity-driven knowledge retrieval framework for mobile agents that quantifies an agent's uncertainty during task execution to trigger targeted external knowledge retrieval. By organizing retrieved documentation, code, and historical traces into structured "AppCards," the system significantly improves planning reliability, achieving a new state-of-the-art success rate of 88.8% on the AndroidWorld benchmark when paired with GPT-5.
What Problem Does This Paper Address?
While multimodal large language models (MLLMs) have improved smartphone automation, mobile agents still struggle when interacting with complex or unfamiliar applications. They often lack application-specific functional knowledge, leading to planning errors, incorrect API calls, and a failure to generalize to unseen environments.
Existing solutions typically fall into two camps: application-specific fine-tuning (which transfers poorly to new apps) or framework-level planning improvements (which often only encode shallow, implicit knowledge of app functionalities). The authors address this gap by creating a mechanism that allows an agent to recognize when it doesn't know how an application works and proactively fetch the missing knowledge from external sources.
Methods
The authors formalize mobile-agent task execution as a variant of a Markov Decision Process (MDP) that includes a quantitative measure of epistemic uncertainty ($U$) and an exploration threshold ($\tau$).
The framework consists of two main pillars:
- Curiosity-Driven Information Gain Estimation: Inspired by "Latent Bayesian Surprise," the framework measures the agent's insufficiency in understanding an app. Before an action, the model generates a prior predictive distribution of what the next interface will look like. After the action is executed and the actual next state is observed, it generates a posterior distribution. The divergence between these two distributions—calculated using a tail-adjusted Jensen-Shannon (JS) divergence—quantifies the information gain, serving as a "curiosity score." If the cumulative uncertainty exceeds the threshold $\tau$, external retrieval is triggered.
- AppCards: Instead of dumping raw text into the LLM's context window, the system consolidates retrieved information from online documentation, source code repositories, and historical interaction traces into a structured format called an AppCard. Each AppCard contains four components: functional semantics, input/output constraints, interface-to-functionality mappings, and common interaction patterns.
The overall architecture is illustrated below:
The specific curiosity estimation process using JS divergence is detailed here:
Datasets
The framework was evaluated using the AndroidWorld benchmark, an open-source environment containing 116 interactive tasks across approximately 20 widely used Android applications. The tasks span multiple domains (scheduling, finance, messaging, etc.) and are split into three difficulty tiers: 61 easy tasks (single-app), 36 medium tasks (multi-step editing/creation), and 19 hard tasks (extended reasoning or cross-app coordination).
Key Insights and Ideas
- Curiosity as a Resource Gatekeeper: Constantly querying external databases or documentation for every single step wastes context window budgets and compute. Using uncertainty as a "gate" ensures retrieval happens only when the agent faces a genuine epistemic deficit.
- Structured vs. Unstructured Knowledge: LLMs perform better when external knowledge is modular and version-aware. AppCards prevent the agent from being overwhelmed by irrelevant text, reducing spurious associations and stabilizing execution.
- The Backbone Capability Paradox: Providing external knowledge does not universally help all models. Stronger backbone models (like GPT-5 and Gemini 2.5 Pro) possess the reasoning capacity to effectively absorb and utilize AppCards. Conversely, weaker or stylistically mismatched models (like Grok-4-Fast) actually experienced a performance decline when AppCards were introduced, likely due to an inability to handle the increased prompt complexity.
Key Results
- New State-of-the-Art: Combining the DroidRun framework with AppCards and GPT-5 achieved a 88.8% success rate on AndroidWorld, setting a new benchmark record (up from the previous best of 84.5%).
- Substantial Gains on Hard Tasks: The framework shines brightest in complex scenarios. On hard tasks, GPT-5's success rate jumped dramatically from 57.9% to 78.9% (a 21% absolute gain). Gemini 2.5 Pro also saw its hard task success rate climb from 26.3% to 36.8% (in version v0.3.3).
- Consistency Across Infrastructure: The authors tested their method across two different releases of the DroidRun framework (v0.3.3 and v0.3.9) to ensure robustness against underlying infrastructure changes, showing consistent improvements of around 6 percentage points for Gemini 2.5 Pro.
Limitations and Future Work
The primary limitation is the framework's model dependence; weaker models cannot reliably integrate the knowledge provided by AppCards. Additionally, the system currently relies on a fixed threshold for triggering curiosity and requires careful snippet selection during retrieval.
The authors note that future work will focus on:
- Developing adaptive thresholding and granularity control for uncertainty.
- Designing specific alignment strategies tailored to different LLM backbones.
- Automating the construction and versioning of the AppCards themselves.
- Implementing cost-aware retrieval scheduling to optimize API expenses.
Summary updated