# From Wet Lab to RL Env: 10,000 Drug-Discovery Campaigns in a Weekend — Ian Quigley, Leash Bio <!-- ref: @content/youtube/latent-space/2026-10-14-from-wet-lab-to-rl-env-10-000-drug-discovery-campaigns-in-a tags: [dna-encoded-libraries, small-molecule-drug-discovery, data-leakage, evaluation-rigor, kaggle-benchmark, protein-mutagenesis, reasoning-agents, lab-in-the-loop] version: 2 updated_at: 2026-11-21T19:59:36.881Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=hQSBJVreLms)** *Synthesized from Ian Quigley in conversation with RJ Honaker and Brandon Anderson on Latent Space, 2026-10-14.* Ian Quigley is co-founder and CEO of Leash Bio, a small-molecule machine-learning company; the Latent Space AI for Science episode is hosted by RJ Honaker (CTO of Miroculus) and Brandon Anderson (who develops RNA therapeutics at Atomic AI). ## Core Thesis Ian argues that machine learning for small-molecule drug discovery is limited by data quality rather than model architecture, and that the fix is to measure binding at huge scale in-house with DNA-encoded libraries (DELs) while engineering evaluations that expose memorization. His team now uses that physically grounded data as a fast reinforcement-learning environment where language-model agents run simulated medicinal-chemistry campaigns. ## Key Insights - **What a DEL is:** a pool of chemicals, each attached to a DNA barcode, is exposed to a protein stuck on a magnetic bead like a fish hook; binders are pulled out, rinsed, PCR-amplified and sequenced. The largest DEL made so far is 40 trillion molecules, versus low single-digit millions for one-compound-at-a-time libraries. Ian's view is that pictures and DNA sequencing are the only truly scalable readouts in life science, and sequencing is getting cheaper again. - **Controls against DEL artifacts:** a unique sequence tag collapses PCR duplicates, and each molecule carries 32 or 48 different barcodes so a protein that simply binds DNA shows up as an outlier. A DNA-binding transcription factor even recovers its known consensus motif, which doubles as a sanity check. Hits stay reproducible across new protein and library batches over many months. - **Different philosophy from classic DEL users:** others screen a few hard targets with one giant library; Leash screens hundreds of targets against each library to characterize the library itself. To date it has made about 2,000 protein constructs and run about 5,000 screens, each against at least 6.5 million molecules; on big weeks it runs about 100 protein constructs. - **Kaggle competition:** Leash released roughly 4 billion measured interactions (versus a little under 3 million in BindingDB at the time), generated by one person in a basement apartment. The library of about 130 million molecules had a shared triazine core. About 2,000 teams entered; results were fine for shared building blocks, modest without them, and no better than chance on a hidden, structurally different Leash library. Three of the top five were the noisy tutorial notebook. Plain SMILES strings beat fancier 3D and graph representations. They gave about a 5% chance that co-folding models would make the company obsolete. - **Strategic lesson:** with a fixed budget, characterizing a smaller library across many more proteins was worth more than a bigger library across three well-studied targets. - **Hermes model:** a deliberately simple model that joins ESM protein embeddings and ChemBERTa molecule embeddings through cross-attention, predicting a binary label. Splits were built by clustering building blocks so no cluster spans train and test; XGBoost degrades steadily as splits get harder while Hermes stays steady. Trained only on internal data, it was tested on about 13 million external examples across roughly 500 targets and matched Boltz on many sets, with a Boltz win on BRD4 that Ian attributes to the molecule's crystal structure being in its training data. - **The Clever Hans finding:** from 1,815 chemists in ChEMBL, a classifier could name the chemist from a molecule alone with 60% top-five accuracy. A 1,811-dimensional vector of creator probabilities, containing no chemistry, predicted activity about as well as chemical formulas. The signal reflects the sociology of what chemists choose to make; molecular weight sorting similarly rivals fancy models in public data because chemists keep adding groups to things that work. - **Mutagenesis against memorization:** current co-folding models still place a ligand where a deliberately broken pocket used to be. Leash mutates pocket residues, adds a known competitor, re-screens, and sees only the competitor-displaced series vanish while others return, giving real negatives. Attention maps showed Hermes fixating on short non-conserved stretches as "nicknames"; training on mutants made attention spread evenly. - **Agents as RL rollouts:** open-source language models (Qwen and GLM are named) were taught to describe molecules and the difference between two molecules in English. An agent gets 10 binders and 10 non-binders and a budget of 100 molecules, then makes roughly 100 to 200 lookup calls against the pooled data to find the best binder among 6.5 million. A weekend run produced over 10,000 simulated structure-activity campaigns, while one chemist might see a few dozen in a career. Counterfactual choices must exist in the data so agents do not learn chemist fingerprints. - **Pushback answered:** DEL chemistry limits (flat shapes, building-block availability, amide-bond lability) are real but newer DNA-compatible chemistries help. Leash went from library hit to good mouse PK/PD in six months for an inflammation compound, tracking cytokine levels. The company has starting material it considers selective for about 700 targets and is discussing partnerships and spinouts. Relative ranking from read counts works; converting reads to KD does not yet. - **Moat:** the hard part is a culture of tracking batch effects and cheating modes. One example: hits resembling lumacaftor, a drug that refolds misfolded proteins, flag a badly folded protein, so those screens are rerun. - **Wish by fiat:** massively parallel purification of small molecules, to validate DEL results in a clean orthogonal assay. ## Actionable Takeaways 1. Include a trivial baseline such as XGBoost or random forest, and split by clustered building blocks, to test whether a model memorizes. 2. Train on data you generated yourself; check whether a model can predict the data's author, instrument or batch. 3. Use many barcodes per molecule and DNA-binding controls to catch false positives in DEL screens. 4. Engineer point mutations in a binding pocket and re-screen to produce true negatives and test whether a model learns physics. 5. Inspect attention maps for models that fixate on non-functional regions, then add counterfactual training data. 6. Give a language-model agent a fixed experiment budget against a lookup of measured data to run many fast, grounded campaigns. ## Notable Quotes > "When you train models on the exhaust, you might be in trouble." — Ian Quigley > "We are extremely bitter lesson pill over here." — Ian Quigley --- *Related: `@content/youtube/latent-space/2026-11-06-mini-brains-beating-heart-organoids-and-the-ai-that-predicts`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*