Auto-resolving the atomic structure at van der Waals interfaces using a generative model

Wenqiang Huang, Yucheng Jin, Zhemin Li, Lin Yao, Yun Chen, Zheng Luo, Shen Zhou, Jinguo Lin, Feng Liu, Zhifeng Gao, Jun Cheng, Linfeng Zhang, Fangping Ouyang, Jin Zhang, Shanshan Wang

Abstract

The high-resolution visualization of atomic structures is significant for understanding the relationship between the microscopic configurations and macroscopic properties of materials. However, a rapid, accurate, and robust approach to automatically resolve complex patterns in atomic-resolution microscopy remains difficult to implement. Here, we present a Trident strategy-enhanced disentangled representation learning method (a generative model), which utilizes a few unlabelled experimental images with abundant low-cost simulated images to generate a large corpus of annotated simulation data that closely resembles experimental results, producing a high-quality large-volume training dataset. A structural inference model is then trained via a residual neural network which can directly deduce the interlayer slip and rotation of diversified and complicated stacking patterns at van der Waals (vdW) interfaces with picometer-scale accuracy across various materials (e.g. MoS2, WS2, ReS2, ReSe2, and 1 T’-MoTe2) with different layer numbers (bilayer and trilayers), demonstrating robustness to defects, imaging quality, and surface contaminations. The framework can also identify pattern transition interfaces, quantify subtle motif variations, and discriminate moiré patterns that are difficult to distinguish in frequency domains. Finally, the high-throughput processing ability of our method provides insights into a vdW epitaxy mode where various thermodynamically favorable slip stackings can coexist.

Introduction

Two-dimensional van der Waals (vdW) materials, such as molybdenum disulfide ($MoS_2$), serve as fundamental building blocks for next-generation electronic and optoelectronic devices. The physical properties of these materials are highly sensitive to the relative orientation and lateral shift between layers—specifically, interlayer "slips" and "twists." Even minor variations in these configurations can induce transitions between semiconducting, superconducting, or ferroelectric states.

Scanning Transmission Electron Microscopy (STEM) provides the necessary resolution to observe these atomic arrangements. However, interpreting experimental STEM images is notoriously difficult due to noise, surface contamination, and scan distortions. While computer simulations can generate "perfect" reference images, AI models trained on such idealized data typically fail when applied to "messy" real-world experimental data. Traditionally, structural resolution has relied on human experts manually comparing images, a process that is slow, subjective, and lacks the throughput required for large-scale material characterization.

Methods: The Trident Strategy

To overcome the "sim-to-real" gap, the researchers developed a two-stage workflow centered on a Trident strategy-enhanced generative model. This approach enables the creation of a high-quality training dataset by teaching the AI to "translate" clean simulations into realistic, noisy experimental styles.

1. Generative Data Augmentation

The core of the approach is Disentangled Representation (DR) learning, which separates an image into its "content" (atomic positions) and "style" (microscope-specific noise and contrast). The "Trident" strategy enhances this process through three key components:

  • t-SNE Content Clustering: This step selects simulated images that most closely match the structural topology of the experimental "seed" data.
  • Affine Transformation: Data is augmented through rotations, flips, and crops to ensure the model remains robust across different imaging orientations.
  • Content Consistency Loss: A mathematical constraint ensures that the generative process preserves the underlying atomic structure while translating the image into a realistic visual style.
The Trident strategy-enhanced disentangled representation learning framework, which bridges the gap between simulated and experimental microscopy data.

2. Structural Inference

Once a large corpus of "realistic" simulated data with precise labels was generated, a ResNet-50 neural network was trained to perform regression. Unlike simple classification, this model outputs exact coordinates for interlayer slips ($D_a, D_b$) and twist angles ($ heta$). This enables high-throughput structural analysis that is 100 times faster than human experts.

Examples of atomic stacking patterns in van der Waals interfaces, illustrating interlayer slips ($D_a, D_b$) and twist angles ($ heta$) that the model resolves.

Key Results and Discussion

The framework demonstrated exceptional performance across multiple materials, including $MoS_2, WS_2, ReS_2, ReSe_2$, and $1T'-MoTe_2$.

  • Unprecedented Precision and Speed: The model achieves picometer-scale accuracy in resolving slips and sub-degree accuracy ($<0.29^\circ$) for twist angles. It processed 3,750 image patches in just 4 minutes.
  • Robustness to Real-World Conditions: The inference model remained accurate even in the presence of 10% defect concentrations or extremely low signal-to-noise ratios (PSNR as low as 7). It successfully distinguished moiré patterns that appear identical in the frequency domain (FFT).
  • Scientific Discovery: Applying the model to $ReS_2$ revealed a "superlubricity-like" behavior. Instead of being confined to a few discrete stacking modes, the material exhibited a near-continuous distribution of slip states, suggesting a thermodynamically favorable energy landscape that allows for diverse configurations.

Conclusion

This research provides a robust solution to the long-standing challenge of automated structural resolution in electron microscopy. By bridging the gap between simulation and experiment, the Trident strategy enables high-throughput, objective analysis of complex 2D interfaces. Future developments may focus on creating style-agnostic "foundation models" and extending the framework to handle more complex multi-layer heterostructures.

Summary updated

BibTeX
@inproceedings{huang2025auto,
  author = {Wenqiang Huang and Yucheng Jin and Zhemin Li and Lin Yao and Yun Chen and Zheng Luo and Shen Zhou and Jinguo Lin and Feng Liu and Zhifeng Gao and Jun Cheng and Linfeng Zhang and Fangping Ouyang and Jin Zhang and Shanshan Wang},
  title = {{Auto-resolving the atomic structure at van der Waals interfaces using a generative model}},
  booktitle = {Nature Communications},
  year = {2025},
  url = {https://openreview.net/forum?id=37cBfRDjJj},
}
Figure