Efficient Agent Training for Computer Use

Yanheng He, Jiahe Jin, Pengfei Liu

TL;DR

Researchers have developed PC Agent-E, a highly efficient framework that trains open-source computer-use agents to outperform proprietary models like Claude 3.7 Sonnet using only 312 human demonstrations. By employing a novel technique called "Trajectory Boost" to synthesize diverse alternative actions from human-grounded starting points, the team achieved a 141% performance boost while generating training data 300 times faster than traditional online interaction methods.

The Data Bottleneck in Computer-Use Agents

Building an AI that can seamlessly operate a computer—clicking buttons, navigating complex menus, and typing across various applications—is a major goal in automation. While Vision-Language Models (VLMs) have made significant strides, a massive performance gap remains between proprietary models and open-source alternatives.

The primary bottleneck is data. High-quality "trajectories" (sequential logs of screenshots and corresponding actions) are incredibly scarce. Collecting human data is slow and expensive. Conversely, purely synthetic data generated by AI often suffers from "compounding errors," where a small mistake early in a sequence leads the agent into a nonsensical state, failing to teach the model real-world robustness.

Methodology: The PC Agent-E Pipeline

To overcome this data scarcity, the authors introduce a highly efficient pipeline designed to turn a minimal amount of human effort into a massive, high-quality training signal.

The four-stage training pipeline for PC Agent-E.
  1. Trajectory Collection: The foundation relies on just 312 human-annotated trajectories collected using a custom tool called PC Tracker. This initial data collection required only two humans and a single day to complete.
  2. Thought Completion: Raw human logs capture actions but lack the underlying "why." The researchers utilized Claude 3.7 Sonnet to reconstruct the latent reasoning (thoughts) behind each human action, creating a complete "thought-action" pair for every step.
  3. Trajectory Boost: Instead of strictly following the human's single linear path, the team used Claude to "branch out." At each step of a human trajectory, the AI was prompted to suggest multiple alternative valid actions. This transforms a linear path into a diverse decision tree, expanding the original 312 trajectories into 27,000 rich training samples.
  4. Agent Training: Finally, they fine-tuned a Qwen2.5-VL-72B model on this enriched dataset using a simple end-to-end scaffold, resulting in PC Agent-E.

Datasets and Benchmarks

  • Training Data: 312 human-annotated trajectories, augmented to roughly 27,000 samples via Trajectory Boost.
  • WindowsAgentArena-V2: The authors released an improved version of this standard benchmark. They patched "infeasible hacking" exploits (where models could artificially inflate scores by simply outputting FAIL) and integrated VM snapshot resets to ensure fair, reproducible testing environments.
  • OSWorld: A Linux-based benchmark utilized to test how well the Windows-trained agent generalizes to entirely different operating systems.

Key Insights

  • Diversity Beats Volume: The core insight of PC Agent-E is that an agent doesn't necessarily need millions of unique tasks; it needs to see many different ways to solve the same task. By branching out from human-verified states, the model develops a much more robust planning capability.
  • The Student Surpasses the Teacher: Interestingly, PC Agent-E ended up outperforming its teacher, Claude 3.7 Sonnet. Because the student is grounded in real human environments, it avoids the "drifting" into unrealistic states that often plagues models trained via direct distillation during long-horizon tasks.
  • Planning vs. Grounding: Qualitative analysis revealed that the training primarily enhanced the model's planning (deciding the correct next step) rather than its grounding (knowing the exact pixel coordinates to click). The model became significantly better at multi-step reasoning and self-correction.

Key Results

Performance leap of PC Agent-E compared to baselines.
  • Massive Performance Leap: PC Agent-E achieved a 141% relative improvement over its base model, Qwen2.5-VL-72B (jumping from 14.9% to 36.0%).
  • Beating the State-of-the-Art: On the WindowsAgentArena-V2 benchmark, PC Agent-E scored 36.0%, successfully surpassing the teacher model, Claude 3.7 Sonnet, which scored 32.6%.
  • Extreme Efficiency: The "Trajectory Boost" method proved to be 300x more time-efficient than direct distillation. Generating the dataset took only 3 hours of offline synthesis, compared to an estimated 900 hours required for online interaction.
  • Cross-Platform Success: Despite being trained exclusively on Windows trajectories, the model demonstrated a 34% improvement on the Linux-based OSWorld benchmark, proving its reasoning skills are highly adaptable and platform-agnostic.

Limitations and Future Work

While PC Agent-E represents a major step forward, the authors highlight a few remaining hurdles:

  • Termination Awareness: The models still struggle to recognize exactly when a task is finished. In testing, performance actually dropped when the allowed step limit was increased to 50, as the agent would sometimes "undo" its own success because it didn't realize the goal had been met.
  • Knowledge Gaps: The training did not significantly improve the model's encyclopedic knowledge of specific software (e.g., locating a hidden setting in a niche application).
  • Future Directions: The team suggests that future work should focus on explicit "termination prediction" objectives and incorporating longer-horizon trajectories to improve the agent's endurance on complex tasks.

Summary updated

BibTeX
@inproceedings{he2026efficient,
  author = {Yanheng He and Jiahe Jin and Pengfei Liu},
  title = {{Efficient Agent Training for Computer Use}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=cDuA6ZNvCl},
}
Figure