Overview

1 The Drug Discovery Process

This chapter introduces the modern drug discovery landscape—its humanitarian stakes, long timelines, high costs, and steep attrition—and motivates computation as a force multiplier. It frames discovery as an immense search problem at the intersection of astronomical chemical space and a vast set of biological targets, far beyond the reach of brute-force experimentation. The narrative positions AI and machine learning, particularly deep learning, as practical tools to accelerate and de-risk this search through rapid virtual screening and property prediction, de novo generative design of molecules, data-driven synthesis planning, and advances in protein structure prediction that inform target understanding and drug design.

The chapter surveys where deep learning is already delivering value: predicting molecular properties to triage libraries at scale; replacing or complementing expensive docking with learned models; generating novel chemical entities that meet specified property profiles; forecasting reactions and automating retrosynthetic routes to ensure designs are synthesizable and manufacturable; and narrowing the sequence-to-structure gap in proteins. It weighs novelty versus incremental “me-too” efforts (in the context of Eroom’s Law), discusses the promise and pitfalls of privileged scaffolds, and argues that learned, task-specific representations reduce bias relative to hand-crafted descriptors—supporting discoveries like structurally novel antibiotics. To ground these methods, the chapter builds fundamentals in ML (supervised vs. unsupervised learning, generalization and overfitting), molecular representation (SMILES and stereochemistry), and practical tooling (RDKit, fingerprints, PCA, and simple classifiers on FDA-approved drugs grouped by therapeutic stems).

Finally, the chapter walks through the end-to-end pipeline: target identification and validation; hit discovery via computational and high-throughput screening; hit-to-lead refinement; lead optimization focused on potency, selectivity, and ADMET alongside PK/PD considerations; and preclinical testing before clinical development. It distinguishes discovery from development, summarizing Phases I–III—progressing from initial human safety to large-scale efficacy and risk–benefit confirmation—and notes expedited pathways for urgent or first-in-class therapies. Throughout, it highlights where AI/ML can broaden candidate funnels, prioritize experiments, predict safety and exposure, propose syntheses, and increasingly generate and optimize candidates, compressing cycle times and improving the likelihood of clinical success.

