Google Trains Computer Agents on YouTube Tutorials, Boosting UI-TARS by 33%
Google researchers turn 53,000 YouTube tutorials into executable UI training data using an inverse dynamics model, boosting agent success rates across OSWorld and WindowsAgentArena.
ProTakeaways
- Google's Watch & Learn converts 53K YouTube tutorials into executable UI trajectories without manual labeling.
- An inverse dynamics model predicts user actions from consecutive screenshots at 91.7% accuracy.
- Trained on 600K auto-collected state transitions using Playwright crawling Common Crawl URLs.
- Boosts Qwen 2.5-VL 7B from 1.9% to 13.0% on OSWorld through supervised fine-tuning.
- UI-TARS-1.5-7B hits state-of-the-art 24.0% on WindowsAgentArena among 7B models under 15 steps.
- Weakest on text-heavy apps like VS Code and fine-grained drag tasks in LibreOffice.
Training a computer-using agent to click around Photoshop, VLC, or LibreOffice is limited by the same bottleneck that plagued robotics for years: nobody wants to hand-label millions of demonstrations. A team from Google Cloud AI Research, Google DeepMind, and Ohio State just proposed a workaround that scrapes YouTube tutorials and reverse-engineers the underlying mouse and keyboard actions from the pixels alone.
The framework, called Watch & Learn (W&L), produces 53,125 high-quality trajectories spanning a broad range of applications and task categories across three operating systems (Ubuntu, macOS, and Windows). When used as training data or as in-context examples, these trajectories consistently improve both frontier models like Claude 4 Sonnet and open-source 7B agents.
Why trajectory data is the real bottleneck
Computer-using agents (CUAs) need to plan multi-step workflows across constantly changing interfaces. To train them, you need traces of a human doing the same task: click here, type this, scroll there. Collecting that data by hand is brutal. OpenCUA's AgentNet dataset, which spans three operating systems and more than 200 applications, required six months of dedicated annotation effort to label 22K tasks, with a total cost exceeding $32,000 (about $1.45 per task).
Prior attempts to automate this fall into three buckets, and all of them leak quality. Offline pipelines like MONDAY and TongUI stitch together multimodal LLMs with UI element detectors, but cascading errors keep accuracy around 70%. Online exploration methods generate simple, repetitive tasks. Hybrid approaches still lean on general-purpose MLLMs to guess the action, which is exactly where they go wrong.
Reframing the problem as inverse dynamics
The core insight of W&L is borrowed from robotics. Instead of asking a giant model to describe an entire trajectory from a video, they ask a small specialized model one question at a time: given screenshot at time t and screenshot at time t+1, what single action caused the change? This is the inverse dynamics formulation used in systems like OpenAI's VPT for Minecraft.

To train the inverse dynamics model (IDM), the team built an automated crawler that ran 48 parallel workers using Playwright with a fixed viewport of 1280x720 pixels, sampling entry points from the March 2025 Common Crawl. The bot clicks, scrolls, types, and waits on real web pages, recording the screen before and after each action. This yields roughly 600K (O_t, a_t, O_{t+1}) triples of essentially free supervision.
Inside the IDM
The architecture is deliberately lightweight. A SigLIP-2 vision encoder followed by four Transformer layers feeds three prediction heads:
- Action classification: picks one of six primitives (click, release, scroll, type, wait, move)
- Coordinate head: predicts x and y as classification over 1,000 bins each, which is more stable than regressing continuous coordinates
- Language head: a small GPT-2 decoder that generates typed text conditioned on the visual transition
Drag-and-drop is handled compositionally as a Click then Move then Release sequence, so the model never has to learn complex gestures directly. On a held-out test set, the IDM hits 95.8% action-type accuracy and 91.7% full action accuracy, versus roughly 81% and 70% for a Gemini 2.5 Flash baseline and 84% and 72% for TongUI's UI-TARS-based labeler.
From YouTube to executable trajectories
Once the IDM is trained, the pipeline scales out to real tutorials:
- For a target task, Gemini 2.5 Flash rewrites the instruction into a focused YouTube query. Example: "Can you increase the max volume of the video to 200% in VLC?" becomes "vlc increase max volume".
- The top 15 videos are pulled via the YouTube Search API.
- Frames are sampled at 1 fps. Gemini classifies each frame and drops talking-head shots, slides, transitions, and zoomed crops. Only videos averaging above 0.8 on a screencast quality score survive.
- The IDM is applied to every consecutive frame pair, producing a full action trajectory.

