Skip to main content
QUICK REVIEW

[Paper Review] Learning to Navigate the Web

İzzeddin Gür, Ulrich Rueckert|arXiv (Cornell University)|Dec 21, 2018
Reinforcement Learning in RoboticsComputer Science7 references3 citations
TL;DR

This paper proposes curriculum-based reinforcement learning and a meta-learning framework to train DQN agents for complex web navigation tasks with sparse rewards and large action spaces. By decomposing instructions into sub-tasks and generating synthetic expert demonstrations via a meta-trainer, the QWeb agent achieves 100% success on flight booking tasks without human demonstrations, outperforming prior SOTA methods.

ABSTRACT

Learning in environments with large state and action spaces, and sparse rewards, can hinder a Reinforcement Learning (RL) agent's learning through trial-and-error. For instance, following natural language instructions on the Web (such as booking a flight ticket) leads to RL settings where input vocabulary and number of actionable elements on a page can grow very large. Even though recent approaches improve the success rate on relatively simple environments with the help of human demonstrations to guide the exploration, they still fail in environments where the set of possible instructions can reach millions. We approach the aforementioned problems from a different perspective and propose guided RL approaches that can generate unbounded amount of experience for an agent to learn from. Instead of learning from a complicated instruction with a large vocabulary, we decompose it into multiple sub-instructions and schedule a curriculum in which an agent is tasked with a gradually increasing subset of these relatively easier sub-instructions. In addition, when the expert demonstrations are not available, we propose a novel meta-learning framework that generates new instruction following tasks and trains the agent more effectively. We train DQN, deep reinforcement learning agent, with Q-value function approximated with a novel QWeb neural network architecture on these smaller, synthetic instructions. We evaluate the ability of our agent to generalize to new instructions on World of Bits benchmark, on forms with up to 100 elements, supporting 14 million possible instructions. The QWeb agent outperforms the baseline without using any human demonstration achieving 100% success rate on several difficult environments.

Motivation & Objective

  • To address the challenge of training reinforcement learning agents in web navigation environments with large state and action spaces and sparse rewards.
  • To overcome the scalability limitations of human demonstrations in complex environments like flight booking and social media interaction.
  • To develop a method that enables effective exploration and learning without relying on expert demonstrations.
  • To improve generalization and success rates on tasks with millions of possible instructions, such as forms with 100+ elements.
  • To introduce a meta-trainer that generates synthetic expert demonstrations from arbitrary navigation policies to train the navigator agent.

Proposed method

  • Proposes curriculum-DQN, a curriculum learning approach that decomposes complex instructions into sub-instructions and gradually increases task difficulty.
  • Introduces a meta-learning framework, the instructor agent, that treats any navigation policy as an expert for a hidden instruction, enabling automatic generation of synthetic demonstrations.
  • Designs QWeb, a novel neural network architecture combining self-attention, LSTMs, and shallow encoding to approximate the Q-value function for web navigation.
  • Employs INET, a separate Q-value network for the instructor agent, to generate instruction-goal pairs with dense rewards.
  • Uses potential-based dense rewards to augment sparse rewards, improving training stability and convergence.
  • Applies shallow encoding to improve semantic matching between instructions and DOM elements, especially for critical fields like dates.

Experimental results

Research questions

  • RQ1Can curriculum learning improve sample efficiency and success rates in web navigation tasks with sparse rewards and large action spaces?
  • RQ2Can a meta-trainer generate high-quality synthetic expert demonstrations from arbitrary navigation policies to train a navigator agent without human demonstrations?
  • RQ3How effective is the combination of shallow encoding and dense reward shaping in enabling DQN agents to learn complex web interactions?
  • RQ4To what extent does training on noisy, automatically generated instructions affect the generalization and success of the navigator agent?
  • RQ5Can the proposed framework achieve state-of-the-art performance on benchmark tasks like Miniwob++ and flight booking without human-annotated demonstrations?

Key findings

  • The QWeb agent achieves 100% success rate on the flight booking environment without any human demonstrations, outperforming prior SOTA methods.
  • With shallow encoding and dense rewards, the QWeb agent reaches over 90% success rate, while baseline models fail to generate any successful episodes.
  • The meta-trainer (MetaQWeb) generates instruction-goal pairs with 96% success rate, though 75% of errors stem from incorrect DOM element predictions, especially on date fields.
  • MetaQWeb-trained agents achieve up to 99% success rate when evaluated on the original environment, demonstrating robustness to noisy synthetic demonstrations.
  • The performance drop of 1% compared to clean instruction training is attributed to imperfect instruction generation (4% error rate in INET), confirming the impact of demonstration quality.
  • The combination of shallow encoding, curriculum learning, and augmented rewards enables the agent to avoid suboptimal behaviors like clicking the submit button immediately.

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.