Abstract
Creating high-fidelity robotic simulations from real-world environments is a labor-intensive bottleneck in robot learning. We present GRS (Generating Robotic Simulation tasks), a system that automates the "real-to-sim" pipeline using a single RGB-D image. GRS leverages Vision-Language Models (VLMs) for scene comprehension and object matching against 3D asset databases. A key innovation is an iterative "router" system that co-generates simulation code and test suites, self-correcting errors to ensure task solvability. Our results show that GRS significantly outperforms baseline methods in object retrieval accuracy and task success rates, providing a scalable path for generating diverse training environments.
Introduction
Simulation is essential for training robotic agents safely and efficiently. However, the manual effort required to build digital twins—modeling 3D assets, placing them accurately, and defining solvable tasks—limits the scale of simulation-based learning. While Large Language Models (LLMs) have shown promise in generating simulation code, they often lack grounding in specific real-world scenes and struggle to ensure that generated tasks are actually executable.
GRS addresses these challenges by transforming a single real-world photo into a verified, functional simulation. By integrating advanced segmentation, multimodal object matching, and an iterative refinement loop, GRS bridges the gap between static images and interactive training environments.
The GRS Pipeline
The GRS system operates through a structured four-stage process:
- Scene Comprehension: Using SAM2 (Segment Anything Model 2), the system segments objects within an input RGB-D image. A VLM then analyzes these segments to produce detailed textual descriptions.
- Multimodal Object Correspondence: To populate the simulation, GRS matches real-world objects to a database of 3D assets. Unlike standard embedding-based methods, GRS uses a multimodal approach, prompting a VLM with both image crops and text descriptions to ensure high-fidelity retrieval.
- Task and Simulation Generation: An LLM interprets the scene to generate a high-level task (e.g., "sort the objects by color") and the Python code required to initialize the environment in a simulator.
- Simulation Refinement (The Router): This is the core of the GRS architecture. Alongside the simulation code, the system generates a validation test suite. An LLM-powered "router" executes the simulation and monitors for runtime errors or test failures. If an issue is detected, the router intelligently decides whether to modify the simulation setup (e.g., adjusting object placement) or refine the test logic. This loop continues until the task is verified as solvable by an automated oracle agent.
Experimental Evaluation
The system was evaluated using the HOPE dataset for tabletop grocery items, the massive Objaverse library (~150,000 assets) for scene-level scaling, and custom real-world data captured via ZED 2 cameras.
Key findings include:
- Enhanced Retrieval: The multimodal matching strategy achieved an F1 score of 0.89, compared to 0.76 for CLIP-only baselines.
- Improved Solvability: GRS achieved a normalized reward of 0.71 for task completion, significantly higher than LLM-only (0.47) or non-iterative (0.65) approaches.
- Efficiency: The router system effectively reduced the number of manual interventions required by making informed, automated debugging decisions.
Conclusion and Future Directions
GRS demonstrates a robust method for automating the creation of grounded, solvable robotic simulations. While currently focused on tabletop manipulation, future work aims to incorporate richer physical metadata (mass, friction) and expand the system's capabilities to full-room environments. Ultimately, GRS paves the way for a seamless "sim-to-real" cycle, where policies trained in automatically generated simulations can be directly deployed back into the physical world.
Summary updated