RoboEngine: Plug-and-Play Robot Data Augmentation with Semantic Robot Segmentation and Background Generation

Chengbo Yuan, Suraj Joshi, Shaoting Zhu, Hang Su, Hang Zhao, Yang Gao · DOI

In the field of robot learning, generalization remains a significant challenge. Robots often fail when moved from a controlled lab environment to a real-world setting due to visual distribution shifts. Researchers from Tsinghua University and the Shanghai Qi Zhi Institute have developed RoboEngine, a toolkit designed to simplify robot data augmentation. By leveraging semantic segmentation and generative diffusion models, RoboEngine allows a robot trained in a single scene to generalize to diverse, novel environments.

The Challenge of Visual Generalization

Imitation Learning (IL) is a powerful tool for teaching robots complex tasks, but it is often "brittle." Standard neural networks struggle to distinguish the robot arm from the background, making them sensitive to changes in lighting or room layout. Existing augmentation methods often require cumbersome setups like green screens or precise camera calibration. RoboEngine addresses these limitations by providing a "plug-and-play" solution that works on standard video data without specialized hardware.

The RoboEngine Pipeline

RoboEngine utilizes a three-stage pipeline to generate realistic, task-aware training data.

The RoboEngine pipeline: from the RoboSeg dataset to segmentation, data augmentation, and policy evaluation in novel scenes.
  1. Semantic Segmentation (Robo-SAM): The system uses a language-conditioned model (EVF-SAM) fine-tuned on a new dataset to identify the robot and task-relevant objects. This allows for high-fidelity masks that include complex details like grippers and wires.
  2. Background Generation: After masking the foreground, a fine-tuned BackGround-Diffusion model generates new, physically plausible backgrounds. This ensures the robot appears naturally integrated into the new scene (e.g., resting on a surface).
  3. Integration: The toolkit is provided as a simple Python API, enabling researchers to transform a few demonstrations into thousands of diverse training examples.

The RoboSeg Dataset

A key contribution of this work is RoboSeg, a high-quality segmentation dataset containing 3,800 annotated images. It covers over 35 robot types and various camera angles, providing the foundation for the robust segmentation model. Evaluation on zero-shot sets (images from the internet) demonstrated that Robo-SAM significantly outperforms existing state-of-the-art models like LISA and ClipSeg.

Experimental Results and Generalization

In real-world robot experiments involving tasks like folding towels or placing a mouse on a pad, RoboEngine delivered substantial performance improvements.

Policy evaluation in novel scenes demonstrates the generalization capabilities of robots trained using RoboEngine augmentations.

Key results include:

  • Performance Boost: Average success scores improved from 0.20 (without augmentation) to 0.62.
  • Generalization: Policies trained on a single scene successfully operated in six entirely different environments, outperforming alternative augmentation methods by 20%.
  • Scaling: Performance continued to improve as the number of augmented demonstrations increased, highlighting the value of large-scale visual diversity.

Conclusion and Future Directions

RoboEngine represents a major step toward making robot generalization more accessible. While highly effective, future work will focus on improving temporal consistency in video generation and integrating 3D spatial understanding to further bridge the reality gap. Currently, the diffusion-based generation takes approximately 2 seconds per frame, suggesting that further optimization is needed for real-time applications.

Summary updated

BibTeX
@inproceedings{yuan2025roboengine,
  author = {Chengbo Yuan and Suraj Joshi and Shaoting Zhu and Hang Su and Hang Zhao and Yang Gao},
  title = {{RoboEngine: Plug-and-Play Robot Data Augmentation with Semantic Robot Segmentation and Background Generation}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2025},
  doi = {10.1109/iros60139.2025.11247097},
}
Figure