Variable Impedance Control in End-Effector Space: An Action Space for Reinforcement Learning in Contact-Rich Tasks

Roberto Martín-Martín, Michelle A. Lee, Rachel Gardner, Silvio Savarese, Jeannette Bohg, Animesh GargIROS 2019 · DOI

Abstract

Reinforcement Learning (RL) of contact-rich manipulation tasks has yielded impressive results in recent years. While many studies in RL focus on varying the observation space or reward model, few efforts focused on the choice of action space (e.g. joint or end-effector space, position, velocity, etc.). However, studies in robot motion control indicate that choosing an action space that conforms to the characteristics of the task can simplify exploration and improve robustness to disturbances. This paper studies the effect of different action spaces in deep RL and advocates for Variable Impedance Control in End-effector Space (VICES) as an advantageous action space for constrained and contact-rich tasks. We evaluate multiple action spaces on three prototypical manipulation tasks: Path Following (task with no contact), Door Opening (task with kinematic constraints), and Surface Wiping (task with continuous contact). We show that VICES improves sample efficiency, maintains low energy consumption, and ensures safety across all three experimental setups. Further, RL policies learned with VICES can transfer across different robot models in simulation, and from simulation to real for the same robot.

Introduction

In robot Reinforcement Learning, researchers frequently iterate on reward functions and observation spaces, yet the action space—the specific commands the policy outputs—is often treated as a secondary design choice. Standard choices typically include joint torques, joint velocities, or end-effector positions. However, contact-rich tasks like wiping a table or turning a door handle present unique challenges: the robot must be stiff in certain directions to maintain precision but compliant in others to handle environmental constraints safely.

Manually tuning these parameters for every task is inefficient. This research investigates whether an RL agent can learn to modulate its own stiffness dynamically. We propose Variable Impedance Control in End-Effector Space (VICES) as a robust action space that simplifies exploration and enhances safety in complex manipulation scenarios.

The VICES Framework

The VICES architecture utilizes a hierarchical control structure. The RL policy acts as an "outer loop," operating at a lower frequency (20Hz), while a high-speed "inner loop" controller (500Hz) handles low-level physics and torque generation.

The VICES control architecture (D) compared to other common action spaces like joint torques (A), velocities (B), and positions (C).

In the VICES framework, the policy outputs both a target 6D pose ($x_{des}$) and impedance gains ($k_p, k_v$) for each axis. By operating in end-effector space, the policy is abstracted from the specific joint configurations of the robot. This allows the agent to learn task-relevant behaviors—such as becoming "soft" when encountering an unknown surface—rather than just learning to fight the robot's internal dynamics.

Experimental Evaluation

We evaluated VICES against several baseline action spaces across three simulated tasks using a Franka Emika Panda robot:

  1. Path Following: Navigating through via-points in free space to test precision without contact.
  2. Door Opening: Manipulating a 1-DOF handle to test performance under kinematic constraints.
  3. Surface Wiping: Cleaning a surface with unknown height and friction to test continuous contact handling.

To test the generalization of the learned policies, we also performed transfer tests to a simulated Sawyer robot and sim-to-real validation on a physical Panda robot.

Key Results

Sample Efficiency and Performance

Our results indicate that VICES significantly outperforms traditional action spaces in contact-rich environments. In the Surface Wiping task, VICES reached high reward thresholds faster than joint-space or fixed-impedance controllers. The ability to modulate stiffness allows the agent to explore the environment more safely and effectively.

Learning curves for three manipulation tasks show that VICES (blue/pink) consistently achieves higher rewards with better sample efficiency.

Safety and Energy Efficiency

Compliance acts as a natural safety net. While high-stiffness position controllers might trigger safety shut-offs upon hitting a table, VICES allows the robot to "fail gracefully" by remaining compliant. Furthermore, when trained with an energy penalty, VICES-based agents naturally reduced power consumption, learning that excessive stiffness is energetically costly.

Zero-Shot Transfer and Sim-to-Real

Because VICES abstracts the task into end-effector space, policies learned on the Panda robot achieved nearly 100% success when transferred to the Sawyer robot for Path Following and Door Opening without additional training. In sim-to-real experiments, a wiping policy was successfully deployed on a physical robot, maintaining enough compliance that a human could safely interact with the robot's arm during the task.

Conclusion

Choosing the right action space is critical for the success of RL in robotics. VICES provides a powerful abstraction that combines the precision of end-effector control with the safety and flexibility of variable impedance. Future work will explore the interaction between VICES and different RL algorithms, as well as integrating the framework with end-to-end visual perception.

Summary updated

BibTeX
@inproceedings{martinmartin2019variable,
  author = {Roberto Martín-Martín and Michelle A. Lee and Rachel Gardner and Silvio Savarese and Jeannette Bohg and Animesh Garg},
  title = {{Variable Impedance Control in End-Effector Space: An Action Space for Reinforcement Learning in Contact-Rich Tasks}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2019},
  doi = {10.1109/iros40897.2019.8968201},
}
Figure