06:00 UTC Charta Aetatis Cyberpunk

Console For you Newsletter Pro Sign in Register
Aa · Display
Themes
Type size
Density
AI & Machine Intelligence · Latent Space: The AI Engineer Podcast · · 16:34 runtime

⚡ An Eval for AI Scientists That Knows the Answer Key - Ian Quigley, Leash Bio

Watch the full show on YouTube: https://www.youtube.com/watch?v=vhPCo-8K78UFull show notes and links

In the wiki Large Language Models
Transcript 3341 words · auto-generated captions

Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.

Hey there, welcome to Lab and Space Science. This is Brandon and RJ joined with Ian Quigley from Leash Bio. We recorded an episode earlier this summer with Ian where he talked about the cool things Leash is doing with DNA encoded libraries and how they could screen millions of compounds against thousands of proteins in a high-throughput way. Around this time Ian realized that they could do fun things with this data. It essentially allows them to create like a virtual sandbox where agents can explore and make decisions in real time as if they were medicinal chemists and get instant feedback but with like a huge amount of exploratory rollouts. Since

that episode Ian has and Leash have developed this idea much more fully and since then they have and they're now releasing a paper and a dataset and a blog post along with the episode that we just released. We wanted to sit down with Ian talk a bit more about what he's done and you know, hear about the updates. Anyway, welcome to the podcast. Thank you, Ian. Yeah, so last time we talked to Ian you were saying that you had some agents exploring a sandbox and you're like, oh, this is just a fun idea. We don't we don't know what we can do with it but it's an interesting idea. I think you've since fleshed this out into a full environment for agents to explore, maybe do RL on, you know, scientific reasoning. Can you talk a bit more about that?

>> Yes, so the thing that I talked about last time was this idea that we had these large collections of screens and that they were big enough environments and counterfactually dense enough that you could take agents and drop them in there and then give them tasks and they could go do those tasks on a limited budget in this landscape that we had measured completely. And so the flagship problem that we spent a lot of time over the past couple months on is a structure activity relationship problem. And the idea there is like, okay, I've got some molecules and I know that they bind maybe they bind to this protein that I want them to. How do I change them to make them better? This is a very common task for medicinal chemists to do.

And SAR, as it's sort of abbreviated to, also includes other stuff like certain drug-like properties, you know, does it get metabolized? All these things. We're not doing those right now. We're just doing, can we find molecules that bind better to the thing that we're interested in? And so what we do is we take model we take an agent like a language model and then we say, here's a catalog that you could look at. You have a budget of 100 molecules. We're not going to tell you anything except the target and go find the best binder you can. And so different agents tried different stuff. They have different search policies. They have different ways of wanting to spend their budgets. And what they'll do is they'll put out in readable language SAR hypothesis about why they think these molecules are working or not working. Uh and then they'll go in and with this limited experimental budget, they'll test this hypothesis.

And because it's all pre-measured, you can roll out a lot of these. We're up to about 90,000. >> So you started doing these on foundation models. I think you have like a paper or a little a preprint or something at this point that you can uh share. Do you want to share that or talk about it? >> Yeah, so the preprint will probably be out at the same time that this episode comes out. It is pretty ready. And uh what we what we show in there is uh that we get great separation uh agents across uh model families and that kind of levels and that kind of stuff.

But the another thing that's really interesting is because we have not just the results that you could use as a eval for how the agents are doing the job, we also know the results of the entire measured landscape or world. And so then you can start to interrogate how good is the agent at making scientific decisions. Because maybe it only got to like the thing that's half as good as the best thing in the entire environment. And so there we see all kinds of interesting behaviors like agents that give up early, ones find molecules that don't agree with the rest of their hypotheses, ones that keep retesting the same molecules over and over despite having a limited budget.

And also when it's good to explore versus exploit. And it turns out that more performant models are much better at abandoning a kind of unproductive neighborhoods. And that was actually a really interesting surprise for us. Yeah, and so when the paper comes out, we're going to release a bunch of these environments as Harper packages and then many thousands of transcripts for people to go play with and go see how these are being, you know, how they're how their science is doing. >> That's super cool. So do you have a feel for why the smarter models are able to figure out that they're in a bad landscape and move?

Or bad part of the landscape and move? >> We don't know that at all yet. All we know is that they're they're abandoning these crappy neighborhoods more quickly. And we definitely see a progression of the like a a more willingness to jump around overall for more performant models, but they especially abandon the the lousy places fast. And then the really poor ones stick around. >> It's not just that they jump more, it's that actually they're some they're figuring something out and saying, "Hey, this is not good. Let's get out of here." >> Exactly. Exactly. Yeah, and what happens with the the dumber models is that they'll just keep running little subtle changes on molecules that aren't ever going to go anywhere.

