Overview
Training robots with reinforcement learning (RL) is notoriously difficult because agents struggle to explore vast, continuous action spaces like joint torques. This paper introduces RAPS (Robot Action Primitives), a library of simple, manually defined motions (like "grasp" or "push") parameterized by variables the RL agent learns to control. By shifting the agent's focus from "how to move a motor" to "where to execute a skill," RAPS achieves state-of-the-art performance on complex manipulation tasks using only sparse rewards and image inputs.
The Challenge of Continuous Control
In standard robotic RL, an agent typically outputs raw low-level commands, such as joint torques or Cartesian delta-positions, at high frequencies (e.g., 20Hz). This creates two massive hurdles:
- The Exploration Problem: Randomly wiggling joints is highly unlikely to result in a meaningful interaction, like picking up a kettle. Without "dense" rewards (giving the robot "points" for just getting closer to an object), the agent rarely finds the goal by chance.
- The "What vs. How" Burden: The agent must simultaneously learn what the task is (e.g., "open the cabinet") and how to coordinate its complex physical body to achieve it.
Prior work has attempted to solve this by learning "skills" from massive offline datasets of human demonstrations. However, these learned skills often fail to generalize to new robots or environments.
Proposed Method: Robot Action Primitives (RAPS)
The authors propose replacing the standard low-level action space with a library of $K$ pre-defined, "agent-centric" primitives (e.g., lift, push, top-grasp, twist).
How it works: * Parameterized Primitives: Each primitive is a fixed feedback control loop. For example, a "lift" primitive takes an argument dictating how high to lift. * The Policy Interface: The RL policy (the "brain") outputs two things: a choice of which primitive to use, and the specific arguments for that primitive (e.g., the $x,y$ coordinates for a grasp). * Temporal Abstraction: Once a primitive is chosen, it executes for a fixed horizon (e.g., 100–300 low-level steps). The RL agent only makes a new decision once the primitive finishes. * The "Dummy" Action: To ensure the robot isn't strictly "locked" into only these skills, the library includes a dummy primitive that acts like standard raw actions, allowing the agent to fall back on fine-grained control if needed.
Crucially, these primitives are agent-centric. Because they depend only on the robot's state, they are agnostic to camera angles or visual distractors in the environment, making them highly reusable.
Experimental Domains
The researchers evaluated RAPS across three major simulated robotic benchmarks:
- Kitchen: A complex environment requiring the robot to manipulate burners, ovens, and cabinets, often chaining multiple sub-tasks together.
- Meta-World: A suite of 50 diverse manipulation tasks (e.g., plugging in a power outlet, opening a door).
- Robosuite: A benchmark focused on realistic physical simulation and contact-rich tasks.
All evaluations used image-based observations and sparse rewards (the agent only gets a '1' upon total task completion), representing a highly challenging, realistic RL setting.
Key Insights and Results
By using primitives, the RL agent operates in a much smaller, more meaningful action space. It doesn't have to learn "physics"; it learns "intent."
- Meta-World Mastery: RAPS solved 43 out of 50 tasks in the Meta-World suite. In comparison, agents using raw actions only solved 21.
- Efficiency over Offline Learning: Surprisingly, RAPS (which uses no expert data) outperformed methods like SPIRL and PARROT that are specifically designed to learn from human demonstrations. This suggests that a well-designed interface is often more powerful than a complex data-driven skill prior.
- Hierarchical Success: In "Multi-Task" settings where the robot must solve four tasks in a row, RAPS consistently solved 3+ subtasks, while prior state-of-the-art methods typically failed to progress beyond the first one.
- Wall-Clock Speedup: On a real xArm 6 robot, RAPS-based trajectories executed 32x faster than raw action trajectories because the policy requires far fewer forward passes.
- Unsupervised Exploration: When paired with "Plan2Explore" (an algorithm that explores without any reward), RAPS allowed the agent to learn a world model so effectively that it could solve the "hinge cabinet" task with only 1 hour of fine-tuning.
Furthermore, RAPS is algorithm-agnostic. It functions as a new interface, working equally well whether the underlying RL algorithm is model-based (Dreamer) or model-free (SAC, PPO).
Limitations and Future Work
While highly effective, RAPS has a few limitations. Because primitives run for a fixed duration, the robot's motion can look "staccato" rather than fluid and dynamic. Additionally, a fixed library of primitives might lack the expressivity needed for highly specialized tasks. Finally, while the primitives are simple, they still require a human engineer to define them. Future work could explore hybrid approaches that combine these manual, robust primitives with learned, flexible behaviors.
Summary updated