[Paper Review] Reinforcement Learning on Web Interfaces Using Workflow-Guided Exploration
This paper proposes Workflow-Guided Exploration (WGE), a reinforcement learning framework that uses expert demonstrations to induce high-level, environment-agnostic workflows that constrain exploration and accelerate sample-efficient learning on web interfaces. By guiding exploration through these workflows, the method achieves over 100x sample efficiency gain over behavioral cloning on web benchmark tasks, including World of Bits and MiniWoB.
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. 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.
Motivation & Objective
- To address the challenge of sparse reward in web-based RL, where agents struggle to discover successful action sequences through random exploration.
- To overcome overfitting in imitation learning by avoiding direct behavioral cloning of demonstrations, which generalizes poorly across diverse web states.
- To improve sample efficiency in deep RL for web interaction by using demonstrations not to imitate, but to guide exploration through high-level action constraints.
- To enable a powerful neural policy to learn complex, semi-structured web tasks without overfitting, by decoupling exploration from policy learning.
- To develop a framework that automatically induces workflows from demonstrations and uses them to prune unproductive exploration paths.
Proposed method
- For each expert demonstration, the method induces a lattice of workflows—abstract, environment-agnostic sequences of action types (e.g., 'click textbox', 'type text')—that capture the structure of successful task execution.
- A workflow exploration policy (π_w) is trained via reinforcement learning to select and follow these workflows, sampling actions that are semantically similar to those in the workflow.
- Successful trajectories discovered through workflow-guided exploration are stored in a replay buffer and used to train a separate, expressive neural policy (π_n) for final task execution.
- The neural policy, implemented as DOMnet, performs relational reasoning over the tree-structured HTML of web pages to handle the semi-structured nature of web interfaces.
- The framework alternates between workflow policy training and neural policy training, using experience replay to stabilize learning and improve data efficiency.
- Workflows are defined based on action similarity rather than state similarity, enabling robust generalization across different web page states.
Experimental results
Research questions
- RQ1Can workflow-guided exploration significantly improve sample efficiency in deep reinforcement learning for web interaction tasks?
- RQ2Does using demonstrations to constrain exploration, rather than to directly imitate actions, reduce overfitting and improve generalization on unseen web states?
- RQ3How does workflow-guided exploration compare to behavioral cloning and end-to-end RL in terms of success rate and data efficiency on web benchmarks?
- RQ4Can a neural policy trained on experience from workflow-guided exploration generalize across diverse web interfaces with minimal supervision?
- RQ5Is action-based workflow abstraction more effective than state-based abstraction for guiding exploration in web RL?
Key findings
- Workflow-guided exploration achieves over 100x higher sample efficiency compared to behavioral cloning on the MiniWoB and World of Bits benchmarks.
- The method achieves state-of-the-art performance on the World of Bits benchmark, outperforming prior methods that rely on direct imitation or standard RL.
- By using workflows to guide exploration, the agent discovers successful trajectories much faster, even with sparse rewards and large action spaces.
- The neural policy (DOMnet) trained on experience from WGE generalizes well across different web page structures and states, avoiding overfitting to specific demonstrations.
- The framework successfully decouples exploration (guided by workflows) from policy learning (expressive neural network), enabling robust and efficient learning.
- The use of action similarity for defining workflow neighborhoods proves more effective and intuitive than state similarity for web interface tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.