All models

Chemprop D-MPNN

A graph network that predicts molecular properties by passing messages along directed bonds rather than atoms.

Molecules, proteins and genomics · 42 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (41 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
19.2K
Operations
42
Framework
PyTorch
Recurrent
Yes
Published
Journal of Chemical Information and Modeling (arXiv 2019)
Authors
Kevin Yang, Kyle Swanson, Wengong Jin and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m11605
Graph hash
f2bc409907b62b3f803cdafb5e705fa63d042e8c147292f5b443c35386cefe2a
Skeleton hash
b56fb733150c1e3916ce93e518d04554834b582adaf1b810fe9adbce39f9f997
Architecture hash
dfdd51884bde996016ad503b489931c821456e9ef3b8fbffdd75b7341903fb04
Diagram SHA-256
e5b5f543009703fafbc6b8220b98ce14cdff7ce97e336183acd8f9648db52ddd
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.chemprop_dmpnn:build: build({})

What it is

The Directed MPNN (D-MPNN) is a graph convolutional network that predicts properties of a molecule, learning its own features directly from the data. It attaches its messages to directed bonds rather than to atoms. A message that has just traveled from one atom to the next is then never sent straight back, which the paper says avoids an unnecessary loop in the message passing.

Each message passing step updates the hidden state of a bond and adds a skip connection back to that bond's original feature vector. After the last step the bond states are summed at each atom, the atom states are summed into one vector for the molecule, and a feed-forward network turns that vector into the prediction. The paper's default settings are a hidden size of 300, three message passing steps and two feed-forward layers.

The authors note that the architecture was originally called structure2vec, and that they use the name Directed MPNN to show it is a variant of the generic MPNN. On 19 public and 16 proprietary industrial datasets, the paper reports performance comparable to or better than all of its baseline models on 11 of the public datasets and 15 of the proprietary ones. In the paper's ablation, directed bond messages did better on average than messages on atoms or undirected bonds, but the differences were largely not statistically significant.

Key idea. The paper applies message passing over directed bonds instead of atoms to molecular property prediction and benchmarks it on 19 public and 16 proprietary industrial datasets.

  • chemprop
  • d-mpnn
  • dmpnn
  • directed mpnn
  • directed message passing neural network
  • molecular property prediction
  • message passing neural network
  • graph convolutional network
  • learned molecular representation
  • cheminformatics

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{yang2019analyzinglearnedmolecularrepresentations,
      title={Analyzing Learned Molecular Representations for Property Prediction}, 
      author={Kevin Yang and Kyle Swanson and Wengong Jin and Connor Coley and Philipp Eiden and Hua Gao and Angel Guzman-Perez and Timothy Hopper and Brian Kelley and Miriam Mathea and Andrew Palmer and Volker Settels and Tommi Jaakkola and Klavs Jensen and Regina Barzilay},
      year={2019},
      eprint={1904.01561},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1904.01561}, 
}