Drug discovery can be thought of as a difficult search problem that exists at the intersection of the chemical search space of 1063 drug-like compounds and the biological search space of 105 targets.
Using AI to guide early prediction and optimization of drug-like molecules, we can broaden the number of considered candidate molecules, identify failures earlier when they are relatively inexpensive, and accelerate delivery of novel therapeutics to the clinic for patient benefit.
In virtual screening, we start with a large, diverse library of compounds that we can filter using a predictive model that has learned to predict what properties each compound has. Our predictive model has learned how to map the chemical space to the functional space. If the compound is predicted to have optimal properties, we carry it over for further experiments. In de novo design, we start with a defined set of property criteria that we can use along with a generative model to generate the structure of our ideal drug candidate. Our generative model knows how to map the functional space to the chemical space.
New drugs per billion USD of R&D reflects a downward trajectory. You may have heard of Moore’s Law, which is the observation that the number of transistors on an integrated circuit doubles approximately every two years. Moore’s Law implies that computing power doubles every couple of years while cost decreases. Eroom’s Law (Moore spelled backwards) is the observation that the inflation-adjusted R&D cost of developing new drugs doubles roughly every nine years. Eroom’s Law reflects diminishing returns in developing new drugs, including factors such as lower risk tolerance by regulatory agencies (the “cautious regulator” problem), the “throw money at it” tendency, and need to show more than a modest incremental benefit over current successful drugs (the “better than the Beatles” problem). The plot was constructed with data from Scannell et al., which discusses the trend in greater detail [6].
If we know both the structure of our ligand or compound and the target, we can use structured-based design methods. If we only know the ligand structure, we are restricted to ligand-based design methods. Alternatively, if we only know the target structure, we can use de novo design to guide generation of a suitable drug candidate.
Artificial intelligence, ML, and deep learning are all related to each other.
Example pairs of isomeric SMILES.
Example drug molecules for each USAN stem classification within our data set.
Chemical space exploration in a reduced, 4-dimensional space.
Decision boundary of our logistic regressor for classifying “-cillin” (left) and “-olol” (right) USAN stems. For each plot, colored samples belong to the positive class and uncolored samples belong to the negative class.
We can breakdown drug design into target identification and validation, hit discovery, hit-to-lead (lead identification), lead optimization, and preclinical development. Once a drug candidate has progressed to the drug development stage, it will need to pass multiple phases of clinical trials testing safety and efficacy prior to submission to and review by the FDA and launch to market.
We can break down the ADMET properties into the following broad descriptions. Absorption refers to the process by which a drug enters the bloodstream from its administration site, such as the gastrointestinal tract for oral drugs or the respiratory system for inhalation drugs. Distribution pertains to the movement of a drug within the body once it has entered the bloodstream. Metabolism refers to the biochemical transformation of a drug within the body, primarily carried out by enzymes. Metabolic processes aim to convert drugs into more polar and water-soluble metabolites, facilitating their elimination from the body. Excretion involves the removal of drugs and their metabolites from the body. Toxicity assessment aims to evaluate the potential adverse effects of a drug candidate on various organs, tissues, or systems.
We can segment the early drug discovery pipeline into four main phases: target identification, hit discovery, hit-to-lead or lead identification, and lead optimization. Target identification designates a valid target whose activity is worth modulating to address some disease or disorder. Hit discovery uncovers chemical compounds with activity against the target. Lead identification selects the most promising hits and lead optimization improves their potency, selectivity, and ADMET properties to be suitable for preclinical study.
In virtual screening, we conducted our search across a chemical space consisting of an enormous set of molecules. In de novo design, we are still conducting an (informal) search, just not across the chemical space. We are now searching across the functional space of potential molecular properties. If our model “learns” which section of the functional space maps to molecules that have ideal binding affinity and safety, then perhaps it can reverse-engineer novel molecule structures in the chemical space that match our functional criteria.
Preclinical trials evaluate drug candidate safety and efficacy on model organisms. Phase I clinical trials evaluate drug candidate safety in its first exposure to humans. Phase II and Phase III clinical trials continue to collect data on safety while measuring drug candidate efficacy on larger groups of patients. The pass rate of our lead compounds decreases drastically as they progress beyond preclinical stages, along with an increase in the associated time to test them.

Summary

  • Developing therapeutics entails a long, arduous process. Traditional development from ideation to market is costly (magnitude of billions of dollars), lengthy (10 to 15 years), and risky (attrition of over 90%). Through advances in AI, we can discover cures that have better safety profiles, address medical conditions or diseases with low coverage, and can reach patients quicker.
  • Drug discovery can be thought of as a difficult search problem that exists at the intersection of the chemical search space of 1063 medicinal compounds and the biological search space of 105 targets.
  • Applications of AI to drug design include molecule property prediction for virtual screening, creation of compound libraries with de novo molecule generation, synthesis pathway prediction, and protein folding simulation.
  • ML is a subfield of AI that enables computers to learn from and make decisions based on data, automatically and without explicit programming or rules on how to behave. Example ML algorithms include logistic regression and random forests. Deep learning is a subfield of ML that uses deep neural networks to extract complex patterns and representations from data.
  • We can segment the early drug discovery pipeline into four main phases: target identification, hit discovery, hit-to-lead or lead identification, and lead optimization. Target identification designates a valid target whose activity is worth modulating to address some disease or disorder. Hit discovery uncovers chemical compounds with activity against the target. Lead identification selects the most promising hits and lead optimization improves their potency, selectivity, and ADMET properties to be suitable for preclinical study.
  • Popular, well-maintained chemical data repositories include ChEMBL, ChEBI, PubChem, Protein Data Bank (PDB), AlphaFoldDB, and ZINC. When using a new data source, learn how it was assembled and how quality is maintained. Garbage data in, garbage model out. See “Appendix B: Chemical Data Repositories” for more information.

FAQ

