Hybrid physics-machine learning models for quantitative electron diffraction refinements

S Shreshth A. Malik T Tiarnan A. S. Doherty B Benjamin Colmey S Stephen J. Roberts (British Antarctic Survey, Natural Environment Research Council) Y Yarin Gal P Paul A. Midgley

Abstract

Abstract High accuracy electron microscopy simulations required for quantitative crystal structure refinements face a fundamental challenge: while physical interactions are well-described theoretically, real-world experimental effects are challenging to model analytically. To address this gap, we present a hybrid physics-machine learning framework that integrates differentiable physical simulations with neural networks. By leveraging automatic differentiation throughout the simulation pipeline, our method enables gradient-based joint optimization of physical parameters and neural network components representing experimental variables, offering superior scalability compared to traditional second-order methods. We demonstrate this framework through application to three-dimensional electron diffraction (3D-ED) structure refinement, where our approach learns complex thickness distributions directly from diffraction data rather than relying on simplified geometric models. This method achieves state-of-the-art refinement performance across synthetic and experimental datasets, recovering atomic positions, thermal displacements, and thickness profiles with high fidelity. The modular architecture proposed can naturally be extended to accommodate additional physical phenomena and extended to other electron microscopy techniques. This establishes differentiable hybrid modeling as a powerful paradigm for quantitative electron microscopy, where experimental complexities have historically limited analysis.

Article Details

Volume / Issue Vol. 17, Issue 1
Published April 11, 2026
ISSN 2041-1723
Publisher Nature Portfolio

Journal Info

Nature Communications

Nature Portfolio

ISSN: 2041-1723 Open Access Life Sciences

Authors (6)

S

Shreshth A. Malik

T

Tiarnan A. S. Doherty

B

Benjamin Colmey

S

Stephen J. Roberts

British Antarctic Survey, Natural Environment Research Council

Y

Yarin Gal

P

Paul A. Midgley