DimeNet
The paper introduced directional message passing for molecular graphs, using distances and angles rather than only pairwise distances.
Metadata
| Field | Value |
|---|---|
| Paper | Directional Message Passing for Molecular Graphs |
| Authors | Johannes Gasteiger, Janek Gross, Stephan Gunnemann |
| Year | 2020 |
| Venue | ICLR 2020 |
| arXiv | 2003.03123 |
| OpenReview PDF | B1eWbxStPH |
| Project | DimeNet project page |
| Status | verified |
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
| Item | Contract |
|---|---|
| Input | atoms, coordinates, and molecular graph/radius graph |
| Node unit | atom |
| Message unit | directed edge/message |
| Geometric inputs | interatomic distances and bond angles |
| Main operator | directional message passing |
| Basis functions | spherical Bessel functions and spherical harmonics |
| Output | molecular property, energy, force-related targets |
| Symmetry target | invariant scalar prediction with direction-aware intermediate messages |
| Main domain | molecular 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 .
| Feature | Geometry |
|---|---|
| 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:
| Axis | SchNet | DimeNet |
|---|---|---|
| primary geometry | distance | distance + angle |
| representation center | atom states | directed messages |
| interaction unit | pair | triplet |
| basis | radial distance features | radial + angular basis |
| physical motivation | continuous filter over atom distances | angular 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.
| Model | Geometry Handling |
|---|---|
| SchNet | invariant distance-based filters |
| DimeNet | directional messages and angular basis |
| EGNN | equivariant coordinate updates |
| SE(3)-Transformer | equivariant 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.
| Evidence | What It Supports |
|---|---|
| QM9 | angular message passing improves equilibrium molecular property prediction |
| MD17 | direction-aware modeling helps molecular dynamics trajectories |
| comparison to SchNet-like baselines | angles and directed messages matter |
| parameter efficiency | orthogonal basis can improve performance with fewer parameters |
| ablations over geometric features | distance-only vs distance-angle reasoning |
The central evidence question is:
Evaluation Risks
For DimeNet-style models, check:
| Risk | Check |
|---|---|
| conformer availability | true 3D coordinates may not be available in real screening tasks |
| conformer leakage | near-identical geometries across splits can inflate results |
| computational cost | triplet interactions can be more expensive than pairwise messages |
| cutoff sensitivity | angular triplets depend on radius graph construction |
| target type | some targets need long-range electrostatics beyond local angles |
| coordinate quality | noisy 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:
Links
- Graph neural networks
- Equivariance
- Invariance
- Spherical harmonics
- Conformer
- Molecular graph
- Molecular property prediction
- Geometry
- Neural Message Passing
- SchNet
- E(n) Equivariant GNN
- SE(3)-Transformer
One-Line Memory
DimeNet is the molecular GNN paper that moves from distance-only atom interactions to directed messages transformed by distances and angles.