SPICE, A Dataset of Drug-like Molecules and Peptides for Training Machine Learning Potentials

Peter K. Eastman, Pavan Kumar Behara, David L. Dotson, Raimondas Galvelis, John E. Herr, Josh T. Horton, Yuezhi Mao, John D. Chodera, Benjamin P. Pritchard, Yuanqing Wang, Gianni De Fabritiis, Thomas E. MarklandarXiv 2022

Abstract: Machine learning potentials are an important tool for molecular simulation, but their development is held back by a shortage of high quality datasets to train them on. We describe the SPICE dataset, a new quantum chemistry dataset for training potentials relevant to simulating drug-like small molecules interacting with proteins. It contains over 1.1 million conformations for a diverse set of small molecules, dimers, dipeptides, and solvated amino acids. It includes 15 elements, charged and uncharged molecules, and a wide range of covalent and non-covalent interactions. It provides both forces and energies calculated at the $\omega$B97M-D3(BJ)/def2-TZVPPD level of theory, along with other useful quantities such as multipole moments and bond orders. We train a set of machine learning potentials on it and demonstrate that they can achieve chemical accuracy across a broad region of chemical space. It can serve as a valuable resource for the creation of transferable, ready to use potential functions for use in molecular simulations.

Introduction

Machine learning potentials (MLPs) are transforming molecular simulation by offering the accuracy of quantum chemistry at the speed of classical force fields. However, their performance is strictly limited by the data they are trained on. Existing datasets often lack nuclear forces, cover limited chemical space, or ignore charged species and non-equilibrium geometries—all of which are critical for simulating drug-protein interactions in biological environments.

Methods

The researchers constructed the SPICE (Small-molecule/Protein Interaction Chemical Energies) dataset using a multi-pronged sampling strategy to ensure both chemical and conformational diversity. All calculations were performed using the Psi4 software at the $\omega$B97M-D3(BJ)/def2-TZVPPD level of theory, chosen for its superior accuracy in describing non-covalent interactions.

To capture a wide range of the potential energy surface, conformations were generated using molecular dynamics (MD) at high temperatures (500K) followed by local minimizations. To validate the dataset, the authors trained an Equivariant Transformer (TorchMD-NET). A key technical innovation was representing atom types as a combination of element and formal charge, allowing the model to handle charged molecules effectively without complex electrostatics modules.

The SPICE Dataset

SPICE provides a comprehensive "curriculum" for general-purpose molecular ML models, containing 1,132,808 conformations across 15 elements (H, Li, C, N, O, F, Na, Mg, P, S, Cl, K, Ca, Br, I). The dataset is composed of several specialized subsets:

  • PubChem Molecules: ~14,000 diverse, drug-like small molecules.
  • Dipeptides: All 676 possible combinations of the 20 natural amino acids.
  • Solvated Amino Acids: Amino acids surrounded by water molecules to capture protein-solvent interactions.
  • DES370K Dimers/Monomers: Focused on non-covalent interactions between molecular pairs.
  • Ion Pairs: Monatomic ions (like $Na^+$, $Cl^-$) at varying distances.
Histograms showing the distribution of molecular sizes (number of atoms) across the various subsets of the SPICE dataset, illustrating the diversity and scale of the data.

Key Insights and Results

The Importance of Forces

The authors emphasize that including nuclear forces is the most efficient way to increase information density. Since forces are the gradient of the energy, they provide a much richer signal ($3N$ times more information) for the ML model to learn the shape of the potential energy surface.

Achieving Chemical Accuracy

The goal for these models is "chemical accuracy" (~1 kcal/mol or 4.184 kJ/mol). The SPICE-trained model achieved a Mean Absolute Error (MAE) of 4.663 kJ/mol across the entire dataset, with a median error of 2.9 kJ/mol. The model showed low overfitting, suggesting the potential functions are highly transferable to new molecules.

Simple Charge Handling

While many researchers utilize complex long-range electrostatics, this study demonstrates that simply embedding the formal charge into the atom type is surprisingly effective for many drug-like systems. By analyzing "blind spots" where the model failed (e.g., phosphinic acids), the authors showed that errors are typically due to missing chemical motifs in the training set rather than architectural failures.

Future Work

While SPICE is a major step forward, it is currently designed for conformational changes rather than making or breaking covalent bonds. Future versions may include transition states and reactive geometries. The authors also plan to include missing drug-related elements like Boron and Silicon, and expand the dataset to include nucleic acids, lipids, and carbohydrates to move toward whole-cell simulation capabilities.

Summary updated

BibTeX
@misc{eastman2022spice,
  author = {Peter K. Eastman and Pavan Kumar Behara and David L. Dotson and Raimondas Galvelis and John E. Herr and Josh T. Horton and Yuezhi Mao and John D. Chodera and Benjamin P. Pritchard and Yuanqing Wang and Gianni De Fabritiis and Thomas E. Markland},
  title = {{SPICE, A Dataset of Drug-like Molecules and Peptides for Training Machine Learning Potentials}},
  year = {2022},
  eprint = {2209.10702},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.10702},
}
Figure