0:00My co-founder Andrew Blevens and I were at recursion looking at um a small molecule on a screen and then a medicinal chemist walked by us this name Mike Karesi and Mike was like hey looks like a Steuart Tribert molecule and then we were like oh no you can tell just by walking by and be like who made this that's horrifying and if the models can identify the chemist by looking at the molecule alone then maybe the models can infer chemist intent [music] which means maybe they don't learn anything at all well they did learn something
0:29yeah they don't physics. We downloaded all chemicals from all chemists at Kemble, which is the biggest repository of these things and their activities. Every chemist [music] 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.
0:45And then we trained a classifier to predict a chemist from looking at the molecule alone. And we got a top five accuracy of [music] 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. 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 Kemble and it does as well as if you use chemical formulas. We really think that
1:14it's learning a lot of sociology. It's not learning ground truth. When you train models on the on the exhaust, you might be in trouble. Welcome to Laten Space AI for Science podcast. I'm R.J. Haniki, CTO of Mirror OMIX and I'm joined by my co-host Brandon Anderson. He develops RNA therapeutics at Ato atomic AI.
1:34Super excited to have Ian Quigley in the studio with today. Today, this is a this episode's going to be a treat. Very excited. Um Ian is the co-founder and CEO of Leash Bio. Uh which in my personal opinion is one of my favorite young tech bios of the last like few years. you know, at a high level, um, Leaf is combining epistemic rigor, data collection at like a crazy scale and, uh, has has a strong commitment to open science and has an incredible series of blog post, a lot of which we'll cover
2:02today, but 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 hopefully can uh, trickle in through the episode. But yeah to start with uh thanks for being here and uh you know what's your uh is there anything about us that you want to tell us before we get started?
2:22Um no thanks that was very kind. Yeah we uh we founded Leash uh historically um after being confronted by a particular problem of trying to predict small molecules binding to protein targets uh and then finding that the data that was out there was kind of wanting and so we went out and built this thing at a reasonable scale to kind of try to go after it.
2:39Yeah. So reasonable scale. Um, you're founded upon the idea of doing something called a DNA encoded library. Every person I've ever met who has touched a Dell has come out severely traumatized. [laughter] I 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.
3:02Yes. Yes. Uh so when you're going after a small molecule drug discovery, uh 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. Uh and then go from there. Uh 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. Uh and you then dunk the protein in one tube at a time and it kind of takes forever. Uh, and then a different solution that was
3:30proposed uh, 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. You dunk your protein in the tube kind of like a fish hook. You pull out different ones that bind uh, and then you sequence the DNA of those. And so the idea is that you could then pull 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. And so what's happened
3:59downstream 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 Dell's, the largest one that has been produced um is 40 trillion molecules. Um there's some problems when they get that big, but that is the kind of scale that you could try to attempt with this technology. So the way you create these things is you you uh use this combinatorial chemistry where you have these building blocks and then you you build the library piece by piece but you build it combinatorilially. So
4:29that is correct. Yes. Yes. And so to unpack that a little bit uh if you've got you know 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. So you might be squared or cubed, right? Uh in some different uh example. 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.
4:57And this is restrictive in some ways because you know 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. And so that, you know, I'm sure going to get into this later, uh, 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. Uh, and that turns out to be incredibly useful.
5:25The other aspect of this is how you do the readout, which is this DNA sequencing. This has been a big theme on the podcast. We've had many uh guests who have had some variation of we do something crazy and then we convert the reading into a DNA sequencing uh readout. So how does this work and uh why is this so useful?
5:45Right. Yeah. I would definitely say that it is a party line at leash that if you're going to go off and try to do uh life science stuff uh and couple it with machine learning approaches. There's really only really only one scalable technology in town and that technology is taking pictures. Sequencing DNA is another way of taking pictures. Uh and so it's basically pictures and DNA sequencing. And if you can shovel your uh challenging problem uh into that using one of those approaches as a readout. Uh so for you know like
6:14recursion takes actual pictures of cells and a bunch of other groups do that like inra does that and then almost everyone else with the spatial mix stuff or or other approaches they'll do some mixture of of pictures and you know and sequencing which is is also pictures. Yeah there'll be some proteomics people out there who are going to you know disagree with me but I [clears throat] I I'd still argue the scale is not there yet.
6:32Hot take number one. [laughter] Yeah and one of the really cool things about sequencing is that it is dirt cheap. you can you know extremely scalable very uh well established technique like we're very good at it.
6:46It is it is very very cheap. It is getting cheaper all the time. Uh 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. And so like we very much look at like the trajectory of sequency cost dropping and it has implications for how we think about data collection and the scale that we're doing. Yeah, it's really nice. That's cool. So you have these components that you you are mixing together to form different this
7:13combinatorial mixture of molecules and each of those components is barcoded. Is that right?
7:20That's correct. And so they and then they so they kind of bind together because they're um these protein chain 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?
7:41Yeah. So first of all um it is very much like this sort of fish hook analogy where if you were to so right now the target you know is some protein or a protein complex that you're going to try to find chemical material to bind to.
7:53It's attached uh to a solid support. Uh 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. Uh and in a very easy case, let's pretend that the protein has a very distinctively shaped hole in it.
8:12Uh you dunk it in there and then the chemicals in that pool, some tiny fraction of them, have the appropriate shape and electronics that they're going to bind uh into this very distinctly shaped hole. Then you pull this protein back out and you only pull out the things that are in that hole. Uh you rinse it a couple times in some way. Uh and then you sequence the DNA of those things that come out that are in that hole.
8:31Okay? And then when you say sequence of DNA, you're basically amplifying the barcodes that are that is correct in there. And so and then you can so amplify meaning PCR or something like that.
8:42You do a little bit of PCR and then yeah, then you toss it uh 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 uh good negative controls to say, "Oh, well, if I just stuck the bead in there by itself, or are there pan protein uh stickiness signals that are going to pull out certain chemical libraries, chemicals from the library?" And so you got to think pretty hard about all those things and make a reasonable comparison to the thing you're actually trying to to get
9:11binders for. for the things that bind you sort of have these combinations of barcodes that all sort of okay if this this one bound that I have like these how many barcodes are we talking about for one one protein great question one small for one small molecule um so there's a couple things one thing if we want to get into the kind of uh PCR based weeds and so for the audience here if you're making lots and lots of copies of DNA um
9:40there's little subtle biases in the DNA that might make them amplify faster than others. 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, you know, 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 um 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, right? There's lots of proteins whose
10:08job 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.
10:19Uh and so that can be risky. Uh and that can cause false positives, right?
10:23Very much so. A lot of people complain about this. Uh this is kind of to the earlier comment about folks having Dell nightmares. Uh this is one of those problems. There's a variety of ways to address it. One thing that we do is uh we have large numbers of barcodes that each encode one particular type of small molecule. You say here's one small molecule. That's great. Now we have 32 or 48 different barcodes all encoding this one small molecule.
10:51Right. And so then you know so like mo you know there'll be you know a single example one single molecule has got this barcode and then its neighbor which is the same uh chemical formula will have a different barcode and then so on for so if there's differential there then you know that you that you're binding to the DNA instead of the that's right and so and so for like the uh the DNA protein afficados 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
11:18DNA encoding barcode that's like way 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. M it's like oh here's a transcription factor it binds this series of nucleotides that is very well described you know it's like six or eight of them and then you look at the the you recover the DNA sequences back from this experiment it's like oh great we found
11:47the consensus binding motif right 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
12:13have all these DNA tags, barcode tags like hanging off your molecule? Doesn't that impact the Yes, they are hefty. [laughter] They are hefty. This is another complaint that people bring up about Dells. Uh there's a couple different answers here, I would say. But like the the very like [clears throat] 10,000 foot philosophical answer is that uh there are two different or there are multiple different reasons why you might want to run one of these experiments. One reason is that you're trying to get uh small molecule material that behaves a certain way that you're going to progress into
12:42drug 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.
12:51And that's true. And when we try to pursue interesting chemical material at least like you do have to go through the work of manufacturing the chemical off DNA you've got to run them in these functional assays there's a certain level of attrition uh for things that are easy in our hands about 90% of them work for things that are hard is 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 you ran the experiment some of them bound and some of them didn't and that is real signal
13:21that you were physically be measuring from the world. And so then you just condition your models on the existence of this barcode. Uh and then you just keep moving on with your model training.
13:28And 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, um we get back the same hits in the same order for the most part. And so it's extremely reproducible and robust. And so in terms of like ground signal, we feel quite good about it.
13:46You could be blocking the pocket or something with your 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, but we know it's there and we don't pretend that it's not.
14:02Oh, I see. So, does your hit include the DNA then?
14:06Yeah. Like when we train models, we we put we very much put in a placeholder uh that that marks like the position of the DNA.
14:12If you're going to synthesize this for a drug, will you leave that?
14:18No. Like I said, that's that's where you get those attrition rates, right? Then you've got to make it and and sometimes they behave differently. Not always, but some fraction of the time. Got it. Got it. Got it.
14:26So, just need to understand that.
14:28Actually, that was those are really good questions.
14:30Those are really good. Yeah. Like there there are lots of objections and and like there's one re there. These are many of the reasons why folks are trying to do the thing that we're trying to do.
14:38Yeah. I was going to say going back to my original statement, I I again have never met someone who has worked on Dells and said we should do more of these.
14:46So, [laughter] Yeah. Yeah.
14:48So, I I mean I I I I think I mean hopefully we will get to I think why I'm actually excited that this route seems to be working. Um you know, hopefully the audience will will agree with me before this is over. In fact, actually maybe even a personal anecdote. Um 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 an adult company, I I jokingly said, "Okay, well that's money you'll never see again." [laughter] And I'm like here in
15:16front of our entire audience to say I was I'm I was wrong. I I wish I had uh I wish I had listened. Um 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.
15:37And then why did you think you could overcome that? But one thing I do want to say is that um when Dells were invented uh it was definitely at a time when sequencing was kind of more expensive and it really felt like taking doing sequencing experiments was kind of like a big logistical and financial swing. Um 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 binding to targets
16:05that are very challenging. And so that brings up a couple uh kind of tactical issues. Um 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. Uh and and and they have maybe tried a bunch of other techniques and they haven't worked out. So okay, let's try a Dell screen because we don't have anything. Then they'll go off and make uh the protein that they're going to try to screen and they'll put a lot of work into it because it feels like kind of a
16:35lift to do a Dell screen. And 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 uh for us to go off and run this screen. Um and then when they run the screen, they're going to try to maximize their chances of getting pretty good chemical material. And so then the incentive drives into a place where we want we want a big Dell like we want a lot of diversity. And so if you go looking at uh folks who are offering CRO
17:04services or internal Dell groups a lot of times they'll push into these very large Dells uh and hopes and that and that's their motivation and and it makes a lot of sense. What we have done that's very very different is um we you know we screen tons and tons and tons of proteins and we are less driven by trying to find uh 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 you know active chemical material across large numbers of proteins. And so there
17:31we can identify how our Dells behave very very well because every one of our chemical libraries gets screened against many hundreds of targets. So you're characterizing the the chemical library the chemical library better. we know 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 think 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
18:00behave differently 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 um is that I and a couple of the people at the company come from real like genomics methods development backgrounds as compared to
18:29chemistry backgrounds. And so we knew what it might take to tweak experimental protocols uh to really get good signal out of these funky assays. And I would say it was that plus uh many years at recursion. That's where I was last with my co-founder, this guy named Andrew Levens, and a number of other people on our team. And we all made uh you know, honestly like a lot of mistakes in highdimensional biology, bumping around in the dark figuring out what different modes, failure modes there might have been that would allow models to cheat on, you know, the highdimensional
18:57imaging data that recursion produces.
18:59And so we had this real eye for thinking about, oh, well, you know, there's these sources of noise this way. We're going to have to chase those down. and oh can you predict you know the instrument that this was run and if you can that's really bad and so we incorporated all that thinking into going after this particular assay and we had a feeling that uh folks hadn't really stared at it um you know in that amount of detail before yeah this goes back to the Ron Alpha noetic episode where I I found Mafia yeah recursion mafia I I I found there's
19:28some real spiritual parallels between both of your companies this like real epistemic rigor checking very carefully everything you're doing uh doing things in different ways and sort of like semi-over overlapping ways and uh I'm just curious we asked this yeah very data focused like at scale automation and um yeah and I'm curious like was there something like at recursion like was this just like corder recursion's culture that is sort of yes [snorts]
19:57especially in the early years um I would say that there are um four uh that I I think I think There's four um ex like recursion mafia companies and they all kind of rhyme. So there's us, there's noetic with Ron Alpha, there's Inveta with Vishwaluru and and August Allen and Hana Gordon and all these great people Dave Healey and then there's also known medicine that was run by Katy Rose Scaly that got picked up by PAS a couple years ago. And so all these companies are basically looking at um different interesting biology problems with
20:26extremely noisy measurements 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 consignal out of this particular corner. Uh you know and so for us it's a small micco chemistry problem for inve um it's mixtures of natural products uh they use they do do a lot of like you know uh kind of massspec kind of stuff and then there's Ron and and there's Katy R's group. So yeah we're all very similar.
20:51So let me let's pause for just a second.
20:54What what do you guys actually do?
20:56[laughter] That's great. Sorry, I I like I'm so excited about this, I just jumped in.
21:04Yeah, we 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. Uh and we use that to drive advancements and and and machine learning understanding of this kind of stuff. And we also push uh you know small molecule material into partners and move it forward towards you know towards patients. Just for the audience that's not familiar, what what is a small molecule? Why do we care? What how
21:32is it different than other therapeutic?
21:34This is great techniques.
21:35This is great. So, uh, when you're trying to drug something, uh, I 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, you affect its behavior in some way, there are a couple different things that are currently on the market that people use. Um, one thing that's common is, uh, antibodies, which are made by cells.
21:54They're large molecules. uh and by large uh they're they're big enough that they have a really hard time getting inside cells. They also have a really hard time uh being in a pill. So if you have like antibbody treatment or or one of these protein treatments like GOP like GP1 treatments, uh you're going to have to have kind of an injection. Uh it can affect uh 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 that are quite challenging for those. It is kind of more appealing in a lot of ways to
22:22instead of 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. They can go inside your cells and affect behaviors. They do make up most of drugs. Um if you've got any pills in your house, they're almost certainly small molecules. uh and uh of the different machine learning drug discovery groups that are going after treatments in a general sense. We have made uh we as in all of you know life scientists you know in in the 21st century have made pretty good progress
22:51on being able to predict and enable the behaviors of protein type drugs. So you've got a bunch of antibbody comedies like Isomeorphic does this or like Chai or Nava. 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 uh or have enough data for for protein behaviors that that make it reasonably effective you know for these companies to do these designs. Um our thesis is that uh those capabilities are really not here for small molecule approaches.
23:20And 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 characterist they go everywhere right in your body. So that's good and bad.
23:31Y [laughter] they they can penetrate into the cell and they can also get through defenses of tumors and cross the bloodb brain barrier more easily but at the same time they do all those things and therefore they can be more prone to toxicity and other side effects.
23:47Very true. So the uh the kind of path uh 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 are likely to cause problems and and what they're not. And for small molecules there's a bunch of um well-escribed problems that some of them might affect. Uh they might cause liver problems for example they might cause heart arhythmias. Uh and as a a medicinal chemist, a person whose job it
24:16is 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. Um there are a lot of these pitfalls and they have to do a lot of work uh to avoid these pitfalls. So make sure that my molecule doesn't cause harder arhythmias and then if I change it to stop that's 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.
24:45So one way to think about it is that um a hand some number of these uh problems these sort of offtarget 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. 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.
25:06Seems useful if you have a giant assay of That's right.
25:09of different proteins and 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 uh 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 maybe you should run a rat one because your chemical material behaves differently in those different species because those proteins might be slightly different.
25:32Interesting, 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 um of all these chemicals, which ones and what variations or ones likely to bind these things will cause other toxicity problems.
25:46Yep. Yep. And then downstream of that um 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 this heart arhythmia stuff.
26:05And 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 you know one level of biological abstraction away from what we're focusing on right now. But we like to think that models that have a good understanding of the biohysics themselves can be useful and maybe fine-tuned on smaller data sets in the future.
26:22Popping back one more maybe and get maybe getting a little into model. Why why Dells? Dells really are at least in our view um the most scalable technology for measuring small molecule interactions because you can put many millions of them in a tube. Now one thing that uh that we haven't touched on uh in terms of like these chemical libraries is that when you make them in a pulled process there are probably going to be some that react imperfectly and that the label translation of what
26:51you think you have might be might be a little bit off. And so we've designed a lot of controls into constructing our chemical libraries to mitigate this.
26:59When you're using these um you know the word might be array libraries or libraries that are in one chemical at a time in a tube or in a well in a plate um when folks study to figure out how good those labels are like you hope that they're good uh but when folks examine this um they're typically off by 20 to 30%. It's an enormous mislabeling problem. We think it's probably comparable to mislabeling and Dell's maybe worse. Um, and Dells themselves are just enormously enormously scalable.
27:27And maybe I can like I'll tell a quick story um that I'm sure that we'll get into at some point. Anyway, we ran a Kaggle competition a couple years ago uh and we decided to generate the data for the Kag competition and we released it.
27:38There's existing uh there's a database that was at the time two years ago called binding DB 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 and it was all measured by a single person in the basement of my house. [laughter] Yeah. The the early blog posts are really funny. You you like literal picture you have an act. It's not quite a garage startup, but it's it's in a
28:09It is a basement apartment with a like a 7 foot ceiling. Yeah. [laughter] It looks claustrophobic. Yeah. I've never seen a biotech startup started in a basement.
28:18It'll be done for like that, right?
28:21But okay, so the so this Kaggle competition I think is just a fascinating story because you had such high hopes going into this.
28:29We did. [laughter] You were like and and I 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 rand random split or something. you 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, the decisions you made and then also the result?
28:54Yes, happy to do that. Um, so we were not by a long shot um 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 doing this like there's a real classic paper that came out of XCM and and Google some years before before we founded Leash that that that does this. We had run a lot of our own experiments on public data. Uh and we had suspected that no one was really very good at it. And so we wanted to put
29:23together this contest in a and and design the evals in particular in a way that could really test it across a range of um eval difficulties where because we were thinking about okay we're going to have a lot of people hopefully a lot of people compete in this. Some are going to be very good, some are probably going to be beginners. Uh 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 at the very top end of what would be difficulty or what we imagine difficulty might be. And so to kind of unpack that, uh we've talked a
29:52little bit already about how these libraries are combinatorial. 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 Shiaoji Louu who who runs a shop called Alpha Mal in Shanghai. And the chemical library was about 130 million molecules.
30:11And the center part of the molecule, you can imagine it um kind of like a hub with three spokes and then the center hub was the same for every molecule.
30:20It's a 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 um for uh the evaluation data set. Let's have a couple different ways to split this." 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 could 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 going to have any shared building blocks but we do know that if they're
30:49going to come from this chemical library there's going to be the shared hub and so we can imagine that some of the spokes might be similar but they won't be exactly the same uh and they won't be shared so we think this is going to be a little bit harder sounds great and then for the third most difficult uh 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 and so we thought okay we're going to do 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
31:18going to say here are the evals uh and let's go see how it goes. And uh so we launched the competition. It was uh two years ago. Um 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 uh on did you know okay on on the stuff that where there were shared building blocks. 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 tine was still there. And then when you go to the most challenging eval, no one did better than chance.
31:46Yeah. The like winner was like the like 1,200 just random person who submitted a Jupyter notebook, right? Or something.
31:54Actually, yeah. So, so the winner was this guy named Victor Schlapov who put together a slightly different approach, but and and his his was good, but again, like everyone else, no better than Chance. Uh three of the top five uh were the noisy tutorial notebook. So, so, so, but just to be clear, there usually with Kaggle competition, there's like a a public eval for you to train to to test your algorithm, I guess, and then there's a the private one that's held out. That's right. And and the competition runs that and all you know is the score.
32:21Y So, was your library included in the public? Okay.
32:25It was it was hidden back to be to to make it spicy, right? Okay. Yeah.
32:29It [laughter] 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 touched about that but then how did that sort of affect your thinking about like how do you proceed forward there?
32:43Yeah. Yeah. We had a couple hopes uh and some and 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 uh we gave it about a 5% chance that recent advancements and kind of like coalfolding approaches would mean that it would obiate our company entirely.
33:02No it didn't happen. No, but we we were like, you know, there's like a small chance like we are really messing up here and that didn't happen. Um, we suspected more likely that folks weren't very good at it and that the data might help and so we're hoping to see that. Um, one thing that and anyway, you'd want to know that.
33:17You'd want to know that before you 10 years of your life.
33:20Absolutely. Absolutely. And and like another thing that we wanted to know is there's lots of different ways to represent molecules and give them to computers. You could use these things called smiles that do it some way. You can do 3D graphs. There's like weird spherical like spherical convolutional nets. 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
33:49background like let's try like some of these different representations and let's see how it goes. And we were grateful to find that you like the thing that we were doing which are just basic smiles kind of beat everything else.
33:57like it wasn't it wasn't like a resounding thumping but it was better enough for us to continue to using that approach and smiles just uh if I recall correctly is just a basically a sequence a textual sequence of of strings it doesn't it doesn't encode any 3D structure into it it's just it's all emergent from it is a graph traversal yeah translated into a text string and so you can start the graph at different points and so there's you what they call canonical and non-cononical smiles depending on where you start uh but yeah it's an extremely simple representation
34:27And so yeah, we were thinking that you know or you know we wondered if uh if some of these fancier ways of representing molecules might beat at least this particular problem and they super didn't. So was your takeaway that you should go full force into this? Was this encouraging to you or was this discouraging you that like how what was the what was the collective emotional reaction at leash after that? I always I've always wondered that. I mean he kind of wrote about you had several follow-ups. Um but I I'm just curious to hear.
34:54Yeah. Yeah. This is a great question.
34:56Um, so like we we are extremely bitter lesson pill over here. Um, 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.
35:08[laughter] 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:19Yeah. No, we I mean for us it was it was pretty validating like oh man like we this is an opportunity here especially if your scalable measurement regime is hard and you have specialized knowledge to do that.
35:30Absolutely. Absolutely. It was like oh man like this is the time to like pour gas on this. [laughter] This is great.
35:36Wow. Yeah. I mean that that's awesome.
35:38So then you were just like okay let's full force. We're we're going to just start collecting data collecting data.
35:44Yeah. And uh so you did that for a while and then uh what cames what came next and maybe first also what were the lessons you learned in the process and then I building to kind of your your first useful like outcome?
35:59Yeah. Yeah. A there are a couple things that were that from the process that we thought were very was very very useful.
36:04Um one thing that we realized is that uh 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. So, okay, so that, you know, we were always motivated to do that, but that really underscore 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? Uh, and so that was part of it. Um, part of it was thinking that we had this very large number of small molecules like this 100
36:34million compound library that didn't help as much to us as better characterizing a smaller one. 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 sequencing spend more money on sequencing getting higher 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. But that's correct. Like having a fixed budget really does affect like your
37:04strategic choices. 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.
37:11Sorry, which two axes?
37:12Uh so that would be like the number of chemicals against the number of proteins. Okay. Right. And so, you know, you can imagine like, oh, I'm going to do three proteins in a billion chemicals or maybe I should do like thousands and single digit millions. Yeah.
37:24You know, or some some other combination of those.
37:26Single digit millions being probably one of the tiniest cells ever constructed.
37:29It's pretty small. The smallest one I've seen is 50,000 molecules.
37:32Oh, okay. Yeah. I I guess you can make a custom Dell if you want to do like S.
37:36You can do whatever you want.
37:36Yeah. Yeah. [laughter] Yeah. It's a when you have the technology, just do it. Two building blocks. Yeah.
37:42Yeah. Right. You can do whatever you want. And so that's the nice thing is you have enormous control over over like you know both like the library size and it characteristics and like this barcode issue that I talked about. You can expand that kind of stuff. And we put a lot of thought into you know kind of bells and whistles in our own Dells to uh to really boost you know kind of like a performance and and signal over noise and all this stuff. But getting back to the kind of like the CG competition lessons, you know, it was also clear to us that uh models could think about um memorizing individual building blocks
38:11and that would boost their performance.
38:12That so that seemed pretty clear. It seemed pretty clear that they might be able to um get an idea through probably through memorization that if you have a very similar building block, it might behave similarly. to the also some of those performance uh metrics and then also that you know we have something that's pretty far away they I mean at the current regime at that regime they simply could not do it and when we released these results uh basically saying hey you know no one did better than chance um we did get some blowback where folks were like well did anyone good compete you know in your
38:42competition like maybe everyone's just bad maybe it's all first year grad students um and so as a result we just released all of the data entirety and so if anyone out there thinks they're awesome then like please show us cuz like we want this problem solved. Uh but we haven't seen anyone um do great you know perform great on that stuff yet.
38:58And when you say all the data you have including all like the raw read counts and everything. So so so you can go through and say oh it's not just you know a processing error like you can go from the raw data and use it.
39:09You could take yeah you could take our binary labels you could do it yourself. Uh all the evals everything [sighs] it is it is all on Polaris which is like a nonprofit group that was run by recursion. It's it's there for anyone to use. please use it, you know, like we we intentionally released it as as you know, hoping the community would would make good use of it.
39:25Do 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.
39:35I 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, right?
39:42Because if we if we all have models that really understand truly understand like the physics of the interactions between the amino acids of 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, you know, and I think when we see when we see structural model predictions and folks say, "Oh, well, you know, I've got this time split on the PDB, for example, and you know, you know, our model's never seen these mo these molecules or this protein before, and then hopefully we can, you know, kind of use this understanding to make reasonable folds." Like that's that's very much in the spirit of of being able to make the predictions on
40:11this stuff cuz no one has seen these especially our internal molecules like no one's seen those before.
40:15That's cool. So Kaggle competition you went ahead and uh you've learned you learned some lessons. You went full force data collecting regrouped um committed to scaling.
40:26All right. So uh then you uh I think something like six months later you released or you had a blog post about your model Hermes.
40:34Which is um Yeah. Can you tell us about that? And [laughter] some of the learnings there and I think both kind and especially how you evaluated that I think and all the care you which went into that model.
40:46Hermes is a model that is the original brainchild of a data scientist um at le named Mike Kleiner Max Kleinesser and also Sean Francis Line and Andrew Bleven of course is the CTO there. What the thinking was um originally was that uh we had a bunch of data and we were thinking about how to split it and 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 was like ah you know we want to try stuff fast and so we built Hermes uh and
41:15then the basic architecture of Hermes um is two different embeddings um one of them is a evolutionary scale modeling 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 uh and they got picked up by Chan Zuckerberg more recently and we had Alex Reeves on the podcast so we can throw back to throw back to that episode if you want to hear more go back a few years Yeah, thank you Alex if you're listening. Um, so we did that for the protein side. Uh, and then we had a different embedding called Kvera which
41:45is basically like an X token predictor chemistry uh kind of the other side something which predicts smiles or that's right. Yeah. Just predicts Yeah. Smiles tokens. Uh, and so that's it. These very very two simple embeddings and then we just put them together with cross detention and that was it. And then we used it to predict a binary label.
42:00Simplest possible thing.
42:01It's incredibly simple. Uh, very very small and then we train some data on it.
42:04Um, actually you know not the simplest. you could have done a MLP after those right instead of cross engine. So why why attention?
42:13Um the thinking with the attention was uh had to do with some other experiences that we'd had um kind of with uh graph convolutional like graph models for protein structure. And one thing that we noticed is uh if you've got these sort of graphs and there's a couple models that do this at 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. 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 at least
42:43what we hoped is that it would be looking at the different parts of the proteins to small molecule structures that could be useful here. So this is I think oftenimes known as the Picasso problem in like image generation where um let's say CNN's for example would were famous for a while where they that you could scramble just the features of a picture like Picasso like flip the nose around or just like rotate the eyes or something 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
43:12structure and this has been a problem in small molecule drug discovery for for a while where often times it picks up on local motifs and then it doesn't have any global understanding of the topology. 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 is a simple concept. Yeah. Yeah. So cross attention
43:40in some sense forces certain molecules to interact with like certain residues in a protein. Yep. or at least maybe not forces but provides the offer. Think about it. It's an inductive bias. Yeah.
43:51Yeah. Kind of what you're getting at is um you know we were thinking about how to evaluate this and so we had done some of the similar tricks that we did uh over with the cow competition where we had you know training sets and data that we generated internally um and then we'd looked at chemical libraries that were further away. Uh but then also we wanted to think about splits um to kind of probe Hermes behavior. And so because Dell's 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
44:20memorization. Um 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 uh then you might have things that like are close enough that that memoration memorization or some other you know cheat mode might you know convert predictive power. And so we came up with a a scheme where we then did uh um basically clustering of these different building blocks. We had building block clusters on similarity. Uh and that way we would just avoid entire clusters from
44:48being overlap between test and train.
44:50And so when you do that um then you know the performance does drop. Um and so uh one thing that you might be alluding to is uh we have a you know we use lots of lots of reasonable baselines here that we're really worried about. And so for almost everything that we do, we'll use like XG Boost, right? You should use something like that just to see how it's going. Right. Yeah. Every Yeah. The uh classic young machine learner practitioner, they spend six months optimizing the favorite model and then someone walks by and does like ex you
45:18know [laughter] XG boost random forest and they're like, "Oh yeah, yeah, that just beat like six months of work." Oh [laughter] yeah. Yeah.
45:26Yeah. And and so we uh and so we did these different like split regimes uh to try to evaluate how well things would do relative to like actually boost performance. And so one thing that was really really gratifying to see is that you see XG boost 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. If you only share one, it gets worse. If you share one one, you know, only none, it's worse.
45:51And if you do build block, it's even worse than that. Uh and then we compared that to the Hermes performance, which was pretty steady across all these different regimes.
45:58Yeah. So it made us think like, oh yeah, you know, you've really got to get pretty far out of distribution for XG Boost to really tank. Yeah. And that's something that we haven't, you know, we haven't, it's in a couple plots and some work that we published. We haven't yelled about it too much.
46:10Wait, do I thought do you don't you have a blog post like XG Boost is all you do?
46:15That's why we did that. Yeah. Yeah.
46:16Running 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?
46:24This 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 fail like pick up on so many weird detractors and your one your blog post about molecule ownership or authorship was a really fun story.
46:46The clever Hans post. Yeah. So many years ago, uh my co-founder Andrew Blevens and I were at Recursion looking at um a small molecule on a screen and then a medicinal chemist walked by us. This guy uh this guy named Mike Karesi.
46:59Uh and and Mike was like, "Hey, looks like a Steuart Triber molecule." And then we were like, "Oh no, you can tell just by walking by like who made this?
47:08That's horrifying." And then that haunted Andrew in particular for like many years. Like it was like six or seven years. And we joked uh you know I don't know every couple of months we're out for beers like man we really should figure out like how bad this problem is.
47:20Why is that a problem?
47:21Okay so it's a problem where it's very easy to imagine you're going to try to train uh models to understand chemistry.
47:28So 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. And so, well, they did learn something. They learn something. Yeah. Yeah. They don't learn physics, [laughter] right? They're not learning the thing you're trying to get them to learn. Uh, and so we were really afraid of this.
47:51They learned that certain chemists are better than other woods.
47:53Yeah. We learned all kinds of stuff, but maybe to set to set this up for the audience. Um, so we went out and like we, you know, we published this, you know, over Christmas. You can look it up. We have a leaderboard. We have a goofy online game you can play. Um, but uh 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 molecules and all the stuff. It's 1,815 chemists and then we train a classifier to
48:22predict a chemist from looking at the molecule alone and we got a top five accuracy of 60%. It's a very very easy problem.
48:30Yeah. 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 we think it's very likely is that there is a distinctive chemical signature style that individuals have when they make molecules. And then when those individuals have students or or trainees, then they adopt some fraction of that, you know, and so that was that seemed pretty pretty clear to us. Uh and so that was horrifying enough of on its
48:57own. And this is a data set that many many academic projects many PhDs have trained on, tried to predict on, find patterns and this is really like a major data set for the field.
49:12Yeah. 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 are using their styles to go after different types of projects.
49:28But but the the key here I think is that those chemists also tend to solve similar problems. like I'm might have a career here and I'm I have a style but I also am working on a a class of problems right and so that you're style is also you're learning the style instead of the problem you're you're learning the style you're learning the sociology of the problem and the other thing that you're learning is that um when you're a chemist at these organizations you know ordering a molecule to be manufactured
49:57and tested is kind of a pain right so what will happen is you will make many many choices of things you will not pursue do and you do not write those down. Oh yeah, it would be dumb to do that. And it's like, yeah, that's their motivation. Like our team couldn't just just wouldn't make it. Like they could say like, we could do this, but then they would cost too much. Or the 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. Like there's all these reasons why you might
50:27not make a choice. And then not making that choice is a fingerprint that that is going to land on what does get made.
50:34And 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 this is yeah I bring this up like every single time you medicinal chemists are some of the most superstitious people I've ever met right and so and so it's like oh well this building block worked in this in this program that made it to the clinic.
50:53I'm really fond of it. Maybe it helps with solability. 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. And so it learns all this weird stuff. And so like we were very afraid of this. And so we took, you know, we ran this this uh this model to identify who the chemist was.
51:15And 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 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 Kemble and it does as well as if you use chemical formulas and if you combine them according to sociology only.
51:41Yes, [laughter] if you combine them, it doesn't you meaningfully better and so yeah, we we are you know we really think that it's learning a lot of sociology. It's not learning ground truth. is just learning like the choices and the fingerprints of the people who are trying to develop these these molecules.
51:53And it's not a knock on them, right? I mean, that's 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. But when you train models on the on the exhaust, you might be in trouble.
52:05So, this means that this is not a great machine learning training set.
52:09We do not believe so. [laughter] It's funny. In my my own 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 [laughter] single biggest predictors you can possibly have. Like wasn't it cast 16, right?
52:27Cast 16 where it was tied for first place.
52:30Second place like it was really close.
52:31It was really close.
52:32Yeah. So all these people pulling out their fancy machine learning models, you just sort the molecules by heaviest molecules better find binders. Yeah.
52:41Yeah. So yeah, but but this is not an intrinsic property to chemistry. This is a property of the data set.
52:47Yes. Yes. This is a property of the sociology of what gets made, what gets tested, and like the way medicinal chemists work.
52:53Heavier molecules more likely to bind.
52:56A 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 too you want to talk about.
53:03It'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. So, let me add this functional group to bind here." And then they're like, "Okay, well that that was a stronger binder." And then so they're like, "Oh, well, what if we add this other functional group to bind to this thing?" And what ends up happening is they just keep adding things until it tastes really good.
53:22And then yeah, until it's sufficiently good. And then, you know, then instead of using combinatorial approach, say Izzian said 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, which is not in the binding pocket to like make it, you know, and you just sort of you just keep tacking these things on and next thing you know, you get this big good binder.
53:51And so, you just sort by molecular weight and it's like the single biggest predictor [laughter] that you can have in most public data sets. [clears throat] 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 because they like it.
54:07Yeah. [laughter] So you just do more stuff to it. It gets more baroque or uh you have more like complicated expensive reactions or you know, you get like weird building blocks that are hard to get.
54:17You know, things that you wouldn't do if you didn't think it was working.
54:20And so it's all these signatures that the models would just kind of pick up.
54:23And so yeah, it's quite terrifying. So yeah, this is this is like the horse something clever hunt. Can you uh tell the story about Clever Hunt?
54:31Yes. Yes. So, for uh so a little history lesson here is uh there was a um there was a horse trainer uh in Germany. I think it was like the late 1800s. I mean, I wrote about this. I should remember it. And uh 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 like a a chalkboard that's got a math problem. And then the horse would stamp the horse's foot on the ground uh and then stop when the correct answer were, you know, was was arrived at. And everyone was amazed that the
55:01horses are brilliant. And then uh 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 micro expressions mostly of the owner. So that when it got to, you know, let's say the answer seven, then the owner gets like real giddy when it's at six, right?
55:22to stop. And there's this like wonderful paper uh put out by by a German psychologist um who actually evaluates the the actual microp expressions and postural changes that he had observed on the horse's owner is quite extensive. So yeah, like if you're dying for a silly read, you can go look it up.
55:38So then the analogy is that you're reading the face and not the 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 of the creators.
55:50Got it. going back to Hermes and your uh epistemic rigor and you know your in trying to build something useful out of all the data you trained. Yeah. 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 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
56:19bridge that gap for us to think about this? Like we did a bunch of these splits like I kind of described earlier. Uh 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. So maybe we should try to predict on external data instead but without ever training on external without ever seeing it. And so that does put us in a nice position because uh I haven't seen any other group train uh models for this task exclusively on
56:47internally 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. And so we took large collections of of external molecules and then we predicted them uh to see how well we would do across you know many different proteins lots of different positive negatives that we chose very carefully. It was uh 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 target. It's some huge number and then we can then we
57:16benchmarked it against the uh existing what was at the time like the state of the art structural model which is done by the bolts team and so which is a very good model and like ours cannot do that a lot of the things that that model can do. Um but what we were able to do was do about as well as those guys on those public data sets in terms of like this binding problem. when you compared to Bolts, it required some some sort of tricks to to kind of have a fairish comparison. I think Boltz also trained on this data. Was that right?
57:42Sort of. Um, so there are a couple large collections that um we we weren't totally clear on like the different subsets that they had trained on. And so there I could think of one example in particular where it was very very clear and I'll talk about that in a minute.
57:56But a lot of the eval that we used were ones that were also serviced by the Bolts team only we put a lot more a lot more molecules in there to go see how it would go. Um so yeah like I think I think there and also if you look at the different performances between Hermes and Bolts you know like we're better on some proteins and protein families that that Bolt is worse at and vice versa 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. Um, one thing that was very
58:24validating for us is uh, one of our test sets was like another uh, orthogonal chemical library that our models had not seen that we had used internally, but it was a copy of a chemical library that had been out in the literature. And so there was one target in particular um, it was called 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 data bank training set that Bolt had almost certainly seen. Our models did kind of bad on that molecule. There's a far
58:53away. 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 awesome at like, oh yeah, that checks out. Feels pretty good.
59:07So does this mean that I mean in your opinion this validates your scaling hypothesis? add more proteins, more uh more diverse chemical libraries and now you can basically fill in in the space more broadly or we hope so. Yes, we hope so. Yeah, like we think that um going after large amounts of diversity and in particular going after intentionally chosen uh 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:37Do you have two things that look very very similar except for a tiny change and that tiny change drives like outsized changes in in behavior? So like a real classic example of this that medicinal chemists will talk about um is this idea and it's kind of mythical.
59:52It'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 thorn that is or is not there.
1:00:02and the 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 and then on the protein side um we very intentionally engineer um
1:00:30mutations 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? Many at how big is like a building block in terms of atoms, right? Right. It might be it might be like six to like 30 or something if we're not ignoring like if we're ignoring like the hydrogen's, but you can you can imagine that they're building blocks that themselves are very similar with like a single atom substitution.
1:00:54Oh, 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.
1:01:04That's right. That's right. All right.
1:01:05And and maybe that thorn just changes position. And 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 fine grained changes that are very very subtle uh and you know to try to like really teach the models like these like very very subtle differences.
1:01:30And so as we think about designing our own chemical material like we have to span this kind of tension. So yeah we think about it a lot and both of those matter.
1:01:38Both of those matter.
1:01:40And it it also matters on the protein side too, right?
1:01:43It matters very much the protein side.
1:01:44And so as you look at um uh current like sort of co-olding models um a couple different groups have shown this. Uh 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 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 or small molecule chemical in there. So you got this pocket, a 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. You could fill the pocket in like you're filling it with
1:02:13cement 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:28Okay. [laughter] Because it just remembers where it is.
1:02:32So it's like looking at the large scale structural things, not so or like the hypothesis anyway is that it's doing this.
1:02:38Yeah. The hypothesis is that it doesn't quite understand, you know, when you when you have a pocket in 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. there's going to be maybe a little bit of pie stack and these other things that you know sort of drive this chemistry and those things really ought to be very very important and and they are very important in the 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 and that's the thing
1:03:06is like a lot of these uh structural training sets like there aren't great negatives because what makes it into there is yeah that's the thing right you know they don't have a lot of these variations that really you know disrupt these behaviors and no one's going to make crystal structures with a bunch of these new like we you know like we're currently doing first.
1:03:22But how do you get negatives?
1:03:24The 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.
1:03:33So 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. Okay. They are no longer going. That one amino acid substitution that we made is making a bunch of these chemical series drop out.
1:03:50But this is a one-off experiment. This is not Adele.
1:03:53No, this is Adele.
1:03:53Oh, no. So, you're just you're not saying you broke it. You're saying I find the case where it was broken.
1:03:59No, I we break it. So, we break. So, we take the So, let's say we screen a protein and the and the and the pocket is intact.
1:04:04Sounds great. Okay. We get a bunch of hits.
1:04:07Um let's let's go even further here.
1:04:09Let's say that we know someone else has already identified a chemical that goes in that pocket.
1:04:14Let's buy it. Let's stick it in there. Run the screen again.
1:04:18That means all the chemicals that normally go in the pocket will be displaced by a high concentration of the one that Oh, you have a competitive asset.
1:04:25Oh, we do all the time.
1:04:27We 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." Yeah. Great. Let's look at the the amino acids in that pocket and then we will change the DNA construct that makes the protein for us.
1:04:45We will now mutate physically this one residue. So now like this hy this you know this this particular amino acid now we put a big bulky one in there and the pockets full like the different side chain or something different all these things you can do.
1:04:57Yeah. And this is really easy now because we have alpha fold and you know bolts or all these structure models you can you can use this to design your proteins as you you can use this you can use 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 staff and kind of look at these things like oh yeah you know this guy Edward Craft is amazing 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 the with that one thing
1:05:25that's blocking 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.
1:05:31Right. 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?"
1:05:39Right? Reasonable question. You say, "Okay, 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." And they come back intact. Yeah. So you didn't just break the protein.
1:05:51You didn't just break it, right? And so, and then you think, okay, well, if you're going to be out screening a 100 protein constructs a week, which is what we do on big weeks, like sorry, so you've broken the pocket somehow.
1:06:03Then how do you also find that there are other things that do that start to connect to bind to the protein?
1:06:10So, when you change things around, you might change the shape in a way that does encourage other things to bind. We have definitely seen and and is that an information source for you?
1:06:18It is. It is. And so another thing that's really nice about this and the nice part about Dells is you can you can imagine uh if you're not thinking in large numbers that oh I've got this one chemical that was spinding and now I broke the pocket and now it's gone.
1:06:31But because of the combinatorial nature of the Dells maybe I have five different chemical series. It's like a it's like hundreds of molecules 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 I can show you guys a plot that we I don't know if you you know put pictures on on podcast or whatever uh but it's very obvious like oh this
1:07:01one 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. It's very very clear.
1:07:12Yeah. Go ahead, tell us about this plot.
1:07:14We pulled this thing up. Um, 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 the small molecules. Um, and a reason that we think this is you want to be able to get the, you know, a model trying to learn medicinal chemistry to really start to put together. You're having these uh hydrogen bond interactions between like this part of this small molecule and this part of the protein. Um, we've seen other work that I talked about earlier about how you can uh if you digitally break a pocket and you use the current state of the art
1:07:43models 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 get around this is to experimentally engineer mutations in binding regions of these proteins and then rescreening.
1:07:58Uh and so what that looks like physically doing that you take you take the DNA of the wild type protein that you've already screened and then you use microbiology techniques to change uh 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. 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. And so you but we can do this at a pretty big scale. So it's not a big problem to us
1:08:27to take a couple, you know, wingers at each one. And so then you run the screen and now when the pocket is broken, when the molecules go, 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?
1:08:41Is there something common about the ones that get dislodged or or or pitched out?
1:08:45And then you have lots of different examples of these where you might have three to fiveish amino acids in a given pocket that are driving the binding behaviors. 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. And that way you get a really good feel for, oh,
1:09:14I'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 that is interacting with the pocket that I just broke.
1:09:24What are we looking at on this diagram?
1:09:27So what we're looking at on this plot is um all those little dots are small molecules from a chemical library that we have designed and made. 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. Um 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've pointed that kind of chemical looking structure. And so if
1:09:55you're squinting and you look at these um 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.
1:10:05So in this plot there's on the bottom the wild type target and then on the on the horizontal or the vertical axis you have the mutant type target. And so there's this red one and the red one is pointing basically up.
1:10:22It 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.
1:10:33And then maybe uh 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:42That's correct. Yeah. There's a second mutation in that pocket that I can also share with you guys. Um where all of the all of those population 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. Um so and so that basically everything will be along the bottom.
1:10:58Okay. That's great.
1:10:59So you can give us postp production.
1:11:03So doing this you can map out both well you can c you can treat the activity cliff issue both in compound space and in protein space.
1:11:12That is correct. And this is particularly useful if you're let's say working at kynases where you there's like a hundred kynases which differ only by like in the important binding site you might differ by one residue at a time or something. So this can be incredibly powerful for certain classes like that in addition to your own sanity.
1:11:29Yep. That's right. That's right. Yeah.
1:11:31And we do this you know as I mentioned we we do this uh we do this a lot. Yeah. Many many hundreds of these types of screens.
1:11:36One of the things you can do with this is uh Hermes sees this cross attention. So you can actually interpret where Hermes thinks the binding pocket is. So it's learning the binding pocket through these type of maps. Yes. So uh one thing that we've sort of written about is using these attention mapping approaches to have a look at where uh Hermes is, you know, looking in amino acid space.
1:11:58And when we first did this work, we were expecting to for it to either look at uh the binding pockets. That was like the first intuition. And then maybe like a more measured intuition was like well maybe what we'd hope it 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 uh 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:27And so for maybe the non-biology people in the room, the way a lot of uh molecular evolution has worked is that there's a stretch of a protein that does a pretty good job and that often gets shuffled among other proteins as well. So that you have this conserved region.
1:12:41It's called a domain or you know conserve protein domain and so that part looks pretty similar across many proteins. It's something that biologists will use to uh infer protein families and relationships and functions. So if they all 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 think typically do a whole lot. They're like 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
1:13:08nickname 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, you know, 10 or 12 amino acids that are different here than everyone else, and I can just memorize it. And we thought that was bad [laughter] because maybe many of the like if you have a variations in the pocket or whatever, but but they all have the these other parts that are similar, then maybe and the variations
1:13:36in 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.
1:13:43Yeah. The concern was that the model again was not really learning any physics. It's like, oh, I can just memorize this stuff. It's very much in keeping with uh when you try to break the pocket with the co-olding 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.
1:13:56It's like, oh man, so how do you fix that? And then that's when we hit upon trying to do these uh 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.
1:14:11You're kind of encouraging the models to look at all the amino acids. And it can't do that for the section that's non-conserved because if it does that with these two things of different behavior, it's going to do a bad job.
1:14:21And so we went back and did model, you know, train models with these additional mutations like the one on this pot that you guys are seeing and then, you know, looked back at the attention maps 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.
1:14:44Yep. 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 strategy effectively anymore.
1:14:53You want to teach the model that No, don't do that.
1:14:56You don't do that. No, no, that's that's lame. Don't do Uh so I love this because we've seen we're I think that the most pragmatic use of mechan has been in biology and in probably other related sciences where and 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 the
1:15:24just trying to interpret what like what is like what is it thinking In this case, maybe it is actually that forward case, but I've just seen so much mechan 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 it's thinking unless you're inspecting the model.
1:15:47Well, 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.
1:15:56Okay. And what we are currently doing is um we're using um readable interpretable English to represent the small molecules and the proteins and their behaviors.
1:16:05And that turns out to work pretty good.
1:16:07Yeah. I [laughter] mean this is no. So this is because I want to just frame this a little bit before you tell us about this because this there's actually a really interesting paper in the single cell uh domain called gene PT in which people so I can't remember the authors.
1:16:25are from Stanford and it was somebody who was a statistician not even really in bio. Um maybe they are now but that person they took the textual embeddings of the descriptions of genes. Yep.
1:16:41And then they use those and so like you're using the ESM embeddings uh for Hermes. Yeah.
1:16:46So you were using the ESM embeddings.
1:16:47They 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 the embedding. So like yeah so please tell us about what you're doing.
1:17:07Yeah. So we started this project uh a little while ago uh cuz 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. 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
1:17:36open source language models like we did some quins and GLM and you know the stuff that other people are using uh and we taught them medicinal chemistry in ways where you say here is a structure describe it in natural English give me the diff between two very 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 and then you can also give it hard negatives so you have these two collections that think okay well I think this chemical series as this, you know,
1:18:05and it will write these things down in in readable English, which we think is great. Uh, 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 closed, 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 is 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. It will pull out what it thinks are the most informative
1:18:35choices. 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. And then we just you're doing this based on your a priaryy run experiments but it's looking up in a database.
1:18:52Right. So now so you're basically created reinforcement roll out. It is a reinforcement roll out of 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 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
1:19:21have these agents running through the data set. We just give them 10 binders and 10 nominators. You give them a budget of a 100 molecules and they'll go through, you know, probably like a 100 to two calls where they're just going through this long manystep reasoning problem and then come up with what they think are the answers to the best at the end.
1:19:37So 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 thing.
1:19:51Yeah, we think so. We think it's much more resistant to the memorization problem. And so like while we are very happy with uh 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 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
1:20:19scalable 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. 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 and to allow the agents to play in it, we think it's probably going to go a lot faster for this particular problem.
1:20:47That's interesting. Yeah. I mean you I would say it's clo it's Excel from Zera is getting there but they're not actually language they're but they are encoding as a sequence. So it's yeah in some ways the perturbation is similar but this is yeah this is different and then Laya also rhymes with this but it does like all these guys are really smart and pushing like these automation things.
1:21:11Yeah. Yeah. But but they're but they're they're not um doing these pulled screens and then using that as they haven't as far as I know haven't figured out how to make that into a just a database lookup. So you can do huge number of rollouts.
1:21:27Yes. Yes. So right now the way that we like to think about it is if you're a medicinal chemist uh and you're working at a pharmaceutical company you do this thing called a a structure activity relationship 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 S campaign. That's early drug development. Let's make the molecule better. Um you might see a couple dozen of these, maybe 50 of these in your career.
1:21:51And so right now, you know, last weekend we pulled out over 10,000 of them. And we're [laughter] not even trying that hard, right?
1:21:58So yeah, and so now is the opportunity.
1:22:00Now 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 cataloges. 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. Uh but right now we give these agents 10 binders, give them a budget of a hundred and they'll get the best binders out of six and a half million in that budget.
1:22:22And so it seems like it's working.
1:22:24Yeah. So like like tell us more about why you think this is I get the argument about it's a better regularizer. It's but also why why do you believe that this is effective? Right. So like um you can imagine well it doesn't get things wrong so badly but it also doesn't get things that right. But it's I think it's because you give it the opportunity to make all those choices.
1:22:48I mean it's like running these coding sandboxes. You just have like really rapid reinforcement reward signal and 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:01Yeah. So it has to be able to make the counterintuitive decision and get a feedback on that.
1:23:06It's got to have the counterfactuals.
1:23:07It's got to make mistakes and you need to make sure that the mistakes are, you know, present in the data or future potential mistakes are present in the data in ways that are not really biased for it to, you know, learn chemist sociology fingerprints.
1:23:18Yeah, that's that's really fascinating.
1:23:19So through all of the, you know, language pre-training corpus, it 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.
1:23:32That's correct. Sorry.
1:23:33Maybe 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 and now now that allows me to reason about the next harder question and then just keep making choices, you know, and and you know, right now we like we're really excited about the early signal." And also, you know, like we're a tiny shop, right? There's only 10 of us. Like I'm really looking forward to when uh you know our our experimental corpus grows at you know like 2x 10x you know like 100x the rate
1:24:03that it currently does because then like the amount of of space for these agents to explore like expands dramatically. 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.
1:24:24It depends on the building blocks. Okay.
1:24:25It depends on the building blocks. Yeah. So there are you can imagine that um 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 uh chemical library design choices typically it's like like one one that we run a lot right now is a forked design.
1:24:44It'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. Um, and then you have to think about where is the DNA going to go and like how is that going to cause me problems and then also the the commercial availability of building blocks and the chemistries required to stitch those together. You can go for custom stuff takes longer. It's kind of more appealing to us to go faster. Yeah.
1:25:06And there's certainly going to be corners of chemical space that we're probably bad at. And then you have to think about, oh well, future libraries should have this kind of geometry. And then I got to think about the different proteins are going to throw at it. And there'll be like a pretty uneven distribution of like a whole chemical library made this way might be really good for these types of targets. It might be really crappy for these other types of targets. And so then you get to think about all right, what am I what what corners of protein space am I optimizing for? And those kinds of tensions.
1:25:32Yeah. So, 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, but or maybe we don't even know we're lacking in, but we will find that out.
1:25:54Right. Exactly. Exactly.
1:25:56Do we want to move on to the uh last phase?
1:25:58Yeah, you can. Go for it. Let's see how it goes.
1:26:00All right. So, uh, for the audience context, um, Ian, uh, requested, I want to confirm that this was his idea, not mine. A call it a a don't ask me or come at me, bro section where we we ask the hardest problems we can we can come up with, which is, you can probably tell is not very hard from me. [laughter] Yeah, I think I've asked my hard questions already.
1:26:22We 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 the context for this is I was at um I was at a cancer and micro therapeutics meeting last week and uh and the the format of the meeting is half of the time is for content presentation and the other half is for very aggressive grilling. Uh and it was uh it was it was horrifying and inspirational and so uh here I am willing to do it in public.
1:26:48Let's do this. Dells as uh R.J. was just alluding to often times have very specific properties um and you can get very good at optimizing indel but ultimately they frequently fail at certain things which are hard to translate to actual medic medicine. Y so certain failure modes being such as anything which is easy to assemble is easy to dis disassemble bad for you know admit properties you only have so much room to kind of build on because you've already sort of used some of the comatorial building blocks and so on.
1:27:16Anyway, how is this limiting in terms of like long-term out of library generalization?
1:27:22I 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:30So, 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 you're currently generating. So, like is that going to be a failing mode? For sure. Yes. Yes, I would 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. Uh 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
1:27:59it was uh the most common bu way to attach uh building blocks between del chemistries is amide bonds or protein bonds. And so those are quite digestible uh you know in in the body. Uh but in the past few years uh there have really past like fourish years um there have been like a really nice um fluoresence 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. So it's actually pretty good for work a day simple
1:28:28chemistry. Yeah. So like I'm actually not too worried about that part. I'm I'm more worried about building block diversity uh than there sources for that. Yeah.
1:28:36What about adnet properties in general?
1:28:38like you know you you've been focusing very much on binding.
1:28:41We have. Yeah. So uh of projects that we've done uh trying to look at reasonable adap and like PKPD properties. For what it's worth, we've gone directly from uh from chemical library hits to good PKPD in a mouse in 6 months with a very small number of medcam cycles. So at least the chemical material that we currently have or at least that you know those few series that we did that for uh 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 admit that target models and then think about how to incorporate other types of
1:29:10you know more emergent models along with our designs. Was that speed driven by your ability to create custom like local cominatorial libraries or was that speed driven like what allowed you to get there in six months like um the so we when we designed those chemical libraries at the beginning we very much optimized that space uh for drug likeness and so we think that's part of it is that was like a really good starting point you know when we do our chemical library designs uh we have this uh kind of like tsson sampling level approach where we come up with an
1:29:39optimization 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 admit model approaches that you can use to make predictions about how your chemical material might turn out.
1:29:54And 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. Uh and so you you get you basically set up and generate a bunch of synthetic libraries and then you score them on this optimization function. And so we did that with this library. Uh, and the starting material look pretty good. So, I'm sure that we'll continue to do that.
1:30:15Along those same lines, has anything that you've done like made it to so it made it to animals and so PKPD in a mouse is that's Yeah. So, what that what that means is uh can you dose the mouse with the thing uh and then see how it gets into the mouse's body and tissues.
1:30:31Yeah. So PKPD is pharmaccoinetics pharmacodnamics meaning how does the body move the the drug through the or how does the metabolism move the body the drug through the body.
1:30:42Yep. And then are there biomarkers of the drug's uh intended activity. And so what that means here is this is like a drug this is a compound we're working on the inflammation. And so we were following uh cytoine levels in mouse blood and they and they did what we wanted them to do and expected them to do based on the targets of the drug. So, uh, Sean, uh, likes to ask when money. I want to ask when people [laughter] Yeah. I mean, for those we talked to, we have a couple of these things, uh, that we're talking to folks about partnering up to spin up new entities to go chase
1:31:13And so, yeah, and of course, like all these things take like sometime you've got to do like there are these traditional things forward once you uh declare what's called like a development candidate, 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 little longer.
1:31:27Yeah. 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 this thing to market or try to get it like take it to the next step.
1:31:39Yeah. Yeah, I mean one way that we kind of think about it is um you know we built this really great engine for like data generation and and model training and and now as we've talked about like these reinforcement learning reasoning approaches um and most other domains when you build an engine to go do that stuff to go like help on those problems um the subset that you're generating along the way is not itself intrinsically valuable. No one wants to sell reasoning traces about like political theory, but like there are going to be little
1:32:06bits of gold that we have generated as a consequence of doing all the 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.
1:32:20Here is why that's good and here is chemical material that's proprietary to us that has, you know, activities that are in, you know, protein target classes that others might find hard to 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 uh I think like 700 targets like it's enormous number uh you don't want to chase all those down uh but you know as as opportunities they are all opportunities with different levels of you know kind of economic value capture and desiraability and so you think all right well we got all this
1:32:48stuff like let's see what we can get out let's see what we can get out of it.
1:32:51Discovery 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 e even then you know to get one drug one drug like all the steps of a single drug candidate y that is successful is maybe you know on
1:33:19the low side 200 million on the high side a billion um depending on who [clears throat] you have to test on and lots of other factors but and then you know the discovery is a couple million so so are you tackling the right problem here um and so I think there are a number of early discovery problems that are worth that much, you know, like like reasonable amounts. And so what does that mean? There's a bunch of targets right now with like really good genetic
1:33:48evidence that are very challenging to drug with small molecules. Um, you know, a pretty straightforward example is, uh, for a lot of these, um, uh, kind of cytoine 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 uh, like cold chain, you know, transport uh, to get to different patient populations. Like having those things is enormously desirable, meaning you have to have refrigerated trucks, right? Yeah. Like and like if you want
1:34:17to get these if you want to get these antibbody based drugs to some of these folks like this is like a very hard problem.
1:34:22Yeah. And very expensive and very expensive and so and so folks are like really quite excited about can you find a small molecule therapeutic that does the same thing uh that antibbody against these so there's some antibbody it's it works.
1:34:32Yep. And so we know it works and and so you're like well why can't we just go after the same target with a small molecule?
1:34:38And 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 can get good material. And so we do in fact have selective material for a lot of these cytoines.
1:34:47And 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 uh capital requirements to like get it across the line to actually get it to market but the interest is sufficiently high enough.
1:34:59So you're going to ruin the antibbody market basically. I mean if [laughter] like if you can like then it's good for some stuff 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 lampost problem where the things where we can make enough scalable measurements in the life sciences are these early problems. we can't really run a million mice experiment, right? Like we can't run
1:35:27many 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 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:44Yeah. And I would argue also that you can if you have a oracle some AI oracle that says oh this like all the admmit 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.
1:36:01Yeah you can imagine a world where you can come up with an or you have some new target that you know some new evidence that covers uh and then the Oracle could give you small molecule material instantly that you would feel comfortable running straight to like a mouse study.
1:36:12Right. Right. Right. So, but so that requires training on data from mouse studies, clinical trials, whatever.
1:36:19I 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. Uh 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.
1:36:32All right. Well, we're on, you know, everyone's favorite pet question. My favorite pet question is what I call the koseri paradox of machine learning and discovery.
1:36:40Yes. Yes. Um Okay. So, uh, Shri Kasari, great tweet. I love this tweet. It was, uh, Yeah. Yeah. I mean, he [laughter] we he was on us a few weeks ago. We hopefully we'll release his episode in the next few weeks. Um, sadly, I actually didn't even bring this up on the episode. I'm so disappointed.
1:36:56Anyway, [laughter] uh, 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. 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. So yeah, we talked a lot about data collection.
1:37:20We talked a lot about machine learning and I I'm actually kind of curious in some ways like where does the actual machine learning is it necessary for your business model?
1:37:29So I mean of course it would depend on the business model. I think if your only rationale is to go off and get good chemical material for a particular target then of course re is right, right? 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 than the way by which you optimize those early materials have the potential to go much faster especially if you can do it
1:37:59at 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 leash and we've screened it an enormous amount and then I think getting even you know kind of even stepping back you know one of the reasons reason that I brought up this language model stuff is because we are starting to wonder if it would enable uh you know a much larger sort of like scope of capabilities than just identifying novel chemical material.
1:38:22Like 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:33Like what's an example of that? Uh 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 go work off material science and you don't have to if you're really good at it that you don't have to screen all those proteins too because you have like a good fundamental understanding of this 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
1:39:02starting material like the novel guys did it with this uh basically like a a receptor on cells uh that has like a little tiny piece of a mutated cancer gene that's like really hard to do uh 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 three is wrong uh 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 uh but that's not exactly the same as generalizing across all
1:39:30things and you know we are hopeful that if you have enough of this variation of engineered activity cliffs that you will actually be at a point where you can do all things in which case at which point you don't need to screen it all ever again.
1:39:41Yeah. Well, and arguably you guys if I don't I don't know exactly how much you raise. So I mean you're for a campaign you're talk that's like a couple campaigns you that would cost the same amount.
1:39:52Uh yeah. Yeah. I mean maybe to put some real perspective on it. Um so we have uh developed and screened about 2,000 different protein constructs. um a total of probably about 5,000 screens in the history of the company across at least 6 and a half million molecules each.
1:40:08Um 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.
1:40:17Probably not. There's probably a couple groups that like if you know, but like the number of mutations, I think it's probably more than everyone else. That seems likely to me. Uh and so yeah, like we just put a huge amount of work into making this like very cheap and very scalable. And if I was doing one at a time.
1:40:32Yeah. 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 handholding you got, right?
1:40:38Yeah. You just said five million six, what is it? 6 and a half million molecules. That's not a lot of molecules, especially since it's cominatorial space. You know, everyone was say 10 to the 40 or something. I 10 big numbers. I mean, obviously, you don't need to understand all the chemical space.
1:40:52You just need to make drugs consistently repeatedly. That's that's your goal. But is that actually enough chemical space to meaningfully do anything outside of your chemical space?
1:41:02Great question. Um, so the the the pleasant answer is um, you know, I I said earlier that we have trained models on internal data only and that we're able to extend and make generalized predictions into Kembbo which is very different corners of chemical space. So yes, do we think it's enough? Not remotely, you know. And so part of our road map forward is making you know larger numbers of 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 appreciate activity cliffs and then the
1:41:31other side it's like these big coarse changes to try to capture uh new proteins and sort of protein shapes.
1:41:36This is sorry not 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 large 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 is something that folks do. One thing that we see is uh when we uh 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
1:42:06could get these kinds of things. We started to move more into uh SPR, biohysics related measurements, try to figure out if we can maybe come up with like a like um a potency ladder that we could then be as part of the chemical material that we're screening uh to try to capture those things. But I won't say that like we're good at it yet.
1:42:22Like you can't use like you can't just use reads as a proxy for KD or something. Um I think the relative ranking yes but I think read for KD rates 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 that like the DNA barcode itself there there are proteins that are not described as DNA binders that we have discovered are and so you can imagine that that might affect the KDs of things and you 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
1:42:52something 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:58Okay, this one, this one was pretty brutal. The bitter the bitter lesson.
1:43:03Yeah, I'm just going to read this. This one is pure claude. I had no thought in this. The bitter lesson is really the law. What stops a better funded lab from outscaling your Dell engine?
1:43:12Oh yeah, of course people ask us this. Um so and the reason like you know here's what I would really say is that uh both at leash and at recursion uh my team has made so many mistakes in accidentally bumping into the cheating modes that just kind of come out of the consequence of doing laboratory work.
1:43:30There are so many of these and 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 we have to build tools track all these things we have to make those tools frictionless that the people doing the work actually will record these things uh and then you have to go back and look at all the data back into the founding history of the company to make sure you're getting really consistent results and then when you see big changes you have to identify what drove them then you have to mitigate those and it's just
1:43:59like 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 if it's bad and these other filters. And it's just um 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
1:44:28have a nose for these kind of experimental mistakes, it's going to be pretty, it's going to take some time to replicate process mode.
1:44:34Yeah, 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. Um, and so like you know, like one pretty good example I'm happy to talk about is um 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 of one of my favorite ones right now is um we have noticed that when proteins misfold and we're able to identify
1:45:03misfolding in very crude cases like if you put the protein you know run on a gel which is this protein trick where you try to figure out how big it is um and it misfolds then you can kind of detect that but if it misfolds a little bit it could be hard. There are drugs whose job it is to refold misfolded proteins called molecular chaperoons. Okay.
1:45:23You can call crers too. That's what we would call them. Yeah.
1:45:25Uh there's a very famous one that treats cystic fibrosis patients called lumicaptor. We have a bunch of chemicals in our chemical library that looks like lumacaptor. This thing whose job it is to refold misfolded proteins. Guess what kind of proteins it hits when we screen them?
1:45:40Uh misfolded proteins folded proteins in there. [laughter] That's what it's for. And so like 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 it's like man like what is that is that captor and then you start looking at the protein expression and then like how it went it's like oh it it goes when when things aren't going well and so now we can use it as one filter for if we think if if we get a bunch of lumac heads that
1:46:10protein probably didn't fall fold right. We probably don't want to use that as training data. 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.
1:46:24[laughter] 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. It's uh Yeah. It's it's a hard problem.
1:46:32Yeah. Going back to uh everyone who touches Dells comes out traumatized. Somehow you've uh you figured out supported this.
1:46:39Yeah. [laughter] You're also traumatized but in a good way. Yeah. No, it's really hard. That's, you know, and that's why it's it's and and 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. 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.
1:47:01One of the questions that we always ask at the end is if you could by fiat remove a bottleneck, what would that be?
1:47:12No. But when I think about Bif FIA and it's one of these things that is actually currently happening which is watching the sequencing costs drop like a rock 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 at the problems that are immediately on the ground so you want sorry I don't understand cheaper sequencing more molecules okay yes in sequencing like can you give some context for how much it's dropped oh my god like many many many orders of
1:47:41magnitude It is uh I think the first genome cost a billion dollars and now we can do a human genome for a thousand, right?
1:47:48I think it might be 100.
1:47:51Really cheap. Yeah. There were stretches where it was dropping faster than Mo's law.
1:47:54Was so wait why then why do you want even cheaper sequencing?
1:47:59Oh, I just I'm just I'm just happy with the trend.
1:48:01Okay. What would you remove by fiat if you like that hasn't been removed?
1:48:06Yeah, 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 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
1:48:34of them are super parallelizable that are really really good. 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 has given 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 uh and then go do that next because then you could really orthogonally validate all those measurements that you're making. Yeah, that would be really
1:49:03really nice. And of course, everyone complains about like GPUs and stuff like GPU that's what everyone says like besides [clears throat] GPU.
1:49:12[laughter] All right. So, and then the other question is um what would you like people to take away from the episode? I would like people to take away from the episode that like you know at least for us we we believe that we're building something that's really really exciting and you know like what feels like physically grounded substrate for all sorts of interesting reasoning and biomedical applications and so if that's of interest to them like please reach out to us like we're you know we're hiring machine learning people we want to talk to partners and so you know and we're building this thing that we think will be transformative so come talk to
1:49:44That was great. So much fun. Thank you for coming.