SynGNN: a synthon-aware dual-view graph neural network with cross-view attention for molecular property prediction and inverse design
Abstract
Graph neural networks (GNNs) are the workhorse for molecular property prediction, yet most treat a molecule as a flat atom–bond graph and generalize poorly to scaffolds unlike those seen in training. We ask whether a molecule’s known synthesis structure can serve as a useful inductive prior. We propose SynGNN, a synthon-aware dual-view GNN: alongside the atom graph it builds a coarse synthon graph from the retrosynthetic building blocks, encodes both views, and aligns them by a cross-view attention—each synthon attends over its own atoms—followed by a gated fusion. Because the building-block space is finite, the same trained model doubles as a surrogate for property-targeted inverse design. As a testbed we use polycyclic aromatics assembled by a modular [3+2+1] benzannulation, with reproducible Hückel molecular orbital labels for 1948 molecules. In distribution every GNN saturates (R2≈0.90); but on unseen ring systems SynGNN lifts out-of-distribution R2 from ≤ 0.33 to 0.42 and cuts gap MAE to 0.26eV, and its inverse-design surrogate hits target gaps with 0.050eV error and 83% top-1 success.