arXiv:2610.02708cs.ROOct 2026

Manuscript Offprint

arXiv:2610.02708

RoboChemGym: A Protocol-Driven Generative Simulation Framework for Long-Horizon Chemical Manipulation

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

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 structured interactions, failing to meet the strict procedural constraints and fine-grained manipulation demands of chemical experiments. To bridge this gap, we introduce RoboChemGym, a framework that autonomously generates high-fidelity manipulation demonstrations aligned with real-world experiment protocols, featuring a self-improving task synthesis mechanism to iteratively refine task execution and scene configurations, enabling the reliable generation of expert trajectories for complex, multi-object protocols exceeding 10 interaction steps. Furthermore, we introduce a hierarchical benchmark that systematically assesses performance across varying granularities, spanning from atomic operations to full-cycle experimental workflows. RoboChemGym sets a scalable paradigm for the automated data synthesis and capability evaluation of embodied agents in intricate chemical tasks, serving as a critical stepping stone toward fully intelligent laboratories.

Introduction

Autonomous laboratories represent a transformative paradigm for scientific discovery, facilitating rapid hypothesis verification, standardized data collection, and the automated execution of complex procedures (Abdel-Latif et al. 2021; Dai et al. 2024; Dragone et al. 2017). Deploying embodied intelligence (Billard and Kragic 2019; Gong et al. 2023) in such settings requires advanced capabilities, including long-horizon planning, fine-grained manipulation, and strict safety awareness. However, collecting large-scale real-world data for training embodied agents in laboratories is often prohibitively expensive and risky, particularly for tasks involving delicate operations or high-cost failures. Thus, simulation and sim-to-real learning (Zhao, Queralta, and Westerlund 2020) serve as alternatives by offering scalable, safe, and controllable platforms for interactions and trial-and-error.

Despite the impressive advancements in high-fidelity physics simulators (Todorov, Erez, and Tassa 2012; Xiang et al. 2020; Hu et al. 2020), conventional simulation pipelines still rely heavily on teleoperation or manual specification (Wang et al. 2024a; Fu, Zhao, and Finn 2024a; Gu et al. 2023). While such handcrafted designs are effective for controlled validation, they require substantial human effort and scale poorly in terms of task diversity and environment coverage. To alleviate this limitation, generative simulation (Wang et al. 2023b,c; Katara, Xian, and Fragkiadaki 2024; Hua et al. 2024; Gao et al. 2025) has recently emerged to automatically synthesize key components of simulation environments. However, existing approaches mainly target everyday manipulation and loosely structured interactions (Li et al. 2023; Shridhar et al. 2020), limiting their applicability to scientific laboratory domains with highly structured, long-horizon tasks. While recent works have introduced dedicated laboratory environments (Li et al. 2025; Lan et al. 2025), they primarily focus on isolated operation segments rather than protocol-aligned workflows. Therefore, automatically synthesizing large-scale simulation data that faithfully follows experimental protocols for high-precision laboratory workflows remains an open question.

To address these challenges, we propose RoboChemGym, as illustrated in Figure 1, an automated embodied manipula-

∗^{*}These authors contributed equally.

†^{\dagger}Corresponding author.

Figure

Our Goal is

Multiple Target Objects

Long Horizon Tasks

Fine-Grained Manipulation

Action Refinement

Figure

Collision

Collision-Free

Scene Refinement

Figure

Object Occlusion

Object Visibility

Figure

Protocol-Aligned

Figure

Press

Sim2Real Transfer

Figure

Sim2Real Performance

Figure

Figure 1: We illustrate a protocol-driven chemical manipulation task based on a real laboratory reaction. Our Goal is to support fine-grained, long-horizon manipulation involving multiple objects. Action Refinement corrects execution failures, while Scene Refinement resolves layout issues. Protocol-Aligned refers to manipulation trajectories generated by our framework for the given experimental protocol. Together, these components enable robust Sim2Real transfer.

tion framework tailored to real-world chemical experiment scenarios. It extends the principles of generative simulation to protocol-level task settings. RoboChemGym takes natural language chemical experiment protocols as input and automatically constructs simulation scenes and executable programs aligned with the experimental workflow. Given the strong coupling between actions and scenes in long-horizon laboratory workflows, independently optimizing either often results in infeasible executions or protocol violations. For example, a robotic arm cannot pour liquid into a beaker outside its reachable workspace while keeping a compliant posture. To overcome this, our framework adopts a memory-driven self-improving mechanism to iteratively refine action and scene, generating expert demonstration trajectories. Based on these expert trajectories, we further perform lab-centric data scaling by introducing variations in visual appearance, spatial configuration, and operational conditions within the scope of chemical experiment setups. This expands the simulated data distribution while maintaining chemical compliance.

Since chemical experiments consist of multiple interdependent steps with strict execution order, single-level evaluation metrics are insufficient to fully characterize an agent's proficiency over complete experimental workflows. To reasonably evaluate robotic performance in the long-horizon, high-precision tasks, we design a hierarchical benchmark that derives tasks from real chemical experiment protocols. The benchmark is organized by increasing complexity, ranging from short sequences of 3 atomic actions to full-scale experimental workflows comprising 11 atomic actions. By evaluating success at both the atomic and procedural levels, it enables detailed analysis of error accumulation in long-horizon executions and facilitates standardized comparisons across methods.

We summarize our main contributions as follows: (1) We propose an automated framework for experiment generation and execution that faithfully follows real-world protocols, enabling scalable data synthesis strictly aligned with chemical procedures. (2) We present a self-improving task synthesis mechanism to reduce generation failures through joint action-scene optimization, ensuring robust generation performance in long-horizon tasks with dense object interactions. (3) We establish a hierarchical benchmark for embodied manipulation in chemical experiments, evaluating agent performance from atomic-level operations to complex, long-horizon workflows.