ml-mlip-benchmark

Benchmark machine learning interatomic potentials against labeled datasets using MAE/RMSE metrics.

144|21|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/learningmatter-mit/AtomisticSkills --skill ml-mlip-benchmark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ml-mlip-benchmark
Source: https://github.com/learningmatter-mit/AtomisticSkills/tree/main/.agents/skills/ml-mlip-benchmark
Command: npx skills add https://github.com/learningmatter-mit/AtomisticSkills --skill ml-mlip-benchmark

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymatgen, numpy, matplotlib, mp-api, mp_api, and includes scripts (resource) components.

What problem does it solve?

This Skill measures how accurately a machine learning interatomic potential (MLIP) reproduces a labeled ground-truth dataset by computing standard error metrics and producing parity plots for rapid visual validation.

Core Features & Use Cases

  • Benchmark accuracy with MAE/RMSE: Computes Mean Absolute Error and Root Mean Square Error for energy-per-atom and atomic forces, with optional stress support.
  • Generate parity plots: Produces energy and forces parity plots (and stress parity when available) to quickly spot systematic bias or outliers.
  • Use with labeled dataset formats: Works with a JSON dataset whose entries include a structural dictionary plus ground-truth fields for energy/forces (and optionally stress) matching the format used by related MLIP training data.

Quick Start

Run the benchmark with the labeled dataset JSON you have and save the resulting metrics and prediction parity data to a results JSON file.

Frequently Asked Questions about ml-mlip-benchmark

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I benchmark a machine learning interatomic potential against a DFT-labeled dataset?

To benchmark an MLIP, you compute Mean Absolute Error and Root Mean Square Error for energy-per-atom and atomic forces against labeled ground-truth data using a provided script. This generates a results JSON with standard error metrics for rapid accuracy validation.

What is the best way to generate parity plots for energy and force predictions in materials simulation?

Generating parity plots for materials simulation involves running a plotting script on your benchmarking results JSON. This produces energy and force parity figures to help you quickly spot systematic bias or outliers in your machine learning interatomic potential predictions.

Do I need pymatgen and numpy to evaluate MLIP energy and force errors?

Yes, evaluating MLIP energy and force errors requires numpy for numerical computations and pymatgen for structural data handling. You must execute the benchmarking script within a conda environment that has these dependencies installed to process your labeled dataset.

Can I use this benchmarking approach for pre-training sanity checks across structures in chemistry and drug-discovery research?

Yes, you can use this benchmarking approach for pre-training sanity checks across structures in chemistry and drug-discovery research. It evaluates foundation potential baselines by comparing predicted energy and forces against ground-truth labels in your JSON dataset.

What dataset format is required to calculate energy MAE and force RMSE for model evaluation?

Calculating energy MAE and force RMSE requires a JSON dataset containing structural dictionaries paired with ground-truth energy and force fields. This format matches the standard used by related MLIP training data to ensure accurate model evaluation metrics.

Why are my MLIP parity plots not working after computing the benchmark metrics?

MLIP parity plots fail when the plotting script cannot locate the generated results JSON. You must first successfully execute the benchmark script to save your prediction parity data and metrics, then pass that output file to the plotting script.