DOM-Q-NET: Grounded RL on Structured Language
Sheng Jia, Jamie Kiros, Jimmy Ba
TL;DR
DOM-Q-NET tackles web navigation by modeling the web page as a DOM graph and learning a factorized, goal-conditioned Q-function with three action streams (DOM selection, word token, and mode). A graph neural network builds local, neighbor, and global embeddings that feed three Q-networks, with goal-attention to integrate instruction context; this enables solving large action spaces and transferring knowledge across tasks. The approach achieves competitive or superior performance on MiniWoB without demonstrations and exhibits about 2x sample efficiency in multitask settings, including solving a long-horizon task like choose-date. The work demonstrates practical improvements in data efficiency and generalization for structured-language grounded RL in web interfaces, with broad implications for scalable, instruction-following agents on the web.
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.
