TL;DR
Training open-weight LLMs for small-molecule drug discovery with reinforcement learning is usually a non-starter because accurate physics-based evaluations take too long to run in a training loop. This paper shows that you can post-train a 35B open-weight model (Qwen3.6-35B-A3B) on a curriculum of cheap, synthetic molecular design tasks—and it not only generalizes to expensive quantum-mechanical binding affinity tasks, it actually outperforms frontier models like GPT-5.6 Sol and Claude Opus 5 while using half as many turns.
What Problem Does This Paper Address?
Small-molecule drug discovery (SMDD) is a massive optimization problem: the space of possible drug-like molecules is estimated at $\mathcal{O}(10^{60})$. While closed-weight frontier LLMs can navigate this space surprisingly well, they come with two headaches for researchers: you can't customize their weights, and newer models increasingly refuse open-ended chemistry queries due to safety guardrails.
Open-weight LLMs are an obvious alternative, and Reinforcement Learning with Verifiable Rewards (RLVR) is the standard way to specialize them. The catch? In drug discovery, the "verifiable reward" is often a slow, expensive simulation. Here, the authors target SQM2.20, a semiempirical quantum mechanical scoring function for protein–ligand binding affinity. A single SQM evaluation takes tens of minutes—fast enough for a benchmark, but far too slow for an RL training loop where thousands of rollouts are needed.
Methods
To bridge this gap, the authors use synthetic task scaling and curriculum RL (trained for 500 steps total using asynchronous RL with prime-rl). Instead of training on SQM directly, they build a two-tier hierarchy of cheaper proxy tasks that share the same core abstraction: optimize a molecular property while satisfying a set of constraints.
- Tier-1 (Dirt-cheap cheminformatics): Tasks built around 116 precomputed RDKit and OpenEye properties (e.g., LogP, TPSA, atom counts). The model must maximize or minimize one target property while satisfying 2–4 perturbed property constraints and retaining a core scaffold. These are instant to verify.
- Tier-2 (Structure-aware docking): Direct analogs of the final SQM task. The model receives "textified" 3D pocket information (hydrogen-bonding interactions, unsatisfied polar groups) and proposes molecules that are docked with POSIT and scored with Chemgauss4—a much faster (seconds-long) structure-based scoring function than SQM.
They test pure Tier-1 training (T1(500)), pure Tier-2 training (T2(500)), and two-stage curricula that start on Tier-1 before switching to either pure Tier-2 (T1(a)–T2(b)) or a 25%:75% mix (T1(a)–Mix(b)).
Datasets
- Tier-1 Training: 200,000 synthetic lead-optimization tasks generated from commercially available molecules in the ZINC database.
- Tier-2 Training: 999 experimentally determined protein–ligand pairs from the PLINDER dataset (filtered to starting ligands between 200 and 600 Daltons).
- Held-out SQM Evaluation: 40 held-out ligand–receptor pairs from PLINDER.
Key Insights and Ideas
- Cheap proxies teach generalizable design: Training only on simple Tier-1 cheminformatics tasks (
T1(500)) already produces frontier-level performance on the much harder, structure-based SQM benchmark. - Curriculum training prevents mode collapse: Starting RL directly on Tier-2 tasks (
T2(500)) leads to mode collapse—the model falls into degenerate single-turn policies. Initializing from Tier-1 first unlocks stable, multi-turn optimization on Tier-2. - No catastrophic forgetting: Switching completely to Tier-2 in the second stage (
T1–T2) performs as well as or better than mixing Tier-1 tasks back in (T1–Mix). - Different "chemical instincts": Frontier models tend to grow molecules and add halogens to boost affinity. In contrast, the curriculum-trained models learn to shrink molecules, avoid halogenation, and aggressively strip away anionic groups.
Key Results
On the 40 held-out SQM systems (5 rollouts per system, n = 200 total, using T1(500) as the zero-baseline for relative binding affinity improvement):
- Curriculum models beat frontier LLMs:
T1(400)–T2(100)achieves the highest balanced reward (0.623 ± 0.034) and +3.18 ± 1.35 kcal/mol relative binding affinity improvement overT1(500), whileT1(300)–T2(200)reaches +3.88 ± 1.98 kcal/mol. By comparison, the best frontier model, GPT-5.6 Sol, scores +1.44 ± 1.14 kcal/mol (balanced reward 0.542), and Claude Opus 4.8 scores +0.40 ± 1.14 kcal/mol. - Dramatically higher efficiency:
T1(400)–T2(100)solves tasks in an average of 7.7 turns with 93.3% constraint satisfaction. Frontier models take 12–18 turns (e.g., 13.3 for GPT-5.6 Sol, 16.1 for Claude Opus 4.8) and fail formatting/constraints more often.
Limitations and Future Work
- Oracle exploitation ("score hacking"): The trained models' habit of aggressively removing anionic groups suggests they are exploiting known biases in the computational scoring function rather than learning pure medicinal chemistry. Stronger constraints on allowed chemical transformations are needed.
- Textified 3D geometry: Passing pocket features as text discards explicit 3D geometry, bounding the kind of structural reasoning the model can do.
- No clear scaling law with wall time: More expensive Tier-2-heavy curricula did not monotonically improve performance, though each recipe was a single training run.
- Future directions: Extending the synthetic recipes beyond RDKit/OpenEye to other oracles, and incorporating supervised fine-tuning (SFT) or policy distillation stages.
Summary updated