Repository navigation
Since v1.3.1 the benchmark has grown from crystal-stability classification into five tasks: discovery, geometry optimization, phonon κ_SRME, finite-temperature MD and diatomics, combined into the CPS, CMDS and CDS scores. The leaderboard has 51 new models, and the package needs Python 3.14.
Migration to 1.4
- Python
>=3.11→>=3.14(#385) - Model files: everything in
models/<family>/(YAMLs, readmes, envs, training scripts) moved into the package atmatbench_discovery/models/<family>/, sopip install matbench-discoveryships the fullModelregistry. Prediction artifacts moved from the repo to the cache dir,$MBD_CACHE_DIR/models/<family>/<model_key>/(YAML artifact names are unchanged), resolved withartifact_path(name)/artifact_name(path). Shared runners moved toscripts/run_<task>.py. Existing clones move old artifacts once withrsync -a --remove-source-files models/ "${MBD_CACHE_DIR:-$HOME/.cache/matbench-discovery}/models/"(#423) - WBM reference energies were recomputed with current pymatgen
MaterialsProject2020Compatibility()defaults (anion corrections now need oxidation state ≤ −1).DataFiles.wbm_summary→2026-11-19-wbm-summary.csv.gz: 3,044 corrections differ and 605 stability labels flipped, moving each model's F1 by ≤ 0.006. The old file isDataFiles.wbm_summary_2023, andDataFiles.mp_patched_phase_diagramis removed. Submitters must apply the current MP2020 corrections (#418) - Geo-opt headline metric: mean RMSD →
metrics.geo_opt.rmsd_auc, the mean over all 256,963 WBM structures ofmax(1 - rmsd/0.05, 0), where missing or unmatched structures score 0. The per-symprecrmsdYAML keys are removed, and the CPS RMSD term usesrmsd_auc(rankings: Kendall τ 0.995) (#418) - Discovery subsets:
TestSubset.ten_k_most_stableand the YAMLmost_stable_10kblock → removed;TestSubset.full→full_test_set;"uniq_protos"→"unique_prototypes"(#152, #160, #384) stable_metrics()keysTPR/FPR/TNR/FNR→ removed (useRecallor derive them fromTP/FP/TN/FN); thefillnakeyword ofstable_metrics/classify_stable→ removed, and missing predictions always count as unstable (#384, #423)from matbench_discovery.preds import Model→from matbench_discovery.enums import Model. Members are built from model YAMLs and named aftermodel_key(Model.mace→Model.mace_mp_0,Model.chgnet→Model.chgnet_0_3_0); resolve names withModel.from_ref("mace-mp-0").Model.<x>.path→Model.<x>.discovery_path;Model.label_map→ removed (#152, #203, #409)preds.load_df_wbm_with_preds→data.load_df_wbm_with_preds. Prediction columns are keyed bymodel_key;models=Nonemeans active models, and an empty sequence loads none (#152, #378, #390)- Import-time frames in
matbench_discovery.preds(df_preds,df_metrics,df_metrics_10k,df_metrics_uniq_protos,df_each_pred,df_each_err) → removed. Usedata.load_df_wbm_with_preds(),preds.load_prediction_errors(models)andModel.<x>.metrics(#203, #374, #380) - Module moves:
metrics→metrics.discovery(#157);slurm→hpc(#194);Files/DataFiles→enums(#203);data.download_file→remote.fetch.download_file(a23461fe);matbench_discovery.models(MODEL_METADATA,MODEL_DIRS) → removed, useModel.<x>.metadata(#373);structure.perturb_structure→ moved intomodels/cgcnn/train_cgcnn.py(8c8744e8) matbench_discovery.plots→ removed with no replacement in the package;plotlyandwandbare no longer dependencies (#374, #377)MbdKeypluspymatviz.enums.Key→ onematbench_discovery.enums.Key;MbdKey.openness,each_mean_models,each_err_modelsandmodel_std_each→ removed (#420, #423)- WBM summary columns
wyckoff_spglib[_initial_structure]→protostructure_spglib[_initial_structure];MbdKey.init_wyckoff→Key.init_protostructure_spglib(#326) get_e_form_per_atom(entry)→calc_energy_from_e_refs(entry, ref_energies=...), andref_energiesis required (#374)- Data cache: the repo-local
data/dir andDATA_DIR→~/.cache/matbench-discovery. To move an existing clone's files:mv data/{mp,wbm,md,md-checkpoints,phonons} ~/.cache/matbench-discovery/(#412). The env varMATBENCH_DISCOVERY_CACHE_DIR→MBD_CACHE_DIR(#201);str(DataFiles.x)returns the member name, so useDataFiles.x.path(#204) DataFiles:mp_trj→mp_trj_original;wbm_cses_plus_init_structs,alignn_checkpointandmp_patched_phase_diagram→ removed (#203, #231, #238, #383, #418)- Install extras
running-models,3d-structures,make-wbm-umapandfetch-wbm-data→ removed. phonopy, phono3py, seekpath andmoyopy==0.22.0are now core dependencies (#325, #359, #418) - Per-model
models/<arch>/test_<model>.pyscripts →uv run scripts/run_discovery.py --model <model_key>andscripts/run_kappa.py; the runner flags--pred-file,--geo-opt-file,--datasetand--dry-run-size→ removed (#194, #375, #376, #423) - Model YAML schema (#378, #409):
date_added/date_published→dates: {benchmark_added, paper_published}requirements→environment: {dependencies, python_version}training_set→training_sets: [<datasets.yml key>]model_type→architecture_typesstatus→lifecycle(new submissions start aspending)- pred-file strings → FileRef
{name, url, size, md5} pred_col→ removed (prediction CSVs need ane_form_per_atomcolumn)- flat
hyperparams→ nestedevaluation/architecture/training trained_for_benchmark→ removed
- New required model YAML fields:
- κ protocol: the default
displacement_distancechanges from 0.01 Å to 0.03 Å to match PhononDB-PBE, and model YAMLs must set it explicitly.save_forcesdefaults toTrue. Force sets move from{stem}-forces.json.gzto HDF5{stem}-forces.h5, loaded withphonons.force_sets.load_phono3py(#412, #418) data/training-sets.yml→matbench_discovery/datasets.yml(shipped in the wheel, read withdata.load_datasets()) (#241, #412)
🚀 New Features
- Thermal conductivity task: κ_SRME on 103 PhononDB materials (#150, #196, #199), plus signed κ bias, failure rate, imaginary-mode rate and phonon-spectrum W₁ diagnostics (#380)
- Geometry optimization task: RMSD and symmetry retention of ML-relaxed WBM structures vs DFT (#152, #157, #167), with symmetry from
moyopyinstead ofspglib(#173), per-model analysis files (#197), JSON Lines relaxed structures for partial loading (#231) and leaderboard column groups and units (#317) - Diatomics task: energy and force metrics for diatomic curves (#207), a task page with interactive curves (#211), a resumable runner with PBE-referenced metrics (#352), exclusion markers (#361) and a TMI page for DFT magnetic moments (#372)
- Finite-temperature MD task: 20 ps NVT trajectories scored against ab-initio MD on RDF, ADF, vDOS and pressure errors, with
scripts/run_md.py(#344), label-free DynaMat v1.0 references (#363) and an arXiv link (#370) - Combined scores: CPS (F1, κ_SRME and RMSD, with weights set by dragging a radar chart) is the default leaderboard sort (#223, #247); CMDS for MD (#344, #363) and a runtime-aware CDS for diatomics (#369)
- Task pages: discovery and phonon pages with metrics-over-time plots (#200, #205), task-specific cohorts, metrics and sorts (#373), runtime-vs-score Pareto plots (#370) and runtime and memory provenance (#369)
- Model comparison: side-by-side dialog with rank badges and a cost-vs-accuracy plot, opened from table rows, a selection tray or model pages and shareable via
compare=URLs (#392) - Leaderboard table: a dynamic Svelte table replaces the pandas-generated HTML (#156), with column tooltips (#143), direct vs conservative force markers (#149), non-compliant models shown by default (#233), drag-to-reorder columns (#289), geo-opt protocol columns (#290) and a hull construction note (#296); the landing table shows its top 25 rows behind an animated expand toggle (#423)
- Shareable URL state: table sort and filters (#300), task-page controls (#354, #373) and saved filter presets (#372)
- Table exports: client-side SVG and PNG (#229), CSV and Excel (#262)
- Interactive parity plots: about 120 static SVGs replaced by energy and κ parity plots with click-to-inspect structures and phonon DOS (#329, #330, #340)
- Client-rendered figures: Plotly figures replaced by JSON payloads rendered with MatterViz (#333), stored as JSONL so model submissions merge cleanly (#346)
- Landing-page plots: metrics over time (#239), metrics vs model size (#241), a dynamic scatter with selectable axes (#249) and GitHub activity of MLIP repos (#290, #316)
- Site theme, feed and search: light mode and theme toggle (#278), RSS feed (#246), Pagefind full-text search (#422)
- Model metadata: checkpoint URLs and training cost (#238), code and checkpoint licenses (#242), cell filter in hyperparameters (#219), training-set download URLs and openness checks (#195)
- Figshare archive: relaxed structures and predictions for every model on Figshare, linked from the table (#190, #197, #228, #201), all in the project's own articles (#422)
- Prototype labeling:
moyopy-based AFLOW-style protostructure labels replaceaviary's (#198, #326) - Datasets: WBM in the dataset catalog (#277); 46 datasets in a searchable
/data/setsexplorer (#396) - Checksum verification: downloads are hashed while streaming, and files whose MD5 mismatches are discarded (#359)
- Shared task runners: one resumable runner per task replaces the per-model scripts: discovery (#375), κ (#376), diatomics (#352) and MD (#344), with shared flags (#388)
- Model ingestion: the
scripts/ingest_model.pypipeline (#311, #335), single-model payload merges (#345), and aModelenum built from YAMLs withlifecycle: pendingfor new submissions (#328, #409) - Python package and tooling:
cli.py(#203),calc_energy_from_e_refs(#151),slurm_submit(submit_as_temp_file=True)(#140) and an API docs page covering 40 modules (#388)
🐛 Bug Fixes
- Geo-opt RMSD:
StructureMatcher(stol=1.0, scale=False), and unmatched structures count as RMSD 1.0 instead of being dropped (#231); recomputed for all models (e.g. 0.0227 → 0.1067) (#245) - CPS RMSD baseline: was 0.3 Å instead of 0.03 Å (#225); now uses the displayed
symprec=1e-2(#334) - Symmetry analysis: Niggli edge cases crashed
moyopy(#183); symmetry fractions now count only valid results (#235); Sankey diagrams no longer mixsymprecvalues (#253) - Training scripts:
target_colwasform_energyinstead offormation_energy_per_atom(#265);compile_wbm_test_set.pycrashed withUndefinedVariableError(#181) - κ loading: a missing
conductivity_skippedread as NaN, discarded every material and gave κ_SRME 2.0 instead of 0.766; no published model was affected (#401) - M3GNet: κ, diatomics and MD rerun with the original TensorFlow model, because matgl's DGL port had wrong three-body bond indices; 425 discovery relaxations rerun (#422)
- Cached downloads: interrupted downloads no longer corrupt the cache, thanks to atomic moves (#327); Figshare retries 5xx errors and dropped connections (#401)
- Data file checksums: 3 stale and 2 empty MD5s in
data-files.yml(#359); an unpublished Figshare article returned "Insufficient permissions" (#237) - Discovery plots: cumulative curves now include their final point (#153); rolling-accuracy binning, PR-curve positive class and rolling-MAE counts fixed (#334); wrong EquFlash parity metrics from a
pymatviz0.17.1 bug (#295) - Diatomics metrics:
calc_conservation_deviationreturnedmean(|dE/dr|)for any input (#334); PBE metrics are now gated on reference quality (#361); corrected reference data (#369) - Site: sorting by model name (#244); model notes converted to HTML twice (#159);
0/falseshown asn/a(#319); RSS filter, model-page and column-order crashes (#334);/data/wbmcrash onnullhistogram bins (#415) - Table exports: "Table element not found" (#262); wrong cells dropped with several filters (#319)
- Evaluation scripts:
geo_opt.pycrashed in Kaleido (#345);discovery.pyswallowed errors and always exited 0 (#388); the open-data check never fired (#415)
🧪 New Models
51 new models (renames of existing ones excluded; 13 more were added and later superseded):
- AlchemBERT; ALIGNN-FF MPtrj; Allegro-MP-L and Allegro-OAM-L; AlphaNet-v1-OAM; BAM-MP-DeNS; BAM-V2-Athena-OAM
- DPA-4.0.1-Pro-MPtrj, DPA-4.1-Air-OAM, DPA-4.1C-Air-OAM, DPA-4.1-Max-OAM and DPA-4.1-Max-OAM-PFT
- EMA-GNN; Eqnorm MPtrj; EquFlash and EquFlashV2; EquiformerV3+DeNS-MP and -OAM; eqV2 M and eqV2 S DeNS; eSEN-30M-MP and -OAM; ESNet
- GRACE-1L-OAM, GRACE-2L-MPtrj, GRACE-2L-OAM, GRACE-2L-OAM-L and GRACE-3L-OAM-L; HIENet; ILMlip-S/XL/XXL-OAM-mpa
- MACE-MPA-0, MACE-SOYO-MPtrj and MACE-SOYO-OAM; MatRIS-10M-MP and -OAM; Mena-LAM-6; Möbius OAM
- Nequip-MP-L, Nequip-OAM-L and Nequip-OAM-XL; Nequix MP and Nequix MP PFT; ORB v3; PET-OAM-XL; Prophet-OAME-MBD
- SevenNet-l3i5 and SevenNet-Omni-i12; TACE-OAM-L; TECE-OAM-RRA-1.0
- Renamed: MACE → MACE-MP-0, SevenNet → SevenNet-0, ORB → ORB v2, ORB MPtrj → ORB v2 MPtrj, MatterSim → MatterSim v1 5M, GNoME → NequIP-GNoME