Datasets:
File size: 8,549 Bytes
4ee3967 9cbf093 4ee3967 9cbf093 4ee3967 9cbf093 4ee3967 9cbf093 4ee3967 9cbf093 4ee3967 9cbf093 4ee3967 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | ---
license: cc-by-4.0
task_categories:
- other
tags:
- materials-science
- dft
- crystal-structures
- multi-fidelity
- gnn
- delta-learning
pretty_name: "Multi-fidelity DFT delta corrections for crystal structures"
size_categories:
- 10K<n<100K
configs:
- config_name: legacy_deduplicated_leakage_safe_v1
default: true
data_files:
- split: train
path: repaired/legacy_fhi_aims_deduplicated_leakage_safe_v1/train.csv.gz
- split: validation
path: repaired/legacy_fhi_aims_deduplicated_leakage_safe_v1/validation.csv.gz
- split: test
path: repaired/legacy_fhi_aims_deduplicated_leakage_safe_v1/test.csv.gz
- config_name: legacy_original
data_files: data.parquet
---
# Multi-fidelity DFT delta corrections for crystal structures
## Dataset Description
This dataset contains ~60,000 crystal structure relaxations from the
[NOMAD repository](https://nomad-lab.eu), computed with the all-electron DFT
code [FHI-aims](https://fhi-aims.org) at multiple levels of numerical precision
(basis set size × k-point density). For each pair of a low-fidelity and a
high-fidelity calculation on the same structure, we provide the **delta
corrections** — the difference in key physical observables between the two
settings.
The dataset was constructed to train and evaluate machine-learning models that
predict the correction needed to "upgrade" a cheap DFT calculation to a more
expensive one, without running the expensive calculation.
The default configuration is now `legacy_deduplicated_leakage_safe_v1`. It
removes redundant exact copies, excludes conflicting duplicate groups, and
uses connected components of ICSD identity and exact starting-structure hash
to prevent leakage between train, validation, and test. The original 59,235-row
release remains available as the `legacy_original` configuration for
reproducibility.
### Key quantities
| Symbol | Column | Description |
|--------|--------|-------------|
| ΔE | `delta_total_energy_per_atom` | Energy delta (eV/atom) |
| ΔE_g | `delta_homo_lumo_gap` | HOMO–LUMO gap delta (eV) |
| ΔV | `delta_final_volume_per_atom` | Volume delta (ų/atom) |
---
## Files
| File | Format | Size | Description |
|------|--------|------|-------------|
| `data.parquet` | Parquet (snappy) | ~92 MB | Tabular delta corrections + DFT settings + features |
| `graph_data.pt` | PyTorch `torch.save` | ~352 MB | Pre-processed graph dataset for GNN training |
| `repaired/legacy_fhi_aims_deduplicated_leakage_safe_v1/train.csv.gz` | Compressed CSV | ~25.4 MiB | Deduplicated training partition (39,951 rows) |
| `repaired/legacy_fhi_aims_deduplicated_leakage_safe_v1/validation.csv.gz` | Compressed CSV | ~3.3 MiB | Deduplicated validation partition (4,940 rows) |
| `repaired/legacy_fhi_aims_deduplicated_leakage_safe_v1/test.csv.gz` | Compressed CSV | ~3.4 MiB | Deduplicated test partition (5,217 rows) |
| `repaired/legacy_fhi_aims_deduplicated_leakage_safe_v1/audit.json` | JSON | ~3 KB | Deduplication policy, leakage checks, counts, and source hashes |
---
## Loading Examples
### Tabular data (Parquet)
```python
import pandas as pd
df = pd.read_parquet("data.parquet")
print(df.shape) # (59235, 175)
print(df["basis_size"].value_counts())
print(df["delta_total_energy_per_atom"].describe())
```
### Recommended leakage-safe configuration
```python
from datasets import load_dataset
dataset = load_dataset(
"dtsdts/multifidelity-dft-deltas",
"legacy_deduplicated_leakage_safe_v1",
)
print(dataset)
# train: 39,951; validation: 4,940; test: 5,217
```
The hosted partitions retain the `split` column used to create them. The
historical partition label is preserved separately as `source_split`.
### Graph data (PyTorch / PyG)
```python
import torch
graphs = torch.load("graph_data.pt", map_location="cpu")
# graphs is a list of torch_geometric.data.Data objects
g = graphs[0]
print(g.x.shape) # atom features
print(g.edge_index.shape) # connectivity
print(g.pos.shape) # fractional / Cartesian positions
# g.split → "train" | "val" | "test"
```
---
## Column Dictionary
### Identifiers & DFT settings
| Column | Type | Description |
|--------|------|-------------|
| `compound_name` | str | Chemical formula + ICSD index label |
| `formula` | str | Reduced chemical formula |
| `ICSD_number` | int | ICSD database entry number |
| `uid` | str | Unique structure–setting identifier |
| `split` | str | `train` / `val` / `test` (80/10/10 by structure) |
| `basis_size` | str | FHI-aims basis tier: `minimal`, `standard`, `tier1`, `tier2` |
| `k_point_density` | int | Monkhorst–Pack k-point density parameter (2, 4, or 8) |
| `functional` | str | XC functional (PBE throughout) |
| `relaxation` | str | Relaxation protocol identifier |
### Primary delta targets
| Column | Unit | Description |
|--------|------|-------------|
| `delta_total_energy_per_atom` | eV/atom | Total energy difference (low→high fidelity) |
| `delta_homo_lumo_gap` | eV | HOMO–LUMO gap difference |
| `delta_final_volume_per_atom` | ų/atom | Cell volume difference |
| `delta_relaxed_a_len` | Å | Lattice parameter *a* difference |
| `delta_relaxed_b_len` | Å | Lattice parameter *b* difference |
| `delta_relaxed_c_len` | Å | Lattice parameter *c* difference |
### Structure geometry (low-fidelity baseline)
| Column | Unit | Description |
|--------|------|-------------|
| `original_volume` | ų | Unit cell volume before relaxation |
| `final_volume` | ų | Unit cell volume after low-fidelity relaxation |
| `original_a_len`, `_b_len`, `_c_len` | Å | Pre-relaxation lattice parameters |
| `relaxed_a_len`, `_b_len`, `_c_len` | Å | Post-relaxation lattice parameters (low-fidelity) |
| `original_atom_positions` | str | Fractional positions (JSON-encoded) |
| `relaxed_atom_positions` | str | Relaxed fractional positions (low-fidelity) |
### Elemental features (statistics over atoms in unit cell)
Columns follow the pattern `{stat}_{feature}` where `stat` ∈ {`max`, `min`, `mean`, `mad`}:
| Feature suffix | Description |
|----------------|-------------|
| `atomic_EA_half` | Electron affinity (half-electron, eV) |
| `atomic_IP_half` | Ionisation potential (half-electron, eV) |
| `atomic_HOMO` / `atomic_LUMO` | HOMO/LUMO energy of isolated atom (eV) |
| `atomic_rs/rp/rd/rf` | Orbital radii (Bohr) |
| `monomer_total_energy_per_atom` | Free-atom reference energy (eV/atom) |
| `monomer_volume_per_atom` | Free-atom reference volume (ų/atom) |
| `monomer_bandstructure_gap` | Free-atom band gap proxy (eV) |
| `valence_electrons` | Number of valence electrons |
| `basis_functions` | Number of basis functions per atom |
---
## Dataset Statistics
- **Original release:** 59,235 rows
- **Recommended deduplicated release:** 50,108 rows
- **Recommended split:** 39,951 train / 4,940 validation / 5,217 test
- **Exact duplicate copies removed:** 6,200
- **Conflicting duplicate rows excluded:** 971 rows across 360 groups
- **Cross-partition leakage:** 0 shared ICSD numbers and 0 shared exact structure hashes
- **Unique structures:** ~14,500
- **Basis sizes:** `minimal`, `standard`, `tier1`, `tier2`
- **k-point densities:** 2, 4, 8
- **Elements covered:** H through Bi (excluding lanthanides/actinides; a small number of heavy-element structures are filtered)
- **Split method:** deterministic connected components of ICSD number and exact starting-structure hash
### Deduplication policy
An exact duplicate key combines the exact starting-structure hash with the
normalized physical FHI-aims setting. For identical copies, the row with the
lexicographically smallest padded source-row identifier is retained. If rows
with the same key disagree in their target values, the entire conflicting
group is excluded rather than selecting or averaging a label. See the included
`audit.json` for the complete reconciliation and SHA-256 hashes.
---
## Citation
If you use this dataset, please cite:
```bibtex
@inproceedings{speckhard2026multifidelity,
title = {Multi-fidelity {DFT} delta corrections for crystal structures},
author = {Speckhard, Daniel and others},
booktitle = {ICML 2026 Workshop on Machine Learning for Materials},
year = {2026},
}
```
---
## License
[Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/)
---
## Training Code
The GNN and Random Forest training code used with this dataset is available at:
**https://gitlab.mpcdf.mpg.de/dansp/errorbar_modelling**
|