OpenQDC: Open Quantum Data Commons

Cristian Gabellini, Nikhil Shenoy, Stephan Thaler, Semih Cantürk, Daniel McNeela, Dominique Beaini, Michael M. Bronstein, Prudencio TossouarXiv 2024 · DOI

Abstract

The development of Machine Learning Interatomic Potentials (MLIPs) has the potential to revolutionize molecular discovery by providing quantum-level accuracy at classical simulation speeds. However, the field has been hindered by fragmented, inconsistent, and massive datasets that are difficult for non-specialists to navigate. We present OpenQDC (Open Quantum Data Commons), a comprehensive Python-based ecosystem and repository that consolidates 37 quantum mechanical datasets—comprising over 400 million molecular geometries—into a standardized, ML-ready format. OpenQDC provides a unified interface, efficient data handling via memory-mapped arrays, and physics-informed normalization tools, effectively lowering the barrier to entry for developing the next generation of molecular foundation models.

1. Introduction

Molecular Dynamics (MD) simulations serve as essential "microscopes" for understanding biological and chemical processes, such as protein folding and drug-target interactions. Traditionally, researchers have faced a stark choice: utilize classical force fields, which are computationally efficient but often lack the necessary accuracy, or employ ab-initio quantum mechanics (QM), which offers high fidelity but is computationally prohibitive for large-scale systems.

Machine Learning Interatomic Potentials (MLIPs) have emerged as a transformative middle ground. By training neural networks on QM data, researchers can predict atomic forces with high precision at speeds comparable to classical methods. Despite this promise, the primary bottleneck remains data accessibility. Quantum mechanical data is currently scattered across disparate repositories, stored in incompatible formats, and utilizes inconsistent units. OpenQDC addresses these challenges by providing a centralized "Hugging Face-like" infrastructure for the quantum chemistry community.

2. The OpenQDC Framework

OpenQDC is designed to streamline the data engineering pipeline for quantum chemistry. The package introduces several key technical innovations to handle the complexities of chemical data:

2.1 Standardization and Curation

The library curates quantum mechanical notations across more than 250 methods. By categorizing functionals, basis sets, and correction terms into standardized Python Enums, OpenQDC ensures that researchers can easily filter and select data based on specific physical criteria without manual parsing.

2.2 Efficient Large-Scale Storage

Managing 400 million molecular geometries presents a significant memory challenge. OpenQDC utilizes memory-mapped arrays, allowing models to stream data directly from disk or cloud storage during training. This approach prevents memory overflows and enables large-scale training on standard hardware.

2.3 Physics-Informed Normalization

Standard machine learning normalization techniques, such as Z-score scaling, are often inappropriate for chemical systems because energy is a "size-extensive" property—it scales with the number of atoms in a molecule. OpenQDC implements specialized tools to convert total energy into atomization energy or apply linear regression based on atom types. These techniques ensure that models can generalize effectively across molecules of varying sizes and compositions.

3. Data Scope and Diversity

OpenQDC represents the largest collection of its kind, consolidating 37 major datasets including GEOM (33 million geometries), PubChemQC (ranging from 86 million to 221 million geometries), and the ANI series. The commons covers 70 different atom types and data generated from over 250 quantum methods.

The repository is categorized into two primary task types:

  • Potential Energy Datasets: Essential for training MLIPs to predict forces and navigate potential energy surfaces.
  • Interaction Energy Datasets: Critical for modeling non-covalent interactions, such as those found in protein-ligand binding and molecular docking.

4. Benchmarking and Key Insights

The authors established a comprehensive leaderboard by benchmarking prominent architectures—including SchNet, DimeNet, and TorchMD-Net—across the OpenQDC commons.

4.1 The Importance of Equivariance

The benchmarks reveal that "equivariant" architectures, which inherently understand that molecular energy is invariant to rotation and translation while forces rotate accordingly, significantly outperform older invariant models. Models like TorchMD-Net and DimeNet demonstrated superior performance on potential energy tasks.

4.2 The "ImageNet" Moment for Chemistry

The creation of OpenQDC is envisioned as the "ImageNet moment" for molecular science. Just as centralized, high-quality datasets catalyzed the deep learning revolution in computer vision, OpenQDC provides the necessary infrastructure for a similar leap in molecular AI. This centralized data allows for multi-fidelity learning, where models can be pre-trained on abundant, low-accuracy semi-empirical data and subsequently fine-tuned on high-accuracy Coupled Cluster data.

4.3 The Chemical Accuracy Gap

Despite the scale of the data, many current models still struggle to consistently reach "chemical accuracy" (defined as an error below 1 kcal/mol). This finding suggests that while data is a prerequisite, the field also requires continued innovation in model architectures to fully capture the nuances of quantum interactions.

5. Conclusion and Future Work

OpenQDC democratizes access to high-fidelity chemical data, enabling researchers to train models on 2x Nvidia A100 GPUs in under 52 hours for even the largest datasets. While the current iteration focuses on energy and forces, future updates aim to include additional quantum properties such as electron densities and Hamiltonians.

The ultimate objective of OpenQDC is to facilitate the development of Quantum Mechanical Foundation Models—large-scale neural networks pre-trained on the entirety of the commons that can be rapidly adapted to any specific chemical property with minimal additional data, accelerating the pace of discovery in drug design and materials science.

Summary updated

BibTeX
@misc{gabellini2024openqdc,
  author = {Cristian Gabellini and Nikhil Shenoy and Stephan Thaler and Semih Cantürk and Daniel McNeela and Dominique Beaini and Michael M. Bronstein and Prudencio Tossou},
  title = {{OpenQDC: Open Quantum Data Commons}},
  year = {2024},
  eprint = {2411.19629},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.19629},
}
Figure