[Paper Review] How to Close Sim-Real Gap? Transfer with Segmentation!
This paper proposes a modular, segmentation-supervised approach to close the sim-to-real generalization gap in robotic manipulation by generating realistic, diverse training images through Povray rendering and real background composition, while using DAGGER to improve failure recovery. The method achieves 88% success rate in real-world grasping tasks, outperforming unsupervised variants due to explicit segmentation supervision that leverages synthetic annotations for more effective policy learning.
One fundamental difficulty in robotic learning is the sim-real gap problem. In this work, we propose to use segmentation as the interface between perception and control, as a domain-invariant state representation. We identify two sources of sim-real gap, one is dynamics sim-real gap, the other is visual sim-real gap. To close dynamics sim-real gap, we propose to use closed-loop control. For complex task with segmentation mask input, we further propose to learn a closed-loop model-free control policy with deep neural network using imitation learning. To close visual sim-real gap, we propose to learn a perception model in real environment using simulated target plus real background image, without using any real world supervision. We demonstrate this methodology in eye-in-hand grasping task. We train a closed-loop control policy model that taking the segmentation as input using simulation. We show that this control policy is able to transfer from simulation to real environment. The closed-loop control policy is not only robust with respect to discrepancies between the dynamic model of the simulated and real robot, but also is able to generalize to unseen scenarios where the target is moving and even learns to recover from failures. We train the perception segmentation model using training data generated by composing real background images with simulated images of the target. Combining the control policy learned from simulation with the perception model, we achieve an impressive $\bf{88\%}$ success rate in grasping a tiny sphere with a real robot.
Motivation & Objective
- To address the sim-to-real domain gap in robotic imitation learning by improving visual realism and annotation fidelity in simulation.
- To enhance policy robustness by enabling the agent to learn failure recovery through iterative expert feedback via DAGGER.
- To demonstrate that explicit segmentation supervision in a modular network architecture improves generalization to real-world environments compared to unsupervised feature learning.
- To enable efficient end-to-end training by integrating realistic image composition and adaptive training scheduling.
Proposed method
- Generate realistic training images by rendering scenes in Povray with accurate lighting and shadow modeling, including gripper plate approximations to simulate realistic sphere shadows.
- Compose Povray-rendered images with real robot workspace background images via alpha blending to increase visual diversity and realism.
- Use HSV space randomization during training to account for real-world lighting and color variations.
- Train a vision module with pixel-wise segmentation supervision using synthetic masks from Gazebo and Povray, enabling precise object localization.
- Implement a two-module system: a vision module for segmentation and a controller module for action prediction, trained jointly via DAGGER to improve failure recovery.
- Optimize end-to-end training by pausing physics during rendering, adjusting training epochs per DAGGER iteration, and reducing total training time from 134 to 7 days.
Experimental results
Research questions
- RQ1Can realistic image synthesis combined with segmentation supervision improve sim-to-real transfer in robotic grasping?
- RQ2Does explicit segmentation supervision lead to better generalization than unsupervised feature learning in vision modules?
- RQ3Can DAGGER-based fine-tuning effectively teach the policy to recover from failures not seen in expert demonstrations?
- RQ4How does end-to-end training with composed, realistic images compare to separate module training in real-world performance?
- RQ5What is the impact of architectural choices—such as feature map size and supervision type—on real-world grasping success?
Key findings
- The proposed method achieved 88% success rate in real-world grasping when no clutter was present, significantly outperforming unsupervised variants.
- With clutter present, the end-to-end trained network successfully grasped the sphere in 4 out of 5 trials, demonstrating robustness to real-world distractors.
- The network with segmentation supervision achieved significantly lower training loss than both unsupervised variants, indicating better optimization and convergence.
- The unsupervised feature map variant failed to grasp the sphere despite reaching near it, highlighting the importance of structured supervision.
- End-to-end training time was reduced from an estimated 134 days to 7 days on a single Titan X GPU through adaptive scheduling and rendering optimization.
- The vision module required only 9 hours to train due to pixel-wise supervision, with each image effectively contributing 10,000 correlated samples.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.