🔬 Lab-in-the-Loop at Compute Speed — Ian Quigley, Leash Bio
A few years ago I stumbled upon Leash Bio’s Substack, and was hooked. Be it their Kaggle competition that showed that no, we really haven’t solved protein-ligand binding, or their crazy discovery that knowing a molecule’s author is perhaps all you need...
Notes
-
-
-
-
-
-
What Is a Small Molecule Drug? at 21:04
-
-
-
-
-
-
-
-
-
-
How Many Proteins Has Leash Bio Screened? at 1:37:39
-
Why Does Copying Leash Bio Still Take Time? at 1:43:12
-
Related notes
Full transcript
The episode notes above make this conversation easy to skim.
0:00
My co-founder Andrew Blevins and I were at Recursion looking at a small molecule on a screen. And then a medicinal chemist walked by us, this guy named Mike Cucarici, and Mike was like, hey, looks like a Stuart Treiber molecule. And then we were like, oh no, you can tell just by walking by? Would you like to have made this? That's horrifying.
0:17
And if the models can identify the chemist by looking at the molecule alone, then maybe the models can infer chemist intent, which means maybe they don't learn anything at all. Well, they did learn something. Yeah, they don't learn physics. We downloaded all chemicals from all chemists at Kemble, which is the biggest repository of these things and their activities.
0:38
Every chemist who published more than, I think it was 30 papers and 600 molecules. So you get all the molecules and all the stuff. It's 1,815 chemists. And then we trained a classifier to predict a chemist from looking at the molecule alone. And we got a top five accuracy of 60%. We chose to represent the molecules not with any chemical structures or formulas at all, but just a vector of the probability of creator.
1:01
So now it's this 1,800 element, you know, vector, and it's got some probability of who made it. And you can use that representation and then train a model to predict activity from Kimball. And it does as well as if you use chemical formulas. We really think that it's learning a lot of sociology. It's not learning ground truth. When you train models on the exhaust, you might be in trouble.
1:23
Welcome to Latent Space AI for Science Podcast. I'm RJ Haneke, CTO of Mirroromics, and I'm joined by my co-host, Brandon Anderson. He develops RNA therapeutics at Atomic AI. Super excited to have Ian Quigley in the studio with us today. This episode is going to be a treat. Very excited. Ian is the co-founder and CEO of LeashBio.com. which in my personal opinion is one of my favorite young tech bios in the last few years.
1:49
At a high level, Leash is combining epistemic rigor, data collection at a crazy scale, and has a strong commitment to open science and has an incredible series of blog posts, a lot of which we'll cover today. which I think really tells you how to do machine learning in a very hard domain in kind of the right way. I think I'll have some fun anecdotes.
2:12
Hopefully it can trickle in through the episode. But yeah, to start with, thanks for being here. Is there anything about us that you want to tell us before we get started? No, thanks. That was very kind. Yeah, we founded Leash historically after being confronted by a particular problem of trying to predict small molecules binding to protein targets and then finding that the data that was out there was kind of wanting.
2:37
And so we went out and built this thing at a reasonable scale to kind of try to go after it. Yeah. So, reasonable scale. You're founded upon the idea of doing something called a DNA-encoded library. Every person I've ever met who's touched a Dell has come out severely traumatized.
2:53
I don't know any person who has ever said Dells. That's a great idea. Let's do hundreds or thousands of these things. So why? What? And also, please explain what a Dell is before you get started. Yes. So when you're going after a small molecule drug discovery, the ultimate goal is to get a small molecule or a dinky chemical to bind to the protein that you think is causing the problem in a disease and then go from there.
3:16
And some of these proteins are pretty easy to find chemical material that sticks to you and some are harder. One way to go about this is to have a lot of different chemicals in different tubes, and you then dunk the protein in one tube at a time, and it kind of takes forever. And then a different solution that was proposed some years ago now was maybe if you had a lot of chemicals in the tube at once, and then one tube, and then you've got a small DNA barcode that's physically attached to each small molecule.
3:42
You dunk your protein in the tube, kind of like a fishhook. You pull out different ones that bind, and then you sequence the DNA of those. And so the idea is that you could then pool this large number of molecules, and then you wouldn't have the logistical overhead of trying to go across large numbers of tubes or individual wells and plates.
3:59
And so what's happened downstream of that is that you've got chemical libraries that if you do one tube at a time, the biggest ones in the world are in the low single digit millions. With Dells, the largest one that has been produced is 40 trillion molecules. There's some problems when they get that big, but that is the kind of scale you could try to attempt with this technology.
4:17
So the way you create these things is you use this combinatorial chemistry where you have these building blocks, and then you build the library piece by piece, but you build it combinatorially. That is correct. Yes, yes. And so to unpack that a little bit, if you've got some number of millions of molecules, what this really means is it is a combinatorial mixture of building blocks, and the number of building blocks is going to be a lot smaller than the final product of all of those.
4:46
So you might be squared or cubed, right, in some different examples. So it's not uncommon for there to be maybe thousands or tens of thousands of building blocks that would then generate a chemical library of many millions of molecules. And this is restrictive in some ways because you're stuck with a smaller number of building blocks. But one thing that's really nice about it for machine learning is that you've got all these different combinations of things that look very similar to each other except for maybe one or two changes.
5:11
I'm sure going to get into this later, but that does really enable comparisons so that you can identify, oh, it's this part of the small molecule that's driving the binding because I see a lot of variations in this other part that's not affecting the behavior too much. And that turns out to be incredibly useful. The other aspect of this is how you do the readout, which is the DNA sequencing.
5:30
This has been a big theme on the podcast. We've had many guests who have had some variation of we do something crazy and then we convert the reading into a DNA sequencing readout. So how does this work and why is this so useful? Right. Yeah, I would definitely say that it is a party line at least that if you're going to go off and try to do life science stuff and couple it with machine learning approaches, there's really only really only one scalable technology in town.
5:59
And that technology is taking pictures digitally. Sequencing DNA is another way of taking pictures, and so it's basically pictures and DNA sequencing. If you can shovel your challenging problem into that using one of those approaches as a readout, like recursion takes actual pictures of cells and a bunch of other groups do that, like does that.
6:19
Then almost everyone else with the spatialomics stuff or other approaches, they'll do some mixture of pictures and sequencing, which is also pictures. Yeah, there'll be some proteomics people out there who are going to disagree with me, but I'd still argue the scale is not there yet. Hot take number one.
6:36
Yeah, and one of the really cool things about sequencing is that it is dirt cheap. You can, you know, extremely scalable, very well-established technique. We're very good at it. It is very, very cheap. It is getting cheaper all the time. There was a little while where it kind of plateaued in terms of the price dropping, but now a bunch of new companies have started up and they're driving it down again.
6:58
And so like we very much look at like the trajectory of sequencing cost dropping and it has implications for how we think about data collection in the scale that we're doing. Yeah, it's really nice. That's cool. So you have these components that you are mixing together to form different, this combinatorial mixture of molecules and each of those components is barcoded.
7:20
Is that right? That's correct. And so they kind of bind together because they're, These proteins or these amino acid chains that will click onto the ends of each other and fold together and then they either bind or don't bind to your target. So first of all, how do you know that they bound to your target? Yeah. Yeah. So first of all, it is very much like this sort of fishhook analogy where if you were to– so right now the target is some protein or a protein complex that you're going to try to find chemical material to bind to.
7:53
It's attached to a solid support. And so some folks do it a variety of different ways, but the way that we usually do it is it's attached to a magnetic bead. And so you dunk this bead in this complex mixture of all these small molecules. And in a very easy case, let's pretend that the protein has a very distinctively shaped hole in it. You dunk it in there, and then the chemicals in that pool, some tiny fraction of them, have the appropriate shape in electronics that they're going to bind into this very distinctively shaped hole.
8:22
So then you pull this protein back out, and you only pull out the things that are in that hole. You rinse it a couple times in some way, and then you sequence the DNA of those things that come out that are in that hole. Okay, and then when you say sequence of DNA, you're basically amplifying the barcodes that are in there. That is correct.
8:41
So amplify meaning PCR or something like that. You do a little bit of PCR and then you toss it into the sequencer. And then one thing that you're probably thinking right now is, okay, well, we need to compare it to something to get a good measure of relative enrichment. And so you do have to engineer a bunch of good negative controls to say, oh, well, if I just stuck the bead in there by itself.
9:00
Okay. Or are there pan-protein stickiness signals that are going to pull out certain chemicals from the library? And so you've got to think pretty hard about all those things and make a reasonable comparison to the thing you're actually trying to get binders for. For the things that bind, you sort of have these combinations of barcodes that all sort of...
9:20
Okay, if this... This one bound, then I have like these, how many barcodes are we talking about for one protein? Great question. One small molecule. For one small molecule. So there's a couple things. One thing, if you want to get into the kind of PCR-based weeds, and so for the audience here, if you're making lots and lots of copies of DNA, there's little subtle biases in the DNA that might make them amplify faster than others.
9:44
And so you want to control for that. So you put in a little bit of unique sequence in there. So when you have lots of copies, you can then collapse it so that they all came from this one that you know very much. It's very much just from this one event. And then there's a bunch of other things about barcodes that we worry about at Leash, which is that when you are trying to stick proteins in there, some of those proteins are going to stick to DNA because that's their job.
10:07
Right? There's lots of proteins whose job it is to interact with the genome and cells and turn things on or turn things off or affect them in some other way. And then you've got this assay where you've got a ton of DNA and you're throwing them in there. Yeah. And so that can be risky. And that can cause false positives, right? Very much so.
10:25
A lot of people complain about this. This is kind of to the earlier comment about folks having Dell nightmares. This is one of those problems. There's a variety of ways to address it. One thing that we do is we have large numbers of barcodes that each encode one particular type of small molecule. So here's one small molecule. That's great.
10:44
Now we have 32 or 48 different barcodes all encoding this one small molecule. Oh, I see. Right? And so then, you know, so like, you know, there'll be a single example. One single molecule has got this barcode and then its neighbor, which is the same chemical formula, will have a different barcode and then so on. So if there's a differential there, then you know that you're binding to the DNA instead of the.
11:08
That's right. That's right. And so for the DNA protein aficionados in the audience, one really nice thing about this is that because there's DNA in there, you can see if there's a single DNA encoding barcode that binds way better than everything else, even though it's all the same small molecule. And then you can look at the sequence that you have enriched there, and you can recover the described DNA binding preferences of those proteins.
11:35
It's like, oh, here's a transcription factor. It binds this series of nucleotides that is very well described. It's like six or eight of them. And then you recover the DNA sequences back from this experiment. It's like, oh, great, we found the consensus binding motif. So I think our protein probably got made right. You have this... barcode that you've identified and you've kind of gotten rid of the false positives using the technique that you just said and and so now i know that for a given combination so for a given small molecule that i'm in i bind to my target and um and it's but don't you have all these DNA tags, barcode tags, like hanging off your molecule? You do.
12:19
Doesn't that impact the— Yeah, so they are hefty. They are hefty. This is another complaint that people bring up about Dells. There's a couple different answers here. I would say, but like the very like 10,000-foot philosophical answer is that there are two different or there are multiple different reasons why you might want to run one of these experiments.
12:37
One reason is that you're trying to get a small molecule material that behaves a certain way that you're going to progress into drug programs. And so if that is your main goal, then you want to make sure that you're getting some kind of fidelity between having the DNA barcode on there and then having it off there. And that's true. And when we try to pursue interesting chemical material, at least like you do have to go through the work of.
12:57
manufacturing the chemical off DNA. You've got to run them in these functional assays. There's a certain level of attrition for things that are easy in our hands. About 90% of them work. For things that are hard, it's about 50. So there's some loss. Other people have different experiences. But I would also say that if you're thinking about doing this for machine learning training purposes, all these chemicals with their DNA barcodes are in the tube.
13:17
You ran the experiment. Some of them bound and some of them didn't. And that is real signal that you are physically measuring from the world. And so then you just condition your models on the existence of this barcode and you just keep moving on with your model training. And so in our hands, when we rerun experiments, so make fresh protein batches, make a new batch of the chemical library over many, many months of time, we get back the same hits in the same order for the most part.
13:40
And so it's extremely reproducible and robust. And so in terms of like ground-true signal, we feel quite good about it. Okay. You could be blocking the pocket or something with your DNA so then you get a false negative there. But you don't because you know that the DNA is there. It did not bind. The way that you're thinking about it is like, oh, I'm thinking about how the molecule will behave missing the DNA.
14:00
But we know it's there and we don't pretend that it's not. Oh, I see. So does your hit include the DNA then? Yeah, like when we train models, we very much put in a placeholder that marks like the position of the DNA. If you're going to synthesize this for a drug, will you leave the... No, like I said, that's where you get those attrition rates, right? Then you've got to make it, and sometimes they behave differently.
14:23
Not always, but sometimes. Got it, got it, got it. Sorry. No, no, no. Just needed to understand that. No, actually, those are really good questions. Those are really good. Yeah, yeah. There are lots of objections, and these are many of the reasons why folks aren't trying to do the thing that we're trying to do. Yeah, I was going to say, going back to my original statement, I, again, have never met someone who has worked on Dells and said, we should do more of these.
14:46
Yeah. So, I mean, I think, I mean, hopefully we will get to, I think, why I'm actually excited that this route seems to be working. You know, hopefully the audience will agree with me before this is over. In fact, actually, maybe even a personal anecdote. We have a mutual friend who is, I think, an angel investor in Leash. And when he told me he was an angel investor in a Dell company, I jokingly said, okay, well, that's money you'll never see again.
15:14
Yeah. I'm like here in front of our entire audience to say I was wrong. I wish I had listened. I'm curious about, first of all, why are Dells so hard? I think we just covered a lot of these. Like what in the historical community of people doing Dells was making it so traumatic as an experience? And then why did you think you could overcome that? One thing I do want to say is that when Dells were invented, it was definitely at a time when sequencing was kind of more expensive.
15:50
And it really felt like doing sequencing experiments was kind of like a big logistical and financial swing. And then when you built the technology at the time and then pointed it at the problems that it was pointed at, it was very much, oh, we want to find new chemical material by new targets that are very challenging. And so that brings up a couple kind of tactical issues.
16:13
One of them is that classically folks don't screen large numbers of protein targets. They're usually interested in finding chemical matter for something that's like really hard and they don't. have maybe tried a bunch of other techniques and they haven't worked out. So, okay, let's try Dell screen because we don't have anything. Then they'll go off and make the protein that they're going to try to screen, and they'll put a lot of work into it because it feels like a lift to do a Dell screen.
16:37
So maybe they might spend two to six months growing big batches of the protein that they care about, doing a bunch of purifications. Maybe they're going to run some functional assays to convince themselves that, oh, it's really got to be this good for us to go off and run this screen. And then when they run the screen, they're going to try to maximize their chances of getting pretty good chemical material.
16:57
And so then the incentive drives into a place where we want a big Dell. Like we want a lot of diversity. And so if you go looking at folks who are offering CRO services or internal Dell groups, a lot of times they'll push into these very large Dells in hopes. And that's their motivation. And it makes a lot of sense. What we have done that's very, very different is we screen tons and tons and tons of proteins.
17:19
And we are less driven by trying to find individual binders for a particular protein target that might be of high interest for a program. We just want to get tons and tons of active chemical material across large numbers of proteins. And so there we can identify how our Dells behave very, very well because every one of our chemical libraries gets screened against many hundreds of targets.
17:42
So you're characterizing the chemical library better. We know it very, very well. And so we start to encounter lots of these motifs that are quirks of the chemistry that we designed or maybe the manufacturing process. Like, oh, well, even, I mean, a great example is we have one chemical library that we've had made a couple times. And even though it's the same chemical library, it does behave differently.
18:02
And we did not know that until we screened hundreds of proteins against it. And then you have to stare at those results and say, oh, well, now we're seeing these motifs show up a little bit more. And then as you characterize the library more and more, it really helps you evaluate and troubleshoot even your protein production process. And so the one reason that we felt that this is pretty tractable overall is that– I and a couple of the people at the company come from real like genomics methods development backgrounds as compared to chemistry backgrounds.
18:30
And so we knew what it might take to tweak experimental protocols to really get good signal out of these funky assays. And I would say it was that plus many years at Recursion. That's where I was last with my co-founder, this guy named Andrew Blevins, and a number of other people on our team. And we all made, you know, honestly like a lot of mistakes in high-dimensional biology bumping around in the dark figuring out what different modes, failure modes there might have been that would allow models to cheat on the high dimensional imaging data that recursion produces.
19:00
We had this real eye for thinking about, well, there's these sources of noise this way, we're going to chase those down and can you predict the instrument that this was run on and if you can, that's really bad. We incorporated all that thinking into going after this particular assay and we had a feeling that folks hadn't really stared at it in that amount of detail before.
19:20
Yeah, this goes back to the Ron Alpha noetic episode where I found it. Recurring mafia. Yeah, recurring mafia. I found there's some real spiritual parallels between both of your companies. This like real epistemic rigor, checking very carefully everything you're doing, doing things in different ways and sort of like semi-overlapping ways.
19:42
And I'm just curious, we asked Ron this. Yeah, very data-focused at scale. And automation. Yeah, and I'm curious, was there something at Recursion, was this just core to Recursion's culture that is sort of... Yes, especially in the early years. I would say that there are four that I... I think there's four ex-Recursion mafia companies, and they all kind of rhyme.
20:10
So there's us, there's Noetic with Ron Althaud, there's Invata with Vishwa Kulluru and August Allen and Hannah Gordon and all these great people, Dave Healy. And then there's also Known Medicine that was run by Katie Rosselli that got picked up by Pathos a couple of years ago. And so all these companies are basically looking at different interesting biology problems with extremely noisy measurements.
20:28
And then they pulled in people from Recursion to figure out, like, oh, we're pretty good at noisy measurements. Let's try to see if we can get a lot of this particular corner. You know, and so for us, it's a small macrochemistry problem. For InVEDA, it's mixtures of natural products. They do do a lot of, like, you know, kind of mass spec kind of stuff.
20:47
And then there's RON, and then there's Kitty Riz's group. So, yeah, we're all very similar. So, let's pause for just a second here. What do you guys actually do?
20:59
That's great. Sorry, I was so excited about this, I just jumped in. Yeah, we are a machine learning small molecule company. And so what that means is we go off and we collect massive numbers of small molecules binding to protein targets. And we use that to drive advancements and machine learning understanding of this kind of stuff. And we also push, you know, small molecule material into partners and move it forward towards, you know, towards patients.
21:27
Just for the audience that's not familiar, what is a small molecule? Why do we care? How is it different than other therapeutic head meets? This is great. This is great. So when you're trying to drug something, I talked a little bit earlier about how you've got a protein of interest in your body and you're going to try to interact, affect its behavior in some way.
21:46
There are a couple different things that are currently on the market that people use. One thing that's common is antibodies, which are made by cells. They're large molecules. And by large, they're big enough that they have a really hard time getting inside cells. They also have a really hard time being in a pill. So if you have like antibody treatment or one of these protein treatments like GLP-1 treatments, you're going to have to have kind of an ejection.
22:13
It can affect certain proteins that are easy for them to get to. But there's other ones inside the cell that drive a lot of disease that are quite challenging for those. It is kind of more appealing in a lot of ways to instead have this big thing that's a protein to have a little tiny chemical. And tiny chemicals, small molecules here, are things that can be in pills.
22:31
They can go inside your cells and affect behaviors. They do make up most of drugs. If you've got any pills in your house, they're almost certainly small molecules. And of the different machine learning drug discovery groups that are going after treatments in a general sense, We, as in all of life scientists in the 21st century, have made pretty good progress on being able to predict and enable the behaviors of protein-type drugs.
22:57
So you've got a bunch of antibody colonies, like isomorphic does this, or like chai or nabla. There's all these groups of very good, very smart people pushing on these particular problems. And I think part of that is because we understand or have enough data for protein behaviors that make it reasonably effective for these companies to do these designs.
23:16
Our thesis is that those capabilities are really not here for small molecule approaches. And so that was one reason why we built this company is we felt that we could go after it in a meaningful way. And small molecules, one of the key characters, they go everywhere, right, in your body. So that's good and bad. Yep. They can penetrate into the cell and they can also get through defenses of tumors and cross the blood brain barrier more easily.
23:42
But at the same time, they do all those things and therefore they can be more prone to toxicity and other side effects. Very true. So the kind of path through the regulatory barriers for small molecules can be a little bit more fraught than those for antibodies. And so antibodies, we know pretty well right now about how they behave in the body and what they're likely to cause problems in and what they're not.
24:04
And for small molecules, there's a bunch of well-described problems that some of them might affect. They might cause liver problems, for example. They might cause heart arrhythmias. And as a medicinal chemist, a person whose job it is to develop these molecules, to get them from something that looks okay in a tube to something that you would feel confident enough to give to a human being, there are a lot of these pitfalls, and they have to do a lot of work to avoid these pitfalls.
24:28
So make sure that my molecule doesn't cause hard arrhythmias. And then if I change it to stop causing those problems, does it affect it doing the thing that I want it to do? How do your models help with this larger problem of developing these and then, you know, maybe with, you know, sort of these downstream problems? So one way to think about it is that some number of these problems, these sort of off-target toxicities, are going to be driven by your small molecule binding to other proteins in ways that you might be able to predict or identify.
24:58
And so that's something that we are very much pushing forward to is, oh, let's also make those proteins. Let's also screen those proteins with our chemistry. It seems useful if you have a giant assay of different proteins in a library that you can... Yeah, it is. It is not at all an exaggeration to say that it is our aspiration to have screened every protein and then also move on to those outside of humans, both for reasons to get variation in the proteins, but also to identify maybe you don't want to run a mouse model.
25:26
Maybe you should run a rat one. Because your chemical material behaves differently in those different species because those proteins might be slightly different. Interesting. Right. So you want to do that stuff. But yes, going after large numbers of these things allows you to think, all right, well, now I've got my chemical material. And then I know of all these chemicals, which ones and what variations are ones likely to bind these things will cause other toxicity problems.
25:46
Got it. Yep, yep. And then downstream of that, there's a bunch of other assays that lots of people do that are more kind of emergent behaviors where it's maybe not a single protein, but it's how well it gets across cell membranes, how it interacts in a more complex way that you require a cell to evaluate. Or it might be like a cardiac cell, for example, for those heart arrhythmia stuff.
26:06
And so those things, you know, right now there are lots of groups that are pushing on technologies to measure these at the cellular level. which is one level of biological abstraction away from what we're focusing on right now. But we'd like to think that models that have a good understanding of the biophysics themselves can be useful and maybe fine-tuned on smaller data sets in the future.
26:23
Popping back one more, maybe getting a little into the model, why DELs? DELs really are, at least in our view, the most scalable technology for measuring small molecule interactions because you can put many millions of them in a tube. Now, one thing that we haven't touched on in terms of like these chemical libraries is that when you make them in a pooled process, there are probably going to be some that react imperfectly and that the label translation of what you think you have might be a little bit off.
26:54
And so we've designed a lot of controls into constructing our chemical libraries to mitigate this. When you're using these, you know, the word might be arrayed libraries or libraries that are in one chemical at a time at a tube or in a well on a plate. When folks study to figure out how good those labels are, like you hope that they're good, but when folks examine this, they're typically off by 20 to 30 percent.
27:18
It's an enormous mislabeling problem. We think it's probably comparable to mislabeling in Dells, maybe worse. and Dells themselves are just enormously, enormously scalable. I'll tell a quick story that I'm sure that we'll get into at some point anyway. We ran a Kaggle competition a couple of years ago and we decided to generate the data for the Kaggle competition and we released it.
27:39
There's a database that was at the time two years ago called BindingDP, which was the biggest aggregated collection of small molecules binding to protein targets as compared to cells or something else. And it was about two, a little under three million physical interactions. And so we released a data set that was about four billion physical interactions.
27:57
And it was all measured by a single person in the basement of my house.
28:02
Yeah. The early blog posts are really funny. You like literal picture. You have an it's not quite a garage startup, but it's in a basement. It is a basement apartment with like a seven foot ceiling. Yeah. It looks claustrophobic. Yeah. I've never seen a biotech startup started in a basement. Can't be done. Okay. So this Kaggle competition, I think, is just a fascinating story because you had such high hopes going into this.
28:30
We did. We did. You were like, and I think this is one of those cases of like very nice epistemic rigor where you didn't just provide, oh, like, you know, here's a train test with random split or something. You thought carefully about how to organize this Kaggle competition, how to run it and how to kind of evaluate fairly. Can you talk about that process, decisions you made and then also the result? Yes, happy to do that.
28:56
So we were not by a long shot the first group to try to evaluate whether you could use computers to make reasonable predictions of small molecules binding to chemicals and then test those predictions. There are lots of papers that are doing this. Like there's a real classic paper that came out of Xchem and Google some years before we found a leash that does this.
29:16
We had run a lot of our own experiments on public data, and we had suspected that no one was really very good at it. And so we wanted to put together this contest and design the evals in particular in a way that could really test it across a range of eval difficulties. Because we were thinking about, okay, we're going to have a lot of people, hopefully a lot of people compete in this.
29:36
Some are going to be very good. Some are probably going to be beginners. We want to make sure that there are some nice, easy wins. Then like a bunch of stuff in the middle that's like kind of hard. And then some things at the very top end of what would be difficulty or what we imagine difficulty might be. And so to kind of unpack that, we've talked a little bit already about how these libraries are combinatorial.
29:56
So you're going to have some smaller number of building blocks, but a large number of combinations. We got our hands on a chemical library from a wonderful sponsor, this guy named Xiaoji Lu, who runs a shop called Alpha Ma in Shanghai. And the chemical library was about 130 million molecules.
30:12
And the center part of the molecule, you can imagine it kind of like a hub with three spokes. And then the center hub was the same for every molecule. It's a particular chemical motif called a triazine. And so what we did was we said, okay, so we got the center hub. Then we got these three spokes. For the evaluation data set, let's have a couple different ways to split this.
30:33
One way is that we could say, all right, the chemicals might have one shared building block, one shared spoke. and then the other two spokes are different. Okay, that's one thing we can do. So let's do that for some, and that was the easy stuff. Another one we can say is, all right, well, maybe we're not gonna have any shared building blocks, but we do know that if they're gonna come from this chemical library, there's going to be the shared hub.
30:54
And so we can imagine that some of the spokes might be similar, but they won't be exactly the same, and they won't be shared. So we think this is gonna be a little bit harder. Sounds great. And then for the third, most difficult eval, we had a completely different chemical library that we had designed at Leash. There was no common hub, no common building blocks, different attachment chemistries, different everything.
31:13
And so we thought, okay, we're going to have these three in different proportions. We're not going to tell anyone that's what we did. We're just going to say, here are the evals, and let's go see how it goes. And so we launched the competition. It was two years ago, and you guys can look it up if you want. We've written a lot about it. And then after 2,000 teams competed, the winner did okay on the stuff where they were shared building blocks.
31:36
Depending on the target, we saw some boosts in performance for where there were no shared building blocks, but the core hub was still the same. The tri-seam was still there. And then when you go to the most challenging eval, no one did better than Chance. Yeah, the winner was the 1,200 just random person who submitted a Jupyter notebook, right? Yeah, so the winner was this guy named Viktor Shlopov who put together a slightly different approach, and his was good, but again, like everyone else, no better than Chance.
32:02
Three of the top five were the noisy tutorial notebook. So, but just to be clear, usually with Kaggle competition, there's like a public eval for you to train, to test your algorithm, I guess. And then there's the private one that's held out. That's right. And the competition runs that and all you know is the score. Yep. So, was your library included in the public eval? Okay.
32:26
It was hidden back to be, to make it spicy. Right. Okay. Yeah. And it was spicy. It was very spicy. So... So what did you take from this? What was the lesson? And I mean, first of all, what did you hope to get from this? You kind of talked about that, but then how did that sort of affect your thinking about like, how do you proceed forward? Yeah, yeah.
32:44
We had a couple of hopes and some were fears. One thing I will be candid about is, you know, we had released this data set that was a thousand times bigger than anything anyone had ever seen. And we gave it about a 5% chance that recent advancements and kind of like cold folding approaches would mean that it would obviate our company entirely.
33:01
Didn't happen. No, didn't happen. No, but we were like, you know, there's like a small chance, like we are really messing up here. And that didn't happen. We suspected more likely that folks weren't very good at it and that the data might help. And so we were hoping to see that. And anyway, you'd want to know that. You'd want to know that.
33:19
Before you spend 10 years of your life on it. Absolutely. And like another thing that we wanted to know is there's lots of different ways to represent molecules and give them to computers. Right. You could use these things called smiles that do it some way. You could do 3D graphs. There's like weird spherical, like spherical convolutional nets.
33:37
Like people have tried kind of goofy things to try to represent molecules in a useful way. And there'll be lots of people in the field who will argue that like, oh, I think this way is better than this way or whatever. And we did really encourage competitors, especially those who had a chemistry background, like let's try like some of these different representations.
33:52
So let's see how it goes. And we were grateful to find that like the thing that we were doing, which is just basic smiles, kind of beat everything else. It wasn't like a resounding thumping, but it was better enough for us to continue to using that approach. And Smiles, if I recall correctly, is just basically a sequence, a textual sequence of strings.
34:10
It doesn't encode any 3D structure. It does not. It's all emergent from there. It is a graph traversal translated into a text string. And so you can start the graph at different points. And so there's what they call canonical and non-canonical smiles, depending on where you start. But yeah, it's an extremely simple representation. And so, yeah, we were thinking that, you know, or, you know, we wondered if some of these fancier ways of representing molecules might beat at least this particular problem, and they super didn't.
34:36
So was your takeaway that you should go full force into this? Was this encouraging to you or was this discouraging you? What was the collective emotional reaction at least after that? I've always wondered that. I mean, you kind of wrote about, you had several follow-ups, but I'm just curious to hear. Yeah, yeah, this is a great question. So, like, we are extremely bitter lesson pilled over here.
35:01
And so our thought was some of it was kind of delight, which is like, wow, this is much harder than we thought. That's kind of great. That's kind of great. Because if this problem is like all the other ones that we're aware of, if you can get pretty good signal out of a scalable measurement regime, then you should just try to go get that.
35:19
Yeah. Yeah. For us, it was pretty validating like, oh man, this is an opportunity here. Especially if your scalable measurement regime is hard and you have specialized knowledge to do that. Absolutely. It was like, oh man, this is the time to pour gas on this.
35:36
This is great. Wow. Yeah, I mean, that's awesome. So then you were just like, okay, let's full force. We're going to just start collecting data, collecting data, collecting data. Correct. Yeah. And so you did that for a while. And then what came next? And maybe first, also, what were the lessons you learned in the process? And then building to kind of your first useful, like, Yeah, yeah.
36:00
There are a couple of things that were from the process that we felt were very, was very, very useful. One thing that we realized is that the count competition was based on three protein targets that were fairly well studied. It became clear to us that we really wanted to, you know, for lots of reasons, but including these that, you know, getting performance across novel proteins probably meant that we'd have to do a whole lot more.
36:22
So, okay, so that, you know, we were always motivated to do that, but that really underscored like, oh man, we're going to have to go, we're going to have to make a lot of proteins, aren't we here? And so that was part of it. Part of it was thinking that we had this very large number of small molecules, like this hundred million compound library, that didn't help as much to us as better characterizing a smaller one.
36:41
And so that was also like a strategic choice that we made. This is actually quite important because you have a fixed budget. And so you can either, let's say, sequence or spend more money on sequencing, getting high resolution for what you already have for a smaller set. Or you can get more molecules and then hope that the noise sort of averages out or something with more data.
37:01
That's correct. Like having a fixed budget really does affect like your strategic choices. And for us to, we wanted to make sure that we're getting a lot of variation across both axes as compared to like one axis and like a handful of proteins. Sorry, which two axes? So that would be like the number of chemicals against the number of proteins.
37:15
Okay. Right. And so, you know, you can imagine like, oh, I'm going to do three proteins and a billion chemicals, or maybe I should do like three. thousands and single-digit millions. Yeah. You know, or some other combination of those. Single-digit millions being probably one of the tiniest Dells ever constructed. It's pretty small. The smallest one I've seen is 50,000 molecules.
37:33
Oh, okay. Yeah. I guess you can make a custom Dell if you want to do like SAR or something. You can do whatever you want. Yeah, yeah. Yeah, well, you have the technology just to do it. Yeah, yeah. Two building blocks, yeah. Yeah, right? You can do whatever you want. So that's the nice thing is you have enormous control over like, you know, both like the library size and its characteristics and like this barcode issue that I talked about.
37:51
You can expand that kind of stuff. And we've put a lot of thought into, you know, kind of bells and whistles in our own Dells to truly boost, you know, kind of like a performance and signal over noise and all this stuff. But getting back to the kind of like the Kaggle competition lessons was also clear to us that models could think about memorizing individual building blocks and that would boost their performance.
38:13
That was something that seemed pretty clear. It seemed pretty clear that they might be able to get an idea through probably through memorization that if you have a very similar building block, it might behave similarly so that also some of those performance And then also that, you know, when I said that it's pretty far away, they, I mean, at the current regime, at that regime, they simply could not do it.
38:33
And when we released these results, basically saying, hey, you know, no one did better than chance, we did get some blowback where folks were like, well, did anyone good compete, you know, in your competition? Like, maybe one's just bad. Maybe it's all first-year grad students. And so as a result, we just released all of the data entirety.
38:50
And so if anyone out there thinks they're awesome, then please show us because we want this problem solved. But we haven't seen anyone perform great on that stuff yet. And when you say all the data, you have including all the raw read counts and everything. That's right. So you can go through and say, oh, it's not just, you know, a processing error.
39:08
You can go from the raw data and use it. You could take our binary labels. You could do it yourself. All the evals, everything. It is all on Polaris, which is like a nonprofit group that was run by Recursion. It's there for anyone to use. Please use it. You know, like we intentionally released it as, you know, hoping the community would make good use of it.
39:25
Do you think, though, the structure of this data set was fundamentally limited in a way that maybe without some external augmentation, you're not going to be able to do any better than what people have pretty much already done? I think if you had really perfect structural understanding or like really good structural models, then you ought to be able to do okay on this.
39:42
Because if we all have models that really understand, truly understand the physics of the interactions between the amino acids and the small molecules, then it doesn't really matter what the distribution of the small molecule training set would look like if they're really good at this. And I think when we see structural model predictions and folks say, oh, well, I've got this time split on the PDB, for example, and our models have never seen these molecules or this protein before, and then hopefully we can you know, kind of use this understanding to make reasonable folds.
40:08
Like that's very much in the spirit of being able to make the predictions on this stuff because no one has seen these molecules, especially our internal molecules. Like no one's seen those before. That's cool. So Kaggle competition, you went ahead and you learned some lessons. You went full force, data collecting, regrouped, committed to scaling.
40:26
Yep. All right. So then you, I think something like six months later, you released or you had a blog post about your model Hermes. Yep. Which is, yeah, can you tell us about that? Sure. Some of the learnings there, and I think both, and especially how you evaluated that, I think, and all the care you put into that model. Hermes is a model that is the original brainchild of a data scientist at Leeds named Max Kleinsasser, and also Sean Francis Lyon, and Andrew Blevins, of course, is the CTO there.
40:56
What the thinking was originally was that we had a bunch of data and we were thinking about how to split it in different like training regimes. And so we wanted to come up with a model that was really, really dead simple so that we could do lots of potential experimental iterations. It wasn't, the purpose of it wasn't to be a state of the art model.
41:12
It was like, ah, you know, we want to try stuff fast. And so we built Hermes, and then the basic architecture of Hermes is two different embeddings. One of them is evolutionary scale modeling, an ESM embedding that's a protein embedding that comes from a group that was at Meta and then went off to start their own company, and then they got picked up by Chan Zuckerberg more recently.
41:32
We had Alex Reeves on the podcast, so we can throw him back to that episode. If you want to hear more, we'll go back a few weeks. Thank you, Alex, if you're listening. So we did that for the protein side. And then we had a different embedding called Canberra, which is basically like a next token predictor chemistry kind of embedding for this side.
41:49
Something which predicts Milestone. That's right. Yeah, just predicts smiles, tokens. And so that's these very, very two simple embeddings. And then we just put them together with cross-attention, and that was it. And then we used it to predict a binary label. The simplest possible thing. It was incredibly simple. Very, very small. And then we trained some of our own data on it.
42:05
Actually, not the simplest. You could have done a MLP after those, right? Instead of cross-attention. So why attention? The thinking with the attention had to do with some other... experiences that we'd had kind of with graph convolutional, like graph models for protein structure. And one thing that we'd noticed is if you've got these sort of graphs and there's a couple of models that do this, other work that we had done, we had scrambled the positional coordinates of those and performance for some of those models more or less stayed the same.
42:37
And that made us think that like attention was super critical. And so we ended up just making sure that the model was at least, at least what we hoped is that it would be looking at the different parts of the proteins and small molecular structures that could be useful here. So this is, I think, oftentimes known as the Picasso problem in image generation, where, let's say, CNNs, for example, were famous for a while, where you could scramble just the features of a picture, like Picasso, flip the nose around or just rotate the eyes or something.
43:05
And the CNN would still depict, oh, this is a Picasso, because it just picked up on individual local features rather than some sort of global structure. Right. And this has been a problem in small molecule drug discovery for a while where oftentimes it picks up on local motifs and then it doesn't have any global understanding of the topology.
43:23
So especially for something like Adele, where you have this combinatorial structure of individual building blocks, you could imagine the model learning each building block independently and then essentially just decomposing into the sum of three building blocks or something. Or, I mean, it's a simple concept. Yeah. Yeah. So cross-attention.
43:41
in some sense, forces certain molecules to interact with certain residues in a protein. Or at least, maybe not forces, but provides the opportunity. It's an inductive bias, yeah. Kind of what you're getting at is, we were thinking about how to evaluate this And so we had done some of the similar tricks that we did over with the COG competition where we had training sets and data that we generate internally, and then we'd look to chemical libraries that were further away.
44:06
But then also we wanted to think about splits to kind of probe Hermes behavior. And so because Dells have this combinatorial approach, you can do the same thing where you might share certain building blocks. And so we do that. And of course, performance is better, which we suspect is for memorization. But the other thing is you can imagine that there are building blocks that are very similar to one another, that if you're just trying to split on the identity of those, then you might have things that are close enough that memorization or some other cheat mode might confer predictive power.
44:37
And so we came up with a scheme where we then did basically clustering of these different building blocks. We had building block clusters on similarity, and that way we would just avoid entire clusters from being overlapped between test and train. And so when you do that, then the performance does drop. And so one thing that you might be alluding to is we use lots of reasonable baselines here that we're really worried about.
45:04
And so for almost everything that we do, we'll use like XGBoost, right? You should do something like that just to see how it's going, right? Yeah, the classic young machine learner practitioner, they spend six months optimizing their favorite model, and then someone walks by and does like, you know, XT boost a random forest, and they're like, oh, yeah, yeah, that does beat like six months of work.
45:24
Oh, yeah, yeah. Yeah, and so we did these different split regimes to try to evaluate how well things would do relative to XGBoost performance. And so one thing that was really gratifying to see is that you see XGBoost drop steadily as you get further and further away with these building block cluster approaches. It's like if you share two building blocks, it's a certain level.
45:47
If you only share one, it gets worse. If you share one, you know, only in none, it's worse. And if you do the building block cluster, it's even worse than that. And then we compared that to the Hermes performance, which was pretty steady across all these different regimes. I see. Yeah. So it made us think like, oh, yeah, you know, you've really got to get pretty far out of distribution for XGBoost to really tank.
46:05
Yeah. Yeah. And that's something that we haven't, you know, we haven't, it's in a couple of plots and some work that we've published. We haven't yelled about it too much. Do you have a blog post like XGBoost is all you? Yeah, we did that. Yeah, that's why we did that. Yeah. Yeah. Running those splits is something that we've put a lot of thought into, into trying to figure out like, okay, how do you stop your models from really, you know, memorizing and remembering things? Yeah.
46:25
This might be a good time for a little bit of a detour, but referencing another one of your blog posts, which I found absolutely hilarious from my own personal experience. I have seen machine learning models pick up on so many weird detractors. And your blog post about molecule ownership or authorship was a really fun story. The Clever Hans post, yeah.
46:48
So many years ago, my co-founder Andrew Blevins and I were at Recursion looking at a small molecule on a screen. And then a medicinal chemist walked by us, this guy, this guy named Mike Cucarici. And Mike was like, hey, looks like a Stuart Schreiber molecule. And then we were like, oh, no, you can tell just by walking by? Would you like to know who made this? That's horrifying.
47:09
And then that haunted Andrew in particular for many years. It was like six or seven years. And we joked, I don't know, every couple of months we're out for beers, like, man, we really should figure out how bad this problem is. Why is that a problem? Okay, so it's a problem where it's very easy to imagine you're going to try to train models to understand chemistry.
47:29
So you're going to get the data from lots of groups because it's very tempting to get data from lots of groups. And if the models can identify the chemist by looking at the molecule alone, then maybe the models can infer chemist intent, which means maybe they don't learn anything at all. Well, they did learn something. They don't learn physics, right? They're not learning the thing you're trying to get them to learn.
47:50
And so we were really afraid of this. They learned that certain chemists are better than other ones. Yeah, we learned all kinds of stuff, but maybe to set this up for the audience, so we went out and we published this over Christmas. You can look it up. We have a leaderboard. We have a goofy online game you can play.
48:05
But we downloaded all chemicals from all chemists at Kemble, which is the biggest repository of these things and their activities. Every chemist who published more than, I think it was 30 papers and 600 molecules. So you get all the molecules and all the stuff. It's 1,815 chemists.
48:21
And then we tried to classifier to predict a chemist from looking at the molecule alone. And we got a top five accuracy of 60%. It's a very, very easy problem. Yeah. Yeah, it's super easy for the models to do. Where they get confused is where you have two chemists who were on the same publications and were at the same institution. And so what we think is very likely is that there is a distinctive chemical signature style that individuals have when they make molecules.
48:47
And then when those individuals have students or trainees, then they adopt some fraction of that, you know. And so that seemed pretty clear to us. And so that was horrifying enough on its own. And this is a data set that many, many academic projects, many PhDs have trained on, tried to predict on fine patterns. Yeah. Yep, this is really like a major data set for the field.
49:12
Yeah, like if you are not generating your own data, you're using this. And then if you are generating your own data, then you are probably victim to this because your organization probably has multiple chemists who have their own distinctive chemical styles and that they're using their styles to go after different types of projects. But the key here, I think, is that those chemists also tend to solve similar problems.
49:36
Like I might have a career here and I have a style, but I also am working on a class of problems. Right. And so that your style is also, you're learning the style instead of the problem. Right. You're learning the style, you're learning the sociology of the problem. And the other thing that you're learning is that when you're a chemist at these organizations, you know, ordering a molecule to be manufactured and tested is kind of a pain, right? So what will happen is you will make many, many choices of things you will not pursue and you do not write those down.
50:08
Oh, yeah, it would be dumb to do that. And it's like, yeah, that's their motivation. Our team just wouldn't make it. Like, I could say, like, we could do this, but then they would cost too much or the lab team will say, the chemistry team will say, no, we can't make it now. Or, you know, like, we don't have the building blocks on. I don't think it's going to work.
50:25
Like, there's all these reasons why you might not make a choice. And then not making that choice is a fingerprint that is going to land on what does get made. And then, you know, when you talk to some medicinal chemists, some of them are, you know, bless them, they're superstitious people. And some of them will say like, oh. Yeah, I bring this up like every single time.
50:46
Medicinal chemists are some of the most superstitious people I've ever met. Right. And so it's like, oh, well, this building block worked in this program that made it to the clinic. I'm really fond of it. Maybe it helps with side building. So I'm going to put it in things that I like. And so then your model will learn like, oh, the chemist likes this because they put– so that means it's probably working.
51:05
And so it learns all this weird stuff. And so like we were very afraid of this. And so we took– we ran this model to identify who the chemist was. And then we chose to represent the molecules not with any chemical structures or formulas at all. but just a vector of the probability of creator. So now it's this 1800 element, you know, vector, and it's got some probability of who made it.
51:28
And you can use that representation and then train a model to predict activity from Kimball. And it does as well as if you use chemical formulas. And if you combine them— You're according to sociology only. Yes. If you combine them, it doesn't feel meaningfully better. And so, yeah, we really think that it's learning a lot of sociology.
51:48
It's not learning ground truth. It's just learning, like, the choices and the fingerprints of the people who are trying to develop these molecules. And it's not a knock on them, right? I mean, that's not what they're trying to do. They're trying to, you know, get two drugs by making the fewest number of chemical series possible. Of course they're going to do it like that.
52:03
But when you train models on the exhaust, you might be in trouble. So this means that this is not a great machine learning training set. We do not believe so.
52:12
It's funny, in my own life, you know, I've had many of these similar lessons. It's well known that things like molecular weight will just, you know, all you have to do is sort by molecular weight. That's like one of the single biggest predictors you can possibly have. Like, wasn't it Cas-16? It was Cas-16 where it was tied for first place.
52:29
Yeah. For second place, like it was really close. It was really close. Yeah. Yeah. So all these people pulling out their fancy machine learning models, you just sort the molecules by heaviest molecules, better binders. Yeah. Yeah. Yeah. But this is not an intrinsic property to chemistry. This is a property of the data set. Yes. Yes. This is a property of the sociology of what gets made, what gets tested and like the way medicinal chemists work.
52:54
Heavier molecules, more likely to bind. Yeah. A lot of times it's because they're seeing improvements to affect other properties. That's part of it. And you probably got some parts to talk about. It's like basically you have a chemist who they find a hit and then they start optimizing it and they're like, oh, I have a hypothesis that this is the binding site.
53:10
So let me add this functional group to bind here. And then they're like, okay, well, that was a stronger binder. And then so they're like, oh, what if we add this other functional group to bind to this thing? And what ends up happening is they just keep adding things. yeah until it's really good and then yeah until it's sufficiently good and then you know then instead of using a combinatorial approach or say is the inside also then you have these other properties you're like okay well now we have this really good binder but it's not soluble so let me throw on you know some you know um hydrophilic functional or uh some uh functional groups on the other side of the molecule
53:43
which is not in the binding pocket to like make it you know and You just keep tacking these things on. And next thing you know, you get this big, good binder. And so you just sort by molecular weight. And it's like the single biggest predictor that you can have in most public data sets. But that has nothing to do with chemistry. No, like, I mean, I think a good way of intuition is like, if a thing's working, they're going to do more stuff to it.
54:06
Because they like it. Yeah. So you just do more stuff to it. It gets more Baroque or you have more like complicated, expensive reactions or, you know, you get like weird building blocks that are hard to get. Yeah. You know, things that you wouldn't do if you didn't think it was working. And so it's all these signatures that the models would just kind of pick up.
54:23
And so, yeah, it's quite terrifying. Yeah, this is like the horse something. Clever Hans. Clever Hans, the horse. Can you tell the story about Clever Hans? Yes, yes. So a little history lesson here is
54:38
there was a horse trainer in Germany. I think it was like the late 1800s. I mean, I read about this. I should remember it. And there's a horse named Clever Hans. And what Clever Hans seemed to be able to do was complicated math. So you would show the horse, you know, like a chalkboard that's got a math problem. And then the horse would stamp the horse's foot on the ground and then stop when the correct answer, you know, was arrived at.
55:00
And everyone was amazed that those horses are brilliant. And then someone had the good idea to go get a questioner who did not know the answer. to the math problem. Yeah. And then the horse completely fails. And then it turns out that the horse is just looking at like the posture and the microexpressions, mostly of the owner. So that when it got to, you know, let's say the answer is seven, then the owner gets like real giddy when it's at six, right? Yeah.
55:22
And then the horse can stop stamping. And there's this like wonderful paper put out by a German psychologist who actually evaluates the actual microexpressions and postural changes that he had observed on the horse's owner. Oh, wow. It's quite exciting. Okay. Yeah. Like if you're dying for a silly read, you can go look it up. So then the analogy is that you're reading the face and not the math.
55:43
That's right. Yes. You do not understand math. The models do not understand chemistry at all. They are just, you know, remembering the sociology of the creators. Got it. Going back to Hermes and your epistemic rigor and, you know, you're in trying to build something useful out of all the data you trained. So you find, you know, public data sets are untrustworthy and you have a bunch of data which you trust internally, but you don't really have a good way of or.
56:10
But now you need to understand how do we. accurately and carefully use this to understand, to do something useful in the real world. So how do you, how did you bridge that gap? For us to think about this, like we did a bunch of these splits, like I kind of described earlier. But then the next thing that seemed very obvious for us to do is like, well, you know, we've trained models on internal data and we kind of don't like to train models on external data.
56:33
So maybe we should try to predict on external data instead. But without ever training on the external data. Without ever seeing it. And so that does put us in a nice position because I haven't seen any other group train models for this task exclusively on internally generated data. I think it's very tempting to go get these other sources, especially because there's so many possible protein targets out there because people don't screen as many as we do typically.
56:56
And so we took large collections of external molecules and then we predicted them to see how well we would do across, you know, many different proteins, lots of different positive and negatives that we chose very carefully. It was, I want to say it was like the total number of tests in the Hermes paper. I think it's like 13 million or something across like many, it's like 500 protein targets.
57:14
I think it's some huge number. And then we can, and we benchmarked it against the existing, what was at the time, like the state of the art structural model, which is done by the Boltz team. Which is a very good model and ours cannot do a lot of the things that that model can do. But what we were able to do was do about as well as those guys on those public datasets in terms of this binding problem prediction.
57:34
When you compared to Boltz, it required some tricks to have a fairish comparison. I think Boltz also trained on this data. Was that right? Sort of. So there are a couple of large collections that we weren't totally clear on like the different subsets that they had trained on. And so I could think of one example in particular where it was very, very clear.
57:55
And I'll talk about that in a minute. But a lot of the evals that we used were ones that were also serviced by the Boltz team, only we put a lot more molecules in there. to go see how it would go. So yeah, like I think there, and also if you look at the different performances between Hermes and Boltz, you know, like we're better on some proteins and protein families that Boltz is worse at and vice versa.
58:14
And we suspect this is because of like different distributions of those in the training sets so that they understand a little bit more. Or, you know, honestly, maybe like memorize a little bit more and they're able to extend that a little bit. One thing that was very validating for us is one of our test sets was like another orthogonal chemical library that our models had not seen that we had used internally.
58:33
But it was a copy of a chemical library that had been out in the literature. And so there was one target in particular. It's a protein. It's called BRD4, where there's an identical molecule from our screen that was also in the PDB, the Protein Databank training set that Bolt had almost certainly seen. Our models did kind of bad on that molecule.
58:54
It was a distant chemical library. They weren't very good at it. And Boltz was perfect at it. And it's because we suspect that Boltz had seen this protein and this individual molecule in a crystal structure already as part of the training set. So they were awesomeness. Oh, yeah, that checks out. It feels pretty good. So does this mean that, I mean, in your opinion, this validates your scaling hypothesis.
59:13
Add more proteins, more diverse chemical libraries, and now you can basically fill in the space more broadly. We hope so. Yes, we hope so. Like we think that going after large amounts of diversity and in particular going after intentionally chosen what you might call activity cliffs is the way to do this. And kind of to unpack that a little bit, it's either on the protein side or the small molecule side.
59:37
Do you have two things that look very, very similar except for a tiny change and that tiny change drives like outsized changes in behavior? So like a real classic example of this that medicinal chemists will talk about is this idea, and it's kind of mythical, it's not exactly real, but this thing called a magic methyl. And the idea is that you've got a molecule and then maybe you've got like this one like little molecule thorn that is or is not there.
1:00:03
And that presence or absence of that thorn means like either it works great or it doesn't work at all. When you have those situations, then maybe your model will start to learn like, man, like having a thorn could be really meaningful. And so maybe I need to think about like these very small changes. And so one thing that we do a lot, and it's baked into Dells because you've got, you know, two out of three building blocks might be similar across large numbers of examples and have variations of behaviors.
1:00:27
And then on the protein side, we very intentionally engineer mutations in those proteins to do the same kind of thing. I'm a little confused here because if you have these building blocks and the size of your variation is multiple atoms, right? How big is like a building block in terms of atoms? Right, right. It might be like 6 to like 30 or something if we're ignoring like the hydrogens.
1:00:50
But you can imagine that there are building blocks that themselves are very similar with like a single atom substitute. Oh, I see. Okay, so maybe there's two building blocks that have one– one a thorn and not a thorn and then you and then so you can see that in the in the sequencing that's right that's right all right and maybe that thorn just changes position okay and then as you and as you're thinking about this you're like okay well i might have uh tension between my goals i might want lots of like rougher uh more coarse diversity because i'm trying to find binders across large numbers of protein targets that may be very different Or I may want, like, super
1:01:24
fine-grained changes that are very, very subtle. And, you know, to try to, like, really teach the models, like, these, like, very, very subtle differences. And so as we think about designing our own chemical material, like, we have to, you know, span this kind of tension. So, yeah, we think about it a lot. And both of those matter. Both of those matter.
1:01:40
Both of those matter. And it also matters on the protein side too, right? It matters very much on the protein side. And so as you look at current like sort of co-folding models, a couple of different groups have shown this. You can take a protein and it's got this amino acid sequence and it codes some protein that's got a big pocket in it.
1:01:56
And maybe that protein is represented in the training set. So the model has a pretty good idea about what it looks like when there's a molecule in there, a small molecule chemical in there. So you got this pocket, the thing that goes in the pocket. You can just change the amino acid sequence that you give to the model to consider. And you can use that to break the pocket.
1:02:11
You could fill the pocket in like you're filling it with cement. Or you could remove it entirely so that there's nothing there or it's gone or it's much bigger. You do any of these things and you get at least what we've seen so far if you use current state-of-the-art models to go see what the model will do. It will shove the small molecule in where the pocket used to be.
1:02:29
Okay. Because it just remembers where it is. Yeah. And that's bad. So it's like looking at the large-scale structural things, not some, or like the hypothesis anyway, is that it's doing this. Yeah, the hypothesis is that it doesn't quite understand, you know, when you have a pocket and a protein, there's going to be a small number of amino acids that will have hydrogen bond positions that are going, they're sticking out.
1:02:49
There's going to be maybe a little bit of pi stack and these other things that, you know, sort of drive this chemistry. And those things really ought to be very, very important. And they are very important in the physical world when you're measuring them. And so if you break them and the model understands the physics, then it probably should know that it can't shove a molecule in there.
1:03:06
And that's the thing is like a lot of these structural training sets, like there aren't great negatives because what makes it into there is... The protein, that's got the thing, right? They don't have a lot of these variations that really disrupt these behaviors. And no one's going to make crystal structures with a bunch of these mutants like we're currently doing for ourselves.
1:03:23
But how do you get negatives? The way that we get negatives is that we have a really good understanding of the distribution of the number of those molecules in a baseline condition. Okay. So like when we do the screen, we know, oh, okay, these bound a lot. Because now we're enriching for them when we pull the protein out. And now let's break the pocket and they are no longer enriched.
1:03:44
Okay. They are no longer going. That one amino acid substitution that we made is making a bunch of these chemical series drop out. But this is a one-off experiment. This is not Adele. No, this is Adele. So you're not saying you broke it. You're saying I find the case where it was broken. No, we break it. So let's say we screen a protein and the pocket is intact.
1:04:04
Yeah. Sounds great. Okay. We get a bunch of hits. Yeah. Let's go even further here. Let's say that we know... someone else has already identified a chemical that goes in that pocket. Let's buy it. Let's stick it in there and run the screen again. Yeah. That means all the chemicals that normally go in the pocket will be displaced by a high concentration of the one that we have.
1:04:24
Oh, you have a competitive assay. Oh, we do. All the time. Okay, okay. I do this all the time. Okay. And then you say, okay, well, that looks pretty good. I believe that. And then you say, all right, now we know that this chemical that someone else has characterized goes in this pocket because maybe they made a crystal or some other thing.
1:04:38
Great. Let's look at the amino acids in that pocket. And then we will change the DNA construct that makes the protein for us. we will now mutate physically this one residue. So now like this, you know, this critical amino acid, now we put a big bulky one in there and the pocket's full. Or like the different side chain or something. Different side chain.
1:04:56
All these things you can do. Yeah, yeah. And this is really easy now because we have AlphaFold and, you know, Bolt or all these structure models. You can use this to design your proteins as you want. You can use this, you can use that. And for things that aren't as well characterized, you know, like we use conservation, you know, like we stare at, we have a structural biologist on staff and kind of look at these things like, oh yeah, you know, this guy, Edward Craft is amazing.
1:05:15
And so, all right, so, you know, now we're going to make this one mutation. Let's do yet another screen. And oh, look, all the chemicals that got booted out when we hit it with that one thing that's plucking the hole, they're also gone when we broke the pocket. So now we have really good evidence that they're all going into that pocket. Right.
1:05:32
Right. And then here's the point where, you know, like the protein chemists come in and they say, well, if you made a mutation, how do you know that you didn't just break the whole thing? Right. Reasonable question. You say, OK, well, we only lose the chemical series that got kicked out by that competitor. All the other ones that are binding everywhere else in the protein are intact.
1:05:49
Yeah. So you didn't just break the protein. You didn't just break it. Right. And so and then you think, OK, well, if you're going to be out screening 100 protein constructs a week. Which is what we do on Big Weeks. Wait, sorry. So you've broken the pocket somehow. Oh, yeah. Do you also find that there are other things that do, that start to connect, to bind to the protein? So when you change things around, you might change the shape in a way that does encourage other things to bind.
1:06:15
We have definitely seen that. And is that an information source for you? It is. It is. And so another thing that's really nice about this and the nice part about Dells is you can imagine, if you're not thinking in large numbers, that, oh, I've got this one chemical that was binding and now I broke the pocket and now it's gone. Yeah. But because of the combinatorial nature of the Dells, maybe I have five different chemical series.
1:06:37
It's like hundreds of molecules combined. And there's another group that's the same hundreds of molecules with a single change in the building block. So like you have these repeated examples where it's like, oh, this one tiny thing shifted the population behavior enormously. And it's a big population. And so it's like, oh, I am now really convinced.
1:06:55
I can show you guys a plot that we, I don't know if you, you know, put pictures on the podcast or whatever. But it's very obvious like, oh, this one side group on this building block is clearly interacting with this one amino acid residue because we have like five independent examples of population behavior shifting because of it. It's beautiful.
1:07:11
It's very, very clear. Yeah, go ahead and tell us about this plot. We pulled this thing up. And the reason that we pulled it up is we think it's really important for there to be a lot of variation in the proteins as well as molecules. And a reason that we think this is you want to be able to get a model trying to learn medicinal chemistry to really start to put together, you're having these hydrogen bond interactions between like this part of the small molecule and this part of the protein.
1:07:37
We've seen other work that I talked about earlier about how you can, if you digitally break a pocket and you use the current state of the art models, that they have a really hard time understanding the physics and they'll just shove the molecule back in that thing anyway. So it makes us suggest that they're memorizing. And so we thought one way to go around, get around this is to experimentally engineer mutations in binding regions of these proteins and then re-screening.
1:07:59
And so what that looks like— Physically doing that. Physically doing that. You take the DNA of the wild-type protein that you've already screened, and then you use microbiology techniques to change one or more than one amino acids in that protein so that the functional part where the small molecules are binding is no longer the same. It's different in some way.
1:08:17
We have different methods to try to identify which amino acids are the smart ones to break. Sometimes you break ones that you're confident will do things, sometimes you don't know. But we can do this at a pretty big scale, so it's not a big problem to us to take a couple wingers at each one. And so then you run the screen, and now when the pocket is broken, when the molecules go...
1:08:36
What do the molecules do? Do they still go in there? Do some of them go in there? Is there something common among the ones that stick around? Is there something common about the ones that get dislodged or pitched out? And then you have lots of different examples of these where you might have three to five-ish amino acids in a given pocket that are driving the binding behaviors.
1:08:54
Maybe you try to break all of them independently. And then you do redo the screens each time and get a good feel for what part of the small molecule is interacting with the part that you have changed. And then when you do this with a large Dell, then you'll have lots and lots of repeated examples of similar molecules. They're all following the same behavioral trajectories.
1:09:12
And that way you get a really good feel for, oh, I've got lots of examples. They're all pretty similar. But the one thing that is super common is this one little bit on the small molecule. So I have a suspicion that it is interacting with the pocket that I just broke. What are we looking at on this diagram? So what we're looking at on this plot is all those little dots are small molecules from a chemical library that we have designed and made.
1:09:34
Along the axes are how well the small molecules bound. So if it's like really down the axis, it's binding well. If it's more towards the origin, it's not really binding at all. And then we've colored a couple different blobs, and those blobs are different chemical series. The chemicals look very similar to each other. But the difference is where we pointed that kind of chemical-looking structure.
1:09:55
And so if you're squinting and you look at these, they're all pretty similar, but there's a couple subtle differences. And that whole population, we believe, is driven by interactions of those differences to the one mutant that we made. So in this plot, there's on the bottom, the wild type target. And then on the horizontal or the vertical axis, you have the mutant type target.
1:10:16
And so there's this red one and the red one is pointing basically up. It is binding better. It is binding better. So that particular one is like the mutation made that particular one bind better, which is speaking to the question that I asked a few minutes ago. Yep. And then maybe some of the, most of these seem to be above the axis. So most of this mutation caused most of these to bind better.
1:10:43
That's correct. Yeah. There's a second mutation in that pocket that I can also share with you guys where all of those populations, all those blobs get kicked out entirely and they do not bind. So then the pocket was broken in a meaningful way. And then here the binding is increased. And so basically everything will be along the bottom. That's correct.
1:10:59
Okay. That's great. Yeah. So you can give us the post-production. Yep. Awesome. So doing this, you can map out both. You can treat the activity cliff issue both in compound space and in protein space. That is correct. And this is particularly useful if you're, let's say, working at kinases where there's like 100 kinases which differ only by like, in the important binding site, you might differ by one residue at a time or something.
1:11:24
So this would be incredibly powerful for certain classes like that in addition to your own sanity. Yep, that's right. And we do this, as I mentioned, we do this a lot. Many hundreds of these types of screens. One of the things you can do with this is Hermes sees this cross-attention, so you can actually interpret where Hermes thinks the binding pocket is.
1:11:45
So it's learning the binding pocket through these types of maps. Yes. So one thing that we've sort of written about is using these attention mapping approaches to have a look at where Hermes is, you know, looking in amino acid space. And when we first did this work, we were expecting for it to either look at the binding pockets. That was like the first intuition.
1:12:05
And then maybe like a more measured intuition was like, oh, well, maybe what we'd hope for it to do is maybe look at all those residues because it probably doesn't really know what's going on yet. And then when we looked, it was not looking at either of those things. It was looking at really short sequences of amino acids that were away from the functional part of the protein and also away from part of the protein that looks similar across many proteins.
1:12:27
And so for maybe the non-biology people in the room, the way a lot of molecular evolution has worked is is that there's a stretch of a protein that does a pretty good job, and then often gets shuffled among other proteins as well, so that you have this conserved region. It's called a domain or, you know, conserved protein domain. And so that part looks pretty similar across many proteins.
1:12:46
It's something that biologists will use to infer protein families and relationships and functions. So if they all have the same kind of piece, they're probably doing something kind of similar. And so we expected the models to look at that, but they don't. They look outside that, and they look at these little stretches that... People don't typically do a whole lot.
1:13:02
They're a little bit different. They're non-conserved. There's a lot more variation in those. And we realized that Hermes was probably coming up with a nickname for the protein. It's not thinking about, oh, this is the functional part. It's like, I don't need to learn that. I can remember 10 or 12 amino acids that are different here than everyone else, and I can just memorize it.
1:13:23
And we thought that was bad. Because maybe many of the– like if you have variations in the pocket or whatever, but they all have these other parts that are similar, then maybe– and the variations in the pocket mostly don't matter, but some of them do. Then you might– the model might learn, oh, I can just pay attention to these. Yeah.
1:13:43
The concern was that the model, again, was not really learning any physics. Yeah. It's like, oh, I can just memorize this stuff. It's very much in keeping with when you try to break the pocket with the co-folding models and they shove it in there anyway. It's like, oh, it doesn't know what's going on. It's just made this nickname. Yeah. It's like, oh, man.
1:13:58
So how do you fix that? And then that's when we hit upon trying to do these mutations at scale. And so what happens is if you have a protein that looks almost exactly the same– But there's one tiny difference. And then the behaviors change a lot as a consequence of that one tiny difference. You're kind of encouraging the models to look at all the amino acids again.
1:14:15
It can't do that for the section that's non-conservative. Because if it does that with these two things in different behavior, it's going to do a bad job. And so we went back and did, you know, train models with these additional mutations, like the one on this pot that you guys are seeing. And then, you know, look back at the attention maps.
1:14:29
And now Hermes will look at all of these things much more evenly. So you're basically using the attention map to find these cases where it's memorizing nicknames and then enrich the mutations in the pocket to kind of encourage it to pay attention to the pocket instead. Yep. Yep. And it's not necessarily just to be across any one gene. It's more like the general problem of like, oh, I can't use this nickname structurally.
1:14:52
strategy effectively anymore. You want to teach the model that don't do that. You don't do that. No, no, that's lame. Don't do that. So I love this because we've seen where I think that the most pragmatic use of McInturpe has been in biology and in probably other related sciences where in the reason why I think it's qualitatively different is because you go backwards from you're learning about biology from the model rather than.
1:15:24
The just trying to interpret what like what is like what is it thinking in this case maybe it is actually that for a case but I've just seen so much McIntur being applied to biology because you're really trying to understand you don't have the language in these machine learning models there is no language to lean on so you really have no clue what is thinking unless you're inspecting the model.
1:15:48
Well, it's really interesting. So, yes. And one thing that we have found very fruitful in the very recent past is actually transitioning to language models. Okay. And what we are currently doing is we're using readable, interpretable English to represent the small molecules and the proteins and their behaviors. Wow. Okay. And that turns out to work pretty good.
1:16:07
Yeah. I mean, this is... I want to just frame this a little bit before you tell us about this because there's actually a really interesting paper in the single cell domain called GenePT in which people– so I can't remember the authors. They're from Stanford, and it was somebody who was a statistician, not even really in bio. Maybe they are now, but that person, they took the– textual embeddings of the descriptions of genes.
1:16:41
Yep. And then they use those, and so like you're using the ESM embeddings? Yeah, for Hermes, yeah. So you were using the ESM, they were just like, let's just use the textual embeddings. And the beauty of this is because now you have like a gazillion years of human time put into understanding each of these genes. And that's all captured to some extent by these textual embeddings, that knowledge of the embedding.
1:17:04
So like, yeah. So please tell us about what you're doing. Yeah. So we started this project a little while ago because one thing that we realized is that we had this like growing collection of activity cliffs and profiles of the same chemical material across large numbers of proteins. And we wanted to know if we could actually use reasoning agents to go explore it and use it in a lab-in-a-loop kind of situation.
1:17:28
And so that demanded that we started working with reasoning models and language models in order to kind of let them go play. And so what that looks like is we took some open source language models, like we did some quins and GLM and the stuff that other people are using. And we taught them medicinal chemistry in ways where you say here is a structure, describe it in natural English.
1:17:47
Give me the diff between two molecules in natural English. And then we got it to the point of where we say, okay, here are some molecules that are binders. Here are some that are not binders. Can you tell us why you think the binders are binding? Mm-hmm. And then you can also give it hard negatives. So you have these two collections that think, okay, well, I think this chemical series has this, you know, and it will write these things down in readable English, which we think is great.
1:18:09
And then we said, okay, now that you sort of know these basic concepts, we're going to give you 10 binders and 10 non-binders that are close, ask you to decide why you think the binders are binding. And now we're going to give you the opportunity to run your own experiments. Here's a catalog of millions of molecules. Why don't you pick five or 10 and test your hypothesis about why they're binding? And so then the model will go into the data that we have already collected.
1:18:33
It will pull out what it thinks are the most informative choices. It will get back the answer instantly, like it's a coding sandbox. And then it will update its hypothesis about the binding. And then the ultimate goal is to get the best binder in as few steps as possible, very much like a medicinal chemist would do. You're doing this based on your a priori run experiments, but it's looking up in a database.
1:18:52
That's right. So you're basically created reinforcement rollout. It is a reinforcement rollout of a large scale that's growing all the time that's full of these activity cliffs and full of different protein variations. And so now we have, and so you can use this. And since we know that when you change the molecules in these small activity cliff ways, it is a causal change.
1:19:11
Like we know that when you put this thing on there, the behavior changes in this reproducible, measurable way. And so you can also use these trajectories to come up with reasoning traces kind of at a pretty good scale. And so right now we have these agents running through the data set. We just give them 10 binders and 10 non-binders, give them a budget of 100 molecules, and they'll go through, you know, probably like 102 calls where they're just going through this long, many-step reasoning problem and then come up with what they think are the answers to the best at the end.
1:19:38
So why do you think this is superior to something like Hermes or maybe like something, you know, sort of scaling up the Hermes approach where you're, you know, sort of building some... you know, attention. Yeah, we think so. We think it's much more resistant to the memorization problem. And so like, while we are very happy with where the attention goes with Hermes when you throw in all these mutants, like as you add more parameters to a model, like they're going to memorize the mutants too, right? Like, and we want this thing to really understand like these causal changes.
1:20:08
And it seems like using natural language is like a pretty good regularizer for the problem. And like we are unaware of other problems where you have a reinforcement learning loop that is physically grounded, that is this scalable, this fast. Like you can imagine for, you know, when you're doing lab and loop stuff, where you're going off and making robots and going after these problems, they will also necessarily require like limited resources.
1:20:32
They will still make some choices about what to make in the first place, what not to make in the first place. And then doing those loops will take a little bit longer. And if there's a scalable way to measure that landscape, and then continually make that bigger and bigger and bigger, it's allowed the agents to play in it. We think it's probably going to go a lot faster for this particular problem.
1:20:48
That's interesting, yeah. I mean, I would say it's Excel from Xero is getting there, but they're not actually language there, but they are encoding as a sequence, right? So in some ways, the perturbation is similar, but this is different. And then Lila also rhymes with this. It does. All these guys are really smart and pushing these automation things.
1:21:11
Yeah, but they're not doing these pooled screens and then using that as far as they know, haven't figured out how to make that into just a database lookup so you can do a huge number of rollouts. Yes. Yes. So right now, the way that we like to think about it is if you're a medicinal chemist and you're working at a pharmaceutical company, you do this thing called a structure activity relationship.
1:21:37
And what that means is, oh, when I change the molecule in this way, it changes the behavior. And so I'm trying to optimize for these different properties. And you go through what's called an SAR campaign. That's early drug development. It's making the molecule better. You might see a couple dozen of these, maybe 50 of these in your career.
1:21:51
And so right now, you know, last weekend we pulled out over 10,000 of them and we're not even trying that hard. Right. So, yeah. And so now is the opportunity. Now we'll be restricted to the space of things that we have screened. And then at the end, you can ask the models to make additional choices from, say, catalogs. And then you can go, you know, in the future, go order those and retest them like you might for like a traditional lab-in-the-loop approach.
1:22:14
But right now, we give these agents 10 binders, give them a budget of 100, and they'll get the best binders out of 6.5 million in that budget. And so it seems like it's working. Yeah. So, like, tell us more about why you think this is—I get the argument about it's a better regularizer. But also, why do you believe that this is effective? So you can imagine, well, it doesn't get things wrong so badly, but it also doesn't get things that right.
1:22:45
I think it's because you give it the opportunity to make all those choices. I mean, it's like running these coding sandboxes. You just have a really rapid reinforcement reward signal. But the thing is, you also have to include the choices that a human being would not have made because we're measuring all the molecules across all the proteins.
1:23:01
Yeah, so it has to be able to make the counterintuitive decision and get a feedback on that. It's got to have the counterfactuals. It's got to make mistakes. And you need to make sure that the mistakes are present in the data or future potential mistakes are present in the data in ways that are not really biased for it to learn chemist sociology fingerprints.
1:23:18
Yeah, that's really fascinating. So through all of the, you know, language pre-training corpus, it kind of has an intuition for some basic chemistry that I think most medicinal chemists might have an idea of. And now you're giving it sort of like an infinitely fast lab in the loop. That's correct. Or maybe reasoning too. I would say that the reasoning skills might even be more important, right? The ability to say, oh, in my reinforcement campaign, I've, learning campaign, I've learned things.
1:23:44
And now that allows me to reason about the next thing. The harder question. Then just keep making choices. Right now, we're really excited about the early signal. Also, we're a tiny shop. There's only 10 of us. I'm really looking forward to when our experimental corpus grows at 2x, 10x, 100x the rate that it currently does, because then the amount of space for these agents to explore expands dramatically.
1:24:09
Let's talk about that space because, so my understanding, and this is from me, like, you know, talking to Claude and Googling and whatever, but my understanding is that Dells are like limited in that they are, they tend to be, create flat molecules or flatter molecules. It depends on the building blocks. Okay. It depends on the building blocks.
1:24:26
Yeah. So there are, you can imagine that you will be somewhat constrained by designs in terms of like, oh, I'm going to get some number of building blocks, usually two to three, and then stitch them together in some way. And so like when we do chemical library design choices, typically it's like one that we run a lot right now is a forked designed.
1:24:44
It's like a Y-shaped molecule. And then there's other ones that are linear-shaped molecules. There's yet other ones that are kind of like circular, kind of macrocycle-shaped things. And then you have to think about where is the DNA going to go and how is that going to cause me problems? And then also the commercial availability of building blocks and the chemistries required to stitch those together.
1:25:02
You can go for custom stuff. It takes longer. It's more appealing to us to go faster, and there's certainly going to be corners of chemical space that we're probably bad at, and then you have to think about, well, future libraries should have this kind of geometry, and then I got to think about the different proteins you're going to throw at it, and there'll be a pretty uneven distribution of a whole chemical library made this way might be really good for these types of targets and might be really crappy for these other types of targets.
1:25:26
Then you get to think about, all right, what corners of protein space am I optimizing for, and those kinds of tensions. Yeah. So it sounds like the argument is, well, we know that we're not optimizing the whole space, but it's a lot more than it was before. So that's better. And then we are, as we get better at this and understand, or we have bigger budget or whatever it is, then we'll expand to these corners that we know that we're lacking in.
1:25:52
Or maybe we don't even know we're lacking in, but we will find that out. Right. Exactly. Exactly. Do we want to move on to the last phase? Yeah, you can. Go for it. Let's see how it goes. All right. So for the audience context, Ian requested, I want to confirm that this was his idea, not mine. It was my idea. We might call it a don't ask me or come at me bro section where we ask the hardest problems we can come up with.
1:26:16
Which is, as you guys can probably tell, is not very hard for me. Yeah. I think I've asked my hard questions already. We only had about 24 hours to prepare, so I think most of these will be Claude's hardest questions. But anyway, we'll see how this goes. Yeah, the context for this is I was at a cancer and molecular therapeutics meeting last week.
1:26:36
And the format of the meeting is half of the time is for content presentation and the other half is for very aggressive grilling. And it was horrifying and inspirational. And so here I am willing to do it in public. Let's do this. Dells, as RJ was just alluding to, oftentimes have very specific properties. And you can get very good at optimizing in Dell, but ultimately they frequently fail at certain things which are hard to translate to actual medicine.
1:27:04
Yep. So certain failure modes being such as anything which is easy to assemble is easy to disassemble, bad for, you know, admin properties. You only have so much room to kind of build on because you've already sort of used some of the combinatorial building blocks and so on. Anyway, how is this limiting in terms of like long term out of library generalization? I think a lot of it is going to be somewhat dependent on like building block availability and like one's willingness to go into custom synthesis.
1:27:30
So if we're, especially for the fine grain mapping stuff, you know, being able to say, move a nitrogen all the way around the ring at all, one of those positions is something that's very, very desirable. But it's also something that's pretty unlikely that you're going to get like commercially for all sorts of building blocks that you're currently generating.
1:27:44
So like, is that going to be a failure mode? For sure. Yes, yes. I would love to be able to get more of those and, like, beef up our custom synthesis. That's something that we're looking at. But right now, trying to get those is challenging. One critique that Claude might be thinking about in terms of molecules easy to put together and disassemble, for many years, it was the most common way to attach building blocks to needle chemistry is amide bonds or protein bonds.
1:28:06
And so those are quite digestible molecules. you know, in the body. But in the past few years, there have really passed like four-ish years, there have been like a really nice fluorescence of chemistries that are friendly to DNA, that don't destroy it during the attachment process, because that's very important, that will give you carbon-carbon bonds, carbon-nitrogen bonds, these kinds of things.
1:28:25
So it's actually pretty good for work-a-day simple chemistry. Yeah. So, like, I'm actually not too worried about that part. I'm more worried about building block diversity. And there's sources for that. What about ADMET properties in general? Like, you know, you've been focusing very much on binding. We have, yeah. So, of projects that we've done, trying to look at reasonable ADMET and, like, PKPD properties, for what it's worth, we've gone directly from chemical library hits to good PKPD in a mouse in six months with a very small number of MedCamp cycles.
1:28:55
Wow. So at least the chemical material that we currently have, or at least that, you know, those few series that we did that for, you know, they turned out pretty good in our hands. I guess, you know, we will continue to see like how that modeling looks. And also, of course, we want to do more of these like ad met target models and then think about how to incorporate other types of, you know, more emergent models along with our designs.
1:29:13
Was that speed driven by your ability to create custom like local combinatorial libraries or was that speed driven? What allowed you to get there in six months? So when we designed this chemical libraries at the beginning, we very much optimized that space for drug likeness. And so we think that's part of it is that was like a really good starting point.
1:29:32
you know, when we do our chemical library designs, we have this kind of like Thompson sampling level approach where we come up with an optimization function. You say, okay, well, I want the libraries to have these properties. And so some of those properties are going to be, I want to bind these things. I want to avoid these things. And then some of these properties are going to be, oh, there's other properties ADMET model approaches that you can use to make predictions about how your chemical material might turn out.
1:29:55
And so you put that as part of the optimization function. And then what you do is you say, okay, of all the chemicals that I could make given my geometry, I don't want to make that many. I want to make a smaller number. And so you basically set up and generate a bunch of synthetic libraries and you score them on this optimization function.
1:30:11
And so we did that with this library and the starting material looked pretty good. So I'm sure that we'll continue to do that. Along those same lines, has anything that you've done like made it to so it made it to animals yeah so PKPD in a mouse is that's yeah so what that what that means is can you dose the mouse with the thing and then see how it gets into the mouse's body and tissues yeah so PKPD is pharmacokinetics pharmacodynamics meaning yes how does the body move the the drug through the or how does the metabolism move the body the drug through the body yeah And then are there biomarkers of the drug's intended activity? And so what that means here is this is a
1:30:50
compound we're working on for inflammation. And so we were following cytokine levels in mouse blood, and they did what we wanted them to do and expected them to do based on the targets of the drug. So Sean likes to ask, when money? I want to ask, when people? Yeah.
1:31:07
Yeah. I mean, for those we talked to, we have a couple of these things that we're talking to folks about partnering out to spin up new entities to go chase them down. Okay. And so, yeah. And of course, like all these things take like some time. You've got to do like there are these traditional things for it once you declare what's called like a development candidate.
1:31:21
Then you've got to do a bunch of other work about manufacturing and additional safety work before you can get into people. So all these things take a lot longer. Yeah, and so you're going to spin out– the idea is to spin out a– so people, maybe even internal, they will say, like, I really want to take this thing to market or try to get it– like, take it to the next step.
1:31:39
Yeah, I mean, one way that we kind of think about it is, you know, we built this really great engine for, like– data generation and model training. And now, as we've talked about, like these reinforcement learning reasoning approaches and most other domains, when you build an engine to go do that stuff, to go like help on those problems, the subset that you're generating along the way is not itself intrinsically valuable.
1:32:02
No one wants to sell reasoning traces about, like, political theory. But, like, there are going to be little bits of gold that we have generated as a consequence of doing all of this screening. Because you're actually reasoning about not only that this model is good– or, sorry, this molecule is good, but that this– here is why that's good, too.
1:32:20
Here is why that's good, and here is chemical material that's proprietary to us that has, you know, activities that are, you know, protein target classes that others might find hard to drug, right? And so you've got starting material for, you know, right now we have starting material that looks pretty selective to us for, I think, like 700 targets.
1:32:36
Like, it's an enormous number. You don't want to chase all those down. But, you know, as opportunities, they are all opportunities with different levels of, you know, kind of economic value capture and desirability. And so you think, all right, well, we've got all this stuff. Like, let's see what we can get out. Let's see what we can get out of it.
1:32:52
Discovery is like a small percentage of the total cost of developing a drug. And you can argue that, well, you have a lot. Any given discovery is cheap maybe, but that, you know, because of the failures, you have a lot of them. So, but even then, you know. to get one drug, one drug, like all the steps of a single drug candidate that is successful is maybe, you know, on the low side, 200 million, on the high side, a billion, depending on who you have to test on and lots of other factors.
1:33:28
But, and then, you know, the discovery is a couple million. So, are you tackling the right problem here? And so, I think there are a number of early discovery problems that are worth that much, you know, like reasonable amounts. And so, what does that mean? There's a bunch of targets right now with like really good genetic evidence that are very challenging to drug with small molecules.
1:33:52
You know, a pretty straightforward example is for a lot of these kind of cytokine inflammatory indications, folks are using antibodies to drug them and going after a small molecule therapeutic that you could take as a pill instead of an infusion, one that doesn't require like cold chain, you know, transport to get to different patient populations.
1:34:12
Like having those things is enormously desirable. Meaning you have to have refrigerated trucks. Yeah, right? Yeah. Like, if you want to get these antibody-based drugs to some of these folks, like, this is, like, a very hard problem. Yeah, and very expensive. And very expensive. And so folks are, like, really quite excited about, can you find a small molecule therapeutic that does the same thing, that antibody against these things? So there's some antibody.
1:34:32
It works. Yep. And so we know it works. And so you're like, well, why can't we just go after the same target with a small molecule? And it turns out that those proteins are very hard to drug for a variety of reasons. But we like to think that, you know, the technology that we're developing can get good material. And so we do, in fact, have selective material for a lot of these cytokines.
1:34:48
And so that's one example of something that's like a very desirable target where, of course, like, there's going to be much more capital requirements to, like, get it across the line to actually get it to market. But the interest is sufficiently high enough. So you're going to ruin the antibody market, basically. I mean, if you, like, If you can, like, and it's good for some stuff.
1:35:04
Like, it's great for some stuff. And, like, there's a lot of energy being thrown, you know, at those groups because we're good at protein folding, right? And so, like, they're making a lot of progress. And maybe more broadly, I would say, is, like, going after the right problem. It is a little bit of a lamppost problem where the things where we can make enough scalable measurements in the life sciences are these early problems.
1:35:24
We can't really run a million mice experiment, right? Like we can't run many millions of phase one trials. And so we're going to get better at that stuff. We're going to start to like go up these different layers of biological abstraction with like better data and better reasoning and physics models. But like right now, like the technologies that we have to really make the number of measurements that we need are going to be like these early approaches, I think.
1:35:44
Yeah. I would argue also that you can, if you have an oracle, some AI oracle that says, oh, this, like all the admin properties will be good and this generalizes to exactly this population. So you have this oracle filter, then all of your failures in clinical trials go away. Yeah, you can imagine a world where you can come up with an oracle, you have some new target that, you know, some new evidence it covers.
1:36:07
And then the oracle could give you small molecule material instantly that you would feel comfortable running straight to like a mouse study. Right. So that requires training on data from mouse studies, clinical trials, whatever. I mean, maybe. I mean, I could say definitely like ADMET properties if you're confident in the target and you need to make sure that it's not hitting all these other off targets.
1:36:26
But even then, like that's, you probably don't need clinical results to feel the confidence to run off and run a mouse study right away. All right, well, we're on everyone's favorite pet question. My favorite pet question is what I call the Khosrowy paradox of machine learning and discovery. Oh, here we go. Yes, yes. Okay, so Sri Khosrowy.
1:36:43
Bless him. Great tweet. I love this tweet. Love this guy. Yeah, yeah. I mean, he was on just a few weeks ago. We hopefully will release his episode in the next few weeks. Sadly, I actually didn't even bring this up on the episode. I'm so disappointed. Okay. Anyway, but yeah, the tweet is basically what is the business model in machine learning for drug discovery? Because in order to build a good machine learning model, you need lots of data and good high quality data at scale.
1:37:09
You clearly have that. But then if you need that to train the model, like what do you need the model for? Because you just go collect the stuff and you clearly can collect this stuff quite well. Right. Yeah, we talked a lot about data collection. We talked a lot about machine learning. And I'm actually kind of curious in some ways, like, where does the actual machine learning, is it necessary for your business model? So, I mean, of course, it would depend on the business model.
1:37:32
I think if your only rationale is to go off and get good chemical material for a particular target, then of course, Rhea is right. right and you you would have it you could get started if you had enough chemical material broadly cast across all these other targets in a way that can uh you know kind of drive a deeper machine understanding of the chemical behaviors then the way by which you optimize those early materials have the potential to go much faster especially if you can do it at the scale that we've done it especially if you can do it at like the low capital infusions that we've been able to do this we have not raised a lot of money at least and we screen it in the
1:38:05
most amount And then I think getting even, you know, kind of even stepping back, you know, one of the reasons that I brought up this language model stuff is because we are starting to wonder if it would enable, you know, a much larger sort of like scope of capabilities than just identifying novel chemical material. Like if we get really good at chemical reasoning, then we can get really good at lots of different industries and their applications without having to physically go and screen in all those different domains.
1:38:33
Like what's an example of that? So let's say we get really good at making these predictions. Then we can run off and go work in agriculture like immediately, right? You could go work in veterinary science. You can go work off material science. And you don't have to– if you're really good at it, then you don't have to screen all those proteins too because you have like a good fundamental understanding of this.
1:38:52
Right. And the same thing could be argued for like all the protein folding companies, right? It's like now that these models are good, there are teams that are going after protein targets that have not been screened yet or are very challenging to screen and getting like really good starting material. Like the novel guys did it with this basically like a receptor on cells that has like a little tiny piece of a mutated cancer gene that's like really hard to do.
1:39:14
And they managed to pull it off. And so you can imagine, oh, there could be a world where we do this with small molecule material as well. And so, like, I don't think Sri is wrong in terms of finding, like, start, you know, if you're just trying to drug this one thing and you screen a lot and then you already have the thing, you don't need a model for the thing.
1:39:28
But that's not exactly the same as generalizing across all things. And, you know, we are hopeful that if you have enough of this variation in engineered activity cliffs that you will actually be at a point where you can do all things, at which case, at which point, you don't need to screen at all ever again. And arguably, you guys, I don't know exactly how much you raise.
1:39:45
So, I mean, for a campaign, that's like a couple campaigns that would cost the same amount. Yeah, yeah. I mean, maybe to put some real perspective on it. So, we have developed and screened about 2,000 different protein constructs, a total of probably about 5,000 screens in the history of the company across at least 6.5 million molecules each.
1:40:07
Wow. which I don't want to get into like a, like a huge numbers game, but it's certainly almost as much as anyone else on earth, maybe more than everyone else. Probably not. There's probably a couple of groups that like, you know, but like the number of mutations, I think it's probably more than everyone else. That seems likely to me. And so, yeah, like we just put a huge amount of work into making this like very cheap and very scalable.
1:40:30
And if I was doing one at a time? Yeah, if you went to a CRO and you did one at a time, it would probably cost you 100K each, depending on, you know, how much hand-holding you got. Right. Yeah. You just said 5 million, 6 and a half million molecules. That's not a lot of molecules, especially since it's combinatorial space. You know, everyone will say 10 to the 40 or something, 10 to the 60, big numbers.
1:40:49
I mean, obviously you don't need to understand all the chemical space. You just need to make drugs consistently, repeatedly. That's your goal. But is that actually enough chemical space to meaningfully do anything outside of your chemical space? Great question. So the pleasant answer is, you know, I said earlier that we have trained models on internal data only and that we're able to extend and make generalized predictions into Kemba, which is very different corners of chemical space.
1:41:15
So yes, do we think it's enough? Not remotely. You know, it's so part of our roadmap moving forward is making, you know, larger numbers of chemical libraries in different corners of chemical space and kind of spanning kind of what I talked about earlier, where some are like these very fine grain changes to more appreciated activity cliffs.
1:41:32
And then the other side, it's like these big course changes to try to capture new proteins and sort of protein shapes. This is not a hard question. Just I'm genuinely curious. Are you able to predict like potency, like relative potency meaningfully? Like, can you do KD curves like where you, you know, titrate like more and more larger libraries or? So people have wrestled with this a little bit in terms of trying to get the KDs directly out of Dells, doing things like maybe varying protein concentration or something that folks do.
1:41:57
One thing that we see is when we do replicates of screens, we get back the same hits in roughly the same order, which makes us, you know, kind of optimistic that you could get these kinds of things. We started to move more into SPR biophysics related measurements, try to figure out if we can maybe come up with like a potency ladder that we could then be as part of the chemical material that we're screening to try to capture those things.
1:42:21
But I won't say that like we're good at it yet. Yeah. Like you can't just use reads as a proxy for KD or something. I think the relative ranking, yes. But I think reads for KD, not really. And then you start running into weird stuff. So like there's lots of proteins that we've encountered where it turns out like the DNA barcode itself, there are proteins that are not described as DNA binders that we have discovered are.
1:42:43
And so you can imagine that that might affect the KDs of things. They have to figure out how to mitigate those problems and that kind of stuff. So like, yeah, it's, I think the relative ranking is something that's quite doable. I think translating it into KDs is something that we're actively working on. And we think we might be able to get like some reasonable, you know, kind of like sloppy translation, but I wouldn't say that we're there yet.
1:42:59
Okay, this one was pretty brutal. The bitter lesson, yeah, I'm just going to read. This one is pure clod. I had no thought in this. The bitter lesson is really the law. What stops a better funded lab from outscaling your Dell engine? Oh, yeah, of course people can ask us this. And the reason, like, you know, here's what I would really say is that both at Leash and at Recursion, my team has made so many mistakes.
1:43:24
in accidentally bumping into the cheating modes that just kind of come out of the consequence of doing laboratory work. There are so many of these. And so, like, you have to chase these down, and a lot of it has to do with tracking batch effects with metadata, for example. And so then you have to build a culture at your organization where it's like, all right, we have to track all these things.
1:43:43
You have to build tools to track all these things. We have to make those tools frictionless that the people doing the work actually will record these things. And then you have to go back and look at all the data back into this founding history of the company to make sure that you're getting really consistent results. And then when you see big changes, you have to identify what drove them.
1:43:58
then you have to mitigate those. And it's just like, it's like a huge, huge amount of work. And we also rebuilt kind of from scratch the selection process. We rebuilt from scratch a lot of the protein expression process. And then we have all these other proxies that we use to evaluate how well the protein production went and if it's good or it's bad and these other filters.
1:44:15
And it's just, it takes kind of a unique culture and patience and willing to make these mistakes and then have the team like really think very deeply about how to address them. And I think unless you've got folks who, you know, really have a nose for these kind of experimental mistakes, it's going to be pretty, it's going to take some time to replicate.
1:44:34
Process mode. Yeah, I really think so. There's just so many things where it can go sideways and you have to be paying enough attention all the time to identify them when they're going sideways. And they might be things that you can write automated filters for and maybe not early on.
1:44:48
And so like, you know, like one pretty good example I'm happy to talk about is people ask us a lot, how do we know our proteins are any good? We have lots of ways to figure this out. I think one of my favorite ones right now is we have noticed that when proteins misfold and we're able to identify misfolding in very crude cases, like if you put the protein, you know, run it on a gel, which is this protein trick where you try to figure out how big it is, and it misfolds, then you can kind of detect that.
1:45:14
But if it misfolds a little bit, it could be hard. There are drugs whose job it is to refold misfolded proteins. They're called molecular chaperones. Oh, okay. You can call it creatures too. That's what we would call them. Yeah. There's a very famous one that treats cystic fibrosis patients called Lumacaftor. We have a bunch of chemicals in our chemical library that looks like Lumacaftor, this thing whose job it is to refold misfolded proteins.
1:45:36
Guess what kind of proteins it hits when we screen them? Cystic fibrosis? Misfolded proteins. Oh, yeah. Misfolded proteins. That's what it's for. And it's in our libraries. And so, you know, like, and we discovered this by accident. Like, we saw this, you know, these chemical series keep popping up across all these different protein types.
1:45:55
Like, man, like, what is that? Is that lumecaptor? And then you start looking at the protein expression and then like how it went. It's like, oh, it goes when things aren't going well. And so now we can use it as one filter for if we think, if we get a bunch of lumecaptor heads, that protein probably didn't fold right. We probably don't want to use that as training data.
1:46:15
We probably want to rerun it with slightly different conditions and make it more friendly to the protein. Then we'll see what those hits look like. And so like, unless you're paying that kind of attention, like it's really, I mean, it's really hard. Yeah. And you have to build tools so that you can just look at these things and have people who know to look for these things and recognize them.
1:46:32
It's a hard problem. Yeah. Going back to everyone who touches Dells comes out traumatized. Somehow you've figured it out. I probably supported this one. You're also traumatized, but in a good way. Yeah. No, it's really hard. And that's why. It's hard. And, you know, when you have the motivation to just finding, like, one or two really awesome hits to start off a drug program, like, then you're not going to chase down, like, all of these different aspects of the assay.
1:46:56
And so I get it. But, like, if you're motivated for it to be machine learning fodder, then, like, yeah, you have to pay attention to all this stuff. One of the questions that we always ask at the end is if you could, by fiat, remove a bottleneck, what would that be? Yeah. No, when I think about buy fear, and it's one of these things that is actually currently happening, which is watching the sequencing costs drop like a rock.
1:47:21
Like I'm thinking about, okay, what do we really want to do? We want more chemicals and we want more measurements. Those are the things that I want to make my life a little bit easier, like the problems that are immediately on the ground. So you want– sorry, I don't understand. Cheaper sequencing, more molecules. Okay. Yes. And sequencing, like can you give some context for how much it's dropped? Oh, my God.
1:47:40
Like many, many, many orders of magnitude. It is, I think– The first genome cost a billion dollars, and now we can do a human genome for a thousand, right? I think it might be a hundred. A hundred. Yeah, a hundred. It's really cheap. There were stretches where it was dropping faster than Moore's law. Yeah. So wait, then why do you want to even cheaper sequencing? Oh, I'm just happy with the trend.
1:48:02
Oh, okay. What would you remove by fiat if it hasn't been removed? Yeah, here's a good thing. What I would want is... there are different gizmos that you can use to kind of purify small molecules okay so when you uh right now when you make them you you put some stuff in a pot and you heat it up or do some other conditions and you get the output and and that will work at some level of efficiency might be great might be crappy and so in either case especially if it's crappy there are these other gizmos that you can use to kind of clean it up so people use like hplc or some of these other tricks none of them are super parallelizable that are really, really good.
1:48:38
And so being able to like clean up stuff at a massive scale would be really, really nice because like we, you know, what do we want to do? We run all these molecules in this funky assay that we've already described as giving people lots of trauma. It would be great to then get, you know, large numbers of molecules in a different assay that would be really clean and purified and easy to work with and then go do that next because then you could really orthogonally validate all those measurements that you're making.
1:49:03
That'd be really, really nice. And of course, everyone complains about like GPUs and stuff. Everyone says like, besides GPUs. And then the other question is, what would you like people to take away from the episode? I would like people to take away from the episode that at least for us, we believe that we're building something that's really, really exciting and what feels like physically grounded substrate for all sorts of interesting reasoning and biomedical applications.
1:49:34
And so if that's of interest to them, please reach out to us. We're hiring machine learning people. We want to talk to partners. And so we're building this thing that we think will be transformative. So come talk to me. Amazing. Cool. That was great. So much fun. Thanks, dude. Thank you for coming. Thank you. Yeah. Yeah.