All models

NeuralSym

A feedforward network that scores reaction templates from a product fingerprint for retrosynthesis.

Molecules, proteins and genomics · 62 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 (16 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
59.4M
Operations
62
Framework
PyTorch
Recurrent
No
Published
2017, Chemistry - A European Journal
Cited by
548 (as of 27 October 2026)
Authors
Marwin H. S. Segler, Mark P. Waller
License
MIT
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
m18869
Graph hash
d032d1935d6801711338a3f5fa6f2b916ceeb04e1da8649d0fe4650bda8f0476
Skeleton hash
8cadc81a8b815377e9a44092d77a0cc77b0e1b460c4d80cde5d50f5c1db21ac8
Architecture hash
3c373d71c1b10625e0c3d0aa367bfbed4e7381cc83a9bdb1aaefb12136926a54
Diagram SHA-256
441cd59bc932d01d70088897f05602e4ff91aef6223ccd92d9e0746cd95eb7b5
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

NeuralSym is a neural network for retrosynthesis and reaction prediction, two tasks its paper calls the cornerstones of organic chemistry. The paper starts from rule-based expert systems, whose reaction rules often fail because they ignore the molecular context, which leads to reactivity conflicts. It reports that deep neural networks can learn to resolve these conflicts and to prioritize the most suitable transformation rules. Trained on 3.5 million reactions, the model is reported to reach a top10-accuracy of 95% in retrosynthesis and 97% for reaction prediction on a validation set of almost 1 million reactions.

This model comes from a re-implementation of the expansion network, written because the authors did not release the source code. It is a feedforward network using Highway-ELU blocks that takes a product fingerprint (ECFP4) as input and produces one logit for each template extracted from the training dataset. The re-implementation was re-trained on the USPTO-50K dataset.

Key idea. The paper showed that deep neural networks can learn to resolve reactivity conflicts between reaction rules and to prioritize the most suitable transformation rules.

  • neuralsym
  • template relevance network
  • retrosynthesis
  • reaction prediction
  • reaction templates
  • expansion network
  • neural-symbolic
  • highway network
  • ecfp4 fingerprint

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

Cite the paper

@article{Segler_2017, title={Neural‐Symbolic Machine Learning for Retrosynthesis and Reaction Prediction}, volume={23}, ISSN={1521-3765}, url={http://dx.doi.org/10.1002/chem.201605499}, DOI={10.1002/chem.201605499}, number={25}, journal={Chemistry – A European Journal}, publisher={Wiley}, author={Segler, Marwin H. S. and Waller, Mark P.}, year={2017}, month=Feb, pages={5966–5971} }