Right? Like, "Oh, these two, they have a low score, but I feel good about them." And so I'm going to keep trying stuff. And then and then the smarter models will abandon the entire process. We're going to go somewhere. >> Have you looked at the rollouts to see if it's thinking about whatever? >> Yeah, they think about all kinds of stuff. They'll say, "You know, when when we release all these transcripts, like everyone should look at one of my favorite things to do is just take, you know, large numbers of transcripts and just dump them into LLMs and just have have a look at the different failure modes and stuff like that. But you'll see, yeah, I think that this ring is good and I think that this particular nitrogen is painful or you know, whatever and they'll they'll say these things and then they're very plausible, you know, medicinal chemistry narratives. So, it's it's pretty it's pretty fun.

>> Yeah, that's amazing. >> I'm curious, have you given humans these same questions? >> I have to have them look and evaluate it like you know, not a ton, but because you know, we have we have a large number of them, but when we get medicinal chemists to look at it, they're like, yeah, no, those are very plausible thoughts about, you know, how to conduct this particular part of the SAR campaign. >> I don't know, maybe I'm I'm overthinking. Could you make a game out of this? Is it sort of a game, right? And then the medicinal chemistry the video game and then you can put people in these environments and give them yeah.

Do do the medicinal chemistry capture. >> [laughter] >> Yeah, that's your business model. I like this plan. We did do a game a little bit like this for name that chemist. We would have to probably boil it down to have a smaller number of building blocks. Because right now to have a chemist go in there, you can imagine that if you're a medicinal chemist, you might have this suite of things that you might want to try over time like put a methyl here, like move this around and when we have these pre-measured environments, we are going to be restricted to the things that we did actually measure. And so then we would have to be asking the medicinal chemist, oh well, you can't do whatever you want. You can just do a lot of stuff.

And and figure out a way >> And they have to know what stuff >> They have to know what the stuff is, yeah. So, we'd have to figure out a way to surface it to them in a meaningful way, but I kind of like where you're going with this. Yeah, like we could do shrink it down to a smaller number of options. So. >> What model is best? Of the frontier models, what are the best ones? >> Let's see. I was looking at the plot a minute ago. It's it's kind of embarrassing I forgot already. Right now, the champion is after six.

>> Nice, nice. >> Not not a big shock. >> Not a big shock. Sonnet 55 is actually pretty good, too. >> Okay. >> Yeah, and and Sol 61 is also pretty good. So and everything five is just a

racing pilot trap, right? >> [laughter] >> Yeah, so that five is both very expensive and not very performant. Yeah, yeah. But yeah, I think five will be long considered a big mistake by Entropic. 8.5 are pretty good. Yeah. Yeah, no. Do you have a plus 5.5? We don't yet. No, that's that's one thing that ask you has actually been a little infuriating as you guys can appreciate. So when we talked last two months ago, we started these rollouts to see what happened and then there's been a new frontier model drop what like once every 11 days. 11 days, yeah. Yeah, so like every time I'm oh, we're going to ship this. We need to drop this public stuff and like so now that a new stupid model shows up and like uh Yeah, they ship faster than Entropic.

Yeah, yeah. [laughter] Right, good good luck Ian. So yes, so we are excited to put in more in here and we also have run a large number of of the open source ones as well. So we've thrown a bunch of smaller quins in there and GLMs and Kitty and Deep Seeks and that kind of stuff. So there's a lot of these. How do they do? They're not Deep Seek V4 flash is pretty good. Not that bad. Yeah, maybe I should just send you guys like the full chart of how things are going and look at it. Yeah, we can just put it in pick it up there. I can say I can say it kind of looks a little bit like you know, like the Arc AGI 2 plots.

Where you've got some crappy models. Right, right. It does it does kind of look like that and that's kind of why we made it like that. And then I think one thing I mentioned earlier that has been very interesting to us is about this time last summer. We had started an internal project to do supervised fine tuning on some of these language models to get them to understand smiles. Because none of the existing frontier models were any good at it. So like none of the Entropic or or Open AI models at the time could even convert smiles to non-canonical smiles very effectively. >> So just for non-chemists, smiles is a language that you can use, string language that you can use to describe accurately a chemical, right?

>> Yes. Yes, that's right. I think we mentioned it a little earlier when we recorded last, but it's a string and molecules can be forked or or circles or or both put together, right? These different things. And so a smiles is basically a graph traversal across the molecule written down into a one-dimensional string. And so you can imagine starting the graph traversal at a different point in the molecule. And so there's multiple smiles ways of representing the same molecule. And so you it's nice to be fluent in transferring from one to the other. It's a pretty easy There's a couple open-source packages people use like RDKit to do this. But we wanted the language models to do it just cuz it would go faster and they weren't just good at using tools on their own back then. And nobody could do it. And then around February, like a lot of other things, it became clear that they could start to actually work with chemistry in a meaningful way, which is a reason we started going in this direction.