What are the main stages of drug discovery, and how do they differ from drug development?Drug discovery comprises target identification and validation, hit discovery, hit-to-lead (lead identification), and lead optimization, followed by preclinical studies in model organisms. Drug development begins after preclinical success and covers human clinical trials (Phase I safety; Phase II preliminary efficacy and safety; Phase III confirmatory efficacy, broader safety), culminating in regulatory review (e.g., FDA) and market launch.
Why is searching chemical and biological space so challenging?The chemical space of drug-like molecules is astronomically large (~10^63), far beyond what brute-force experiments can cover. Even with high-throughput assays (10^5–10^7 compounds/day), full coverage would take longer than the age of the universe. The biological space is also vast (~10^5 human proteins and variants). ML narrows this intractable search by prioritizing likely successes computationally.
How does virtual screening work, and how do ML-based approaches compare to docking and simulations?Virtual screening prioritizes compounds by predicting properties like binding affinity and toxicity before lab testing. Physics-based methods (docking, molecular dynamics) simulate interactions but are computationally expensive. ML-based screening learns from data to directly predict properties, enabling throughput on the order of 10^9–10^12 compounds per day and reducing costly experimental or docking steps.
What is de novo design (generative chemistry), and how does it help address Eroom’s Law?De novo design uses AI to generate novel chemical structures that satisfy desired property profiles by searching the functional property space and mapping back to structures. This promotes innovation beyond “me-too” drugs, countering Eroom’s Law (rising R&D cost per new drug) by proposing pre-optimized, potentially patentable candidates while reducing downstream attrition.
What is chemical reaction prediction and retrosynthesis, and why does it matter?Reaction prediction forecasts products of given reactants; retrosynthesis starts from the target molecule and proposes simpler precursors and reaction steps. Because each step can branch into ~10^4 transformations, deep learning helps efficiently navigate route planning. This accelerates lab synthesis of novel AI-designed molecules and optimizes manufacturing (process chemistry) for cost, speed, and safety.
How has deep learning advanced protein structure prediction, and why is structure important?Deep learning (e.g., AlphaFold2) predicts 3D protein structures from sequences with high accuracy, closing the gap between abundant sequence data and scarce structural data. Knowing structure clarifies function, disease mechanisms, and ligand-binding sites, informing target selection, binding affinity modeling, and rational design.
What do AI, ML, and deep learning mean here, and what are supervised vs unsupervised learning?AI is the broad field of intelligent systems. ML is a subset that learns patterns from data. Deep learning is a subset of ML using neural networks. Supervised learning uses labeled data for tasks like classification (e.g., toxic vs non-toxic) and regression (e.g., solubility). Unsupervised learning uses unlabeled data for clustering, dimensionality reduction/representation learning, compression, and generative modeling. Generalization (avoiding overfitting) is critical for predicting properties of novel compounds.
How are molecules represented for ML models?Common textual encodings include SMILES, which record atoms, bonds, and connectivity. Canonical SMILES provide a consistent, unique string per structure; isomeric SMILES encode stereochemistry and tautomerism. Models often use numerical features like molecular descriptors and fingerprints (e.g., ECFP) derived from these representations to learn structure–property relationships.
What are ADMET and PK/PD, and which properties are optimized in lead optimization?ADMET covers Absorption, Distribution, Metabolism, Excretion, and Toxicity—key drivers of clinical success. PK (“what the body does to the drug”) includes ADME; PD (“what the drug does to the body”) covers efficacy and mechanism. Lead optimization tunes: efficacy (max effect), potency (dose required), selectivity/safety (on-target vs off-target effects, therapeutic index), and bioavailability (fraction reaching circulation and the target).
How does RDKit support ML workflows in drug discovery?RDKit parses and writes chemical formats (e.g., SMILES/SDF), builds molecule objects, computes descriptors and fingerprints (e.g., ECFP), performs substructure searches, and renders structures. It integrates with Python ML stacks (e.g., scikit-learn) to enable feature generation, visualization, dimensionality reduction (PCA), and modeling (e.g., logistic regression) directly from chemical data.

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Machine Learning for Drug Discovery ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Machine Learning for Drug Discovery ebook for free