Lab2Sim: Agentic Generation of Interactive Laboratory Equipment from Operation Videos

Yuxin Lin, Pei Ren, Yirong Yang, Xuxin Lv, Xingchuang Liao, Diyuan Hou, Jiale He, Zhengping Che, Yongfei Zhang, Wenjun Wu, Zhaoxin FanarXiv 2026

TL;DR

Training robots to perform chemistry experiments requires virtual laboratories, yet 3D scanners and standard AI reconstructors usually turn hollow glass flasks and delicate valves into solid, unusable digital bricks. LAB2SIM uses a team of specialized AI agents to watch standard lab videos and programmatically build editable, physically accurate 3D equipment—complete with working stopcocks, sliding doors, and hollow interiors that actually hold and drain simulated liquids.

Figure 1. LAB2SIM turns lab operation videos into simulation-ready equipment assets. Given egocentric videos of human laboratory operations or multi-view videos of robot demonstrations, LAB2SIM reconstructs laboratory equipment as simulation-ready assets with realistic geometry, materials, and articulated physical properties. The resulting assets can be directly integrated into SAPIEN to build interactive simulation environments for robot training, supporting diverse laboratory manipulation tasks such as object handling, liquid pouring, and equipment operation.

What Problem Does This Paper Address?

Teaching a robot to handle hazardous reagents in the real world is expensive, messy, and risky. Naturally, roboticists prefer to train their policies in physics simulators first. The catch? Simulators are only as good as their digital assets.

Right now, building virtual lab equipment means either hiring 3D artists to model every beaker by hand or using automated "real-to-sim" reconstruction pipelines. Existing automated pipelines do fine with everyday objects like coffee mugs or cabinets, provided you wave a camera cleanly around a single isolated object. However, they fall apart on actual laboratory workflow videos.

Why? First, real lab videos are cluttered and busy—capturing an entire multi-object experiment rather than giving a clean 360-degree tour of a single flask. Second, glass is transparent and reflective, confusing standard geometry reconstructors. Most importantly, standard pipelines focus on external shapes. If you reconstruct the outside of a separatory funnel and slap a rotational joint on its valve, liquid still won't flow through it because the interior is solid mesh. Functional lab gear requires connected internal cavities, precise screw threads, and accurate material physics.

Methods

Instead of treating 3D reconstruction as a purely visual mesh-wrapping problem, LAB2SIM treats it like an engineering workflow. It uses a deterministic Coordinator to route tasks among four distinct multimodal LLM sessions (all powered by GPT-6-Astra), separating the building from the checking:

  1. Evidence Agent: Watches the multi-object videos and tracks equipment across frames and camera angles. Crucially, it blends what it sees with hardcoded laboratory domain knowledge—such as category morphology rules, manufacturer material catalogs (for density and friction), and a "transparent-glass policy" that stops the AI from mistaking background clutter seen through a beaker for the beaker's own color.
  2. Asset Agent: Translates that structured evidence into a build plan of named parts and joints, then writes Python code via the Model Context Protocol (MCP) to construct clean, editable 3D geometry in Blender.
  3. Verifier: Acts as an independent quality-control inspector. Rather than trusting the builder, it reads back the sealed mesh files to verify watertightness and internal cavities, and compares fresh renders (including cross-sections) against the original video frames. If a cavity is blocked, it sends a targeted repair ticket back to the Asset Agent.
  4. Simulation Integration Agent: Converts verified Blender files into SAPIEN simulator assets. It calculates mass and inertia from hollow wall volumes (using signed tetrahedral decomposition), assigns triangle-mesh collisions to static concave vessels so things can actually go inside them, and compiles mechanical joints—like coupling rotational angle $\theta$ with axial travel $z$ so screw caps genuinely thread onto bottle necks. Finally, it test-drives the parts in simulation and refines joint gains based on execution feedback.
Examples of simulation-ready assets generated by LAB2SIM, featuring transparent glass, hollow cavities, and articulated mechanisms.

Datasets

