The Role of Action Abstractions in Robot Manipulation Learning and Sim-to-Real Transfer

Elie Aljalbout, Felix Frank, Maximilian Karl, Patrick van der Smagt

TL;DR

This paper investigates how the choice of action space in reinforcement learning (RL) impacts robot manipulation learning and its transfer from simulation to the real world. By training over 250 agents across 13 different action spaces on reaching and pushing tasks, they identify key characteristics that lead to better sim-to-real performance, ultimately recommending joint velocity-based action spaces for their robustness and efficiency.

What Problem Does This Paper Address?

Training robots for complex manipulation tasks using reinforcement learning (RL) is challenging. A significant hurdle is the "sim-to-real gap" – policies trained in simulation often perform poorly when deployed on physical robots due to discrepancies in dynamics, sensing, and control. While much research focuses on closing this gap through domain randomization or sophisticated policy architectures, this paper highlights a less explored but crucial factor: the action space. The action space defines the commands a robot's policy can output (e.g., joint torques, velocities, or end-effector poses). The authors argue that the design of this action space can profoundly influence learning efficiency, emergent behaviors, and ultimately, the success of transferring learned skills to the real world. They aim to systematically evaluate different action space designs to understand their impact and provide guidance for future research.

Methods

The core of this study is a large-scale empirical evaluation of 13 distinct action spaces. These spaces are designed by combining common characteristics such as:

  • Control Level: Joint-level (torques, positions, velocities) vs. Task/Cartesian-level (positions, velocities).
  • Action Representation: Absolute commands (e.g., target joint position) vs. Delta commands (e.g., change in joint position relative to the previous step or current state).
  • Integration Strategy: One-step integration (OI) vs. Multi-step integration (MI) for delta actions.

The researchers trained over 250 reinforcement learning agents using the Proximal Policy Optimization (PPO) algorithm in NVIDIA's Isaac-sim simulator. They evaluated these agents on two manipulation tasks: a reaching task (moving an end-effector to a target pose) and an object pushing task (manipulating a box to a goal position). After simulation training, the learned policies were transferred and evaluated on a real Franka Emika Panda robot.

To quantify performance, they defined several metrics:

  • Success Rate (SR): Percentage of successful task completions.
  • Task Accuracy (ACC): Euclidean distance to the goal.
  • Expected Constraints Violations (ECV): Frequency of violating joint acceleration/jerk constraints.
  • Normalized Tracking Error (NTE): Measure of how well the policy's actions are tracked by the low-level controller.
  • Offline Trajectory Error (OTE): Sim-to-real gap measure by replaying real-world actions in simulation.

Datasets

The paper does not introduce new datasets. Instead, it utilizes simulated environments for training and a real-world robotic setup for evaluation. The tasks performed are:

  • Reaching Task: A Cartesian goal is sampled in the robot's workspace.
  • Object Pushing Task: A goal position for an object is sampled on a table. Domain randomization on the box's friction and mass parameters was used during simulation training for this task.

Key Insights and Ideas

  • Action Space Matters Significantly: The choice of action space is not a minor detail; it fundamentally influences learning speed, emergent behaviors (like constraint violations), and the success of sim-to-real transfer.
  • Velocity-Based Actions Excel: Joint velocity (JV) and its delta variants (OIΔJV, MIΔJV) consistently show superior performance in both simulation and real-world transfer, exhibiting lower tracking errors and constraint violations.
  • Position-Based Actions Struggle: Joint position (JP) and Cartesian position (CP) based action spaces tend to transfer poorly, often losing significant performance when moving to the real robot.
  • Delta Actions Offer Smoothness: Delta action spaces (OIΔ, MIΔ) can impose smoothness constraints on control target trajectories, potentially improving robustness, especially when the policy output is unconstrained. However, multi-step integration (MI) variants generally performed worse.
  • Torque Control is Tricky: Joint torque (JT) control, while offering maximum flexibility, is extremely difficult to learn and transfer safely, especially for contact-rich tasks, due to its direct reliance on accurate dynamics and lack of inherent feedback.
  • Order of Derivative is Key: Action spaces controlling higher-order derivatives (like velocity or acceleration) tend to transfer better than those controlling lower orders (like position), with the exception of torque control.
  • Tracking Error is a Predictor: Action spaces that naturally limit or yield lower tracking errors (NTE) tend to transfer better. This suggests that policies that can more reliably achieve their intended actions in simulation are more likely to succeed in the real world.

Key Results

  • Best Performer: Joint velocity (JV) action spaces, particularly OIΔJV, demonstrated the best sim-to-real transfer performance across both reaching and pushing tasks. They required less tuning and showed favorable metrics like low OTE, ACC, and ECV.
  • Worst Performer: Multi-step integration joint position (MIΔJP) was identified as one of the worst-performing action spaces.
  • Sim vs. Real Discrepancy: Success rates in simulation do not always directly correlate with real-world performance, highlighting the importance of direct sim-to-real evaluation.
  • Task-Specific Advantages: Cartesian action spaces showed a slight advantage in sample efficiency and final rewards for the pushing task, likely due to its spatial nature.
  • Torque Control Limitations: Joint torque policies were found to be too jerky and aggressive for safe deployment in the real-world pushing task, leading to their exclusion from those experiments.

Limitations and Future Work

  • Limited Tasks and Robot: The study was conducted on two specific manipulation tasks (reaching and pushing) using a single robot platform (Franka Emika Panda). The authors acknowledge that findings might not generalize to all tasks, robots, or hardware setups.
  • Action Space Design Space: While 13 action spaces were explored, this represents a subset of all possible designs. Future work could explore more complex or novel action space formulations.
  • Tuning Effort: The paper notes that while JV-based spaces require less tuning, other action spaces might benefit from careful hyperparameter tuning, which can be challenging.
  • Future Directions: The authors suggest that further studies are needed to validate their findings across a broader range of tasks, observation spaces, robots, and hardware setups. They also emphasize the need for careful consideration of action spaces in future RL algorithm design for robot manipulation.

Summary updated

BibTeX
@article{aljalbout2024role,
  author = {Elie Aljalbout and Felix Frank and Maximilian Karl and Patrick van der Smagt},
  title = {{The Role of Action Abstractions in Robot Manipulation Learning and Sim-to-Real Transfer}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2024},
  doi = {10.1109/lra.2024.3398428},
}
Figure