TL;DR
Designing drugs rarely starts from a blank slate; chemists usually tweak an existing core molecule, yet today’s AI tools run a costly search from scratch for every single starting structure. AMORTIX flips this script by learning a generalizable policy once, allowing it to optimize unseen molecular scaffolds in a single forward pass with zero test-time evaluations. The secret sauce is adapting Group Relative Policy Optimization (GRPO) to grade candidate molecules strictly against peers grown from the exact same starting block.
What Problem Does This Paper Address?
In drug discovery, tasks like "scaffold decoration" require keeping a core molecular fragment intact while attaching new chemical groups to optimize properties like biological binding or drug-likeness. Evaluating these properties requires an oracle—a scoring function ranging from fast heuristic proxies to physics simulations that take hours per molecule.
Currently, the dominant paradigm is instance optimization (like genetic algorithms or guided diffusion). Hand one of these models a new starting scaffold, and it behaves like an amnesia patient: it forgets everything it did yesterday and queries the oracle thousands of times to find a good derivative. Scale that up to a library of thousands of scaffolds, and your compute budget evaporates.
Amortized optimization promises a better way: pay the oracle cost once during an offline training phase to learn a universal modification policy, then generate optimized molecules for any new scaffold instantly. Historically, however, amortized Reinforcement Learning (RL) models have fallen flat here. Why? Because starting structures aren't created equal. Some scaffolds easily yield high-scoring drugs, while others sit in chemically tricky neighborhoods where even brilliant modifications score poorly. Standard RL baselines use a global average to judge success, causing easy scaffolds to dominate the learning signal while smart moves on hard scaffolds get penalized.
Methods
AMORTIX pairs a constrained graph-generation architecture with a specialized RL training loop:
- Policy Backbone (Standard): A decoder-only Graph Transformer builds molecules step-by-step on top of an initial subgraph. At each step, it makes a three-level hierarchical choice: what operation to do (add atom, modify, or stop), where to connect, and what bond order to use. A strict valence mask blocks illegal moves, guaranteeing 100% chemically valid molecules by construction. Before RL, the model is pretrained via teacher forcing to learn basic "chemical plausibility."
- Adapted GRPO Training (Novel): To solve the cross-scaffold difficulty problem, the authors adapt Group Relative Policy Optimization (specifically the Dr. GRPO formulation) to molecular graphs. For every starting scaffold in a batch, the policy samples a group of $G$ completed molecules and centers each reward by subtracting only that specific group's mean reward.
Crucially, the authors deliberately omit two standard GRPO tricks: they skip dividing by the group standard deviation (which would blow up gradients on trivially easy or impossible scaffolds where all completions score identically) and skip trajectory-length normalization (which biases molecule sizes).
Datasets
- ChEMBL 35: Used for supervised pretraining so the model starts with a prior of realistic, stable drug-like molecules.
- ZINC-250k: Decomposed into Murcko scaffolds and clustered by structural similarity so that test scaffolds (500 reserved) are topologically distinct from training scaffolds.
- PMO & TDC Oracles: 23 optimization objectives (including GSK3$\beta$, JNK3, and multi-parameter kinase inhibition) from the Practical Molecular Optimization benchmark and Therapeutics Data Commons.
- BBB_Martins & Exemplar Drugs: Used to fine-tune a blood-brain-barrier predictor (MiniMol) and test few-shot prodrug rule transfer from 4 training drugs to 52 unseen parent drugs.
Key Insights and Ideas
- Grading on a local curve fixes amortized RL: In late training, differences between scaffolds account for 71% to 95% of total reward variance! Standard PPO's learned value critic fails to filter this out (sometimes actively adding variance). Group-relative centering cleanly strips away scaffold-level variance without needing a critic network at all.
- Unmatched training consistency: Across 23 diverse objectives, GRPO yields 17× lower variance across data splits than REINFORCE and 3× lower than PPO. When deploying a zero-shot model without test-time oracle checks, knowing your training run didn't silently flop is paramount.
- Instance optimizers take lazy shortcuts on hard combos: In multi-parameter kinase optimization, search-based baselines (Mol GA, GenMol) game the easy heuristic metrics (drug-likeness and synthetic accessibility) while failing to crack the sparse biological activity targets. AMORTIX successfully penetrates those difficult biological manifolds.
Key Results
- Kinase Scaffold Decoration: With zero test-time oracle calls, AMORTIX beats all amortized and search-based baselines across GSK3$\beta$ (0.775), JNK3 (0.796), and Kinase MPO (0.619, vs. 0.479 for GenMol and 0.453 for LibINVENT).
- Rapid Amortization Payoff: AMORTIX’s entire one-time training budget ($\approx$50,000 oracle calls) breaks even against per-instance search after just 7 to 150 test scaffolds, depending on the task and baseline. By 500 scaffolds on Kinase MPO, Mol GA consumes 5× AMORTIX's total budget while scoring significantly worse.
- Few-Shot Prodrug Design: Fine-tuned on just 4 exemplar drugs, AMORTIX learned generalizable chemical rules (like esterifying carboxylic acids) and transferred them zero-shot to 52 unseen drugs. It attached valid cleavable handles to 63% of unseen parents (31% pure prodrugs), boosting predicted blood-brain-barrier penetration by an average of +0.26.
Limitations and Future Work
- 2D and Additive Only: AMORTIX operates strictly on 2D graphs (ignoring 3D protein-binding conformations) and can only add atoms and bonds. Tasks like scaffold hopping or fragment linking will require new action spaces supporting atom deletion and substitution.
- Cheap Proxy Oracles: All experiments relied on fast ML classifiers and heuristics. When oracles are milliseconds fast, AMORTIX's 4–5 hour GPU training time actually equals the wall-clock time GenMol needs for 10–15 scaffolds; true real-world validation awaits expensive 3D docking or free-energy simulations.
- Hybrid Horizons: The authors envision pairing both paradigms—using an amortized policy like AMORTIX to instantly drop candidate molecules into high-value chemical neighborhoods, then handing them off to an instance optimizer for cheap, local fine-tuning.
Summary updated