Skip to main content
QUICK REVIEW

[Paper Review] DOM-Q-NET: Grounded RL on Structured Language

Sheng Jia, Jamie Kiros|arXiv (Cornell University)|Feb 19, 2019
Reinforcement Learning in RoboticsComputer Science20 references9 citations
TL;DR

DOM-Q-NET proposes a factorized Q-network architecture with graph neural networks and goal-attention for web navigation using structured language, enabling sample-efficient, expert-free reinforcement learning on the MiniWoB benchmark. It achieves state-of-the-art performance and 2x sample efficiency gains in multitask learning by jointly training on click, type, and mode actions via separate MLP heads and hierarchical DOM representations.

ABSTRACT

Building agents to interact with the web would allow for significant improvements in knowledge understanding and representation learning. However, web navigation tasks are difficult for current deep reinforcement learning (RL) models due to the large discrete action space and the varying number of actions between the states. In this work, we introduce DOM-Q-NET, a novel architecture for RL-based web navigation to address both of these problems. It parametrizes Q functions with separate networks for different action categories: clicking a DOM element and typing a string input. Our model utilizes a graph neural network to represent the tree-structured HTML of a standard web page. We demonstrate the capabilities of our model on the MiniWoB environment where we can match or outperform existing work without the use of expert demonstrations. Furthermore, we show 2x improvements in sample efficiency when training in the multi-task setting, allowing our model to transfer learned behaviours across tasks.

Motivation & Objective

  • To address the challenge of large, variable action spaces and sparse rewards in web navigation using deep reinforcement learning.
  • To enable end-to-end training without expert demonstrations by modeling structured web interfaces via DOM trees.
  • To improve sample efficiency and enable transfer learning across diverse web tasks through multitask training.
  • To develop a fully differentiable architecture that jointly optimizes state, action, and goal representations for web interaction.
  • To demonstrate the effectiveness of factorized Q-function parametrization for click, type, and mode actions in real-world web environments.

Proposed method

  • Uses a graph neural network (GNN) to encode the tree-structured DOM of web pages, capturing local, neighbor, and global representations.
  • Employs three separate multilayer perceptrons (MLPs) to parametrize the Q-function for distinct action categories: click, type, and mode.
  • Integrates goal-attention to dynamically attend to relevant DOM elements based on task goals, improving generalization in multitask settings.
  • Applies neural message passing and readout mechanisms to aggregate node features across the DOM tree for state representation.
  • Trains the entire architecture end-to-end using deep reinforcement learning with experience replay and prioritized experience replay.
  • Utilizes a segment tree for efficient prioritized experience replay to accelerate learning.

Experimental results

Research questions

  • RQ1Can a deep reinforcement learning agent solve complex web navigation tasks without expert demonstrations?
  • RQ2How does factorized Q-function parametrization improve sample efficiency in web navigation with large action spaces?
  • RQ3To what extent can multitask learning enable transfer of behaviors across diverse web tasks?
  • RQ4How effective is goal-attention in guiding the agent to focus on relevant DOM elements under varying task goals?
  • RQ5What is the contribution of local, neighbor, and global representations in the GNN-based DOM encoding for task performance?

Key findings

  • DOM-Q-NET matches or outperforms existing methods on the MiniWoB benchmark without using any expert demonstrations.
  • The model achieves 2x sample efficiency improvement in multitask learning compared to single-task training, reducing total frames needed from 477,000 to 319,000 for 11 tasks.
  • Ablation studies show that omitting the neighbor module leads to failure in tasks like click-checkboxes due to ambiguous DOM representations, highlighting its necessity.
  • Goal-attention significantly improves sample efficiency in multitask settings, though gains are less pronounced in single-task scenarios, indicating its role in cross-task generalization.
  • The model successfully learns to transfer behaviors across tasks, with multitask agents solving hard tasks (e.g., social media, search engine) more efficiently when pre-trained on simpler tasks.
  • The global and local GNN modules provide complementary representations, with the global module enabling high-level understanding and the local module capturing fine-grained details.

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.