Skip to main content
QUICK REVIEW

[Paper Review] Meta Learning Shared Hierarchies

Kevin Frans, Jonathan Ho|arXiv (Cornell University)|Oct 26, 2017
Reinforcement Learning in RoboticsComputer Science8 references116 citations
TL;DR

MLSH learns a set of shared sub-policies (primitives) across a task distribution and trains a master policy to quickly adapt to new tasks by switching among these primitives, improving sample efficiency in unseen tasks.

ABSTRACT

We develop a metalearning approach for learning hierarchically structured policies, improving sample efficiency on unseen tasks through the use of shared primitives---policies that are executed for large numbers of timesteps. Specifically, a set of primitives are shared within a distribution of tasks, and are switched between by task-specific policies. We provide a concrete metric for measuring the strength of such hierarchies, leading to an optimization problem for quickly reaching high reward on unseen tasks. We then present an algorithm to solve this problem end-to-end through the use of any off-the-shelf reinforcement learning method, by repeatedly sampling new tasks and resetting task-specific policies. We successfully discover meaningful motor primitives for the directional movement of four-legged robots, solely by interacting with distributions of mazes. We also demonstrate the transferability of primitives to solve long-timescale sparse-reward obstacle courses, and we enable 3D humanoid robots to robustly walk and crawl with the same policy.

Motivation & Objective

  • Motivate learning fast on distributions of related tasks by reusing sub-policies (primitives).
  • Define a hierarchy where a master policy selects among shared sub-policies to drive fast adaptation.
  • Formulate an optimization objective that promotes hierarchies enabling quick learning on new tasks.
  • Propose an end-to-end MLSH algorithm that alternates warmup and joint update phases to learn sub-policies.
  • Demonstrate transfer and scalability across 2D, 3D, and physics-based environments.

Proposed method

  • Share a set of sub-policies a8phibc; each sub-policy defines a primitive policy.
  • Use a master policy b8 to select which sub-policy to activate every N timesteps.
  • Warmup phase optimizes the master policy while keeping sub-policies fixed.
  • Joint update phase updates both the master policy and sub-policies using experiences from the environment.
  • Treat master policy decisions as actions at a slower timescale and sub-policies as the executable primitives.

Experimental results

Research questions

  • RQ1Can a meta-learning framework discover meaningful, reusable sub-policies from a distribution of tasks?
  • RQ2Does learning with MLSH outperform a single shared policy or non-hierarchical baselines across diverse environments?
  • RQ3Do discovered primitives transfer to longer-horizon or sparse-reward tasks?
  • RQ4How does the warmup period influence the quality and speed of learning sub-policies?
  • RQ5Can MLSH scale to complex 3D physics tasks and enable novel locomotion behaviors?

Key findings

  • MHLS learns meaningful directional movement primitives for agents in maze-like tasks and 3D locomotion scenarios.
  • Master policy training with sub-policies accelerates learning compared to training a single policy from scratch.
  • MLSH transfers learned primitives to sparse-reward obstacle-course tasks where naive PPO struggles.
  • Diverse sub-policies emerge in physics environments, enabling walking and crawling behaviors with the same primitive set.
  • In unsolvable sparse environments, MLSH enables exploration over sub-policies, aiding recovery of rewards via transferred primitives.

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.