MAI-Gym: Comprehensive Platform for Evaluating GUI Agents
Recent advances in online reinforcement learning (RL) have significantly improved capabilities in tasks like mathematics and coding, but applying these breakthroughs to Graphical User Interface (GUI)...
Key Facts
- Leverage MAI-Gym to streamline GUI agent development and enhance training efficiency.
- Utilize scalable environments to conduct extensive parallel testing for robust agent performance.
- Adopt online reinforcement learning techniques to improve coding and mathematical task capabilities.
- Implement the shared rollout pipeline to maintain consistent agent behavior across evaluations.
- Explore ten established benchmarks within MAI-Gym to ensure comprehensive performance assessments.
Summary
Authors: Panrong Tong, Quyu Kong, Pengxiang Li, Tianyu Xia, Hanzhang Zhou, Lei Wang, Chenglin Cai, Long Li, Long Chen, Jianan Zhang, Zhengwen Zeng, Xu Zhang, Gongjie Zhang, Yue Wang, Steven Hoi
Executive Summary
Recent advances in online reinforcement learning (RL) have significantly improved capabilities in tasks like mathematics and coding, but applying these breakthroughs to Graphical User Interface (GUI) agents has proven difficult. The main challenges are the high costs associated with creating interactive environments and the limited availability of realistic training scenarios.
To address these issues, the researchers developed MAI-Gym, a comprehensive platform designed for evaluating GUI agents, collecting data, and conducting online RL training across various environments, including mobile devices, computers, and web applications. MAI-Gym offers a shared rollout pipeline that ensures consistency in agent behavior during both evaluation and training phases. This platform supports ten established benchmarks and can scale to accommodate up to 20,000 parallel environment instances, making it a powerful tool for developing and testing GUI agents.
In addition to providing scalable infrastructure, MAI-Gym facilitates the automated creation of a variety of GUI applications and complex tasks. This includes the generation of resettable mocked applications and well-structured cross-application environments that incorporate execution-validated task verifiers. Such features are crucial for developing agents that can perform consistently across different contexts.
The researchers demonstrated the effectiveness of MAI-Gym by training an agent named MAI-Gym-9B, which is designed for use on both mobile and computer platforms. This agent achieved impressive performance metrics, scoring 78.4% on the MobileWorld benchmark and 76.2% on the OSWorld-Verified benchmark, positioning it among the leading open GUI agents with fewer than 10 billion parameters.
One notable application of MAI-Gym's capabilities was a simulated train-ticketing application, where the training in a mocked environment led to real-world improvements. The agent's task success rate increased from 28.8% to 48.1% when tested on an actual mobile phone, showing that the simulated training can effectively translate to real-world tasks.
The researchers have made MAI-Gym publicly available, including the framework, synthesis tools, mocked applications, 2,000 verified tasks, and the model checkpoint. This release aims to support reproducible research and encourage further developments in scalable training for GUI agents. The introduction of MAI-Gym could potentially pave the way for more advanced and efficient GUI agents in various applications, enhancing user interactions across digital platforms.
Academic Abstract
Online reinforcement learning (RL) with verifiable rewards has driven rapid progress in mathematics, coding, and tool use, but scaling this success to GUI agents remains challenging due to the high cost of interactive environments and the scarcity of realistic training tasks. We introduce MAI-Gym, an open all-in-one platform that unifies GUI agent evaluation, data collection, and online RL training across mobile, computer, and web environments. Through a shared rollout pipeline, MAI-Gym ensures consistent agent behavior across evaluation and training, supports ten established benchmarks, and scales to 20,000 parallel environment instances. Beyond scalable infrastructure, MAI-Gym enables automated synthesis of diverse GUI applications and challenging tasks, including resettable mocked apps and coherent cross-app worlds with execution-validated task verifiers. Using MAI-Gym, we train MAI-Gym-9B, a unified 9B agent for mobile and computer use, achieving state-of-the-art performance among open GUI agents under 10B parameters: 78.4% on MobileWorld and 76.2% on OSWorld-Verified. Importantly, RL in a mocked train-ticketing app transfers to its real-world counterpart, improving task success on a phys- ical phone from 28.8% to 48.1%. We release the framework, synthesis skills, mocked apps, 2,000 verified tasks, and the model checkpoint to support repro- ducible research and further advances in scalable GUI agent training.
Entities Mentioned
Companies
Frequently Asked Questions
What business problems does MAI-Gym solve?
MAI-Gym addresses the challenges associated with developing and evaluating GUI agents, particularly the high costs of creating interactive environments and the limited availability of realistic training scenarios.
Which industries benefit most from MAI-Gym?
Industries that rely heavily on graphical user interfaces, such as software development, gaming, and mobile application development, may benefit most from the capabilities of MAI-Gym.
What are the practical implementation considerations for using MAI-Gym?
Practical implementation considerations may include the need to integrate the platform with existing development workflows, as well as ensuring access to the necessary computing resources to support the scalable environment instances.
What resources or expertise are needed to effectively utilize MAI-Gym?
Utilizing MAI-Gym effectively may require expertise in reinforcement learning, software development, and possibly access to specialized hardware to manage the high number of parallel environment instances.
What are the competitive advantages of using MAI-Gym for businesses?
Businesses using MAI-Gym could gain competitive advantages through enhanced efficiency in developing and testing GUI agents, the ability to leverage scalable training environments, and improved consistency in agent performance during training and evaluation phases.