AtomDiffuser: Time-Aware Degradation Modeling for Drift and Beam Damage in STEM Imaging

Hao Wang, Hongkui Zheng, Kai He, Abolfazl RaziarXiv 2025 · DOI

Introduction

Scanning Transmission Electron Microscopy (STEM) provides unprecedented views of atomic structures. However, the imaging process itself introduces significant artifacts: spatial sample drift due to mechanical instabilities and beam-induced radiation damage. These effects are often entangled, making it difficult to determine if structural changes are due to physical movement or material degradation. AtomDiffuser is a time-aware deep learning framework designed to disentangle these "nuisance" effects by modeling degradation as a physically heuristic, time-conditioned process.

Methodology

AtomDiffuser draws inspiration from "Cold Diffusion," utilizing deterministic degradation rather than stochastic Gaussian noise. The core of the framework is a Dual-Stream U-Net that processes a "clean" reference frame ($x_0$), a degraded target frame ($x_T$), and a time-step signal ($t$).

Overview of the AtomDiffuser framework compared to standard diffusion. (a) Standard diffusion process. (b) AtomDiffuser's degradation process, which predicts a transform matrix for drift and a damage map for beam-induced decay.

The model is designed for Physical Disentanglement, outputting two distinct latent factors:

  1. Affine Transformation Matrix ($\hat{\tau}_t$): Captures global rotation and translation representing spatial drift.
  2. Spatially Varying Decay Map ($\hat{\lambda}$): A pixel-wise attenuation map modeling the survival probability of atomic columns, representing beam damage.

By respecting the physical chronology—where damage occurs during exposure and drift affects the resulting geometry—the model can interpolate the sample's state at any point $t$, creating a virtual time-lapse of degradation.

Experimental Setup

The model was trained on TEMImageNet, a dataset of over 14,000 raw atom maps. To simulate realistic STEM conditions, the authors developed a custom generator incorporating Perlin-noise-based decay, Poisson noise, and scan-line jitter. Validation was performed on real-world Cryo-STEM data of $Li_7La_3Zr_2O_{12}$ (LLZO), a beam-sensitive solid electrolyte critical for lithium battery research.

Results and Discussion

AtomDiffuser demonstrates high precision and efficiency. In synthetic benchmarks, it achieved a Mean Squared Error (MSE) of 0.0004 and an $R^2$ of 0.9952 for damage assessment, significantly outperforming standard CNN-based regression.

Comparison of AtomDiffuser's performance across different damage types (Gaussian, Perlin, and Random) at varying strengths. The plots (e-g) show that AtomDiffuser (green) closely tracks the ground truth (blue) compared to standard CNN predictions (orange).

Key performance metrics include:

  • Drift Recovery: Spatial drift error of 2.4–6.5 pixels and rotation error < 2°.
  • Inference Speed: At 0.002 seconds per sample, the model is approximately 500x faster than CNN baselines, enabling potential real-time application.
  • Model Efficiency: With only 2.51 million parameters, the architecture is lightweight and robust to heavy Poisson noise.

Conclusion and Future Work

AtomDiffuser successfully separates drift from damage in atomic-scale imaging. While currently limited to global affine transformations for drift, future iterations may address local non-linear distortions like scan-line warping. This work paves the way for "dose-aware" microscopy, where real-time damage prediction could inform automated acquisition strategies to preserve sensitive samples.

Summary updated

BibTeX
@misc{wang2025atomdiffuser,
  author = {Hao Wang and Hongkui Zheng and Kai He and Abolfazl Razi},
  title = {{AtomDiffuser: Time-Aware Degradation Modeling for Drift and Beam Damage in STEM Imaging}},
  year = {2025},
  eprint = {2508.10359},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.10359},
}
Figure