Verifiable Environments for AI in Biology — Kenny Workman, LatchBio
AI Engineer · 17 min · 213 sentences · from YouTube's caption track
Each timecode opens YouTube at the start of that sentence. Line anchors (#s42) are the cue ids in the WebVTT, and every line carries its start and end seconds. All transcripts has every talk, and the whole corpus as one file.
- 00:12Thank you to the organizers for having me.
- 00:14I'm one of the co-founders and CTO at Latch.
- 00:17We are basically a vertical AI lab for benchmark and agent engineering.
- 00:23I'm hoping to motivate and explain exactly what that means today.
- 00:28Starting directly with motivation for agents in in bio generally.
- 00:33Um Many people in my domain are familiar with this curve, but this is basically the log linear curve of data generated over the years in in biology.
- 00:42And the reason I'm bringing it up it will become directly important to the kinds of things we want to do in engineering.
- 00:46Um This curve is driven by a very small handful of experimental classes.
- 00:52One is called single cell biology.
- 00:54This is where we split up cells, break them apart, and measure their RNA.
- 00:58The second is spatial biology, which will become the focus of the next segment of the talk.
- 01:02Same thing as single cell, but you get spatial resolution.
- 01:04You can look at how RNA is spread out geometrically over a tissue.
- 01:08And the third thing is proteomics.
- 01:10It's a broad category of different techniques.
- 01:11They measure proteins.
- 01:13Um Less less abundant in ordering.
- 01:15Like less less data volume generated relative to the other two, but still important.
- 01:21Um you guys are technical and I always think it's good to ground things somewhat quantitatively, but um these are really big numbers and the experimental data from these techniques is growing quite rapidly.
- 01:33Um Almost greater than any other domain of science other than particle collider um machines.
- 01:39Single cell experiments can yield two to six terabytes per run.
- 01:43Spatial runs can yield seven terabytes of run.
- 01:45Proteomics a few hundred gigs.
- 01:48Um and the only reason I bring this up is to say hey like the output of a single experiment can exceed what a scientist can safely store on a consumer laptop in many cases.
- 01:58And the laws driving how the the molecular capture works point to rapid gains in this throughput over the coming years.
- 02:05Um one thing I like to do uh is when I read a new paper is decompose it and align it to this framework because it will be important in a second.
- 02:13Uh modern biology research is centered around those experiments.
- 02:17You basically choose a model biological model, not the kind of models you guys are used to.
- 02:21You generate data from that model, you process the data, you creatively think about the results in the context of prior literature, and you make a claim.
- 02:30Almost all modern experiments papers that you see published follow this loose structure with a lot of nuance.
- 02:36Um all all all that to say is they be they become something of a a panning experiment.
- 02:40You're looking for a signal using measurement in a sea of noise.
- 02:44Um and so this is building up to the claim that like code and sweet data analysis scaffold to genetic biology.
- 02:50It becomes this executable substrate that we can use to train things.
- 02:54It introduces a natural way to benchmark and climb capability.
- 02:58Um I've written about this a lot at this blog.
- 03:00Uh link here.
- 03:02There's a lot more depth to this claim, so I wouldn't take it at face value, but it's something to look into.
- 03:06All you can take away from this is like just like code provided a verifiable substrate for complex software tasks that are not inherently verifiable, uh data analysis might do the same thing in bio.
- 03:17So how do we get started?
- 03:18We were originally a data tool vendor for biotech and pharma.
- 03:24Um where we started 5 years ago out of Berkeley on 25.
- 03:28We started when I was 20.
- 03:29We stored, transformed, filed data from large experiments as a service.
- 03:33Uh we'll try to build products, explored lots of things.
- 03:36Over the last 2 years, um we started moving away from biotech and pharma and more towards the people who build those kits I was talking about.
- 03:45Package the software into kind of white-labeled things that they s- provided to the scientists themselves.
- 03:51Um Help them analyze their data.
- 03:53And then over time, there became this strong interaction uh with the agents uh using the infrastructure components as tools and the loop context you guys are familiar with.
- 04:03Except in our domain, the tools can take days or weeks.
- 04:05I'm serious.
- 04:06Um What started to happen around last summer is agent prototypes uh started to work.
- 04:13So, we took uh coding models uh to our knowledge at the time they were not seriously post-trained on any tasks in biology to this point.
- 04:21And we started to build products that look a lot like all the other agent products.
- 04:25They have a chat interface for you to ask questions to and they build dashboards and dispatch operations to external compute.
- 04:32Um the kinds of things these that this this agent would do is take large file data from the types of experiments I was talking about earlier.
- 04:39Say like uh tissue bisect biopsy from cancer with a spatial measurement.
- 04:45And then the the scientist is just iterating with it to get at some question they have.
- 04:51You know, maybe between a malignant and non-malignant part of the tissue, what kind of genes are being overexpressed?
- 04:58Um but what was fascinating is even though it was pretty bad, it showed the early signs of working.
- 05:04And uh It became clear to us at this time that agentic biology might look a lot like code.
- 05:08Actually lifted this slide from Anthropic's um Claude science announcement yesterday, but we uh just like, you know, you had this like kind of faulty silly engineer that became better and then as it improved in capability,
- 05:21you could dispatch work to teams of them that work together.
- 05:24The same pattern will probably emerge in science.
- 05:27And products and harnesses will emerge to orchestrate uh work and abstract it so that teams of teams of agentic scientists can take on capability.
- 05:36But we needed focused post-training.
- 05:38Uh cuz at the time and still now, um frontier models cannot be trusted to do real work.
- 05:42They're missing some capability between knowing biology and writing code.
- 05:45And this is exactly extracting scientific insight from real-world data.
- 05:49Unlike code, it which is one constituent component of this work, uh it also involves data analysis and domain reasoning, scientific reasoning.
- 05:57We thought spatial biology is a good place to start, so we started building agents.
- 06:00This is a technical green field.
- 06:01We had many existing customers.
- 06:03Uh it's also just a beautiful example of measurement drives progress.
- 06:07You can actually see biological phenomena play out.
- 06:10Um you can look at a developing mouse embryo.
- 06:13Um And we had to get in the guts of how the data was captured and analyzed to build good agents.
- 06:19Um I'm not going to get into this in detail, but I put up this tree of uh different capture technologies in spatial biology to highlight the diversity of things that exist.
- 06:28They really span advances in chemistry, optics, semiconductors, physics.
- 06:34Each branch uh is induced from decades of cumulative work to figure out how to measure a a type of molecule.
- 06:41As a specific example, one technique we work with is called sequencing base spatial, and it's where you take a slide of little beads with clumps of DNA attached to them that fuse to the RNA inside of a tissue section, so
- 06:55biologists can like lay like a chunk of a tumor over it, and then it'll capture all the RNA in it, and then let you know with precise uh geometric resolution where the RNA was.
- 07:04It's cool stuff.
- 07:05The data, when it comes out, ends up looking like a big matrix of numbers in a large high-content image.
- 07:11Um you have to take it through a sequence of steps uh to get to the end thing that you want.
- 07:16These steps are highly variable, especially across technology types, tissue, disease contexts.
- 07:22Um there isn't a lot of consensus in the field uh for each step, so we really needed a measuring stick to understand if the agents we're building were doing scientific work.
- 07:30Uh the existing benchmarks we saw at the time did not measure the tasks relevant to this category of work.
- 07:37Um they mostly measured things in a Q&A settings, like what what do in a kind of academic way, or they weren't sufficiently focused on the experiment type.
- 07:43This is an actual screenshot of Anthropic's model card at the time that we built this benchmark.
- 07:49So, we built one.
- 07:51It's called spatial bench.
- 07:52Um last December, there's 146 problems.
- 07:55They spanned the different kits I talked about or attempted to.
- 07:59And then they spanned all those different tasks that I talked about as well.
- 08:03So, the thing that we found at this time, and still to an extent is true today, is the the grading of these end outcomes in biology uh is too sparse because the models are pretty bad.
- 08:12So, you have to break things up into manageable chunks to get some semblance of verifiability.
- 08:19And that's kind of induced by um sticking to these little components of like that DAG, that analysis DAG.
- 08:25Um getting data to a state where it would exist right before a scientist or theoretician could do work on it, and then um figuring out what the ground truth would be in that context.
- 08:34So, a single evaluation kind of looks like one or more data nodes, again like a matrix of numbers, high content image, something like this.
- 08:41A task prompt carefully describing some scientific goal, configuration for a grader, and then a deterministic grader, so a Python function.
- 08:48If you guys notice, this looks a lot like SweetBench.
- 08:50We borrowed a lot of the early ideas and tried to extend them as much as possible.
- 08:53Evaluation ends up looking like this.
- 08:56It's a lot of JSON.
- 08:58And we ended up identifying properties of like what we thought good biological tests were.
- 09:02Um little little different from code, and we built on these over time, but they still hold up.
- 09:06They got to be verifiable.
- 09:08You have to be able to check the success condition with a function.
- 09:11Um nothing's changed there.
- 09:12We'll get into some rubric stuff later, but still holds.
- 09:15Durability is particularly important.
- 09:17Science does not admit clear ground truth.
- 09:19Um if you are lazy with your ground truth construction of the task, a possible valid analysis path can come with the correct answer, um and you'll fail it uh incorrectly.
- 09:28So, you got to make sure you're reasoning about something that's somehow invariant across analysis paths.
- 09:33And then obviously, we're we're working with the genetics stuff here.
- 09:35You don't want the model to answer the question in one turn.
- 09:38You You want the conclusion to require interaction with the data, not some memorized knowledge.
- 09:42In practice, that's pretty difficult.
- 09:44We learned a lot about what models could do and which ones to use in specific context for this category of work for our customers, and we thought, "Hey, this is pretty cool.
- 09:52Let's Let's start to improve and learn more about this benchmarking problem."
- 09:56So, we jumped to human verification long horizon extension.
- 09:59I'm going to quickly breeze through these.
- 10:00So, human verification is incredibly important in science.
- 10:03Science is not in the clear ground truth.
- 10:05Uh after watching trajectory data from multiple rounds of model releases, circa like January to March of this year, um we really realized a lot of our assumptions were pretty bad.
- 10:16Um and in the absence of like a canonical answer, uh having a bunch of scientists grade each other's work ended up being like the best proxy.
- 10:25So, I'm going to look at one one issue to highlight exactly what I'm talking about.
- 10:29Um this problem ambiguity.
- 10:31A task might ask an agent to split a gene list into two groups of activity, microglial activation, oligodendrocyte inflammation, just like biological categories of things.
- 10:41Score the cells, find neighboring oligodendrocytes around some region using an appropriate radius, compute a Spearman correlation at two time points.
- 10:50Uh as you can probably clearly deduce, the original problem statement creates a host of open choices.
- 10:55How do you split the gene list?
- 10:57How do you count what inflammatory genes are?
- 10:59It's like somewhat ambiguous word.
- 11:01How do you normalize the data?
- 11:02Um what what what the hell is an appropriate radius?
- 11:05How do you pull the counts within the selected radius?
- 11:07Um These are all problems that pointed to tasks that were bad, that only became revealed with human verification.
- 11:16Another issue is just like a lot of people in bioinformatics canonically have used like numerical thresholds to QC stuff.
- 11:22Just like completely arbitrary stuff.
- 11:24Um cool thing about evaluation like coding is it forces you to reason about things more rigorously than you would when you're doing the thing yourself.
- 11:31If you have to teach a machine to do it, uh you you might be picking out some structure that's more important or more durable than what you were doing if if you're just doing it on your own.
- 11:38So, we just found a lot of these numerical thresholds to be like that.
- 11:42Uh I'm not going to get into this.
- 11:44Um after two rounds of human attempts, we produce a verified subset of the benchmark.
- 11:48Uh we we publish it.
- 11:49That was fun.
- 11:51Uh and then we also tried to increase the time horizon.
- 11:53So, I want to be clear the frontier of knowledge is still not quite there with biology.
- 11:59Like the labs are starting to catch up with the post training, but we kind of want to stay ahead.
- 12:04Um so, we built a benchmark that we thought would recapitulate like really difficult true work.
- 12:11Um so, we built a space much longer.
- 12:13Um real biological tasks are messy.
- 12:15They use lots of different experiment types.
- 12:18They are use the whole workflow, don't use little chunks.
- 12:21They are uh tasks every step is interpreted against the experimental design or contextualized with some prior literature and the original goal of what you're doing in the first place.
- 12:30Um so, we built a bank of these tasks that are really trying to simulate the result sections of entire papers or the kinds of decisions you make in practice in industry to make a go no go decision on a drug program.
- 12:41Um these got these tasks took like a week for a group of three people to make each.
- 12:46Taught us a bunch of stuff.
- 12:47Um example is can an agent reconstruct a like metastatic niche in a tumor?
- 12:54Um if you have like a tumor biopsy and a bunch of metastatic biopsies from like where it metastasized and spread across the body, can it use like both the genetics and mRNA of the metastatic lesions and the tumor to like find the part of the tumor that initially seeded the metastatic growth and let it spread?
- 13:09From that you can figure out like, "Hey, what parts of the tumor are more like genetically fit?
- 13:12Which ones actually cause problems?"
- 13:14And construct targeted medicines to nip them in the bud.
- 13:18Like for example, this is one of the benchmark uh evals in the long horizon set.
- 13:22None of the models get this right.
- 13:23Um but they're getting there.
- 13:24As As imagine with these long horizon extensions, uh verifiable reward at the end are like somewhat uninformative.
- 13:31So, we we're starting to play with rubrics, uh constructing these choke points.
- 13:35If you can imagine like the set of analysis paths is inducing some sort of tree.
- 13:38Um there are nodes that are invariant with respect to yeah, different paths, and you can use these to build rubrics um using knowledge of how the task work.
- 13:49Uh we we we're playing with these.
- 13:51We noticed that um they're associated with the verifiable outcomes, uh which is exciting, but they're loosely correlated numerically, um making us not fully have confidence in them for things like RL or benchmarking.
- 14:06Um a lot of lot more work to do here still.
- 14:09Uh we we still strongly believe the verifiability structure is what's going to carry in- intelligence uh a bit a bit longer.
- 14:19And so, these days uh excitingly, we've been expanding um from this initial spatial focus.
- 14:25Uh really cool to see the frontier labs and community adopt these benchmarks organically.
- 14:30Um we had this interesting position by like, you know, building and shipping products uh early and kind of playing with the coding agents.
- 14:36So, I think we just had uh early advantage, but the benchmarks are now in like the recent Anthropic model cards, and uh this is a picture from yesterday.
- 14:45Eric just showing the benchmarks um at their cloud science launch.
- 14:49They don't tell us this happens.
- 14:50They just like do it, um and you like read about it, and it's cool.
- 14:54Uh we published a bunch more papers um beyond spatial to other omics classes, so other experiment types, single-cell, epigenomics, so RNA, and then the bit above the the DNA,
- 15:07and then long horizon extensions of these things.
- 15:09Um and then we're starting to index and measure the very gnarly complex landscape that is drug discovery.
- 15:16We just put out our first benchmark on um preclinical pharmacology for small molecules, and then systematically biting off pieces of the program landscape from discovery to development to translation,
- 15:27strati- stratifying it by um therapeutic types and experiment types.
- 15:33We just acquired a uh company building in biosecurity to form a biosecurity team.
- 15:39And then we just put out a collaboration with American Wetware and a surveillance company called Aquid.
- 15:44Um some new work that was first released this morning.
- 15:48I don't know if you guys have been hearing uh fuzzles kind of suck in biology right now.
- 15:53If you ask Fable basic questions about like mitochondria, it'll won't answer.
- 15:58It's kind of stupid.
- 15:59So, I mean this is just like an evaluation problem.
- 16:02There's a lot There's a lot more nuance to this, but I just use that cuz people tend to recognize it.
- 16:07Uh where we build routine tasks that simulate the kinds of things a scientist would ask for, and then more sinister red team tasks, which are supposed to look innocuous but have some structure
- 16:18that is bad, like, "Hey, I want to clone a gene into a bacteria, and I'm telling you it's GFP."
- 16:23It's like a glowing protein, but in reality it's like a toxin um or it could be used to bootstrap a virus.
- 16:30We found that the routine tasks like drastic get drastic used drastically more frequently than the red team tasks, which is uh not great.
- 16:39Um we're aggregating a lot of these results, uh essential resource along with all the preprints and a lot of evals and trajectories for you guys to check out.
- 16:49Um and I actually did okay on time.
- 16:51Let's go.
- 16:52Uh and that's it.
- 16:53So, we we are kind of like I don't even I hate the word lab, but we're kind of like a research lab for bio, and we do research and deployment of these agents.
- 17:02So, we we still have like a lot of customers.
- 17:04Um we work with the kit manufacturers, and we use that to inform what kinds of things we make benchmarks for.
- 17:10We try to get the labs to compete um on the benchmarks cuz then it makes the models better at our products.
- 17:15And it's a It's been a pretty rewarding flywheel.
- 17:18A lot of growth, and we're hiring aggressively across engineering and science.
- 17:21So, if you're interested in this work, please find me afterwards.
- 17:23Thank you.
- 17:39[music]