TL;DR
This paper introduces the Computer-Using World Model (CUWM), a novel approach for agents to understand and predict the consequences of their actions within complex desktop software environments like Microsoft Office. By factorizing UI dynamics into textual descriptions of changes and visual synthesis, CUWM enables more robust and efficient decision-making for agents, improving task completion rates and reducing errors.
What Problem Does This Paper Address?
Agents operating in complex software environments, such as Microsoft Office applications, face a significant challenge: predicting the outcomes of their actions before execution. While these environments are digital and deterministic, real-world interaction is slow, costly, and irreversible. A single incorrect UI action can derail long workflows or corrupt artifacts. This makes traditional trial-and-error learning and large-scale planning impractical. Existing world models often focus on implicit dynamics or simpler interfaces (like web or mobile), failing to capture the intricate, high-dimensional, and visually rich nature of desktop GUIs. The paper aims to bridge this gap by developing a world model specifically for computer-using agents in desktop applications.
Methods
The core innovation is the Computer-Using World Model (CUWM), which employs a two-stage factorization of UI dynamics:
- Textual State Transition Model: This stage takes the current UI screenshot and a candidate action as input and predicts a structured, natural-language description of the decision-relevant UI changes. This abstraction focuses on what changes, rather than how it appears visually.
- Visual State Realization Model: This stage takes the current UI screenshot and the predicted textual transition description to synthesize the next UI screenshot. This allows for visual generation while preserving unchanged regions.
CUWM is trained in a staged manner:
- Supervised Fine-Tuning (SFT): Both stages are initialized using supervised learning on offline UI transitions. The textual model is trained to predict human-annotated (via GPT-5) transition descriptions, and the visual model is trained to reconstruct the next screenshot.
- Reinforcement Learning (RL) Refinement: The textual transition model is further refined using a lightweight RL stage. This stage uses an LLM-as-a-Judge and a length penalty to encourage concise and structurally accurate textual descriptions that align with the critical UI elements for downstream reasoning.
The paper also introduces world-model-guided test-time action search. Here, a frozen agent policy uses CUWM to simulate the outcomes of multiple candidate actions before selecting the best one, improving decision quality without retraining the agent.
Datasets
The primary dataset used is GUI-360, which provides UI interaction trajectories from agents interacting with Microsoft Office applications (Word, Excel, PowerPoint). This dataset includes screenshots, actions, and metadata. The authors processed this dataset to create state-action-next-state tuples for training and evaluation. GPT-5 was used to generate ground-truth textual transition descriptions for supervised training.
Key Insights and Ideas
- Factorization is Key: Separating "what changes" (textual description) from "how it appears" (visual realization) is crucial for effectively modeling complex desktop UIs. This allows the model to focus on semantically meaningful changes rather than getting bogged down in pixel-level details of static regions.
- Textual Abstraction Matters for Agents: Agents benefit more from high-level structural information (e.g., "a dropdown menu appeared") than from perfect pixel-level fidelity. This is because these structural changes fundamentally alter the interaction context and valid subsequent actions.
- RL Refinement Improves Decision Relevance: While supervised learning provides a good initialization, reinforcement learning refinement significantly improves the textual descriptions' ability to capture decision-critical UI structures, leading to better agent performance.
- Test-Time Simulation is Powerful: Even without retraining the agent policy, using CUWM for test-time simulation of action outcomes dramatically improves decision quality and execution robustness, especially in long-horizon tasks where errors are costly.
- Cross-Modal Conflict is a Challenge: Combining text and image predictions from VLMs can sometimes degrade performance if the modalities conflict, suggesting limitations in current multimodal reasoning.
Key Results
- World Model Fidelity: CUWM significantly improves both textual transition prediction (higher LLM-as-a-Judge scores) and visual state realization (better PSNR, SSIM, LPIPS, FID scores) compared to baselines. The RL-refined textual model achieved the highest Action Consistency Score (ACS), indicating it preserves decision-relevant information.
- Agent Performance: World-model-guided test-time action search with CUWM consistently improved agent task completion rates across various VLM backbones. For example, CUWM with image-only input improved performance by up to 8% for some agents.
- Comparison to Other World Models: CUWM, with its image-based approach, outperformed text-based world models and image-generation baselines.
- Application Differences: Performance varied across applications, with Word generally showing the highest scores, followed by Excel, and PowerPoint being the most challenging, likely due to UI complexity and text density.
Limitations and Future Work
- Limitations:
- The paper notes that combining text and image predictions from VLMs can sometimes lead to performance degradation due to cross-modal conflict or noise accumulation.
- While the GUI-360 dataset is comprehensive, the authors acknowledge that it can be scaled up further.
- Approximately 35% of evaluation samples involved cases where the ground-truth action was not present in the agent's candidate proposals, which is an inherent limitation of agent proposal quality rather than the world model itself.
- Future Work:
- Incorporate reinforcement learning on top of DiT fine-tuning to further align the world model with downstream decision-making objectives.
- Design reward functions that more directly reflect the usefulness of the world model for agent performance.
- Improve the joint training of textual and visual components to better preserve decision-relevant information during state transitions.
Summary updated