Augmenting Reinforcement Learning with Behavior Primitives for Diverse Manipulation Tasks

Soroush Nasiriany, Huihan Liu, Yuke Zhu

TL;DR

MAPLE (Manipulation Primitive-augmented reinforcement Learning) is a framework that supercharges robot learning by combining high-level "behavior primitives" (like grasping or pushing) with low-level motor commands. By allowing a Reinforcement Learning (RL) agent to choose between specialized pre-built modules and raw motor control, MAPLE achieves a 90% success rate on complex, long-horizon tasks where standard RL methods often fail completely.

What Problem Does This Paper Address?

Deep Reinforcement Learning (DRL) has shown great promise in robotics, but it hits a wall with "long-horizon" tasks—tasks that require a long, precise sequence of actions to succeed (e.g., picking up a nut, moving it to a bolt, and screwing it on).

The core issue is the exploration burden. If a robot only learns through "atomic" actions (tiny 0.1-second motor displacements), the odds of it accidentally stumbling upon a successful multi-stage sequence are astronomically low. While researchers have tried using "skills" or "options," these are often brittle, hard to learn from scratch, or require heavy human supervision to sequence correctly.

Methods

The authors introduce MAPLE, which bridges the gap between classical robotics (pre-defined functional modules) and modern RL (flexible trial-and-error learning).

  1. The Primitive Library: MAPLE uses five primitives: Reaching, Grasping, Pushing, Gripper Release, and Atomic. The "Atomic" primitive is crucial—it allows the robot to fall back on standard low-level control for parts of a task that the high-level primitives don't cover.
  2. Hierarchical Policy: The system uses a two-stage neural network architecture based on Soft Actor-Critic (SAC):
  3. Task Policy: Decides which primitive to invoke.
  4. Parameter Policy: Decides how to execute it (e.g., "Grasp at these specific X, Y, Z coordinates").
  5. Affordances: To speed up learning, the authors use "affordance scores." These are simple analytical checks that tell the robot if an action is even worth trying (e.g., don't try to grasp the air if the object is two feet away).
  6. Compositionality Metric: The authors developed a way to quantify how "structured" a robot's behavior is by treating sequences of primitives as "task sketches" and comparing them using Levenshtein distance (a string-matching algorithm).

Datasets

The researchers evaluated MAPLE on robosuite, a standard simulation framework for robot manipulation. They tested eight tasks:

  • Standard Benchmarks: Lift, Door Opening, Pick and Place, Wipe, Stack, and Nut Assembly.
  • New Complex Tasks: Cleanup (sorting objects into bins) and Peg Insertion (a high-precision, contact-rich task).
  • Real-World Validation: They also tested the system on a physical Franka Emika Panda robot arm.

Key Insights and Ideas

  • The "Atomic" Safety Net: The most striking insight is that while primitives do the heavy lifting, the "Atomic" action is vital for "filling in the gaps." For example, in the Peg Insertion task, the robot uses the Grasp and Reach primitives to get the peg near the hole, but switches to Atomic actions to handle the fine-grained, contact-rich wiggling required to actually seat the peg.
  • Hierarchical > Flat: The paper demonstrates that a hierarchical structure (choosing a primitive, then its parameters) is significantly more efficient than a "flat" policy that tries to output all possible parameters for all primitives at once.
  • Task Sketches as Blueprints: Because the robot learns to use high-level primitives, its "thought process" becomes interpretable. You can look at the "task sketch" (Grasp -> Reach -> Release) and see exactly how it solved the problem. These sketches can even be transferred to new, similar tasks to speed up learning by 5x.

Key Results

  • Performance: MAPLE achieved a 90% average success rate across all tasks. The "Atomic-only" baseline (standard SAC) managed only 19%.
  • Consistency: MAPLE was the only method tested that consistently solved every single-arm task in the robosuite benchmark.
  • Sim-to-Real Transfer: The learned policies transferred remarkably well to physical hardware. The robot achieved a 93% success rate on Stacking and 83% on Cleanup in the real world, despite being trained entirely in simulation.
  • Efficiency: By reusing "task sketches," the robot could learn to pick up bread instead of a soda can five times faster than starting from scratch.

Limitations and Future Work

  • Manual Affordances: Currently, the "affordance scores" (knowing where objects are to guide primitives) are defined analytically. The authors suggest that future versions should learn these affordances directly from visual data.
  • The "Atomic" Gap: While the Atomic primitive allows for flexibility, the robot still struggles if it has to perform a very long sequence of purely atomic actions to bridge two primitives.
  • Primitive Discovery: The library of five primitives was hand-picked. An exciting next step would be an algorithm that can autonomously "discover" and add new primitives to its own library as it encounters more difficult tasks.

Summary updated

BibTeX
@inproceedings{nasiriany2022augmenting,
  author = {Soroush Nasiriany and Huihan Liu and Yuke Zhu},
  title = {{Augmenting Reinforcement Learning with Behavior Primitives for Diverse Manipulation Tasks}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2022},
  url = {https://openreview.net/forum?id=sb8zDFAFzg},
}

Loading related content...

Figure