Efficient and Safe Molecular Assembly via Reinforcement Learning and Constraint Solving
Stefan Pranger, Bernhard Ramsauer, Oliver Hofmann, Bettina Könighofer
Abstract
Scanning tunneling microscopy (STM) enables precise manipulation of individual atoms and molecules, offering a pathway to constructing nanoscale assemblies with rich quantum mechanical behavior. Despite its potential, STM-based fabrication remains limited by the inherent complexity of manipulation procedures and the extensive manual effort required. In this work, we take a substantial step toward autonomous manufacturing with STMs by introducing a novel AI-based planning framework for molecular assembly and a high-fidelity simulation environment. Our framework computes collision-free assembly plans that minimize the total distance traveled by molecules. Given an assignment of molecules to target positions, satisfiability solving is used to compute execution schedules in which each molecule has an empty corridor available when it is scheduled to move. Reinforcement learning (RL) agents then execute sequences of STM actions to manipulate molecules to their targets. We further introduce NanoAssemblyGym, a high-fidelity simulation environment for molecular manipulation built on the Gymnasium API, allowing seamless integration with existing RL libraries and workflows. Using NanoAssemblyGym, we demonstrate autonomous assembly of structures containing up to 420 molecules.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on1
Related papers
- Reinforcement Learning for Molecular Design Guided by Quantum MechanicsGregor N. C. Simm, Robert Pinsler, José Miguel Hernández-LobatoICML 2020 · 94 citations
- Learning to Assemble with Alternative PlansZiqi Wang, Wenjun Liu, Jingwen Wang, Gabriel Vallat et al.SIGGRAPH 2025
- SearchGym: Bootstrapping Real-World Search Agents via Cost-Effective and High-Fidelity Environment SimulationXichen Zhang, Ziyi He, Yinghao Zhu, Sitong Wu et al.ACL 2026 · 2 citations
- MACS: Multi-Agent Reinforcement Learning for Optimization of Crystal StructuresElena Zamaraeva, Christopher M. Collins, George R. Darling, Matthew S. Dyer et al.NeurIPS 2025 · 2 citations
- Blocks Assemble! Learning to Assemble with Large-Scale Structured Reinforcement LearningSeyed Kamyar Seyed Ghasemipour, Satoshi Kataoka, Byron David, Daniel Freeman et al.ICML 2022 · 36 citations
