InformedXRD: Reproducible Benchmarks and Physics-Informed Evaluation for Powder Diffraction Symmetry Classification
Organizations: School of Computer Science, Carnegie Mellon University · NIST Center for Neutron Research · Dept. of Physics, Boston College · School of Information, UC Berkeley ·
Abstract
Machine learning for powder diffraction (PXRD) symmetry classification is being trained at scale, yet the field lacks a common evaluation standard: papers report results on different subsets of experimental archives, with different target taxonomies, preprocessing, and metrics, and published models are rarely released in a form that permits rescoring. We present InformedXRD, an evaluation framework with three parts: (i) a machine-readable mapping from 230 space groups to 99 extinction groups, the finest classes powder diffraction can identify from systematic absences alone; (ii) a benchmark-construction method whose inclusion rules are specified as code and reproduce from a frozen snapshot, instantiated as RRUFF-473, RRUFF-325, and, as a small example, opXRD-98; (iii) a reporting protocol with prior-only frequency baselines, a label-permutation test, a hierarchy-aware error metric on the condensed translationengleiche subgroup graph, and stratified evaluation. We build on the mapping, RRUFF benchmarks, subgroup graph, and four ViT checkpoints released in our earlier work (Baggett et al., 2026). Using these checkpoints, a 1D residual CNN, and six architectures trained under the XRDBench recipe (Cao et al., 2025), we show that evaluation design changes what conclusions are justified: paired tests point in different directions at Top-1 and Top-5; paired Top-k tests do not separate the three leading XRDBench models, while hierarchy-aware analysis describes error distance and direction across all six; an input-blind frequency predictor matches the models on aggregate Top-k, yet a label-permutation test still detects pattern-specific evidence; and stratified analysis exposes a label-entropy confound that aggregate accuracy hides. All mapping tables, benchmark code, scripts, and checkpoints are released as shared infrastructure for PXRD-ML evaluation.
Figures & tables
| Model | Top-1 (%) | 2 hops (%) | Mean dist. ( ) | Branch (%, ) | Top-1 rank | Dist. rank |
|---|---|---|---|---|---|---|
| ViT: no preferred orientation | 9.54 | 38.4 | 2.72 | 25.8 | 3 | 3 |
| ViT: preferred-orientation only | 13.54 | 53.0 | 2.51 | 34.1 | 1 | 2 |
| ViT: final mixed-data calibrated | 10.46 | 51.55 | 2.46 | 32.6 | 2 | 1 |
| 1D residual CNN | 6.77 | 28.05 | 2.92 | 53.8 | 4 | 4 |
| ViT: legacy uncalibrated | 4.92 | 17.8 | 3.50 | 56.4 | 5 | 5 |
| RRUFF-473 | RRUFF-325 | |||||
|---|---|---|---|---|---|---|
| Model | Top-1 / 5 (%) | 2 hops obs./null | Mean dist. obs./null | Top-1 / 5 (%) | 2 hops obs./null | Mean dist. obs./null |
| CNN10 | 12.47 / 45.67 | 37.68 / 31.43 | 2.797 / 2.910 | 9.85 / 39.08 | 35.15 / 31.42 | 2.877 / 2.901 |
| PatchTST | 12.47 / 45.45 | 40.10 / 30.01 | 2.688 / 2.969 | 9.23 / 40.62 | 37.29 / 30.84 | 2.783 / 2.927 |
| BiLSTM | 8.67 / 30.87 | 34.49 / 31.26 | 2.894 / 2.929 | 4.92 / 24.00 | 34.95 / — | 2.903 / — |
| CNN11 | 11.63 / 45.88 | 38.52 / 31.09 | 2.749 / 2.919 | 8.31 / 40.31 | 36.24 / — | 2.842 / — |
| BiGRU | 10.57 / 33.62 | 32.86 / 31.75 | 2.877 / 2.901 | 6.77 / 25.85 | 31.68 / — | 2.921 / — |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | SG model, SG space | Collapsed SG, EG space | Direct EG | Direct-EG advantage |
|---|---|---|---|---|
| Synthetic validation, full scale | 15.17 / 27.81 / 35.25 | 18.46 / 33.27 / 42.35 | 19.32 / 34.28 / 43.38 | +0.86 / +1.01 / +1.03 |
| Synthetic, scale (Top-1) | — | — | — | +0.59 |
| Synthetic, scale (Top-1) | — | — | — | +1.45 |
| Synthetic, scale (Top-1) | — | — | — | +2.77 |
| RRUFF-473 | — | 3.38 / 5.92 / 8.25 | 3.59 / 5.71 / 8.46 | +0.21 [ , 1.69], |
| RRUFF-325 | — | 1.54 / 4.31 / 7.08 | 2.77 / 5.23 / 8.31 | +1.23 [ , 2.77], |
| Schopmans et al. | SimXRD | RRUFF-473 | RRUFF-325 | |
|---|---|---|---|---|
| Patterns Count | 942 | 3000 | 473 | 325 |
| Classification target | 145 SGs | 230 SGs | 99 EGs | 99 EGs |
| Curation method | Hand-filtered | Partially documented | Algorithmic | Algorithmic |
| Unique minerals | — | — | 227 | 168 |
| Unique extinction groups | — | — | 46 | 45 |
| Difficult cases retained? | No (85 SGs excluded) | Unknown | Yes | No a |
| Variant | Selected | Intersection | Selected-only | Reference-only |
|---|---|---|---|---|
| Baseline | 471 | 471 | 0 | 0 |
| Anchor full threshold | 473 | 471 | 2 | 0 |
| Anchor cell threshold | 472 | 471 | 1 | 0 |
| Partial tie-break margin | 471 | 469 | 2 | 2 |
| Lattice threshold | 471 | 470 | 1 | 1 |
| Benchmark / stratum | Top-1 | Top-5 | Top-10 |
|---|---|---|---|
| RRUFF-473 prior | 12.9 | 51.4 | 68.7 |
| RRUFF-325 prior | 12.6 | 43.7 | 62.8 |
| Recoverable prior | 12.2 | 41.3 | — |
| Usable-or-better prior | 15.7 | 48.4 | — |
| Poor prior | 16.2 | 66.2 | — |
| Catastrophic prior | 28.4 | 75.7 | — |
| Gate | Records remaining |
| Initial archive | 92,552 |
| Declares a phase | 2,179 |
| Space group assignable to each phase (316 records with all phase labels stored explicitly; remainder derived from structure with spglib [ Togo et al., 2024 ] ) | 1,228 |
| Single phase with lattice and derivable space group (891 from one source) | 908 |
| Cu-K gate: explicit K /K pair or the conventional 2:1 weighted average | 229 |
| RRUFF angular support at native resolution, 10–80 ∘ | 98 (28 space groups, 23 extinction groups) |
| Model | EG Top-1 / 3 / 5 (%) | 2 hops (%) | Mean DAG dist. |
|---|---|---|---|
| PatchTST | 10.20 / 20.41 / 34.69 | 32.95 | 3.034 |
| CNN11 | 6.12 / 20.41 / 26.53 | 31.52 | 3.174 |
| CNN10 | 5.10 / 19.39 / 38.78 | 29.03 | 3.258 |
| BiLSTM | 5.10 / 15.31 / 22.45 | 23.66 | 3.441 |
| BiGRU | 4.08 / 17.35 / 24.49 | 20.21 | 3.394 |
| Transformer | 4.08 / 22.45 / 31.63 | 17.02 | 3.745 |
| Reference or model | Mean DAG distance | Within 2 hops (%) | Descendant / ancestor / branch (%) |
|---|---|---|---|
| Uniform null, RRUFF-473 | 2.997 | 29.76 | 8.65 / 35.61 / 55.69 |
| Uniform null, RRUFF-325 | 2.944 | 30.65 | 10.04 / 29.53 / 60.38 |
| Frequency-matched null, RRUFF-473 | 2.692 | 42.15 | — |
| Frequency-matched null, RRUFF-325 | 2.656 | 43.35 | — |
| Most-frequent-group predictor, RRUFF-325 | 2.116 | 63.4 | — |
| Final mixed-data ViT, RRUFF-325 | 2.46 | 51.55 | 56.7 / 10.7 / 32.6 |
| Benchmark | Top-1 (%) | Top-5 (%) |
|---|---|---|
| RRUFF-473 ( ) | 9.94 [7.61, 12.68] | 50.74 [46.29, 55.18] |
| RRUFF-325 ( ) | 10.46 [7.38, 13.85] | 43.69 [38.46, 48.92] |
| Checkpoint | Val. loss | Val. Top-1/3/5 (%) | RRUFF-473 acc. | RRUFF-473 2 hops / mean dist. | RRUFF-325 acc. | RRUFF-325 2 hops / mean dist. |
|---|---|---|---|---|---|---|
| Submitted epoch 6 | 1.6631 | 50.25 / 75.47 / 84.85 | 9.09 / 19.66 / 28.54 | 28.84% / 2.956 | 6.77 / 18.77 / 25.23 | 28.05% / 2.921 |
| Validation-selected epoch 46 | 1.3948 | 58.00 / 81.30 / 89.03 | 3.59 / 8.46 / 15.64 | 17.98% / 3.342 | 2.15 / 4.92 / 12.92 | 20.13% / 3.255 |