MultiXC-QM9: Large dataset of molecular and reaction energies from multi-level quantum chemical methods

Surajit Nandi, Tejs Vegge, Arghya BhowmikScientific 2023

Abstract

Well curated extensive datasets have helped spur intense molecular machine learning (ML) method development activities over the last few years, encouraging nonchemists to be part of the effort as well. QM9 dataset is one of the benchmark databases for small molecules with molecular energies based on B3LYP functional. G4MP2 based energies of these molecules were published later. To enable a wide variety of ML tasks like transfer learning, delta learning, multitask learning, etc. with QM9 molecules, in this article, we introduce a new dataset with QM9 molecule energies estimated with 76 different DFT functionals and three different basis sets (228 energy numbers for each molecule). We additionally enumerated all possible A ↔ B monomolecular interconversions within the QM9 dataset and provided the reaction energies based on these 76 functionals, and basis sets. Lastly, we also provide the bond changes for all the 162 million reactions with the dataset to enable structure- and bond-based reaction energy prediction tools based on ML.

Introduction: The Speed-Accuracy Trade-off in Computational Chemistry

In computational chemistry, researchers face a persistent challenge: the trade-off between computational speed and chemical accuracy. High-level quantum chemical methods, such as G4MP2, provide high accuracy but are computationally expensive, limiting their use to large-scale screening. Conversely, low-level methods like semi-empirical XTB or basic Density Functional Theory (DFT) are fast but often carry significant errors.

Machine Learning (ML) has emerged as a powerful tool to bridge this gap. Techniques like "delta learning" allow models to learn the difference (the "delta") between a cheap, low-level calculation and an expensive, high-level one. However, training these models requires "multi-fidelity" datasets where the same molecules are evaluated at multiple levels of theory. While the QM9 dataset is a standard benchmark, it has historically lacked the breadth of multi-level energy data required for advanced transfer learning and multitask learning tasks.

Methodology: Generating a Multi-Level Energy Landscape

The authors developed a semi-automated pipeline to expand the QM9 dataset into MultiXC-QM9. The workflow involves several key stages:

  1. Multi-Level DFT Calculations: Using the SCM software package, the team calculated energies for approximately 133,000 molecules using 76 different exchange-correlation functionals across three basis sets of increasing complexity: Single-Zeta (SZ), Double-Zeta Polarized (DZP), and Triple-Zeta Polarized (TZP).
  2. Post-SCF Approach: To manage the massive computational cost, a "post-SCF" strategy was employed. The electron density was calculated once using the PBE functional, and the other 75 functionals were then evaluated based on this fixed density.
  3. Reaction Enumeration and Bond Mapping: The researchers identified all possible monomolecular interconversions (A ↔ B) within the dataset by finding pairs of isomers. For each of the 162 million identified reactions, they documented the specific bond changes (bonds broken and formed).
The MultiXC-QM9 data generation workflow, illustrating the transition from raw QM9 files to multi-level DFT calculations and reaction enumeration.

The MultiXC-QM9 and Reaction Datasets

The primary contribution of this work is a massive expansion of the chemical data available for the QM9 set:

  • MultiXC-QM9: Contains 228 energy values for every molecule (76 functionals × 3 basis sets), supplemented by semi-empirical GFN2-xTB energies.
  • Reaction Dataset: A collection of 162 million monomolecular reactions, complete with reaction energies across all levels of theory and detailed bond-change metadata.

Key Insights and Results

The analysis of this vast dataset yielded several important findings for the molecular ML community:

Basis Set Sensitivity and Energy Distributions

The choice of basis set—the mathematical functions used to describe electron orbitals—significantly impacts the results. The minimal SZ basis set was found to be a consistent outlier compared to the more robust DZP and TZP sets. Furthermore, different DFT functionals exhibit unique "fingerprints" in their atomization energy distributions, providing a rich variety of data for testing the generalizability of ML models.

Atomization energy distributions for various DFT functionals across different basis sets, highlighting the sensitivity to basis set choice and the diversity of the dataset.

Error Cancellation in Reaction Energies

A critical observation is that while absolute atomization energies vary significantly between methods, the errors in reaction energies are much smaller and follow a predictable Gaussian distribution. This phenomenon, known as error cancellation, occurs because systematic errors in the reactant often offset similar errors in the product. This makes reaction energy prediction a particularly promising target for ML models trained on multi-fidelity data.

Limitations and Future Outlook

While MultiXC-QM9 is a significant step forward, it has some limitations. The post-SCF approach, while efficient, may introduce minor inaccuracies compared to fully self-consistent calculations for every functional. Additionally, the energies were calculated using fixed geometries optimized at the B3LYP level. Future expansions could include bimolecular reactions (A + B ↔ C + D) and explore the impact of functional-specific geometry optimizations.

Summary updated

BibTeX
@inproceedings{nandi2023multixc,
  author = {Surajit Nandi and Tejs Vegge and Arghya Bhowmik},
  title = {{MultiXC-QM9: Large dataset of molecular and reaction energies from multi-level quantum chemical methods}},
  booktitle = {Scientific},
  year = {2023},
  doi = {10.1038/s41597-023-02690-2},
}
Figure