Skip to main content
QUICK REVIEW

[Paper Review] Hierarchical Reinforcement Learning for Zero-shot Generalization with Subtask Dependencies

Sungryull Sohn, Junhyuk Oh|arXiv (Cornell University)|Jul 19, 2018
Domain Adaptation and Few-Shot LearningComputer Science30 citations
TL;DR

This paper proposes a hierarchical reinforcement learning framework, Neural Subtask Graph Solver (NSGS), for zero-shot generalization in environments with unseen subtask graphs defined by dependencies and rewards. By pre-training with a differentiable graph reward propagation policy and finetuning via actor-critic, NSGS learns to reason over long-term subtask dependencies and outperforms MCTS in efficiency while achieving near-optimal performance on unseen 2D visual domains.

ABSTRACT

We introduce a new RL problem where the agent is required to generalize to a previously-unseen environment characterized by a subtask graph which describes a set of subtasks and their dependencies. Unlike existing hierarchical multitask RL approaches that explicitly describe what the agent should do at a high level, our problem only describes properties of subtasks and relationships among them, which requires the agent to perform complex reasoning to find the optimal subtask to execute. To solve this problem, we propose a neural subtask graph solver (NSGS) which encodes the subtask graph using a recursive neural network embedding. To overcome the difficulty of training, we propose a novel non-parametric gradient-based policy, graph reward propagation, to pre-train our NSGS agent and further finetune it through actor-critic method. The experimental results on two 2D visual domains show that our agent can perform complex reasoning to find a near-optimal way of executing the subtask graph and generalize well to the unseen subtask graphs. In addition, we compare our agent with a Monte-Carlo tree search (MCTS) method showing that our method is much more efficient than MCTS, and the performance of NSGS can be further improved by combining it with MCTS.

Motivation & Objective

  • To address the challenge of zero-shot generalization in hierarchical reinforcement learning where agents must reason over unseen subtask graphs with complex dependencies.
  • To formulate a new RL problem where task descriptions only specify subtask properties and dependencies, not explicit high-level actions.
  • To develop a scalable, real-time applicable method that avoids expensive search or simulation, enabling practical deployment in dynamic environments.
  • To enable agents to implicitly perform complex reasoning by considering long-term subtask dependencies, execution costs, and observation context.

Proposed method

  • Propose a neural subtask graph solver (NSGS) that uses a recursive-reverse-recursive neural network (R3NN) to embed subtask graphs and encode dependencies.
  • Introduce a non-parametric gradient-based policy called graph reward propagation (GRProp) to pre-train NSGS by differentiably propagating rewards through the subtask graph.
  • Use GRProp to generate supervision signals that guide NSGS toward subtasks with high long-term reward potential, even when immediate rewards are negative.
  • Finetune the pre-trained NSGS using an actor-critic reinforcement learning method to adapt to specific observations and environment dynamics.
  • Combine NSGS with Monte-Carlo Tree Search (MCTS) to further improve performance, leveraging MCTS for planning while maintaining NSGS’s efficiency.

Experimental results

Research questions

  • RQ1Can an RL agent generalize to unseen subtask graphs with complex dependencies and reward structures without explicit task-level supervision?
  • RQ2How effective is graph reward propagation as a pre-training signal for learning hierarchical subtask execution policies?
  • RQ3To what extent does NSGS outperform search-based baselines like MCTS in terms of both sample efficiency and inference speed?
  • RQ4How well does NSGS handle subtask graphs with distractors, delayed rewards, or negative subtasks that hinder future progress?

Key findings

  • NSGS achieves a mean performance of 0.820 on the Playground domain and 0.785 on the Mining domain in zero-shot generalization, significantly outperforming random and baseline methods.
  • The NSGS-scratch agent, trained from scratch without pre-training, achieves only 0.046 mean performance, demonstrating that pre-training via GRProp is essential for learning.
  • NSGS outperforms the greedy baseline and GRProp in handling complex dependencies, especially in graphs with distractors or delayed rewards, due to its ability to reason over long-term effects.
  • NSGS is computationally more efficient than MCTS, with inference times suitable for real-time deployment, while still achieving near-optimal performance.
  • Combining NSGS with MCTS further improves performance, indicating that NSGS provides a strong policy prior that enhances search efficiency.

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.