Mobile-Env: Building Qualified Evaluation Benchmarks for LLM-GUI Interaction

Danyang Zhang, Lu Chen, Kai Yu, Zhang, Situo, Xie, Tianbao, Zhao, Zihan, Chen, Siyuan, Chen, Lu, Xu, Hongshen, Cao, Ruisheng, Yu, Kai · DOI

Abstract

The Graphical User Interface (GUI) is pivotal for human interaction with the digital world, enabling efficient device control and the completion of complex tasks. Recent progress in Large Language Models (LLMs) and Vision Language Models (VLMs) offers the chance to create advanced GUI agents. To ensure their effectiveness, there's a pressing need for qualified benchmarks that provide trustworthy and reproducible evaluations. We introduce Mobile-Env, a comprehensive toolkit tailored for creating GUI benchmarks in the Android mobile environment. Mobile-Env offers an isolated and controllable setting for reliable evaluations and accommodates intermediate instructions and rewards to reflect real-world usage more naturally.

Introduction

We are entering the era of "GUI Agents"—AI models that can browse the web, book tickets, or manage calendars just like a human would. However, evaluating these agents is currently a significant challenge. Most existing benchmarks fall into two traps: they either rely on static datasets that don't account for how the environment reacts to an agent's choices, or they use uncontrollable live environments where updates to websites make comparisons unreproducible. Furthermore, many benchmarks evaluate the trajectory (the specific buttons clicked) rather than the final result. Mobile-Env aims to fix this by providing a "sandbox" that is both interactive and strictly controllable.

The Mobile-Env Framework

Mobile-Env is a platform built on the Android emulator designed to provide a rigorous evaluation environment. Its architecture separates the Simulator (the interface with the OS) from the Task Manager (the evaluation logic).

The Mobile-Env architecture showing the interaction between the emulator, replay server, and GUI agent.

Key technical innovations include:

  • Result-Based Evaluation: Instead of checking if an agent followed a specific path, Mobile-Env uses system signals—like View Hierarchy (VH) changes and on-screen text—to verify if the goal state was reached.
  • Flexible Logic: It supports complex evaluation rules using Conjunctive (AND), Disjunctive (OR), and Order Constraints (THEN) to handle tasks with multiple valid solutions.
  • Intermediate Feedback: It provides intermediate rewards and instructions, allowing for Reinforcement Learning (RL) training and evaluating multi-turn conversational interactions.
  • Environment Isolation: A replay server "freezes" dynamic app content (like WikiHow articles) to ensure every agent faces the exact same digital world, solving the reproducibility problem.

Datasets

The researchers introduced two distinct task sets:

  1. Open World Set: 74 tasks across real-world apps (e.g., Google Authenticator, Ele.me, IMDB) to test "raw" performance in live settings.
  2. WikiHow (Fixed World) Set: 150 tasks generated from over 100,000 WikiHow pages. This set provides a perfectly stable environment for scientific comparison by replaying data from a local server.

Key Insights and Results

Evaluations of state-of-the-art models like GPT-4V and LLaMA-3 revealed a significant "capability gap."

Comparison between progressive (multi-turn) and comprehensive (single-turn) instructions for a shopping task.
  • The VLM Grounding Paradox: Vision-Language Models (VLMs) often performed worse than text-only LLMs fed with simplified XML. VLMs struggled to "ground" actions, knowing what to do but failing to click the correct coordinates without visual aids like "Set-of-Marks."
  • Instruction Granularity: Breaking complex tasks into progressive, multi-turn instructions dramatically improved performance compared to single, comprehensive commands.
  • Common Sense and Protocol Failures: Models often failed to recognize standard icons (like "hamburger" menus) or follow output protocols, frequently hallucinating text that broke parsing scripts.

On the WikiHow set, the best-performing model, LLaMA-3-70B, achieved only a 47.33% success rate, while GPT-4 reached 43.33%. These results underscore the difficulty of GUI tasks that humans find trivial.

Conclusion

Mobile-Env highlights the need for more capable foundation models and robust GUI agent frameworks. While current models struggle with grounding and basic GUI intuition, the isolated and reproducible environment provided by Mobile-Env offers a path forward for rigorous development and evaluation. Future work will focus on expanding the app variety and developing models that can better interpret visual interfaces without relying on underlying text hierarchies.

Check out the project on GitHub.

Summary updated

BibTeX
@misc{zhang2023mobile,
  author = {Danyang Zhang and Lu Chen and Kai Yu and Zhang, Situo and Xie, Tianbao and Zhao, Zihan and Chen, Siyuan and Chen, Lu and Xu, Hongshen and Cao, Ruisheng and Yu, Kai},
  title = {{Mobile-Env: Building Qualified Evaluation Benchmarks for LLM-GUI Interaction}},
  year = {2023},
  eprint = {2305.08144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.08144},
}
Figure