Directional Message Passing for Molecular Graphs
Johannes Gasteiger, Janek Groß, Stephan Günnemann
TL;DR
The paper presents directional message passing to incorporate angular information into molecular GNNs, introducing direction-specific embeddings and a joint 2D basis based on spherical Bessel functions and spherical harmonics. The Directional Message Passing Neural Network (DimeNet) achieves state-of-the-art performance on QM9 and MD17 while producing differentiable energy and force predictions suitable for molecular dynamics. Ablation studies confirm that directional information and the 2D basis are key to performance gains, and the approach provides a parameter-efficient framework for capturing hard angular degrees of freedom in molecular systems. This work lays the groundwork for accurate, physics-informed MD simulations with scalable graph-based models and suggests extending the method to full energy terms in future work.
Abstract
Graph neural networks have recently achieved great successes in predicting quantum mechanical properties of molecules. These models represent a molecule as a graph using only the distance between atoms (nodes). They do not, however, consider the spatial direction from one atom to another, despite directional information playing a central role in empirical potentials for molecules, e.g. in angular potentials. To alleviate this limitation we propose directional message passing, in which we embed the messages passed between atoms instead of the atoms themselves. Each message is associated with a direction in coordinate space. These directional message embeddings are rotationally equivariant since the associated directions rotate with the molecule. We propose a message passing scheme analogous to belief propagation, which uses the directional information by transforming messages based on the angle between them. Additionally, we use spherical Bessel functions and spherical harmonics to construct theoretically well-founded, orthogonal representations that achieve better performance than the currently prevalent Gaussian radial basis representations while using fewer than 1/4 of the parameters. We leverage these innovations to construct the directional message passing neural network (DimeNet). DimeNet outperforms previous GNNs on average by 76% on MD17 and by 31% on QM9. Our implementation is available online.
