Papers › Fast and interpretable classification of small X-ray diffraction datasets using data...

Fast and interpretable classification of small X-ray diffraction datasets using data augmentation and deep neural networks

20 Nov 2018arXiv:1811.08425archive 2025-07-28

Felipe Oviedo, Zekun Ren, Shijing Sun, Charlie Settens, Zhe Liu, Noor Titan Putri Hartono, Ramasamy Savitha, Brian L. DeCost, Siyu I. P. Tian, Giuseppe Romano, Aaron Gilad Kusne, Tonio Buonassisi

X-ray diffraction (XRD) data acquisition and analysis is among the most time-consuming steps in the development cycle of novel thin-film materials. We propose a machine-learning-enabled approach to predict crystallographic dimensionality and space group from a limited number of thin-film XRD patterns. We overcome the scarce-data problem intrinsic to novel materials development by coupling a supervised machine learning approach with a model agnostic, physics-informed data augmentation strategy using simulated data from the Inorganic Crystal Structure Database (ICSD) and experimental data. As a test case, 115 thin-film metal halides spanning 3 dimensionalities and 7 space-groups are synthesized and classified. After testing various algorithms, we develop and implement an all convolutional neural network, with cross validated accuracies for dimensionality and space-group classification of 93% and 89%, respectively. We propose average class activation maps, computed from a global average pooling layer, to allow high model interpretability by human experimentalists, elucidating the root causes of misclassification. Finally, we systematically evaluate the maximum XRD pattern step size (data acquisition rate) before loss of predictive accuracy occurs, and determine it to be 0.16{\deg}, which enables an XRD pattern to be obtained and classified in 5.5 minutes or less.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1811.08425")

Code

Syntology Ran 6 of 8 code samples harvested from 3 repositories linked to this paper; 2 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 2 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 2 samples from 1 repository, 0 ran; community (archive-listed): 6 samples from 2 repositories, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

PV-Lab/AUTO-XRD officialmentioned in papermentioned on GitHubtfApache-2.0 report
PV-Lab/autoXRD mentioned on GitHubtf report
ma921/XRDidentifier mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 6 ran; 2 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · violated contract
2ran · our draft was wrong
1ran · fixture could not drive it
2unverified

Licence: 3 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

find_incorrects PV-Lab/AUTO-XRD/autoXRD_vis.py official repository unverified Apache-2.0 (permissive) · 3da6e7f77ed77400 · report
get_cam PV-Lab/AUTO-XRD/autoXRD_vis.py official repository unverified Apache-2.0 (permissive) · 9e44f4085bfb81d5 · report
augdata PV-Lab/autoXRD/autoXRD.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 00c7a4306c2ec79e · report
normalise ma921/XRDidentifier/train_expert.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · f1a7af06566be3ed · report
normdata PV-Lab/autoXRD/autoXRD.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · 20dce98251942490 · report
normdatasingle PV-Lab/autoXRD/autoXRD.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · ef94397398cdacec · report
random_data_split ma921/XRDidentifier/train_expert.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · bd71181156fd6add · report
spectra_loader ma921/XRDidentifier/train_expert.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 285d3f873a799a13 · report

Tasks

BIG-bench Machine LearningData AugmentationGeneral ClassificationSpace group classificationX-Ray Diffraction (XRD)

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Average PoolingGlobal Average PoolingInterpretability

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections