Research
RoboChemGym: A Protocol-Driven Generative Simulation Framework for Long-Horizon Chemical Manipulation
Training robots to run wet-lab chemistry experiments requires large amounts of demonstration data, which is expensive and risky to collect on real equipment.

- arXiv
- 2610.02708 · Preprint · not peer-reviewed
- Published
- 2026-10-02
- Authors
- Chenxi Li, Haiyuan Wan, Rui Li, Jingyuan Li, Sha Zhang, Bohan Feng, Jianbao Cao, Zhangrui Zhao, Di Hu, Wangmeng Zuo, Shixiang Tang, Minting Pan, Dongzhan Zhou
In plain words
Training robots to run wet-lab chemistry experiments requires large amounts of demonstration data, which is expensive and risky to collect on real equipment. Existing generative simulation methods produce mostly short-horizon, loosely structured everyday manipulation tasks, and they fail to respect the strict step ordering and fine-grained handling that chemical protocols demand.
AI summary
Overview
Research area: Robotics and embodied AI — specifically generative simulation, long-horizon manipulation, and laboratory automation for chemistry.
Technical level: Intermediate. Readers should know the basics of imitation-learning policies (ACT, Diffusion Policy, π0), physics simulators, and LLM-driven code generation, but the paper's core ideas are explained conceptually.
Scope: The paper presents RoboChemGym, a framework that turns natural-language chemical experiment protocols into executable simulated scenes and expert manipulation trajectories, plus a 20-task hierarchical benchmark for evaluating embodied agents on those workflows.
What This Paper Is About
Training robots to run wet-lab chemistry experiments requires large amounts of demonstration data, which is expensive and risky to collect on real equipment. Existing generative simulation methods produce mostly short-horizon, loosely structured everyday manipulation tasks, and they fail to respect the strict step ordering and fine-grained handling that chemical protocols demand. RoboChemGym addresses this by automatically generating simulation scenes and robot action programs directly from a written experimental protocol, refining them until they execute successfully, and then scaling the resulting demonstrations with laboratory-appropriate randomization.
Key Contributions
-
A protocol-driven generation and execution framework. Given a textual chemical protocol, RoboChemGym constructs a high-fidelity tabletop scene and an executable action program that follows the real experimental procedure, enabling data synthesis that is aligned with chemical workflows rather than generic manipulation.
-
A self-improving task synthesis mechanism. A dual-loop optimization scheme jointly refines action parameters (inner loop) and scene layouts (outer loop) using structured runtime error signals, with Action Memory and Scene Memory accumulated across iterations to reduce failures on long-horizon, multi-object tasks.
-
A protocol-aligned hierarchical benchmark. Twenty tasks derived from realistic chemical protocols are organized into three levels — 9 short-horizon, 8 long-horizon, and 3 ultra-long-horizon — with Level 1 at 3 atomic actions, Level 2 at 7, and Level 3 at 11, and more than half the tasks exceeding five atomic actions.
-
Lab-centric data scaling. Randomization along four axes — object position, background distractors, workbench material textures, and illumination — is applied to generated demonstrations to improve policy robustness and sim-to-real transfer.
Main Findings
-
Generation success degrades with horizon but remains usable. In the clean setting the pipeline reaches 89.2%, 73.4%, and 52.3% success on Levels 1–3; under randomized conditions it reaches 85.6%, 70.3%, and 47.5%, an average drop of 3.83%.
-
Both memory modules matter, and action memory matters more as tasks get longer. Removing action memory drops clean success from 89.2% to 75.8% on Level 1 but from 52.3% to 27.4% on Level 3. Removing scene memory gives 73.6%, 56.4%, and 32.3% on Levels 1–3 in the clean setting.
-
Iteration gains saturate. With up to 30 iterations, Level-3 success rises from 33% in early iterations to around 48% under Clean and stabilizes at 52%; the Random setting plateaus near 47%. Remaining failures at Level 3 are attributed to multi-object layout constraints (arranging 4–5 objects in a limited workspace without occlusion or collision) rather than to action-parameter errors.
-
Generated trajectories replay on real hardware. Without reset actions, full-sequence real-robot replay success is 85.7%, 69.2%, and 54.6% for Levels 1–3; inserting reset actions after each pick-and-place pair raises these to 87.3%, 79.7%, and 70.5%.
-
π0 outperforms ACT and Diffusion Policy on long horizons. With 200 expert trajectories per task, ACT and DP reach 22.5% and 15.4% full-sequence success on Level 1 but fall to 5.2% and 3.8% on Level 2 and near 0 on Level 3. π0 with clean data reaches 18.2% on Level 2 and with random data 28.4%; π0 with random data reaches 1.7% on Level 3, versus 0% zero-shot.
-
Randomized data helps more as tasks get harder. π0 improves from 55.4% to 68.5% on Level 1 and from 18.2% to 28.4% on Level 2 when trained on randomized rather than clean data, and keeps higher step-wise success at later action stages on Levels 2 and 3.
-
Sim-to-real transfer improves substantially with mixed data. On three Level-1 tasks (following RoboTwin) using π0, adding 1,000 domain-randomized synthetic trajectories to only 10 real demonstrations raises average real-world success by 23.3%, with configuration-specific gains of 22.4%, 23.5%, 23.3%, and 23.9% across clean/cluttered and seen/unseen-position settings. Zero-shot training on synthetic data alone yields smaller gains of 5.3%, 4.5%, 5.2%, and 6.0%.
-
LLM cost stays modest. Roughly 15, 20, and 30 LLM calls are needed per Level-1/2/3 task; typical per-task cost is about 0.50, 0.66, and 0.99 USD respectively, with per-call time-to-first-word of roughly 15–40 seconds.
Methodology in Plain English
The system takes a written lab protocol as input and asks a large language model (Claude 3 Opus) to extract two things: which objects and layout the scene needs, and which manipulation steps the robot should perform. A Scene Construction Engine places assets — drawn from a library of over 140 chemical assets across more than 10 laboratory environments — inside an estimated reachable workspace, solving a weighted constrained optimization (weights 0.75, 0.6, and 0.35 for separation, center alignment, and visibility) subject to collision and minimum-distance constraints. An Action Planning Engine then composes steps from eight parameterized primitives — Pick, Place, Pour, Press, Open, Close, Shake, and Stir — each wrapping an expert trajectory with tunable parameters; only those parameters are optimized, while the rest of the code is frozen.
Because a single pass rarely produces a feasible long-horizon plan, the framework runs a closed loop. A runtime monitor segments execution into atomic stages, logs end-effector and object trajectories, and emits structured failure records (which action, which object, which quantitative deviation). An inner loop has the LLM adjust action parameters; if failures persist, an outer loop reconfigures the scene — for example, moving an object that repeated Pick failures show is out of reach. Action Memory stores textual diagnoses and parameter fixes, Scene Memory stores spatial reconfigurations, and both are retrieved to guide later iterations, so the system improves across attempts.
Finally, the validated trajectories are expanded by randomizing object positions, adding contextually plausible distractor objects via collision-aware placement, swapping in a texture library of laboratory bench surfaces, and varying lighting color, type, intensity, and position. Policies are then trained on these demonstrations and evaluated at both the atomic-action level and the full-task level, with a task counted as successful only if every atomic action succeeds.
Why This Matters
Impact on research. The work moves generative simulation from everyday tabletop tasks to protocol-constrained scientific workflows, and it supplies a benchmark that separates atomic-operation competence from full-procedure competence. That separation makes error accumulation in long-horizon execution measurable rather than a single opaque number.
Real-world applications:
- Automated wet-lab execution of routine procedures such as solid weighing, reagent addition, and pH measurement.
- Self-driving laboratory platforms that need to chain many dependent steps without human intervention.
- Pretraining and stress-testing manipulation policies for high-value or hazardous handling where real-world trial and error is unsafe.
- Generating training data for lab robotics where expert teleoperation time is scarce.
Industry relevance. Pharmaceutical and chemical companies investing in laboratory automation face exactly the data bottleneck this paper targets: expert demonstrations are costly, and failures on delicate glassware or costly reagents are expensive. A pipeline that produces protocol-compliant demonstrations at roughly one US dollar of LLM cost per task, and that measurably closes the sim-to-real gap with only 10 real demonstrations, is directly relevant to groups building lab automation stacks. The reported limitation to a single robot (Franka Panda) is the main constraint on immediate deployment breadth.
Future Directions
-
Full autonomous real-world execution. The current real-world evaluation is limited to replaying generated trajectories plus the three Level-1 sim-to-real tasks; extending to closed-loop autonomous execution is stated as future work.
-
Additional robot embodiments. RoboChemGym supports only the Franka Panda, so generalizing across arms and grippers is an open problem.
-
Raising Level-3 performance. Full-sequence success on 11-action tasks remains 1.7% even for the strongest policy, and generation success plateaus around 47–52%, with failures attributed to multi-object layout complexity — better scene reasoning or decomposition is needed.
-
Scaling protocol coverage. The benchmark contains 20 protocols; expanding to broader chemistry domains and more intricate glassware/fluid interactions would test whether the approach generalizes beyond the demonstrated task families.
Target Audience
Robotics and embodied-AI researchers working on long-horizon manipulation and data generation; practitioners building laboratory automation or self-driving lab systems; and benchmark designers interested in hierarchical, procedure-level evaluation. It is also useful for chemists and lab managers who want a concrete picture of what current robot policies can and cannot yet do on real protocols.
Authors’ abstract
Wet-lab experimentation serves as the gold standard for hypothesis verification in scientific discovery; yet it is inherently labor-intensive, costly, and safety-critical. Embodied agents hold the promise of automating these tedious workflows, but their development is hindered by the scarcity of real-world training data. While simulation offers a scalable alternative for producing demonstrations, current methods primarily target relatively short-horizon tasks with loosely…
The full abstract on arXivRelated papers
- RoboCasa-Shift: Stage-Aware Robustness Evaluation of Vision-Language-Action Policies in Long-Horizon Household Manipulation 2026-10-20 · cs.RO · Also by Sha Zhang
- Robocasa-Mem: Benchmarking Environment and Process Memory in Long-Horizon Mobile Manipulation 2026-11-04 · cs.RO · Also by Sha Zhang
- GaussMemory: Task-Driven 3D Gaussian Scene Memory for Long-Horizon Robotic Manipulation 2026-08-15 · cs.RO · Key terms of the title in common
- MobiAgent: Dual-Loop Recursive Policy Self-Improvement for Long-Horizon Mobile Manipulation 2026-10-02 · cs.RO · Key terms of the title in common
- EvoMem-VLA: State-Evolution Memory for Long-Horizon Robot Manipulation 2026-10-04 · cs.RO · Key terms of the title in common