TCSP3.0: Template-Based Crystal Structure Prediction with Coefficient-Preserving Element Substitution and Structural Diversity
Organizations: Department of Computer Science and Engineering, University of South Carolina, Columbia, SC 29201, USA · Department of Materials Science and Engineering, University of Illinois Urbana-Champaign, IL, USA · Department of Computer Science and Cybersecurity, University of North Georgia, Dahlonega, GA 30597, USA
Abstract
Template-based crystal structure prediction (CSP) transfers a known crystal structure to a new composition by element substitution, so its accuracy depends on retrieving suitable templates, mapping elements and ranking the resulting candidates correctly. Auditing the original TCSP2.0 implementation on the T180 benchmark, we found that 469 of its 2,347 selected structures (20%) have the wrong composition, caused by element mappings that ignore stoichiometric coefficients and by sequential text substitution that cascades or corrupts element symbols. We propose TCSP3.0, which enforces coefficient-preserving mappings, substitutes species simultaneously on parsed structures and validates every candidate's composition and cell. It further adds periodic-number retrieval, soft oxidation-state evidence, radius-compatibility scoring, structural deduplication, and ORB-v3 machine-learning-potential relaxation and energy ranking of its candidates, as used by deep generative CSP baselines. TCSP3.0 achieves Top-1 and Top-20 match rates of 72.2% and 90.6% on T180, compared with 28.3% and 45.6% for TCSP2.0, and a Top-20 match rate of 74.0% on a new 800-target benchmark (T800). On T180 it also outperforms PNcsp+ and deep generative models CrystalFlow and MaskGXT (Top-1 72.2% versus at most 63.9%). Even without relaxation, TCSP3.0 reaches 67.8% at Top-1 and 90.6% at Top-20 in a median of 28 s per target on two CPU cores, about ten times faster than CrystalFlow. Paired ten-arm ablations on T180 and T800 show that most of the improvement comes from the correctness fixes; structural deduplication significantly improves the Top-5 match rate, embedding-based retrieval is required for coverage, and the remaining scoring features have small or null effects.
Figures & tables
| Cohort | Top-1 | Top-5 | Top-20 |
|---|---|---|---|
| T46 ( ) | 35 (76.1%) | 41 (89.1%) | 41 (89.1%) |
| 95% interval | [63.0,87.0] | [80.4,97.8] | [80.4,97.8] |
| T180 ( ) | 130 (72.2%) | 159 (88.3%) | 163 (90.6%) |
| 95% interval | [65.6,78.3] | [83.3,92.8] | [86.1,94.4] |
| T180 disjoint ( ) | 103 (70.1%) | 129 (87.8%) | 133 (90.5%) |
| 95% interval | [62.6,77.6] | [82.3,92.5] | [85.7,95.2] |
| Implementation | Criterion | Top-1 | Top-5 | Top-20 |
|---|---|---|---|---|
| Original TCSP2.0 (CPU) | Structure | 51 (28.3%) | 74 (41.1%) | 82 (45.6%) |
| SG | 56 (31.1%) | 82 (45.6%) | 90 (50.0%) | |
| Consensus | 48 (26.7%) | 71 (39.4%) | 79 (43.9%) | |
| TCSP3.0 (ORB-v3 relax and rank) | Structure | 130 (72.2%) | 159 (88.3%) | 163 (90.6%) |
| SG | 128 (71.1%) | 155 (86.1%) | 160 (88.9%) | |
| Consensus | 126 (70.0%) | 151 (83.9%) | 156 (86.7%) |
| Metric | Rank | TCSP3.0 (ORB-v3) | PNcsp+ full | PNcsp+ SG-best |
|---|---|---|---|---|
| Structure | Top-1 | 130 (72.2%) | 71 (39.4%) | 71 (39.4%) |
| Structure | Top-5 | 159 (88.3%) | 96 (53.3%) | 106 (58.9%) |
| Structure | Top-20 | 163 (90.6%) | 108 (60.0%) | 108 (60.0%) |
| Space group | Top-1 | 128 (71.1%) | 68 (37.8%) | 68 (37.8%) |
| Space group | Top-5 | 155 (86.1%) | 93 (51.7%) | 110 (61.1%) |
| Space group | Top-20 | 160 (88.9%) | 111 (61.7%) | 118 (65.6%) |
| Arm | Change relative to full V3 |
|---|---|
| Full V3 | Native configuration (all V3 features, no relaxation); explicit configuration checked for default parity |
| Embedding only | Remove PN retrieval route; retain V3 scoring and mapping |
| PN only | Remove embedding route; retain V3 scoring and mapping |
| One mapping | Single Hungarian base-cost assignment; combined-score choice can differ |
| Single OS | Retain first (most probable) neutral assignment; evidence mass held fixed |
| No OS | Remove OS assignment-scoring term; geometry evidence unchanged |
| Arm | Top-1 | Top-5 | Top-20 | Pool oracle | Top-5 |
|---|---|---|---|---|---|
| Full V3 | 122 | 154 | 163 | 165 | – |
| Embedding only | 122 | 154 | 163 | 165 | 0/0 |
| PN only | 118 | 148 | 154 | 154 | 1/7 |
| One mapping | 122 | 154 | 163 | 165 | 0/0 |
| Single OS | 122 | 154 | 163 | 165 | 0/0 |
| No OS | 123 | 153 | 162 | 165 | 0/1 |
| T46 | T180 | T800 | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Chemical family | Top-1 | Top-20 | Top-1 | Top-20 | Top-1 | Top-20 | |||
| Contains oxygen | 16 | 75.0 | 81.2 | 40 | 62.5 | 87.5 | 408 | 58.6 | 70.1 |
| Intermetallic | 14 | 85.7 | 100.0 | 46 | 78.3 | 91.3 | 83 | 80.7 | 83.1 |
| Contains a rare earth | 15 | 86.7 | 100.0 | 52 | 78.8 | 96.2 | 241 | 81.7 | 90.9 |
| Contains a d-block metal | 36 | 77.8 | 88.9 | 137 | 76.6 | 92.0 | 452 | 66.8 | 75.9 |
| Contains a halogen | 6 | 66.7 | 100.0 | 26 | 57.7 | 84.6 | 146 | 54.8 | 63.0 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Method | Retrieval or similarity | Mapping or ranking | Physical budget / comparison caution |
|---|---|---|---|
| Hautier / pymatgen | Data-mined ionic pair probabilities; supplied templates | Conditional-product threshold, charge checks, optional duplicate filtering | Substitution routines do not themselves relax candidates |
| CSPML | Learned composition-pair classification selects templates | Coefficient-preserving and descriptor-resolved transfer; DFT refinement | Pair-classification accuracy differs from the CSP match rate |
| ShotgunCSP | Template generator GT (with template-free generator GW) | Equal-coefficient substitution and descriptor assignment; learned CGCNN screening and physical assessment of selected candidates | GT/GW generation, target-specific DFT learning and refinement; task-specific budget |
| TCSP1/2 | Composition templates, inherited embedding/chemistry | Oxidation evidence and chemistry; optional physical stages | Prior rates use their own references, exclusions and relaxation |
| PNcsp+ | PN neighbors in OQMD | Two-potential single-point mean; separate SG best list | Unrelaxed benchmark; different library and candidate counts |
| TCSP3.0 | Embedding and PN routes | Multiple mappings, soft neutral evidence, radius score, structural diversity | Pool cap 100; default ORB-v3 relaxation and energy ranking of the top 20 (native order: no relaxation) |
Crystal Structure Prediction
Crystal structure prediction seeks stable atomic arrangements from composition, molecular identity, or experimental measurements.
See all 34 papers