Graph-Structured Policy Learning for Multi-Goal Manipulation Tasks

David Klee, Ondrej Biza, Robert Platt

TL;DR

This paper introduces a hierarchical approach to multi-goal robotic manipulation that combines high-level discrete planning with low-level pixel-based reinforcement learning. By structuring the goal space as a graph, the agent learns to sequence simple, local policies to build complex block structures, achieving significantly better scalability and transferability than standard end-to-end RL methods.

What Problem Does This Paper Address?

Teaching robots to perform a wide variety of manipulation tasks—like building any number of different block structures—is a major challenge in reinforcement learning (RL). Standard "multi-goal" RL methods often hit a wall due to network capacity limits: it is incredibly difficult for a single neural network to encode end-to-end policies for hundreds of distinct, long-horizon tasks.

Furthermore, traditional methods often ignore the shared substructure between tasks. For example, building a tall tower involves the same initial steps as building a small one. While classical Task and Motion Planning (TAMP) excels at this kind of sequencing, it typically requires perfect state estimation (knowing exactly where every object is) and lacks the ability to improve through experience. The authors seek a middle ground: a system that plans at a high level but learns its low-level execution directly from pixels.

Methods

The core of the approach is the Goal Graph ($\Gamma$).

  1. High-Level Planning: The authors hand-code a discrete graph where each node represents a qualitative block structure (an abstract state). Edges represent the addition of a single block. To reach a complex goal, a standard discrete planner finds a path of subgoals through this graph.
  2. Low-Level Policy Learning: The agent learns a single goal-conditioned Q-function to traverse these edges. Instead of trying to learn "how to build a house" all at once, the agent learns "how to reach the next node in the graph."
  3. Spatial Action Space: The agent operates in a spatial action space (picking and placing at specific $x, y$ coordinates). The architecture uses a U-Net backbone that takes a world image ($I$) and an "in-hand" image ($H$) to produce spatial "Q-maps," where each pixel represents the value of acting at that location.
Fig. 3: Q-network model has UNet backbone with infor- mation on in-hand and abstract state and goal concatenated onto intermediary feature maps. In this example, the robot is holding a long block and selects a place action on the structure in the lower left corner of the workspace.

This structure creates an implicit curriculum. The agent only begins learning the policy for a complex subgoal once it has mastered the prerequisite subgoals that lead to it.

Datasets

The researchers evaluated their method in a simulated block construction domain using Pybullet.

  • Subgoal Set: 124 unique qualitative block structures.
  • Training/Evaluation: The agent was tested on its ability to reach "end-goal" structures of varying heights (up to height 5).
  • Real-World Transfer: The policy was deployed on a physical UR5 robot equipped with a two-finger gripper and depth sensors.

Key Insights and Ideas

  • Locality is Key: By restricting policies to a "limited radius" (moving between adjacent nodes in the graph), the learning problem becomes much simpler. This allows a single network to represent a massive goal space that would otherwise overwhelm it.
  • Exploration via Planning: One of the biggest hurdles in sparse-reward RL is exploration. Here, the high-level planner focuses the agent's exploration only on nearby, reachable subgoals, effectively solving the exploration problem for long-horizon tasks.
  • Perception vs. Structure: The authors argue that in many robotics domains, it is easier to hand-code the logical structure of a task (e.g., "you must place a base before a roof") than it is to solve the difficult computer vision problems required for traditional planning.
  • Forward Transfer: Because the policies are conditioned on abstract states, the agent can quickly adapt to novel objects (like cylinders or different roofs) by reusing the picking and placing priors it learned during initial training.

Key Results

The proposed method significantly outperformed standard baselines like Hindsight Experience Replay (HER) and Universal Value Function Approximators (UVFA), especially as task complexity increased.

  • Scalability: On height-5 structures (the most complex), the method achieved an 86% success rate, while standard multi-goal baselines failed almost entirely (near 0% success).
  • Progress: Even when it didn't complete a structure, the agent placed over 95% of the blocks correctly on average, compared to ~60% for shaped-reward baselines.
  • Real-World Success: The agent successfully built 10 different complex structures on a real robot, including a "two towers" structure that required precise alignment.
Fig. 4: Comparison of our method to baselines (b) on end goal distributions illustrated in (a). The upper row shows success rate during training, and the lower row shows the average progress (i.e. fraction of blocks in end-goal structure that are placed correctly). Shaded regions denote standard deviation over three runs.

Limitations and Future Work

  • Lack of Reward "Back-up": The current method learns local policies independently. It doesn't realize that a slightly sloppy placement early on might make the structure unstable five steps later. This was the primary cause of failure for the "two towers" task on the real robot.
  • Hand-Coded Abstractions: While easier than full perception, hand-coding the goal graph still requires human effort. A promising future direction is learning these abstract states and transitions automatically from experience.
  • Stability Modeling: The authors suggest that future iterations could benefit from an abstraction that explicitly accounts for the physical stability of the structures being built.

Summary updated

BibTeX
@misc{klee2022graph,
  author = {David Klee and Ondrej Biza and Robert Platt},
  title = {{Graph-Structured Policy Learning for Multi-Goal Manipulation Tasks}},
  year = {2022},
  eprint = {2207.11313},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.11313},
}
Figure