DimeNet

The paper introduced directional message passing for molecular graphs, using distances and angles rather than only pairwise distances.

Metadata

FieldValue
PaperDirectional Message Passing for Molecular Graphs
AuthorsJohannes Gasteiger, Janek Gross, Stephan Gunnemann
Year2020
VenueICLR 2020
arXiv2003.03123
OpenReview PDFB1eWbxStPH
ProjectDimeNet project page
Statusverified

Question

Many molecular GNNs use distances between atoms:

Distances are rotation and translation invariant, but they do not fully describe directional local geometry. Molecular interactions often depend on bond angles and angular potentials. DimeNet asks:

The key move is to represent messages, not only atoms, and associate each message with a direction in coordinate space.

Main Claim

DimeNet proposes directional message passing. Messages are attached to directed edges:

rather than only node states:

The update uses both distances and angles:

The durable claim is:

This makes DimeNet a key bridge between SchNet-style distance models and later geometric molecular architectures.

Architecture Contract

ItemContract
Inputatoms, coordinates, and molecular graph/radius graph
Node unitatom
Message unitdirected edge/message
Geometric inputsinteratomic distances and bond angles
Main operatordirectional message passing
Basis functionsspherical Bessel functions and spherical harmonics
Outputmolecular property, energy, force-related targets
Symmetry targetinvariant scalar prediction with direction-aware intermediate messages
Main domainmolecular property prediction and quantum chemistry

Why Messages Instead of Only Atoms?

In a standard MPNN, a node aggregates messages from neighbors:

DimeNet treats the message as the carrier of geometry. A message has an associated direction:

When the molecule rotates by , the direction rotates:

The architecture can use angles between directions, which are invariant to global rotation:

This lets the model encode directional geometry while keeping final scalar predictions invariant.

Directional Message Passing

Consider two directed messages:

DimeNet transforms messages using the angle between their directions:

A simplified update is:

The exclusion avoids immediate backtracking in the message update.

This resembles belief propagation:

The architecture is edge/message-centric, not only node-centric.

Distances and Angles

Distance features encode pairwise separation:

Angular features encode triplet geometry:

The triplet is important because it describes how two interactions meet at atom .

FeatureGeometry
pairwise distance
local angle at atom
directed edge orientation of message flow
triplet angular dependency between messages

Basis Functions

DimeNet uses physically motivated basis representations instead of only Gaussian radial basis functions.

For distances, it uses radial basis functions related to spherical Bessel functions:

For angles, it uses spherical harmonics:

In molecular graphs, the combined basis represents distance-angle structure:

The reading point is not to memorize every basis detail. The important architecture idea is:

This gives the network a structured way to model smooth molecular geometry.

Relation to SchNet

SchNet uses distance-conditioned filters:

DimeNet adds directional message embeddings and angles:

AxisSchNetDimeNet
primary geometrydistancedistance + angle
representation centeratom statesdirected messages
interaction unitpair triplet
basisradial distance featuresradial + angular basis
physical motivationcontinuous filter over atom distancesangular molecular interactions

DimeNet should be read as a direct refinement of distance-only atomistic GNNs.

Relation to MPNN

MPNN defines:

DimeNet changes the unit being updated:

This is a deeper change than adding one extra edge feature. It changes the computational graph from atom updates to directed-message updates.

Relation to Equivariant GNNs

DimeNet uses directional information, but it is not the same as a full tensor-field equivariant network.

ModelGeometry Handling
SchNetinvariant distance-based filters
DimeNetdirectional messages and angular basis
EGNNequivariant coordinate updates
SE(3)-Transformerequivariant tensor features and attention

DimeNet’s final molecular property prediction is invariant, while the message directions rotate with the molecule. Later equivariant architectures make transformation behavior more explicit in feature types.

Evidence to Read

DimeNet is evaluated on molecular property and force/energy style benchmarks.

EvidenceWhat It Supports
QM9angular message passing improves equilibrium molecular property prediction
MD17direction-aware modeling helps molecular dynamics trajectories
comparison to SchNet-like baselinesangles and directed messages matter
parameter efficiencyorthogonal basis can improve performance with fewer parameters
ablations over geometric featuresdistance-only vs distance-angle reasoning

The central evidence question is:

Evaluation Risks

For DimeNet-style models, check:

RiskCheck
conformer availabilitytrue 3D coordinates may not be available in real screening tasks
conformer leakagenear-identical geometries across splits can inflate results
computational costtriplet interactions can be more expensive than pairwise messages
cutoff sensitivityangular triplets depend on radius graph construction
target typesome targets need long-range electrostatics beyond local angles
coordinate qualitynoisy conformers can degrade angle-based features

Adding angles is not automatically better if the geometry is unreliable or unavailable.

Failure Modes and Caveats

  • Directional message passing requires 3D coordinates or plausible synthetic coordinates.
  • Triplet construction can increase cost significantly.
  • Angular features may overfit conformer-specific artifacts if splits are weak.
  • Distance and angle features are invariant summaries; they do not expose the full vector/tensor representation used by later equivariant networks.
  • Molecular long-range effects may require explicit global or electrostatic modeling.

Why This Matters for Architecture Reading

DimeNet teaches a key geometric modeling lesson:

Angles are part of molecular structure. For protein-ligand and molecular modeling work, this paper is a useful checkpoint before reading more complex equivariant architectures.

The reading question is:

One-Line Memory

DimeNet is the molecular GNN paper that moves from distance-only atom interactions to directed messages transformed by distances and angles.