Improving Multislice Electron Ptychography with a Generative Prior

Christian K. Belardi, Chia-Hao Lee, Yingheng Wang, Justin Lovelace, Kilian Q. Weinberger, David A. Muller, Carla P. GomesarXiv 2025 · DOI

Introduction

Multislice electron ptychography (MEP) has emerged as a transformative computational imaging technique, enabling the reconstruction of 3D atomic arrangements in crystals with sub-angstrom lateral resolution. However, a significant "depth resolution" bottleneck persists: while lateral resolution is exceptional, resolution along the beam direction typically lags by two orders of magnitude, often limited to approximately 2 nm. This disparity arises because the reconstruction task is a mathematically ill-posed inverse problem, where diffraction data is insufficient to uniquely determine the 3D structure, leading traditional iterative solvers to produce "flat" or degenerate solutions.

MEP-DIFFUSION: A Generative Approach

To address these limitations, researchers have developed MEP-DIFFUSION, a novel framework that integrates a generative diffusion probabilistic model as a powerful prior within the reconstruction pipeline. By leveraging Diffusion Posterior Sampling (DPS), the model combines a learned manifold of realistic crystal structures with a differentiable physical forward model.

The MEP-DIFFUSION pipeline integrates a physical model of electron diffraction with a diffusion-based generative prior to reconstruct 3D crystal structures.

Technical Innovations

The architecture of MEP-DIFFUSION incorporates several key modifications to standard diffusion models to suit the unique requirements of crystallographic data:

  • Anisotropic 3D UNet: Crystal datasets exhibit significant asymmetry in sampling rates—typically $1.6\text{\AA}$ in depth versus $0.2\text{\AA}$ in lateral dimensions. The model utilizes a modified UNet to handle this anisotropy through staged downsampling and upsampling, ensuring it effectively captures features across disparate scales.
  • Shifted Sigmoid Guidance: In a departure from standard inverse problem solvers, MEP-DIFFUSION utilizes a "Shifted Sigmoid" schedule for physical guidance. Rather than increasing guidance as denoising progresses, the system anneals it toward zero. This strategy allows the physical model to establish the global periodic "skeleton" early in the process, while the generative prior is given the freedom to refine fine atomic details in the later stages—details that the physical model alone cannot resolve due to inherent ambiguities.
  • Low logSNR Training: Unlike models trained on natural images, MEP-DIFFUSION is optimized for extremely noisy regimes (low log signal-to-noise ratio). This focus is critical because the periodic structure of a crystal begins to emerge from noise much earlier than features in natural images.

Experimental Setup and Datasets

The model was trained using a massive synthetic dataset derived from the Inorganic Crystal Structure Database (ICSD), encompassing approximately 211,000 unique materials. To ensure high fidelity, the researchers employed the abTEM simulation package to render 3D atomic potentials and simulate realistic diffraction patterns, accounting for detector noise and varying experimental conditions.

Key Results and Discussion

MEP-DIFFUSION demonstrates substantial quantitative and qualitative improvements over existing state-of-the-art iterative solvers. Quantitatively, the model achieved a staggering 90.5% improvement in SSIM in specific benchmarks. For full 3D reconstructions, MEP-DIFFUSION reached an SSIM of 0.7523, significantly outperforming the best baseline (PtyRAD with L-BFGS) at 0.6506. The improvement is even more pronounced in 2D depth-summed projections, where the model reached an SSIM of 0.8852 compared to the baseline's 0.7096.

Qualitative comparison of original crystal structures and MEP-DIFFUSION reconstructions across various ICSD entries, demonstrating high-fidelity recovery of atomic arrangements.

Qualitatively, MEP-DIFFUSION is the first method to successfully recover distinct atomic arrangements across different depth slices. Traditional solvers often collapse into a single, averaged 2D pattern repeated through the volume, failing to capture the true 3D nature of the specimen. By "letting go" of physical constraints late in the diffusion process, the model can resolve realistic atomic variations that are physically consistent yet mathematically ambiguous to traditional methods.

Conclusion and Future Work

While MEP-DIFFUSION represents a major leap forward in 3D atomic imaging, challenges remain. Future work will focus on improving robustness under extremely low electron doses ($10^3 e^-/\text{\AA}^2$) for beam-sensitive materials and developing principled methods for uncertainty quantification of atomic positions. Additionally, extending the model to identify specific chemical species from phase signals would further enhance its utility in materials science and structural biology.

Summary updated

BibTeX
@misc{belardi2025improving,
  author = {Christian K. Belardi and Chia-Hao Lee and Yingheng Wang and Justin Lovelace and Kilian Q. Weinberger and David A. Muller and Carla P. Gomes},
  title = {{Improving Multislice Electron Ptychography with a Generative Prior}},
  year = {2025},
  eprint = {2507.17800},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.17800},
}
Figure