The final dataset spans 69 applications in 7 main categories: productivity (Office, Notion, Slack), programming (VS Code, PyCharm, Colab), design (Photoshop, Figma), screen editing (Premiere, OBS), audio (Audacity, Logic Pro), system utilities (PowerShell, Docker), and science/data tools (MATLAB, Tableau).
The numbers
W&L trajectories are useful in two ways: as few-shot exemplars at inference time, and as supervised fine-tuning data. Both settings show consistent gains on OSWorld and WindowsAgentArena.
| Model | Setting | Baseline | With W&L |
|---|---|---|---|
| Gemini 2.5 Flash | ICL on OSWorld | 19.0% | 22.0% |
| OpenAI o3 | ICL on OSWorld | 21.8% | 24.3% |
| Claude 4 Sonnet | ICL on OSWorld | 43.9% | 45.5% |
| Qwen 2.5-VL 7B | SFT on OSWorld | 1.9% | 13.0% |
| UI-TARS-1.5-7B | SFT on OSWorld | 27.3% | 31.1% |
| UI-TARS-1.5-7B | SFT on WindowsAgentArena | 18.1% | 24.0% |
The Windows result is particularly telling. Fine-tuning UI-TARS-1.5-7B on IDM-labeled trajectories improves performance from 18.1 to 24.0, whereas training on TongUI-labeled data leads to a degradation in performance (12.9, decrease of 5.2). Noisy labels do not just fail to help. They actively poison the model. This confirms a familiar lesson: with agent data, precision matters more than volume.
An ablation shows the ICL gain comes from the structured action labels, not just the frames. Feeding raw frames to Gemini 2.5 Flash actually drops performance slightly. Adding action labels bumps it to 20.1%, and adding a natural-language reasoning trace (also generated by Gemini) takes it to 22.0%.
Where it works and where it doesn't
The category breakdown reveals the shape of the improvement. The largest improvements are observed in Chrome, GIMP, and VLC. These domains benefit strongly from specialized procedural knowledge that is well covered by online tutorials, such as configuring browser settings, editing images, or adjusting media player preferences.
The weak spots are predictable:
- VS Code and OS tasks: heavy text entry and code manipulation are not well captured by the current primitive action space
- Thunderbird and LibreOffice: few high-quality tutorials exist, and tasks often require fine-grained drag operations
- Keyboard shortcuts: the IDM does not currently handle hotkeys like Ctrl+C, because web-based state transitions rarely capture them
There is also an interesting data-scaling curve. Fine-tuning Qwen 2.5-VL on 10K trajectories moves it from 1.9% to 3.3%. At 25K it hits 4.9%. With the full 53K, it jumps to 13.0%. The gains are closer to exponential than linear, suggesting the model needs a critical mass of demonstrations before it can simultaneously learn grounding and planning.
What this unlocks
The bigger idea here is that human-recorded tutorial videos, which already exist by the millions on the open web, can serve as a nearly free training signal for computer-use agents. Manual annotation at $1.45 per task no longer scales for the millions of trajectories needed to cover real-world workflows. A well-trained IDM at 90%+ action accuracy sidesteps that entirely.
The project page is at chanh.ee/wandl. The paper does not yet indicate a public model or dataset release, though the methodology is fully documented and reproducible from the appendix. For anyone building open-source CUAs, the recipe of Common Crawl state-transition scraping plus a small SigLIP-2-based IDM is a strong starting point for generating your own supervision at scale.