Skip to content
Learn Motion
ExploreHow it worksMembership
Log in
Learn Motion

How AI Designs a Drug Molecule from Scratch

1Why Designing a Drug Molecule Is Hard2Turning Molecules into Something a Machine Can Read3How Generative Models Propose New Molecules4Scoring and Filtering the Candidates5Testing, Learning, and Improving the Design
Turning Molecules into Something a Machine Can Read

A Molecule Drawn as a Graph

1 / 4
Look at the drawing the way a model has to. Every atom is a point, every bond is a line joining two points, and the letters and double lines are labels sitting on those points and lines. The labels are not decoration — they are the chemistry. Strip them off and you have a shape with no idea what it is made of. Notice also that the drawing does not mark a first atom. Renumber the atoms any way you like and it is still the same molecule, which is exactly the property a model needs so that two drawings of one compound are not treated as two different inputs.
0:00 / 0:00

Chemists already draw molecules as graphs without calling them that. In a structural formula, each vertex is an atom and each line is a bond, so the drawing is a graph in the formal sense: a set of nodes plus a set of edges connecting them.

What makes it a labelled graph is that the nodes and edges carry information. A carbon atom and an oxygen atom are different nodes even though both are drawn as vertices, and a single bond and a double bond are different edges even though both are drawn as lines. Hydrogen atoms are usually left implicit: an unlabelled vertex is understood to be carbon, and the hydrogens attached to it are filled in from the standard valence rules.

This is the representation most directly tied to the physical object. Two molecules are the same compound exactly when their labelled graphs are the same up to renumbering of the atoms — the graph does not care which atom you happened to call number one. That property is what a model needs if it is to treat two drawings of the same molecule as the same input.

A graph is also the natural home for the local questions drug design asks. Whether a particular group can sit in a binding pocket, whether a ring can be formed, whether a fragment can be swapped for another — all of these are questions about which atoms are bonded to which.

References

  1. [1]Molecular graph — Wikipediaen.wikipedia.org
Previous1 / 4Next

Learn Motion

Generate a course. Learn it properly.

Operated by Wuhan Daoyin Technology Co., Ltd.

Contact: [email protected]
Privacy PolicyTerms of Service

© 2026 Learn Motion