Skip to main content
QUICK REVIEW

[Paper Review] A data-driven approach for learning to control computers

Peter C. Humphreys, David Raposo|arXiv (Cornell University)|Feb 16, 2022
Reinforcement Learning in RoboticsComputer Science7 citations
TL;DR

This paper presents a data-driven reinforcement learning approach that achieves human-level performance on the MiniWob++ benchmark for keyboard-and-mouse computer control by leveraging large-scale human demonstration data and behavioral cloning. The method uses only standard keyboard and mouse actions, avoiding specialized action spaces, and demonstrates strong cross-task transfer with minimal architectural modifications.

ABSTRACT

It would be useful for machines to use computers as humans do so that they can aid us in everyday tasks. This is a setting in which there is also the potential to leverage large-scale expert demonstrations and human judgements of interactive behaviour, which are two ingredients that have driven much recent success in AI. Here we investigate the setting of computer control using keyboard and mouse, with goals specified via natural language. Instead of focusing on hand-designed curricula and specialized action spaces, we focus on developing a scalable method centered on reinforcement learning combined with behavioural priors informed by actual human-computer interactions. We achieve state-of-the-art and human-level mean performance across all tasks within the MiniWob++ benchmark, a challenging suite of computer control problems, and find strong evidence of cross-task transfer. These results demonstrate the usefulness of a unified human-agent interface when training machines to use computers. Altogether our results suggest a formula for achieving competency beyond MiniWob++ and towards controlling computers, in general, as a human would.

Motivation & Objective

  • To develop a scalable, general-purpose method for training agents to control computers using only keyboard and mouse inputs.
  • To investigate whether large-scale human demonstration data can enable strong performance in computer control tasks without specialized action spaces or complex curricula.
  • To evaluate the effectiveness of combining behavioral cloning with reinforcement learning in a unified human-agent interface for digital task automation.
  • To determine whether cross-task transfer and human-level performance are achievable in a realistic, interactive web-based environment.
  • To resolve the hypothesis from earlier work that conventional RL methods are insufficient for computer control, by showing that data scale alone can close the performance gap.

Proposed method

  • Uses only keyboard and mouse actions as the agent's action space, aligning directly with human interaction patterns.
  • Leverages large-scale human demonstration trajectories (up to 400× larger than prior datasets) for behavioral cloning to pre-train the agent policy.
  • Combines behavioral cloning with reinforcement learning to fine-tune policies using programmatic rewards from the MiniWob++ environment.
  • Employs a unified observation space combining pixel-level visual input and DOM-level state information for richer environmental understanding.
  • Uses a dictionary of task-specific text strings to reduce exploration burden during training, especially in text-input-heavy tasks.
  • Applies standard deep reinforcement learning algorithms (e.g., SAC or PPO) on top of the behaviorally cloned policy, with no specialized action space or curriculum design.

Experimental results

Research questions

  • RQ1Can a simple combination of behavioral cloning and reinforcement learning achieve human-level performance in computer control tasks using only keyboard and mouse?
  • RQ2How does increasing the scale of human demonstration data impact performance in MiniWob++ tasks?
  • RQ3To what extent can policies trained on one task generalize to other tasks in the MiniWob++ benchmark?
  • RQ4Does using a standard action space (keyboard and mouse) outperform or match performance with DOM-specific actions in complex web tasks?
  • RQ5Can large-scale human data alone close the performance gap with human-level behavior, without architectural innovations or curriculum learning?

Key findings

  • The method achieves state-of-the-art and human-level mean performance across all tasks in the MiniWob++ benchmark, surpassing previous SOTA by a wide margin.
  • Performance improves monotonically with increasing amounts of human demonstration data, with no observed saturation up to 400× the size of prior datasets.
  • Strong cross-task transfer is observed, indicating that agents learn generalizable skills rather than memorizing task-specific actions.
  • The use of a unified keyboard-and-mouse interface enables effective generalization to tasks without a compact DOM structure, supporting broader applicability.
  • The results demonstrate that conventional deep RL with large-scale behavioral cloning is sufficient for high performance, challenging the need for specialized action spaces or complex curricula.
  • The approach achieves human-level performance without architectural modifications or curriculum-based training, highlighting the importance of data scale in interactive agent learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.