TL;DR
ShowUI-Aloha introduces a complete record-parse-learn-execute pipeline that transforms unstructured, in-the-wild human screen recordings into structured, semantic teaching traces. By leveraging these human-guided plans rather than operating purely zero-shot, the agent achieves a 60.1% success rate on complex desktop automation tasks, significantly outperforming existing autonomous baselines.
What Problem Does This Paper Address?
Automating complex Graphical User Interface (GUI) tasks on desktop environments remains a major hurdle for AI agents. While large vision-language models (VLMs) excel at basic UI grounding (like finding a button), they struggle with the underlying software logic and multi-step planning required for intricate workflows.
Autonomous, unguided agents frequently suffer from common failure modes such as context drift, getting stuck in loop states, or attempting unsupported actions. While human demonstrations are a rich potential data source to teach these workflows, raw screen recordings are typically long, noisy, unstructured, and lack semantic annotations. This paper addresses the challenge of scalably capturing, parsing, and executing tasks based on natural human computer use.
Methods
ShowUI-Aloha implements a robust record–parse–learn–execute paradigm split across four core components:
- Recorder: A lightweight, cross-platform tool that captures full-screen video at 30 FPS alongside high-frequency OS-level interaction logs (mouse clicks, drags, scrolls, and keystrokes).
- Learner: This module cleans the noisy, redundant raw event stream into grouped interaction primitives (e.g., merging individual keystrokes into typing segments). For each cleaned action, it generates a full-screen frame and a zoomed-in crop overlaid with visual markers (like a red 'X' for clicks). A VLM then interprets these images to generate a structured, four-field JSON trace: Observation, Think (rationale), Action, and Expectation.
- Actor (Planner): Instead of rigidly replaying mouse coordinates, the Actor uses the demonstration-derived trace as a "soft reference." It combines the high-level goal, the current live screenshot, and the historical context to dynamically formulate the next step.
- Executor: This component translates the Actor's high-level commands into physical interactions at the OS level, automatically handling multi-monitor coordinate offsets and safety checks.
Datasets
The framework was evaluated by reinstantiating the OSWorld task suite in a live environment. The authors evaluated the system across 361 desktop tasks spanning ten distinct application categories (including Chrome, VS Code, GIMP, VLC, and LibreOffice apps) executed on both Windows and macOS platforms.
Key Insights and Ideas
- Abstraction Over Memorization: By translating raw pixel interactions into natural language plans (Observation, Think, Action, Expectation), the agent learns transferable procedures. It can successfully execute a task even if the interface layout shifts, unexpected dialogs appear, or filenames change relative to the original human demonstration.
- Visual Markers Eliminate Coordinate Supervision: Adding lightweight, semi-transparent red overlays directly onto screenshots allows downstream VLMs to easily attribute user intent from raw pixels without needing complex coordinate-level training.
- Where Agents Fail: An analysis of unsuccessful trials revealed that element localization errors dominate the failure distribution (53.5%), particularly in dense toolbars with visually similar icons (e.g., GIMP or LibreOffice Impress). Text editing via imprecise drag-selection accounted for another 16.0% of failures.
Key Results
ShowUI-Aloha was evaluated using a strict binary success metric (the final state must exactly match the goal, with zero partial credit).
- Overall Performance: Aloha successfully completed 217 out of 361 tasks, achieving an overall success rate of 60.1%.
- Baseline Comparison: It comfortably outperformed strong unguided and agentic baselines, including CoAct-1 (56.39%), Agent S2.5 (54.2%), Jedi-7B (50.6%), and zero-shot VLMs like OpenAI CUA 4o (31.3%).
- Application Breakdown: The system achieved near-perfect success in browser-based tasks (91.3% on Chrome) and 83.3% on OS operations, but found cross-application coordination (37.6% on Multi-apps) to be the most challenging.
- Ablation Studies: Removing the human teaching trace (
- TeachTrace) caused the success rate to plummet from 63.3% to 36.7% on a 30-task subset, proving that demonstration-driven grounding is the primary driver of the agent's reliability.
Limitations and Future Work
Despite its strong performance, ShowUI-Aloha faces a few notable limitations:
- Fine-Grained Disambiguation: It occasionally confuses semantically related actions when multiple similar icons exist in dense toolbars.
- Text Selection: Drag-based text selection remains noise-sensitive due to a lack of semantic awareness of text boundaries at the motor-control level.
- Demonstration Dependency: The paradigm still relies on having at least one human demonstration per workflow family.
Future directions include enhancing icon-level semantic grounding, improving text-structure understanding, and distilling these structured traces into compact, standalone vision-language-action models to reduce runtime dependence on live demonstrations.
Summary updated