Skip to main content
QUICK REVIEW

[Paper Review] From Pixels to UI Actions: Learning to Follow Instructions via Graphical User Interfaces

Peter Shaw, Mandar Joshi|arXiv (Cornell University)|May 31, 2023
Mobile Crowdsensing and CrowdsourcingComputer Science9 citations
TL;DR

Pix2Act uses pixel-based observations and a generic mouse/keyboard action space to follow GUI instructions, outperforming crowdworkers on MiniWob++ and establishing a WebShop baseline without DOM/HTML access, aided by pixel-based pretraining and tree search.

ABSTRACT

Much of the previous work towards digital agents for graphical user interfaces (GUIs) has relied on text-based representations (derived from HTML or other structured data sources), which are not always readily available. These input representations have been often coupled with custom, task-specific action spaces. This paper focuses on creating agents that interact with the digital world using the same conceptual interface that humans commonly use -- via pixel-based screenshots and a generic action space corresponding to keyboard and mouse actions. Building upon recent progress in pixel-based pretraining, we show, for the first time, that it is possible for such agents to outperform human crowdworkers on the MiniWob++ benchmark of GUI-based instruction following tasks.

Motivation & Objective

  • Demonstrate that an agent can follow GUI instructions using only pixel-based observations and a generic action space.
  • Assess performance on MiniWob++ and WebShop benchmarks in a pixel-only setting.
  • Evaluate the impact of pixel-based pre-training and tree search for policy improvement.
  • Adapt existing GUI benchmarks to a browser-based environment with unified observation/action formats.
  • Compare to DOM/HTML-based baselines and analyze generalization capabilities.

Proposed method

  • Build on Pix2Struct to create a pixel-to-action model (Pix2Act) with a visual encoder and text decoder.
  • Pre-train on screenshot-to-HTML-like representations to map visuals to structured outputs.
  • Train with behavioral cloning on human demonstrations and fine-tune with environment interactions.
  • Use a general browser-based environment (Selenium + Chrome) with pixel observations and low-level action tokens (mouse/keyboard).
  • Encode actions as text tokens and decode via autoregressive Transformer with beam search; employ greedy policy with a modest cycle-avoidance tweak.
  • Optionally apply Monte Carlo Tree Search (MCTS) for policy improvement, estimating state values with a Pix2Struct-based value model.
Figure 1 : Our agent learns to follow instructions via Graphical User Interfaces (GUIs). Unlike most prior work studying instruction following for GUI-based tasks, our agent does not rely on text-based observations corresponding to DOM trees or HTML source code, or task-specific actions. Instead, ou
Figure 1 : Our agent learns to follow instructions via Graphical User Interfaces (GUIs). Unlike most prior work studying instruction following for GUI-based tasks, our agent does not rely on text-based observations corresponding to DOM trees or HTML source code, or task-specific actions. Instead, ou

Experimental results

Research questions

  • RQ1Can an agent learn to follow GUI instructions using only pixel-based observations and generic low-level actions?
  • RQ2How does pixel-based pre-training impact GUI instruction-following performance without DOM/HTML access?
  • RQ3What is the effectiveness of tree search as a policy improvement method in this pixel-based GUI setting?
  • RQ4How does the pixel-based approach transfer and generalize across different GUI benchmarks (MiniWob++ and WebShop)?
  • RQ5How close can pixel-only methods come to DOM/HTML-based baselines on these tasks?

Key findings

  • Pix2Act with pixel inputs outperforms prior DOM-free baselines on MiniWob++, approaching DOM-enabled methods.
  • Pre-training the pixel-based model substantially boosts performance, increasing MiniWob++ scores from 17.1 to 66.5 and WebShop from 1.1 to 46.7 under BC alone.
  • Tree search improves MiniWob++ performance further, achieving higher scores than greedy policy with the same underlying model.
  • On MiniWob++, pre-training enables notable generalization to held-out tasks (mean 28.3 with pretraining vs 7.6 otherwise).
  • Pix2Act provides a first baseline for WebShop in a pixel-based, DOM-free setting, establishing competitiveness with non-DOM methods and highlighting remaining gaps to HTML-based models.

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.