RetinaGAN: An Object-aware Approach to Sim-to-Real Transfer
Daniel Ho, Kanishka Rao, Zhuo Xu, Eric Jang, Mohi Khansari, Yunfei Bai
TL;DR
RetinaGAN introduces an object-aware sim-to-real adaptation framework that enforces perception consistency by coupling a frozen object detector with CycleGAN-style image translation. Its L_prcp perception loss, powered by a novel Focal Consistency Loss, preserves object structure and textures while translating simulated scenes to realistic visuals for policy training. Across grasping, pushing, and door-opening tasks, RetinaGAN yields substantial data-efficient gains, enabling high real-world performance with limited real data and enabling transfer to related tasks without additional real data. The approach demonstrates robust cross-domain generalization, reusing a single detector across tasks and achieving state-of-the-art-like performance in several setups, including ensemble variants for imitation learning. This work highlights a practical path to reduce real-world data collection costs in robotic learning by decoupling perception from task-specific training and leveraging pre-trained detectors for semantic consistency.
Abstract
The success of deep reinforcement learning (RL) and imitation learning (IL) in vision-based robotic manipulation typically hinges on the expense of large scale data collection. With simulation, data to train a policy can be collected efficiently at scale, but the visual gap between sim and real makes deployment in the real world difficult. We introduce RetinaGAN, a generative adversarial network (GAN) approach to adapt simulated images to realistic ones with object-detection consistency. RetinaGAN is trained in an unsupervised manner without task loss dependencies, and preserves general object structure and texture in adapted images. We evaluate our method on three real world tasks: grasping, pushing, and door opening. RetinaGAN improves upon the performance of prior sim-to-real methods for RL-based object instance grasping and continues to be effective even in the limited data regime. When applied to a pushing task in a similar visual domain, RetinaGAN demonstrates transfer with no additional real data requirements. We also show our method bridges the visual gap for a novel door opening task using imitation learning in a new visual domain. Visit the project website at https://retinagan.github.io/
