Reinforcement Learning on Web Interfaces Using Workflow-Guided Exploration

Evan Zheran Liu, Kelvin Guu, Panupong Pasupat, Tianlin Shi, Percy Liang
2/24/2018
391 citations
cs.AI
rl

Official code: stanfordnlp/wge (118 stars, Python, last commit 2023-06-05).

Abstract

Reinforcement learning (RL) agents improve through trial-and-error, but when reward is sparse and the agent cannot discover successful action sequences, learning stagnates. This has been a notable problem in training deep RL agents to perform web-based tasks, such as booking flights or replying to emails, where a single mistake can ruin the entire sequence of actions.

Show full abstract

A common remedy is to "warm-start" the agent by pre-training it to mimic expert demonstrations, but this is prone to overfitting. Instead, we propose to constrain exploration using demonstrations. From each demonstration, we induce high-level "workflows" which constrain the allowable actions at each time step to be similar to those in the demonstration (e.g., "Step 1: click on a textbox; Step 2: enter some text"). Our exploration policy then learns to identify successful workflows and samples actions that satisfy these workflows. Workflows prune out bad exploration directions and accelerate the agent's ability to discover rewards. We use our approach to train a novel neural policy designed to handle the semi-structured nature of websites, and evaluate on a suite of web tasks, including the recent World of Bits benchmark. We achieve new state-of-the-art results, and show that workflow-guided exploration improves sample efficiency over behavioral cloning by more than 100x.

View on arXivView PDF

Code Implementations(1)

stanfordnlp/wgeOfficial100%

Workflow-Guided Exploration: sample-efficient RL agent for web tasks

11835Python, DockerfileFeb 20, 20183 years agoNOASSERTION

Similar Papers

Cite this paper

@article{liu2018reinforcement,
  title  = {Reinforcement Learning on Web Interfaces Using Workflow-Guided Exploration},
  author = {Evan Zheran Liu and Kelvin Guu and Panupong Pasupat and Tianlin Shi and Percy Liang},
  year   = {2018},
  eprint = {1802.08802},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.08802}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1802.08802.svg)](https://codeofpaper.com/paper/1802.08802)

Discussion