Exploring structure diversity in atomic resolution microscopy with graph neural networks

Zheng Luo, Ming Feng, Zijian Gao, Jinyang Yu, Liang Hu, Tao Wang, Shenao Xue, Shen Zhou, Fangping Ouyang, Dawei Feng, Kele Xu, Shanshan WangarXiv 2024 · DOI

Introduction

Atomic-resolution microscopy, such as Scanning Transmission Electron Microscopy (STEM), provides the "ground truth" for materials science. However, analyzing these images at scale remains a significant challenge. Traditional deep learning approaches, primarily Convolutional Neural Networks (CNNs), treat micrographs as grids of pixels. This approach is computationally inefficient because it processes large "vacuum" areas and is often too rigid to handle the flexible lattice distortions common in real-world materials. Furthermore, CNNs require massive labeled datasets, which are difficult to produce in specialized microscopy.

Conceptual workflow from experimental microscopy data to graph-based representation and classification.

A Graph-Based Approach

To overcome these limitations, researchers have developed a few-shot learning framework based on Equivariant Graph Neural Networks (EGNNs). Instead of processing pixels, this framework represents materials as collections of discrete atoms (nodes) and their spatial relationships (edges). This shift from geometry to topology allows the model to focus on the physical connections between atoms, making it robust to lattice distortions of up to 20.8%—a level of structural complexity that typically causes standard image-recognition algorithms to fail.

Methodology

The pipeline transforms raw experimental data into actionable scientific insights through a series of specialized steps:

  1. Atom Pinpointing: A multi-scale U-Net identifies atom candidates, which are then refined using a Circular Hough Transform to find precise centroids.
  2. Graph Construction: Atoms are connected via Delaunay triangulation, creating a planar graph that captures the local chemical coordination environment.
  3. Equivariant Processing: The core of the model is the EGNN layer, which is designed to be rotation-equivariant. This ensures the model recognizes a crystal structure regardless of its orientation under the microscope, drastically reducing the need for data augmentation.
  4. Task Chaining: Multiple EGNN sub-models are linked to identify various defects—such as vacancies, grain boundaries, and phase boundaries—in a single pass.
The detailed EGNN pipeline, including atom pinpointing, graph construction, feature embedding, and the principle of rotation equivariance.

Key Results and Scientific Impact

The graph-based framework demonstrates remarkable efficiency and accuracy compared to pixel-based models. The EGNN utilizes approximately 8,000x fewer parameters than a standard ResNet-18 while achieving inference speeds up to 5.5x faster. In stacking configuration identification, the EGNN achieved an F1 score of 0.98, far outperforming the CNN's 0.60, which suffered from severe overfitting on small datasets.

Beyond performance metrics, the model enabled the discovery of a novel atomic configuration: Platinum (Pt) atoms residing in 8-fold rings at grain boundaries in $MoS_2$. This configuration was later confirmed by Density Functional Theory (DFT) to possess superior electrocatalytic properties for hydrogen evolution reactions, demonstrating the framework's potential for accelerating materials discovery.

Conclusion

By baking physical constraints like rotation invariance into the neural network architecture, this framework enables high-accuracy analysis with minimal training data. While challenges remain regarding boundary ambiguity and preprocessing sensitivity, the transition from pixels to graphs represents a significant step toward real-time, automated atomic-resolution microscopy that can guide experiments as they happen.

Summary updated

BibTeX
@misc{luo2024exploring,
  author = {Zheng Luo and Ming Feng and Zijian Gao and Jinyang Yu and Liang Hu and Tao Wang and Shenao Xue and Shen Zhou and Fangping Ouyang and Dawei Feng and Kele Xu and Shanshan Wang},
  title = {{Exploring structure diversity in atomic resolution microscopy with graph neural networks}},
  year = {2024},
  eprint = {2410.17631},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.17631},
}
Figure