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 -- a challenge current benchmarks often fail to address. To tackle this issue, 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. Utilizing Mobile-Env, we collect an open-world task set across various real-world apps and a fixed world set, WikiHow, which captures a significant amount of dynamic online contents for fully controllable and reproducible evaluation. We conduct comprehensive evaluations of LLM agents using these benchmarks. Our findings reveal that even advanced models (e.g., GPT-4V and LLaMA-3) struggle with tasks that are relatively simple for humans. This highlights a crucial gap in current models and underscores the importance of developing more capable foundation models and more effective GUI agent frameworks.
Introduction
We are currently in the "Agent Era," where Large Language Models (LLMs) and Vision Language Models (VLMs) are expected to navigate mobile interfaces to perform complex tasks like booking tickets or managing calendars. However, evaluating these agents is currently challenging. Existing benchmarks are often static, predicting clicks on frozen screenshots, or uncontrolled, interacting with a live internet where content changes constantly. This lack of reproducibility and the absence of intermediate feedback mechanisms hinder the development of natural human-AI interactions.
The Mobile-Env Platform
To address these issues, researchers introduced Mobile-Env, an open-source toolkit that transforms the Android OS into a structured research laboratory. Mobile-Env provides an isolated and controllable setting for reliable evaluations, accommodating intermediate instructions and rewards to reflect real-world usage.
Key technical features include:
- Simulator & Task Manager: Uses an Android emulator as a proxy, monitoring system signals (logs, screen text, View Hierarchy) to track task progress.
- Listener-Style Evaluation: Passively "listens" to the environment to ensure evaluation does not interfere with agent actions.
- Flexible Logic: Supports complex success criteria using conjunctive, disjunctive, and order constraints.
- Modality Bridging: Converts UI structures into simplified HTML for text-only LLMs and uses Set-of-Marks (SoM) overlays for VLMs to ground actions.
Benchmark Datasets
Mobile-Env introduces two distinct benchmark sets:
- Open World Set: 74 tasks across popular real-world apps (e.g., IMDb, Douban) running on the live internet to test raw performance.
- Fixed World Set (WikiHow): 150 tasks based on a crawl of over 100,000 WikiHow pages. Using a local replay server, this set provides a completely deterministic environment for 100% reproducible evaluations.
Analysis of Agent Performance
Comprehensive evaluations reveal a significant gap between current model capabilities and human performance. The platform's ability to handle multi-step instructions allows for a more natural interaction flow.
Key Insights
- The Vision Gap: Surprisingly, vision-based models (VLMs) like GPT-4V performed significantly worse (3.04% success rate) than text-based models reading simplified HTML.
- GUI Common Sense: Models often failed to perform basic actions like scrolling to find a "Submit" button or recognizing unlabeled standard icons.
- Format Constraints: Many failures were due to "format fatigue," where models failed to follow strict output protocols (e.g., THINK/ACTION blocks) required by the emulator.
- Open-Source Progress: LLaMA-3-70B showed performance (40.54% SR) remarkably close to GPT-4 (43.24% SR), suggesting a narrowing gap in GUI navigation capabilities.
Conclusion and Future Work
While Mobile-Env provides a robust framework for evaluation, challenges remain regarding data contamination and the grounding of VLMs to precise screen coordinates. Future work will focus on expanding the platform to more diverse applications and developing "knowledge-augmented" agents that can learn effectively from human demonstrations.
Paper Citation: Zhang, D., et al. (2024). Mobile-Env: Building Qualified Evaluation Benchmarks for LLM-GUI Interaction. arXiv:2305.08144v4.
Summary updated