>> That's really interesting because that means that it's internalizing some understanding of the the physical nature of molecules. >> I think a little bit. Yep. Like these are the tasks that we're having these things do right now. Like they're iterative tasks where they're looking at molecules and they are learning something about those molecules to make choices to make better molecules next. >> Yeah. >> And we remove the information about the molecules, like these decisions really suffer. So they're they're learning something. This is very interesting. Or at least they're using it. I guess that's a better We're not We're not changing weights here, but they're definitely using the information just to make future choices.

>> You mentioned all these this little models, right? That are you tried. So I wanted to ask, have you just used like one of these Bayesian hyperparameter algorithms to to as like a deterministic

baseline for your problem? >> We think it's too spiky of a landscape and it's very high-dimensional. We're not really We don't do that, but we mostly think it's not going to work. I think it's the party line. Yeah, I know. >> You plan on releasing all this, so I guess we'll put the use Wait, what are you releasing? You said you're you're going to have a preprint blog and then some data rollouts and everything, so we can put all this in the show notes. Is there anything else? >> Yeah, that's it. Yeah, I think I think that's the big thing and that's probably something closer to like I guess I guess what I would probably say is we have built this thing where we

if you've got scientific agents and you want to know how they're behaving, what mistakes they might make, what how they might learn from physical feedback, you know, if a new training recipe improves scientific decision-making. We've got the capabilities to measure these things at scale. >> Yeah, that's really cool. Do you have plans for other similar problems for this same kind of thing? >> We do, yes. We have Broadly, the way that we think about this is it is a lab in the loop with

amortized latency. So, it's like go out, you record the thing once, and then you can have a huge number of rollouts through that thing, effectively infinite rollouts. And it we are thinking hard about other types of biological or scientific questions that you could transmute into these kinds of environments. Because if you're doing conventional lab in the loop, it does take a long time and and it and and because those things themselves have limited budgets, it's also not counterfactually dense. So, like you got to keep running it and do different choices with every rollout to make the things to make the agents learn. >> Right, but with your your multiplexed strategy, then that then you can just amortize.

>> You can just amortize. So, it's it's it's not quite accurate to say it's a lab in the loop with zero latency, but it's pretty close. >> This is the same thing that Lyra's doing. >> Yep. >> I mean, it's not the same thing, but they also do experiments >> Yes. >> and then they use that in their rollout, but they're not doing them live. >> Right. Right. They are they are doing it doing it in the rollout one step at a time offers a lot more freedom because you can choose almost anything. And here you're restricted to the number of choices that we made when we pre-measured the environment.

>> Yeah. >> That's definitely true. Um but it's like it's still a pretty big a number of choices. >> Yeah. >> And yeah, and then we have right now we're we have we screened about a thousand proteins uh against a couple of these chemical libraries since we started Leash, and we're going to start to grow that. I think we're going to try to get to maybe 20 of these new environments a day. That's a plan for us to try to get to the beginning of maybe 26 or 27. We can we're doing two a day right now. Uh yeah, I think we could probably get to 20 a day without too much lifting. So, we'll we'll we're pushing. We'll see if we can do it.

>> Wow. And so, you're going to have this huge RL environment. >> Yeah. >> [laughter] >> It seemed like it seemed like the thing to do. I mean, kind of informally it seemed like where a lot of these agents are making the best and the fastest progress is where there's instant feedback that's very scalable. >> Yeah. >> It's really hard to do that in the physical world, um but we think that there's probably a handful of biological questions that you could re-rebuild in this way uh go after them. And even at Yeah, and then we don't yet know if we're able to take reinforcement learning progress from these kinds of environments and move on to new biology yet, uh but you know, like we're trying.

We're going to find out. >> That's that's the obvious goal. Like how how does this transfer to other biology? You can imagine if you did it for some sort of covering set, right? That you might be able to get things in between though that you could transfer to pretty well. >> Yep. Yep. And then also one thing that I need to do is talk to some more decision people because a lot of this is about how do you spend a limited experimental budget and then what can you do to do better at that? >> Yeah. >> Yeah, beyond just medicinal chemistry, right? Just like yeah, when do I stay?

When do I go? How do I how do I get better at that? >> Interesting. Yeah, you can imagine it if it knows how to connect a decision at that point to a knowledge that it has, then it could learn that skill for other problems. >> Yes. Yes. See, we are we are incorporating more and more structural tool calls and things like that with this as well. So, it's it's it's a pretty fun time right now. >> Yeah, we'll be sure to link to all that cool stuff you have coming out and yeah, thanks for taking the time to chat. >> Cool. Cool. >> Yeah, or thanks for taking the time for a follow-up chat.

>> Yeah. Yeah. >> I think this will actually appear back-to-back >> with the rest of the episode. >> Okay. This was great. >> All right, guys. >> All right. See you. >> Always fun. Yeah, we'll see you later.

>> [music]

Related videos

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's the Front Page for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

The freshest blend of security news delivered to you. Text and HTML, one-click unsubscribe. Free.

How often
Your desks