NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MAM-STM: A software for autonomous control of single moieties towards specific surface positions

Bernhard Ramsauer, Johannes J. Cartus, Oliver T. Hofmann

TL;DR

This paper introduces MAM-STM, a novel software that uses reinforcement learning (specifically Q-learning) to autonomously control scanning tunneling microscope (STM) tips for precise manipulation of individual atoms and molecules on surfaces. This approach significantly reduces the time and expertise required for complex nanoscale assembly tasks, paving the way for automated nanofabrication.

What Problem Does This Paper Address?

Precisely arranging individual atoms and molecules on surfaces is crucial for advancing nanofabrication and understanding molecular interactions. While techniques like scanning probe microscopy (SPM) exist, achieving arbitrary arrangements is challenging due to the stochastic nature of quantum mechanical systems at the nanoscale. Current methods often require extensive manual intervention and are time-consuming, even for experts, as finding optimal manipulation parameters is difficult. Existing expert systems struggle with novel materials due to a lack of prior knowledge about surface-moiety interactions.

Methods

MAM-STM employs a reinforcement learning (RL) approach, specifically a sophisticated Q-learning algorithm, to autonomously learn optimal manipulation parameters. Key innovations include:

  • Autonomous Data Acquisition: The software integrates data acquisition with the learning process.
  • Q-Learning: This algorithm is used to determine optimal bias voltage, z-approach distance, and tip position relative to the moiety.
  • Action Space Masking (ASM): To combat the "action space explosion" (millions of possible parameter combinations), MAM-STM uses an automated routine to identify and filter out parameters that cause structural changes or lift the moiety off the surface, focusing only on those that induce movement.
  • Parallel Learning with Virtual Goals: MAM-STM modifies Q-learning to learn Q-values for all states simultaneously by introducing "virtual goals," significantly enhancing learning efficiency and reducing state dependence.
  • Two Manipulation Modes: The software supports both "pulsing vertical manipulation" for precise, small movements and "lateral manipulation" for moving moieties over larger distances.

Datasets

Not discussed in the paper. The paper focuses on a simulated environment for benchmarking.

Key Insights and Ideas

  • RL for Nanomanipulation is Viable: The paper demonstrates that reinforcement learning can effectively learn complex manipulation tasks at the nanoscale, overcoming the limitations of manual control and traditional expert systems.
  • Action Space Masking is Crucial: The "action space explosion" is a major hurdle in applying RL to such problems. ASM effectively prunes this space, making learning feasible and preventing damage to the sample or tip.
  • Virtual Goals Accelerate Learning: The parallel learning approach with virtual goals is a significant optimization, allowing the agent to learn from all possible outcomes simultaneously, leading to faster convergence.
  • Simulated Environments are Powerful Tools: The ability to create realistic, stochastic simulated environments allows for rigorous testing and optimization of RL agents before deployment in expensive and time-consuming real experiments.

Key Results

  • Autonomous Manipulation: MAM-STM successfully learns to autonomously manipulate arbitrary moieties towards specific positions.
  • Efficiency: The Q-learning approach, combined with virtual goals and ASM, allows for efficient learning, enabling molecular manipulations within approximately one day of training.
  • Learning Curve: In a simulated benchmark, the agent achieved significant performance gains (59% in the initial phase, 38% in fine-tuning) within 4000 learning steps, demonstrating rapid learning of coarse dynamics and precise positioning.
  • Previous Work Validation: The paper references prior work where MAM-STM learned optimal parameters for a dipolar molecule on Ag(111) in 2250 manipulations, achieving an 82% success rate in moving the molecule to goal positions.

Limitations and Future Work

  • Current STM Interface: The STM interface is currently only available for a specific Texas Instruments DSP. While adaptable, this is a current limitation.
  • Simulation vs. Real Experiments: While the paper demonstrates success in a simulated environment, direct application to real experiments is emphasized as a future step, building on prior work.
  • Generalizability: While the framework is designed to be adaptable to alternative moieties, further validation across a wider range of materials and manipulation tasks would be beneficial.
  • Further Optimization: The paper suggests that the choice of hyperparameters (like the discount factor $\gamma$ and exploration rate $\epsilon$) is critical and can be further optimized.

Summary updated

BibTeX
@inproceedings{ramsauer2024mam,
  author = {Bernhard Ramsauer and Johannes J. Cartus and Oliver T. Hofmann},
  title = {{MAM-STM: A software for autonomous control of single moieties towards specific surface positions}},
  booktitle = {Computer Physics Communications},
  year = {2024},
  doi = {10.1016/j.cpc.2024.109264},
}
Figure