# "From Wet Lab to RL Env: 10,000 Drug-Discovery Campaigns in a Weekend"
<!--
ref: @content/youtube/latent-space/from-wet-lab-to-rl-env-10-000-drug-discovery-campaigns-in-a-weekend
tags: [DNA-encoded libraries, small molecule drug discovery, data collection at scale, benchmark design, dataset bias, model evaluation, reasoning agents]
version: 2
updated_at: 2026-11-22T08:53:58.314Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=hQSBJVreLms)**

# From Wet Lab to RL Env: 10,000 Drug-Discovery Campaigns in a Weekend

*Synthesized from Ian Quigley in conversation with RJ Honaker and Brandon Anderson on Latent Space, 2026-10-14.*

Ian Quigley, co-founder and CEO of Leash Bio, explains how his company builds machine-learning models for small-molecule drug discovery on top of very large, carefully controlled experimental datasets.

## Core Thesis
Ian argues that the only scalable way to couple life science with machine learning is to turn the measurement into something sequencing can read, and that most public small-molecule data is too contaminated to train on. Leash therefore screens huge pooled DNA-encoded libraries against many proteins, designs its evaluations to resist memorization, and now wants to use that physically grounded data as a feedback loop for reasoning agents.

## Key Insights
- **Why DNA-encoded libraries (DELs).** Each small molecule carries a DNA barcode, so millions of compounds can sit in one tube. A protein on a magnetic bead pulls out binders like a fish hook, and sequencing the barcodes reads out the result. Libraries tested one tube at a time top out in the low millions; the largest DEL made is 40 trillion molecules.
- **Controlling for DNA artifacts.** Some proteins bind DNA by nature, producing false positives. Leash encodes one molecule with 32 or 48 different barcodes, so a barcode that behaves differently reveals DNA binding. Re-running experiments months later with fresh protein and library batches returns the same hits in roughly the same order.
- **Breadth over depth.** Classic DEL users screen one hard target with a huge library. Leash screens each library against hundreds of targets, which teaches it the library's quirks. The company reports about 5,000 screens, each across at least 6.5 million molecules.
- **Small molecules versus antibodies.** Small molecules fit in pills and enter cells, but carry toxicity risks such as liver problems and heart arrhythmias. Ian says protein-drug modeling has progressed much further than small-molecule modeling.
- **Kaggle competition.** Leash released roughly 4 billion measured interactions, against a public database of a little under 3 million. Of about 2,000 teams, winners did only modestly on shared building blocks, improved somewhat when only the core scaffold was shared, and no one beat chance on a fully new chemical library. Plain SMILES strings beat fancier molecular representations. Ian saw this as validation that the problem was hard.
- **Hermes model.** A deliberately simple model combining an ESM protein embedding and a ChemBERTa chemistry embedding through cross-attention. Evaluations clustered building blocks so that test and train never share similar ones; XGBoost degraded as splits got harder while Hermes stayed steady.
- **Chemist-identity leak.** A classifier trained on ChEMBL could name the chemist from the molecule alone, with 60% top-five accuracy over 1,815 chemists. A model using only that predicted-creator vector predicted activity about as well as one using chemical structure, which Ian reads as learning sociology rather than ground truth.
- **Mutant proteins as causal probes.** Mutating binding-site residues and re-screening shows which part of a molecule interacts with which residue. A model turned out to be keying on short non-conserved sequence stretches instead of the pocket, which prompted redesigned training sets.
- **Language reasoning on top.** Leash gives agents 10 binders and a budget of 100 and asks them to find the best binders, writing hypotheses in plain English. Ian sees natural language as a regularizer and the screening loop as a fast, scalable, physically grounded reinforcement-learning environment.
- **Bottleneck wishes.** Sequencing cost keeps falling; Ian also wants faster purification of small molecules.

## Actionable Takeaways
1. Make your measurement readable by a scalable technology such as sequencing or imaging before trying to model it.
2. Build controls into assays, such as multiple barcodes per molecule, so artifacts become visible.
3. Design evaluation splits that block memorization, and always run XGBoost or random-forest baselines.
4. Test whether your model can predict who or what produced a data point; if it can, it may be learning that.
5. Prefer data collected internally under one protocol over pooled public data from many groups.
6. Use controlled perturbations such as protein mutants to obtain causal labels.

## Notable Quotes
> "We really think that it's learning a lot of sociology. It's not learning ground truth." — Ian Quigley

> "there's really only really only one scalable technology in town, and that technology is taking pictures." — Ian Quigley

> "Sequencing DNA is another way of taking pictures." — Ian Quigley

---

*Related: `@content/youtube/every-inc/why-opus-4-8-pulled-me-back-to-claude` · `@content/youtube/all-about-ai/openai-vs-claude-polymarket-ai-prediciton-battle-week-2` · `@content/youtube/nate-herk/i-had-opus-5-5-build-me-the-same-app-at-every-effort-level` · `@content/youtube/yc-root-access/intelligence-is-teaching-ai-non-verifiable-domains`*

---

*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).*