The authors do not train models from scratch, instead evaluating LAB2SIM on two real-world laboratory scenes annotated with 29 equipment instances, 83 required parts, and 48 part–action pairs:

  • Scene 1 (Human Egocentric): 57 first-person video clips (228 seconds total) drawn from a public collection of fine-grained laboratory action videos, featuring weighing, stirring, phase separation, and pH measurement.
  • Scene 2 (Robot Multi-View): A 130-second recording of a dual-arm robot performing a weighing-and-transfer task, captured across three synchronized cameras (head, left wrist, right wrist).

Key Insights and Ideas

  • Architecture beats raw model power: Giving a single coding agent (Codex) the exact same underlying LLM (GPT-6-Astra) and Blender tools yields much worse articulated parts. Splitting the workflow into specialized builder, verifier, and physics-integration roles—with strict verification gates—is what makes the geometry usable.
  • Video provides irreplaceable mechanical context: When the authors replaced video inputs with curated still frames, Scene 1's interaction score dropped from 86.9 to 69.4. Seeing how a human or robot manipulates a stopper or draft shield over time gives the agents crucial clues about hidden joints and part relationships.
  • Domain presets tame physics bugs: Letting an LLM guess raw simulator joint parameters from scratch leads to misaligned axes and leaky valves. Compiling high-level part relationships through explicit kinematic presets (like return-spring buttons and mathematical screw constraints) keeps mechanisms grounded in reality.

Key Results

LAB2SIM outperformed both specialized real-to-sim pipelines (Real2Gym, SimFoundry) and single-agent coding baselines (Codex):

  • Parts & Articulation: On a 100-point scale combining part presence and simulated action completion, LAB2SIM scored 86.9 on Scene 1 and 98.3 on Scene 2 (completing 100% of required robot scene actions), jumping well ahead of the same-model Codex baseline (66.4 and 76.8, respectively).
  • Visual Fidelity & Completeness: Achieved 94.7% and 100% instance recovery IoU across the two scenes, alongside top visual fidelity scores of 78.1 and 78.9.
  • Functional Liquid Control: Achieved a 100% pass rate on valve-controlled drainage—its separatory funnel held liquid when closed and drained cleanly through the bottom stem when opened. Removing verification feedback or simulation adaptation dropped this pass rate straight to 0% due to blocked passages or lateral wall leaks.
  • Downstream Utility: Using the generated asset library, an LLM successfully reconstructed real tabletop layouts in the RoboTwin benchmark and executed simulated robot tasks like opening balance shields, pressing buttons, and pouring liquids.

Limitations and Future Work

Not discussed in the paper.

Summary updated

Abstract

Generating laboratory assets that faithfully reproduce the appearance, structure, and joint motions of real equipment remains challenging. Existing asset generation methods struggle to directly generate simulation assets for all equipment observed in operation videos and to faithfully reproduce the appearance, joint motions, and internal cavities of the real equipment. To address the challenge, we present Lab2Sim, an agentic framework that generates editable, simulation-ready laboratory equipment assets from egocentric or multi-view operation videos. Lab2Sim comprises four specialized agents. The Evidence Agent combines video observations with laboratory knowledge to specify equipment parts, materials, and functional requirements, which guide the Asset Agent in constructing editable Blender assets. The independent Verifier checks the generated geometry and appearance against the evidence and requirements, providing targeted feedback for revision. The Simulation Integration Agent converts verified Blender assets into simulation instances with physical properties and articulated mechanisms, using execution feedback to refine their behavior. Experiments on human and robot laboratory scenes show that Lab2Sim achieves higher visual fidelity and stronger interaction capability than coding-agent and real-to-sim baselines, including a Codex baseline using the same underlying model. We further demonstrate valve-controlled drainage and use the generated asset library to reproduce laboratory scenes and operations in RoboTwin, supporting reusable simulation environments for robotic laboratory tasks.
BibTeX
@misc{lin2026lab,
  author = {Yuxin Lin and Pei Ren and Yirong Yang and Xuxin Lv and Xingchuang Liao and Diyuan Hou and Jiale He and Zhengping Che and Yongfei Zhang and Wenjun Wu and Zhaoxin Fan},
  title = {{Lab2Sim: Agentic Generation of Interactive Laboratory Equipment from Operation Videos}},
  year = {2026},
  eprint = {2611.33705},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33705},
}
Figure