English

UISim: An Interactive Image-Based UI Simulator for Dynamic Mobile Environments

Computer Vision and Pattern Recognition 2025-09-29 v1 Artificial Intelligence Computation and Language Human-Computer Interaction Machine Learning

Abstract

Developing and testing user interfaces (UIs) and training AI agents to interact with them are challenging due to the dynamic and diverse nature of real-world mobile environments. Existing methods often rely on cumbersome physical devices or limited static analysis of screenshots, which hinders scalable testing and the development of intelligent UI agents. We introduce UISim, a novel image-based UI simulator that offers a dynamic and interactive platform for exploring mobile phone environments purely from screen images. Our system employs a two-stage method: given an initial phone screen image and a user action, it first predicts the abstract layout of the next UI state, then synthesizes a new, visually consistent image based on this predicted layout. This approach enables the realistic simulation of UI transitions. UISim provides immediate practical benefits for UI testing, rapid prototyping, and synthetic data generation. Furthermore, its interactive capabilities pave the way for advanced applications, such as UI navigation task planning for AI agents. Our experimental results show that UISim outperforms end-to-end UI generation baselines in generating realistic and coherent subsequent UI states, highlighting its fidelity and potential to streamline UI development and enhance AI agent training.

Keywords

Cite

@article{arxiv.2509.21733,
  title  = {UISim: An Interactive Image-Based UI Simulator for Dynamic Mobile Environments},
  author = {Jiannan Xiang and Yun Zhu and Lei Shu and Maria Wang and Lijun Yu and Gabriel Barcik and James Lyon and Srinivas Sunkara and Jindong Chen},
  journal= {arXiv preprint arXiv:2509.21733},
  year   = {2025}
}
R2 v1 2026-07-01T05:57:31.637Z