GUI Exploration Lab: Enhancing Screen Navigation in Agents via Multi-Turn Reinforcement Learning

Haolong Yan, Yeqing Shen, Xin Huang, Jia Wang, Kaijun Tan, Zhixuan Liang, Hongxin Li, Zheng Ge, Osamu Yoshie, Si Li, Xiangyu Zhang, Daxin Jiang · DOI

TL;DR

This paper introduces GUI Exploration Lab (GE-Lab), a novel simulation environment for training AI agents to navigate complex graphical user interfaces (GUIs). They propose a three-stage training paradigm—Supervised Fine-Tuning (SFT), Single-Turn Reinforcement Learning (ST-RL), and Multi-Turn Reinforcement Learning (MT-RL)—demonstrating that MT-RL significantly improves exploration and generalization for more robust GUI agents.

What Problem Does This Paper Address?

Modern AI agents are increasingly tasked with interacting with complex graphical user interfaces (GUIs), such as PC software and mobile apps. While agents have become adept at single-screen tasks, navigating through multi-screen environments to achieve a goal remains a significant challenge. Real-world GUIs are often proprietary and complex, making it difficult to gather the extensive data needed for training and evaluation. This lack of a standardized, accessible environment hinders systematic research and benchmarking of GUI navigation capabilities. The authors aim to bridge this gap by providing a flexible simulation environment and a structured training methodology.

Methods

The core contribution is GE-Lab, a simulation engine that allows for the flexible definition of GUI environments, including screens, icons, and navigation graphs. This provides full access to environment information for training and evaluation.

The paper proposes a staged training approach:

  • Supervised Fine-Tuning (SFT): This initial stage uses pre-constructed trajectories to teach the agent fundamental navigation knowledge, essentially memorizing common screen transitions.
  • Single-Turn Reinforcement Learning (ST-RL): Building on SFT, ST-RL uses interactive environments and reward signals to improve generalization to unseen scenarios by correcting single-step actions.
  • Multi-Turn Reinforcement Learning (MT-RL): This advanced stage leverages interactive trial-and-error over multiple steps to encourage exploration and develop more sophisticated navigation strategies, leading to further performance gains.

The agent's interaction is formalized as a Partially Observable Markov Decision Process (POMDP). A multi-level reward function is designed to guide learning, incorporating rewards for action type, coordinate accuracy, intent matching, and format correctness.

Datasets

  • Env-Base: The primary in-domain environment for training and evaluation, a tree-structured graph with customizable depth and branching.
  • Out-of-Distribution (OOD) Environments: Variants of Env-Base are created by perturbing visual appearance (Env-Image), semantic labels (Env-Name), icon positions (Env-Position), and introducing noise (Env-Noise) to test robustness.
  • Real-World Benchmarks: The authors evaluate their trained agents on several publicly available real-world GUI datasets (AITW, AITZ, AMEX, Mind2Web, ScreenSpot, FuncPred, MOTIF, VWB AG, VWB EG, AndroidWorld) to assess generalization.

Key Insights and Ideas

  • SFT is a necessary foundation, but not sufficient: While SFT helps agents memorize basic navigation, it leads to brittle performance when encountering novel situations.
  • Reinforcement Learning is key for generalization: Both ST-RL and MT-RL significantly outperform SFT, especially in out-of-distribution and complex navigation tasks.
  • MT-RL fosters true exploration: The multi-turn nature of MT-RL encourages agents to discover novel, efficient paths, rather than just relying on memorized or slightly modified training trajectories. This is crucial for real-world adaptability.
  • Staged training is optimal: The paper demonstrates a clear progression: SFT for foundational knowledge, ST-RL for generalization, and MT-RL for robust exploration and performance.
  • GE-Lab is a valuable research tool: The flexible and accessible simulation environment democratizes research in GUI agents, enabling systematic study and benchmarking.

Key Results

  • Out-of-Distribution Performance: MT-RL consistently outperformed SFT and ST-RL on OOD benchmarks, showing significantly better generalization. For example, on Env-Base, MT-RL achieved ~63% success compared to SFT's ~55%.
  • Interactive Benchmarks: MT-RL achieved the highest scores on interactive benchmarks (Pass@1: 17.47, Pass@5: 25.16), indicating its effectiveness in realistic, dynamic scenarios.
  • Task Difficulty: Performance degrades significantly as path length increases, highlighting the challenge of complex navigation. RL methods showed more stable performance at longer path lengths.
  • Real-World Generalization: Agents trained in GE-Lab showed notable zero-shot generalization to real-world GUI tasks, even for actions not encountered during training (e.g., WAIT, SCROLL, TYPE).
  • Continual Training: MT-RL continued to outperform ST-RL and SFT even after continual training on real-world data, achieving the highest average performance (72.03%).

Limitations and Future Work

  • Action Space: The current GE-Lab version has a restricted action space (primarily click and complete). Future work aims to expand this to include gestures like swiping and long-pressing to better approximate real-world interactions.
  • Environment Complexity: While GE-Lab is flexible, it currently doesn't fully capture the diversity of real-world GUIs, such as extensive textual information or complex visual noise. The authors plan to enrich the simulation.
  • Reward Hacking: The paper notes a phenomenon of "reward hacking" in MT-RL where agents might prematurely complete tasks to maximize short-term rewards. Strategies to mitigate this, like reducing action space diversity, were explored.
  • Scalability: The authors highlight the efficiency of their simulation framework, enabling scalable reinforcement learning, but further exploration of computational trade-offs is ongoing.

Summary updated

BibTeX
@inproceedings{yan2025gui,
  author = {Haolong Yan and Yeqing Shen and Xin Huang and Jia Wang and Kaijun Tan and Zhixuan Liang and Hongxin Li and Zheng Ge and Osamu Yoshie and Si Li and Xiangyu Zhang and Daxin Jiang},
  title = {{GUI Exploration Lab: Enhancing Screen Navigation in Agents via Multi-Turn Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=XVm8KOO3Ri},
}
Figure