Graph neural networks for materials science and chemistry

Patrick Reiser, Marlen Neubert, André Eberhard, Luca Torresi, Chen Zhou, Chen Shao, Houssam Metni, Clint van Hoesel, Henrik Schopmans, Timo Sommer, Pascal Friederich · DOI

Introduction

In recent years, Graph Neural Networks (GNNs) have transitioned from a niche machine learning architecture to a cornerstone of modern computational chemistry and materials science. This shift represents a fundamental change in how researchers represent and process molecular and crystalline data. By treating atoms as nodes and chemical bonds as edges, GNNs allow for learning directly from the fundamental "graph" of matter, bypassing the historical limitations of hand-crafted molecular descriptors.

The Representation Challenge

For decades, applying machine learning to chemistry required "featurization"—the process of converting a molecule into a fixed-length vector or "fingerprint." This approach often discarded critical spatial information or topological nuances. Materials science faced additional hurdles, such as representing periodic boundary conditions in crystals and structural disorder in glasses, which traditional machine learning models struggled to capture.

GNNs address these challenges by operating on the natural representation of molecules and solids. However, the rapid expansion of the field has created a complex landscape of competing architectures (spectral vs. spatial), varying benchmarks, and specific requirements for physical consistency, such as ensuring a molecule’s predicted energy remains invariant under rotation.

Methodological Frameworks

The current GNN landscape for the physical sciences is categorized into several key frameworks:

  • Message Passing Neural Networks (MPNNs): This is the standard paradigm where atoms (nodes) exchange information with their neighbors to iteratively update internal representations.
  • Geometric Deep Learning: These architectures explicitly incorporate 3D coordinates, distances, and angles, which is essential for predicting quantum mechanical properties that depend on exact geometry.
  • Equivariant GNNs: Sophisticated models like PaiNN and NequIP ensure that internal features transform predictably under rotation and translation. This "physics-informed" approach significantly improves data efficiency and physical accuracy.
  • Generative Models: Using Variational Autoencoders (VAEs) and Reinforcement Learning, researchers can perform "inverse design," generating new molecular graphs that satisfy specific target properties rather than simply screening existing databases.

The Data Ecosystem

The evolution of GNNs has been driven by the availability of high-quality benchmarks:

  • Molecular Benchmarks: QM9, containing 134,000 small molecules with quantum properties, remains the gold standard. Other vital sets include MD17 for molecular dynamics and MoleculeNet for bioactivity.
  • Crystalline Benchmarks: The Materials Project (MP) and OQMD provide essential labels for solid-state structures.
  • Large-Scale Frontiers: The Open Catalyst 2020 (OC20) dataset, featuring over 133 million data points, is designed to train models for renewable energy applications like electrocatalysis.

Key Insights and Physical Biases

The most successful GNNs are those that are "physically aware." By embedding symmetries—invariance and equivariance—directly into the architecture, models can achieve high accuracy with orders of magnitude less training data. This has positioned machine learning as the "fourth pillar" of science, alongside experiment, theory, and traditional simulation.

While GNNs for molecules are highly mature, models for solid-state materials are still evolving to better represent periodic symmetry and long-range interactions in infinite lattices. Furthermore, a major shift is occurring from predicting total energy to predicting atomic forces directly, leading to faster and more stable molecular dynamics simulations.

Results and Performance

Modern GNNs have reached significant milestones:

  • Chemical Accuracy: On the QM9 benchmark, errors are now frequently smaller than the inherent noise in the underlying Density Functional Theory (DFT) calculations.
  • Computational Speedups: GNN-based interatomic potentials can accelerate simulations by factors of $10^3$ to $10^6$ compared to traditional quantum chemistry, enabling the study of larger systems over nanosecond timescales.
  • Inverse Design Success: Generative GNNs have successfully discovered new candidates for drugs and materials for gas storage (MOFs) that were subsequently validated by expensive simulations.

Limitations and Future Directions

Despite these successes, several challenges remain. There is a significant discrepancy between the millions of simulated data points available and the scarcity of experimental data. Transfer learning from "cheap" simulations to "expensive" experiments is a critical open research area.

Additionally, as models—especially equivariant ones—become more complex, explainability remains difficult. The "black box" nature of these models can hinder pure scientific discovery. Future work must also address disordered and defective systems, such as grain boundaries and amorphous glasses, which current GNNs are only beginning to handle effectively. Finally, the community requires better standardization in hyperparameter optimization and rigorous benchmarking to ensure genuine architectural progress.

Summary updated

BibTeX
@inproceedings{reiser2022graph,
  author = {Patrick Reiser and Marlen Neubert and André Eberhard and Luca Torresi and Chen Zhou and Chen Shao and Houssam Metni and Clint van Hoesel and Henrik Schopmans and Timo Sommer and Pascal Friederich},
  title = {{Graph neural networks for materials science and chemistry}},
  booktitle = {Communications},
  year = {2022},
  doi = {10.1038/s43246-022-00315-6},
}
Figure