Overview

1 The Drug Discovery Process

Drug discovery is presented as a long, expensive, and failure-prone search problem at the intersection of chemistry, biology, and regulation. The space of possible drug-like molecules is enormous, the number of relevant biological targets is also large and flexible, and even promising compounds often fail because they are toxic, ineffective in the body, hard to manufacture, or blocked by regulatory requirements. These realities make it clear why computational methods are attractive: they can help researchers narrow the search, prioritize better candidates, and surface problems earlier before costly experiments and trials.

The chapter introduces the core language needed to use machine learning in this setting. It explains how molecules can be represented as SMILES strings or as molecular graphs, and how those representations can be turned into numerical features for models. It then defines machine learning and deep learning as systems that learn patterns from labeled or unlabeled data rather than following hand-coded rules, emphasizing the importance of training data quality, generalization, and avoiding overfitting. A small practical example using RDKit, fingerprints, PCA, and logistic regression shows how molecular data can be explored and classified computationally.

Finally, the chapter surveys the main stages of the discovery and development pipeline and where AI can help. It distinguishes target identification, hit discovery, lead identification, lead optimization, preclinical testing, and clinical development, noting that each step filters compounds more stringently. It also highlights major AI applications such as virtual screening, generative chemistry, retrosynthesis, and protein structure prediction, showing how these tools can reduce experimental burden, propose new molecules, and support decision-making. Throughout, the chapter stresses that AI is a powerful aid, but not a substitute for the biological, chemical, and regulatory constraints that determine whether a drug can ultimately succeed.

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.
Two views of the same decline. The upper panel plots new FDA drug approvals per billion dollars of inflation-adjusted R&D on a logarithmic scale, so a constant exponential rate appears as a straight line; open circles are single years, and the heavy line is a five-year centred mean, drawn dashed before 1970 where the spending series has to be reconstructed. You may have heard of Moore's Law, the observation that the number of transistors on an integrated circuit doubles approximately every two years, so that computing power rises while cost falls. Eroom's Law (Moore spelled backwards) runs the other way: the inflation-adjusted R&D cost of developing a new drug doubles roughly every nine years, which is the same statement as the efficiency plotted here halving every 9.9 years between 1950 and 2010. Scannell et al. attribute that decline to diminishing returns arriving from several directions at once, among them lower risk tolerance by regulatory agencies (the "cautious regulator" problem), a reflex to respond to falling productivity by spending more (the "throw money at it" tendency), and the need to show more than a modest incremental benefit over drugs that already work (the "better than the Beatles" problem) [6]. The lower panel shows where the ratio comes from: between 1950 and 2024 real R&D spending grew about 160-fold while approvals grew about 2.5-fold. After 2010 the fall stops, leaving the 2025 ratio about 3.9 times above the extrapolated pre-2010 trend, a break documented by Ringel et al. [7]. The plot is built from FDA approval counts and PhRMA member R&D deflated by the CPI-U, following the construction in Scannell et al. [6] and extended to 2025.
Example pairs of isomeric SMILES.
Artificial intelligence, ML, and deep learning are all related to each other.
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.
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.
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.
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.
  • We can represent molecules computationally using SMILES, a text-based notation that encodes molecular structure as a character string, or as molecular graphs, where atoms are nodes and bonds are edges. These representations serve as input data for machine learning models.
  • 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 tree-based models. Deep learning is a subfield of ML that uses deep neural networks to extract complex patterns and representations from data.
  • 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.
  • 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 is drug discovery, and how is it different from drug development?Drug discovery is the early phase where researchers identify a biological target, find hit compounds, and optimize them into lead candidates. Drug development comes afterward and focuses on preclinical testing and human clinical trials before FDA review and market approval.
Why is drug discovery considered such a difficult problem?It is difficult because the chemical search space is enormous, biological targets are complex and flexible, and every candidate must satisfy strict safety and efficacy requirements. In addition, many compounds fail at multiple stages, making the process slow, costly, and uncertain.
What does it mean to “discover a drug”?To discover a drug means to identify a compound that can modulate a biological target in a useful way while also meeting practical requirements such as safety, selectivity, potency, and manufacturability. A discovered drug must ultimately be able to progress through development and approval.
How does machine learning help in drug discovery?Machine learning helps by learning patterns from data to predict molecular properties, prioritize likely successful compounds, and reduce the number of experiments needed. It is especially useful for virtual screening, property prediction, and early filtering of unsafe or ineffective candidates.
What are chemical space and biological space?Chemical space refers to the vast universe of possible drug-like molecules, while biological space refers to the biomolecular targets, such as proteins, that drugs can bind to. Drug discovery sits at the intersection of these two spaces.
What is a target in drug discovery?A target is a biomolecule, such as a protein, DNA, RNA, lipid, or carbohydrate, whose activity a drug aims to influence. Choosing the right target is a key early step because it determines what disease mechanism the drug is intended to affect.
What are hits, leads, and lead optimization?Hits are compounds found to bind or act on a target during screening. Leads are the more promising hits selected for further work. Lead optimization is the stage where chemists modify those leads to improve potency, selectivity, safety, and other properties such as ADMET.
What is virtual screening?Virtual screening is a computational approach that ranks or filters compounds based on predicted binding or other desirable properties. It is much faster than experimental screening and helps narrow down large libraries to a smaller set of candidates for testing.
What is de novo design in generative chemistry?De novo design is the process of generating new molecular structures from desired property criteria rather than starting from an existing compound library. It aims to propose novel candidates that satisfy functional goals such as solubility, low toxicity, or target binding.
Why are molecular representations like SMILES and graphs important for AI in drug discovery?Computers need molecules in a format they can process. SMILES provides a text-based representation, while molecular graphs encode atoms and bonds as nodes and edges. These representations are the inputs that ML and deep learning models use to learn 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
  • Build AI Drug Discovery Pipelines 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
  • Build AI Drug Discovery Pipelines ebook for free