Sim-to-Real Reinforcement Learning for Deformable Object Manipulation.

Jan Matas, Stephen James, Andrew J. DavisonarXiv 2018

Abstract

We have seen much recent progress in rigid object manipulation, but interaction with deformable objects has notably lagged behind. Due to the large configuration space of deformable objects, solutions using traditional modelling approaches require significant engineering work. Perhaps then, bypassing the need for explicit modelling and instead learning the control in an end-to-end manner serves as a better approach? Despite the growing interest in the use of end-to-end robot learning approaches, only a small amount of work has focused on their applicability to deformable object manipulation. Moreover, due to the large amount of data needed to learn these end-to-end solutions, an emerging trend is to learn control policies in simulation and then transfer them over to the real world. To-date, no work has explored whether it is possible to learn and transfer deformable object policies. In this work, we use a combination of state-of-the-art deep reinforcement learning algorithms to solve the problem of manipulating deformable objects (specifically cloth). We evaluate our approach on three tasks — folding a towel up to a mark, folding a face towel diagonally, and draping a piece of cloth over a hanger. Our agents are fully trained in simulation with domain randomisation, and then successfully deployed in the real world without having seen any real deformable objects.

Introduction

Robotic manipulation has historically excelled at rigid objects, but deformable materials like cloth present a significant challenge due to their near-infinite configuration space. Modeling these objects mathematically is complex and often computationally prohibitive. While end-to-end reinforcement learning (RL) offers a potential solution by learning directly from pixels to actions, it requires massive datasets that are difficult to collect on physical hardware.

Comparison of the three cloth manipulation tasks in simulation (left) and the real world (right).

To address this, researchers from Imperial College London developed a sim-to-real framework using the PyBullet physics engine. They focused on three benchmark tasks: folding a towel to a tape mark (Tape), draping cloth over a hanger (Hanging), and corner-to-corner folding (Diagonal Folding). The goal was to train an agent entirely in simulation and deploy it on a real Kinova Mico 7DOF arm using only a standard webcam.

Methods

The core of the approach is a heavily modified Deep Deterministic Policy Gradient (DDPG) algorithm. To bridge the "reality gap," the authors integrated several key components:

  • Learning from Demonstrations (DDPGfD): The agent was seeded with 20 human demonstrations to overcome the challenge of sparse rewards in complex folding tasks.
  • Asymmetric Actor-Critic: The "Critic" evaluates actions using full simulator state data, while the "Actor" (the deployed policy) relies only on RGB images and joint angles.
  • Domain Randomization: To ensure robustness, the simulator randomized textures, lighting, camera positions, and cloth physical properties.
  • Auxiliary Tasks: The network was trained to predict cloth corner locations as a secondary task, forcing it to learn relevant visual features.
  • Stable Grasping: A "fake grasp" mechanism using anchors was implemented to bypass the limitations of standard physics engines in modeling cloth-gripper interactions.

Key Results and Insights

The agents were trained for approximately 24 hours in simulation (80k transitions) and deployed directly to the real world without any additional fine-tuning.

Ablation study showing the impact of various components on the learning reward over time.

The ablation studies (shown above) reveal that certain components are critical. For instance, removing demonstrations or low-dimensional data in the actor leads to a complete failure to learn. Auxiliary predictions also significantly boosted the learning rate and final performance, acting as a regularizer that ensures the robot focuses on the cloth rather than background noise.

Task Sim Success Rate Real World Success (Full)
Diagonal Folding 90% 66.6%
Hanging 77% 46.6%
Tape Folding 86% 43%

While real-world success rates were lower than in simulation, "vicinity" success (getting the cloth near the target) remained high, often reaching 90-100%. This suggests the robot successfully learned the high-level logic of the tasks but struggled with fine-grained precision due to physical differences between simulated and real cloth.

Conclusion

This work demonstrates that sim-to-real transfer is viable for deformable object manipulation. The primary bottlenecks identified were not the RL algorithms themselves, but rather the limitations of current physics simulators in modeling cloth stiffness and the precision of robotic grasping. Future work will focus on improving cloth simulation fidelity and integrating more sophisticated grasping controllers to close the remaining performance gap.

Summary updated

BibTeX
@misc{matas2018sim,
  author = {Jan Matas and Stephen James and Andrew J. Davison},
  title = {{Sim-to-Real Reinforcement Learning for Deformable Object Manipulation.}},
  year = {2018},
  eprint = {1806.07851},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.07851},
}
Figure