Navigation

Introduction to AI

Machine Learning

Deep Learning

Generative AI

Tools & Frameworks

General

AI for Drug Discovery

AI for drug discovery applies machine learning, deep learning, and generative AI to accelerate and reduce the cost of finding new medicines. Traditional drug discovery is a 10–15 year, $2–3 billion process with a >90% failure rate in clinical trials. AI is transforming every phase of this pipeline.

The Drug Discovery Pipeline

PhaseDurationDescriptionAI Application
Target identification2–5 yearsFind disease mechanisms and proteins to targetLiterature mining, genomics analysis
Hit discovery1–3 yearsScreen molecules for biological activityVirtual screening, de novo generation
Lead optimization2–4 yearsImprove potency, selectivity, safetyProperty prediction, generative design
Preclinical1–3 yearsAnimal studies, toxicology, formulationToxicity prediction, ADMET modeling
Clinical trials6–8 yearsPhase I/II/III human trialsPatient matching, trial design optimization
FDA approval1–2 yearsRegulatory reviewRegulatory document generation

AI primarily accelerates the early phases — target identification, hit discovery, and lead optimization.

Protein Structure Prediction

The foundational breakthrough: AlphaFold 2 (DeepMind, 2020) predicted protein 3D structures with accuracy comparable to experimental methods (X-ray crystallography, cryo-EM), solving a 50-year grand challenge in biology.

How AlphaFold 2 Works

  1. Multiple Sequence Alignment (MSA): Collect evolutionary homologs of the target sequence. Co-evolutionary patterns indicate which residues are spatially close.
  2. Evoformer: A transformer network that processes both the MSA (evolutionary information) and pairwise residue relationships jointly.
  3. Structure module: Iteratively refines 3D coordinates using invariant point attention, directly predicting atom positions.

Impact: The AlphaFold Protein Structure Database contains predicted structures for >200 million proteins — essentially all known proteins — available publicly. Drug target discovery accelerated dramatically.

AlphaFold 3 (2024) extended predictions to protein-DNA, protein-RNA, and protein-small molecule complexes — directly enabling structure-based drug design.

RoseTTAFold and OpenFold

RoseTTAFold (University of Washington) is an open-source alternative to AlphaFold 2 with comparable accuracy. OpenFold is an open-source reimplementation trained with reproducible training code — enabling academic researchers to fine-tune protein structure predictors on custom datasets.

Virtual Screening

Virtual screening computationally evaluates millions of candidate molecules for their potential to bind a target protein — far faster and cheaper than physical high-throughput screening.

Docking-Based Screening

Molecular docking predicts how a small molecule fits into a protein’s binding pocket:

  1. The 3D structure of the target protein (from AlphaFold or experiment).
  2. Enumerate candidate molecule conformations.
  3. Score binding affinity using force field or learned scoring functions.
  4. Rank candidates by predicted binding affinity.

Classical docking tools (AutoDock Vina, Glide) use physics-based scoring. AI-enhanced docking (DiffDock, RoseTTAFold All-Atom) uses diffusion models or learned energy functions for better accuracy and speed.

Graph Neural Networks for Property Prediction

Molecules are naturally represented as graphs — atoms as nodes, bonds as edges. Graph Neural Networks (GNNs) learn molecular property prediction:

$$\hat{y} = f_\theta(G_\text{mol})$$

Where $G_\text{mol}$ is the molecular graph and $\hat{y}$ is a predicted property (binding affinity, solubility, toxicity).

Models like MPNN (Message Passing Neural Network), Attentive FP, and ChemBERTa (SMILES-based transformer) achieve state-of-the-art results on molecular property benchmarks.

Generative Molecular Design

Rather than screening existing molecules, generative models design novel molecules with desired properties.

Variational Autoencoders (VAEs)

Train a VAE on known molecules (represented as SMILES strings or molecular graphs), then sample from the latent space:

$$z \sim \mathcal{N}(0, I) \quad \rightarrow \quad \text{decode}(z) = \text{new molecule}$$

REINVENT (AstraZeneca): A VAE + RL system that optimizes molecules for multiple properties simultaneously (potency, selectivity, synthesizability, ADMET).

Diffusion Models for Molecules

DiffSBDD, DiffDock, and TargetDiff use diffusion models to generate molecules directly in 3D — conditioned on the protein binding pocket. Instead of generating SMILES, they generate atom positions and types that naturally fill the pocket geometry.

Transformer-Based Generation

ChemGPT and MolBERT apply language model pretraining to SMILES strings, treating molecular design as a sequence generation problem. GPT-4 and Claude have been used for multi-step drug design planning, leveraging chemistry knowledge from pre-training.

ADMET Property Prediction

ADMET (Absorption, Distribution, Metabolism, Excretion, Toxicity) properties determine whether a molecule can function as a drug:

PropertyQuestionAI Approach
SolubilityWill it dissolve in water?GNN regression
PermeabilityWill it cross cell membranes?GNN classification
Metabolic stabilityHow quickly will it be metabolized?Graph-based prediction
hERG toxicityDoes it cause cardiac arrhythmia?GNN classification
CYP inhibitionDoes it interfere with drug metabolism?Multi-task GNN
Blood-brain barrierCan it reach the brain?GNN classification

Multi-task learning models that jointly predict all ADMET properties achieve better accuracy than single-task models due to shared molecular features.

Drug Repurposing

Drug repurposing (or repositioning) finds new therapeutic uses for approved drugs — skipping early development phases and reducing cost and risk.

AI approaches:

  • Knowledge graph reasoning: Build a KG of drugs, diseases, genes, and pathways; find novel drug-disease paths via graph traversal.
  • Transcriptomic signature matching: Match drug-induced gene expression profiles to disease signatures (Connectivity Map approach).
  • Literature mining: NLP models extract drug-disease relationships from millions of papers.

COVID-19 repurposing: AI tools identified baricitinib (a JAK inhibitor) as a potential COVID-19 treatment within weeks of the pandemic start — a process that normally takes years. It was subsequently validated and approved for COVID-19.

AI in Clinical Trials

Beyond early-stage discovery, AI is improving clinical trial efficiency:

  • Patient stratification: ML models identify patient subgroups most likely to respond to a treatment, enabling more efficient trials with smaller populations.
  • Trial design: AI optimizes dosing schedules, endpoints, and sample sizes.
  • Site selection: Predict which clinical sites will enroll patients fastest and with highest data quality.
  • Dropout prediction: Identify patients at risk of dropping out of trials before they do.
  • Synthetic control arms: Use real-world data to simulate control arm patients, reducing the size of randomized control groups.

Notable AI-Discovered Drugs

DrugTargetAI ContributionStatus
INX-315 (Insilico Medicine)CDK6Generative AI designed moleculePhase II clinical trials
DSP-1181 (Exscientia + Sumitomo)OCD targetAI-designed in 12 months vs 4.5 yearsPhase I
Halicin (MIT)AntibacterialML screen of 107 million moleculesPreclinical
EBT-101 (Excision BioTherapeutics)HIVAI-guided CRISPR approachPhase I

Challenges

  • Data scarcity: High-quality labeled drug-target interaction data is limited and proprietary.
  • Distribution shift: Models trained on known drugs may not generalize to truly novel chemical scaffolds.
  • Synthesizability: Generative models can propose molecules that are chemically impossible or prohibitively expensive to synthesize.
  • Validation gap: Computational predictions must still be validated experimentally — AI speeds early phases but cannot replace wet lab work.
  • Regulatory acceptance: Regulatory agencies are still developing frameworks for AI-designed drugs.

Further Reading