TLDR: UI-Simulator is a new method that uses large language models (LLMs) to create realistic and diverse simulated user interfaces (UIs) and user interaction paths (trajectories). This allows for scalable and cost-effective training of digital agents, overcoming the challenge of expensive real-world data collection. A targeted scaling strategy, UI-Simulator-Grow, further enhances efficiency by focusing on high-impact tasks. Experiments show that agents trained with UI-Simulator perform comparably to or better than those trained on real UIs, even with smaller base models, demonstrating improved robustness and data efficiency.
Training digital agents to interact effectively with diverse user interfaces (UIs) is a critical challenge in artificial intelligence. These agents, designed to follow user instructions and navigate complex digital environments like websites and mobile apps, require vast amounts of high-quality training data. However, collecting such data from real-world UIs is incredibly expensive and time-consuming, often demanding thousands of human hours for even a few hundred tasks. This bottleneck severely limits the progress of agent development.
A new research paper, “LLMs as Scalable, General-Purpose Simulators For Evolving Digital Agent Training,” introduces a groundbreaking solution called UI-Simulator. Developed by Yiming Wang, Da Yin, Yuedong Cui, Ruichen Zheng, Zhiqian Li, Zongyu Lin, Di Wu, Xueqing Wu, Chenchen Ye, Yu Zhou, and Kai-Wei Chang, this paradigm leverages the power of Large Language Models (LLMs) to synthesize training trajectories at scale, offering a more efficient and robust way to train digital agents.
Understanding UI-Simulator
UI-Simulator is designed to overcome the limitations of real-world data collection by creating a scalable system for generating structured UI states and transitions. It comprises three main components:
- LLM-based Digital World Simulator: This is the core engine, where LLMs generate diverse and realistic UI states. Trained on vast corpora of front-end code and procedural knowledge, these LLMs are adept at predicting how a UI will change after a user action, producing future states in a hierarchical format, much like an accessibility tree.
- Guided Rollout Process: To ensure the generated trajectories are coherent and diverse, a teacher agent explores the simulated UIs under step-wise task control. This guidance prevents repetitive or illogical actions and encourages exploration of varied, context-grounded behaviors.
- Trajectory Wrapper: Finally, this component transforms the raw rollouts into high-quality training trajectories. It infers plausible user instructions for the completed tasks and refines the agent’s step-by-step reasoning to align with these instructions, making the synthetic data ready for agent training.
Targeted Scaling with UI-Simulator-Grow
Beyond simply increasing the volume of synthetic data, the researchers also propose UI-Simulator-Grow, a targeted scaling strategy. This approach focuses on efficiently synthesizing data by prioritizing tasks that offer the greatest learning potential for the agent. In each iteration, UI-Simulator-Grow identifies tasks where the agent is neither too proficient nor completely lost, then generates diverse variants of these tasks. This strategic synthesis allows for more rapid and data-efficient scaling, continuously enhancing digital agents with fewer resources.
Also Read:
- Empowering Human Coders with Smarter LLM Assistants
- Unlocking Autonomous LLM Agents with Agentic Self-Learning
Impressive Results and Robustness
The effectiveness of UI-Simulator was evaluated on two widely used benchmarks: WebArena (for web tasks) and AndroidWorld (for mobile tasks). The results are compelling:
- Agents trained with UI-Simulator achieved performance comparable to or even surpassing open-source agents trained on real UIs, despite using weaker teacher models (e.g., GPT-4o-mini instead of GPT-4o).
- UI-Simulator-trained agents demonstrated significantly better robustness when evaluated on perturbed UI environments, indicating their ability to generalize across varied UI layouts.
- Surprisingly, UI-Simulator even outperformed variants trained directly on real downstream environments in some cases. This highlights a key advantage: the simulator can generate trajectories for scenarios that are difficult or impossible to obtain in real environments (e.g., specific search results, logged-in account pages without access restrictions).
- UI-Simulator-Grow showcased remarkable data efficiency, matching the performance of a much larger Llama-3-70B-Instruct model using only a Llama-3-8B-Instruct base model and 66% of the training trajectories.
This research underscores the immense potential of LLM-based digital world simulators to revolutionize how we train digital agents. By providing a scalable, flexible, and robust method for generating high-quality synthetic UI trajectories, UI-Simulator paves the way for more capable and adaptable AI agents in the digital world.
For more in-depth information, you can read the full research paper here: LLMs as Scalable, General-Purpose Simulators For Evolving Digital Agent Training.


