Accelerating electron diffraction analysis using graph neural networks and attention mechanisms

Abstract Electron diffraction(ED) often used to solve for unknown structures or refine existing ones. Existing methods for automated ED analysis often struggle with challenges such as computational expense and experimental noise. This study introduces a deep learning framework to accelerate and improve crystal structure determination from diffraction patterns. The methodology treats each diffraction pattern as a relational graph of Bragg spots. Spot features are encoded using a 1D convolutional network, from which a relational attention aggregator constructs an orientation-agnostic graph. This graph is processed by a Graphormer encoder enhanced with Mixture-of-Experts layers, allowing the model to learn complex crystallographic relationships efficiently. Trained and tested on a large dataset of simulated diffraction patterns, the model achieved a crystal system classification accuracy of 89.2% and a space group accuracy of 70.2% from single patterns, significantly outperforming a state-of-the-art random forest baseline (74.2% and 57.8%, respectively). By aggregating predictions across multiple zone axes, these accuracies improved to 96.5% and 79.5%. The model also demonstrated robust performance on experimental data of gold nanoparticles, producing plausible classifications consistent with known orientation degeneracies. By unifying relational graph reasoning with specialized expert networks, this work presents a robust and automated framework for high-throughput materials characterization.

Authors

Institutions

Publication Details

Journal
npj Computational Materials
Published
2026-01-07
DOI
https://doi.org/10.1038/s41524-025-01927-5
Primary Topic
Machine Learning in Materials Science
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Accelerating electron diffraction analysis using graph neural networks and attention mechanisms

Iman Ghamarian, Colin Ophus, Pejman Kazempoor, Shuozhi Xu et al.
npj Computational Materials
Machine Learning in Materials Science
article

Accelerating electron diffraction analysis using graph neural networks and attention mechanisms

Iman Ghamarian, Colin Ophus, Pejman Kazempoor, Shuozhi Xu, Hanping Ding, Anvesh Nathani, Arthur RC McCray, Yingtao Liu
article en

Abstract

Abstract Electron diffraction(ED) often used to solve for unknown structures or refine existing ones. Existing methods for automated ED analysis often struggle with challenges such as computational expense and experimental noise. This study introduces a deep learning framework to accelerate and improve crystal structure determination from diffraction patterns. The methodology treats each diffraction pattern as a relational graph of Bragg spots. Spot features are encoded using a 1D convolutional network, from which a relational attention aggregator constructs an orientation-agnostic graph. This graph is processed by a Graphormer encoder enhanced with Mixture-of-Experts layers, allowing the model to learn complex crystallographic relationships efficiently. Trained and tested on a large dataset of simulated diffraction patterns, the model achieved a crystal system classification accuracy of 89.2% and a space group accuracy of 70.2% from single patterns, significantly outperforming a state-of-the-art random forest baseline (74.2% and 57.8%, respectively). By aggregating predictions across multiple zone axes, these accuracies improved to 96.5% and 79.5%. The model also demonstrated robust performance on experimental data of gold nanoparticles, producing plausible classifications consistent with known orientation degeneracies. By unifying relational graph reasoning with specialized expert networks, this work presents a robust and automated framework for high-throughput materials characterization.

npj Computational MaterialsVol. 12(1)
University of Oklahoma (US), Stanford University (US)
Life in Land
Openalex Percentile: Top 95%
Machine Learning in Materials Science
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.