
Show notes
Last call for regular tickets for AI Engineer NYC! As an exclusive for Latent Space subscribers, the first 30 of you can take a 30% off code if it helps - for new tickets only, no refunds! See you in 2 weeks! While we tend to cover industry on the pod, every so often we celebrate a clearly emerging superstar PhD. In 2024 we featured Shunyu Yao, who went on to build Operator at OpenAI and is now Chief AI Scientist of Tencent.
Highlighted moments
when you throw enough compute at a problem, you like can sufficiently explore solutions to that problem. But oftentimes like, you know, maybe you can burn like 100 billion or a trillion tokens on something. But if you bring in someone who knows something about the problem, they can uncover something for the model that would like erase that one trillion token spend.
“An RLM is basically just a harness design where the only tool in the harness is code, which is this programmatic subagent calling thing, where it has the option to call itself as a tool, and it has other tools.”
“there are many settings where an RLM can solve maybe a more difficult task than compaction can. But you would prefer to use compaction in most cases because it's cheaper and it's quicker.”
Transcript
GPU Mode and Kernel Development
0:00All right, we're here in the studio with Alex Zhang, I guess most famously of RLMs, but you have a few other affiliations. Welcome to the show. Yeah, thank you for having me. Yeah, I guess GPU mode as well? Yes, GPU mode as well. You were shepherded in by Mark Serafin. Not everyone gets that kind of welcome. Yeah, I'm very, very close to all the people in GPU mode. So yeah, we often end up working together in various capacities, like even beyond just GPU mode itself. Yeah. Can we explain that? So people who are not that close don't know about this. It's a Discord. It used to be focused on, I guess, CUDA mode, and then generalized a little bit. It was started by Mark.
0:41Yep. It was basically like, to me, it's like the hiring pipeline of the PyTorch team, and then you left PyTorch. Yep, yep, yep, yeah. So it used to be, I think, it started actually around when I was in college in like 2023. I think it was started by Mark. Andreas and Jeremy Howard. The original premise was just like, it was a GPU, or it was a Discord dedicated to learning how to write GPU kernels, and they had like lectures. That was basically the extent of it.
1:12And I got interested in it because I was writing GPU kernels. It was actually out of like pure chance. I was interning at Snapchat at the time. Rexxus. Yeah, I was very bored with Rexxus. So they had a project where like they were interested in writing. It was this paper called Infinite Attention. It was like a Google paper. Yes, we've covered it on Paper Club. Yes, yes. So I was interested in whether or not you could write specialized kernels for it at Snapchat. It didn't, nothing really came of it, but I joined GPU mode at the time. It was called CUDA mode. I think for like legal reasons or something, they changed the name.
1:51But I met Mark. I met Matei. I met a bunch of other people that were very involved in the community. And then Mark had pitched this idea called Popcorn, which was now what you see as the leaderboard today. But the general idea was like, I think all of us had this like intuition that GPU programming is like very similar to if you guys have done like competitive programming. It's not, I don't mean to say like they're transferable skills. You have constraints. You code go off a little bit. Yeah, yeah, yeah. And there's like, there's actually a surprisingly small space of optimizations that people do. And there's actually not that many kernels per se that people are interested in optimizing.
2:28And so we kind of had this thought that like, if you had enough data, like in the same way that code forces, there's millions of problems. If you could do this with GPU code, like you could scale and automate kind of GPU kernel development, which for researchers is a huge deal. Because I think one of the bigger bottlenecks, like if you look like Mamba, for example, like they released the paper with kernels because otherwise like you can't really use it in any meaningful way, you know. And not everyone has like a tree DAO on their team. So we're very interested in this kernel bench kind of spawned from that too, of like, can we get LLMs to automate GPU kernel code?
3:05And I think that was like, it was a very, very fun time. It was like between college and my PhD. And yeah, I had a really pleasant time doing stuff with GPU mode. Now I kind of just help with the lectures sometimes. I'm not as involved. And I think in general, like we don't have as many competitions as we used to. But yeah, I still keep in touch a lot with everyone there. Is there a friendly rivalry? Because I think the previous community that used to do this was like MLSys, MLperf. Yeah. Is there a friendly rivalry? Is this like just new generation MLperf or what's going on?
3:37The nice thing about GPU mode is that it is also a community in the sense that like a lot of the lectures are very easy enough for a beginner to follow and ask questions and things like that. And like the competitions are like somewhat not secondary, but like you can participate in them to learn. I think with a lot of like MLSys, MLperf kind of benchmarks, like for the most part, like only serious labs and companies participate, like seriously in them at least. That was my understanding of it. I could be wrong. But I think also beyond GPU mode now, one thing that has been really exciting is there's a lot more websites and like people that work on hosting competitions.
4:19Like I think there's this, I think there's this website called like LeapGPU or something and it's like LeapCode for GPU problems. Wow. There's like other ones too that I've seen. Like we've seen like there's many that have kind of spawned and like talked on GPU mode and like it's very exciting in the sense that I think GPU programming used to be super niche. Like when I was interested in it and the only reason I got interested in it was Tredow gave a talk at Princeton because he was applying for faculty. I mean, he is faculty there now, but I listened to his talk on Flash Tension in like 2023 and I was like, wow, this is like the coolest thing ever.
4:56And I was like, this is like, this is what everyone should be working on. I guess like VLM and stuff had come out too and it was like, oh, you know, we should be writing kernels. But now it's like, you know, everyone writes kernels. Like everyone, it's, it's, I think it's actually almost saturated in some sense as a field.
AI Impact on Kernel Writing
5:11Any, any interesting takes for people that want to get into it? So I think one of the biggest news is GPT 5.6 wrote more efficient kernels. So Terra and Luna could be 80% cheaper. Yeah. And then we've seen other competitions where people are like setting records and they're like, we're doing some auto research loop. And these are people that don't have a background in any kernel writing, right? Yeah. So even on the GPU mode leaderboard, if you look at like a lot of the recent problems, almost all the solutions are AI generated.
5:44However, you'll notice on the leaderboard. So there's this guy named Galnerst, who's like a very, very like regular member of GPU mode. We've always known for a long time that he's like a super, super cracked like GPU kernel writer. One thing we discovered on this leaderboard is like almost every, he also used AI to help him with these solutions. But for the most part, like he helped prompt and move it in certain directions. We found that like his kernel was like basically the only one in like the top 10 that was actually stable in like actual like end-to-end systems.
6:17And it does bring into question like, it's not like, I mean, GPU kernels have a verification problem. Like we've kind of known this. It's been a problem since kernel bench was released. Like there's a lot of reward hacking that goes on. But you'll, yeah, you also notice like the lines of code is a lot smaller. Yeah, I was going to ask, is that noticeable or is it just? Yeah, no, it's definitely like very important. And I think like it's really interesting that still there's a lot of alpha in being good at writing GPU kernels. There definitely is, yeah. I think like, and this applies to a lot of AI systems as well.
6:50Like I think, you know, even with the most recent like math proofs and stuff. Like it doesn't necessarily mean mathematicians are obsolete. I mean, these companies still hire mathematicians like to do, whether it be like data labeling work or even just like steering the models to solve problems. Like there is still a lot of alpha in being like knowledgeable in these things. So is it just knowledge or is it also there's just more planning and is there an emergent style of planning that works better?
7:21I think it's a mix of maybe this is what you mean, like intuition for how to solve the problems. Like for example, I always diagram my code. Yeah. Right. And then like if there's a part of the diagram I don't understand, I work until I understand it. Otherwise, it's not allowed. Yeah, yeah. So I think it's like it's a mix of those things of like the people who work, like the people who know how to look at these problems and how to solve them, like also know how to use AI to do them. Because like you're acting as a very strong verifier. Like if you are knowledge or if you know what to do and you're also like I think the thing that we've kind of discovered with all these agent swarms and things like this is like when you throw enough compute at a problem, you like can sufficiently explore solutions to that problem.
8:08But oftentimes like, you know, maybe you can burn like 100 billion or a trillion tokens on something. But if you bring in someone who knows something about the problem, they can uncover something for the model that would like erase that one trillion token spend. I mean it's not it's not super clear like what exactly the trends are here. But I think like there are so many problems in the wild still right now that we want to solve and like we can't afford to just always, you know, throw as much compute as possible at it. Like there is still an efficiency aspect of of all of these things that is super, super important.
8:41Is there like a theoretical right answer that you just calculate based on physics and then you just get close to the physics? Yes. So for GPU kernels, you can compute. It's actually not that easy to compute sometimes, like depending on how complex the problem is. Like for for matrix multiplication, it's very easy to compute. But this like speed of light kind of estimate of what the fastest kernel can be. And like this is also assuming like, you know, maybe all of your all your data starts on the CPU or maybe it starts in DRAM on the GPU, etc.
9:15Like this changes these these numbers slightly. The transfers and all these things. But I will say like it's not clear, though, like in a lot of cases, if it's even possible to hit this theoretical number, if that makes sense. Like this is assuming like perfect overlapping and transfer of data. And like there's maybe some bottleneck that you can't get around. But often the kernels are not even close like that we write are not nearly close enough to this number to be like meaningful at all. Yeah. And is it speed that matters?
9:45Do you also care about obviously memory, which feeds into speed? Do you care about power consumption? So one of my one of our top pods of the year was Jeff Dean, who was like, actually, I just tracked the microjoules or like the nanojoules, picodjoules. Yeah. It's often picodjoules. Yeah. Do you care about that? So I don't. Yeah. I guess maybe I'm not I'm not. But everything here is speed, right? Like nobody's counting picodjoules. But there's a caveat here, which is I think like there is speed in the context of a single kernel and there's speed in the context of a larger problem, like maybe the N10 model.
10:21Because like one thing to consider, and this is why it's important to talk about what what speed of light is referring to, because in these cases for the kernels, like we always start with everything in in like HBM, for example. Right. But you can imagine that like an end to end kernel, like an end to end model, what you might want to do between two layers is like you might sacrifice the speed of the first operation to keep things in the cache for the second operation.
10:52And like these are things that like you can't really get out of in isolation with like these kinds of kernels. And, you know, people call this like the fusion or like the megakernel problem, yeah, or like megakernel stuff. And it generally only applies like when you are like memory bound in most cases. But this is something that like also there is this question of like, as these models get better, like, should we just be generating megakernels? Is that like what we want? What's your take? I think that this is really difficult because you need the data to do this.
11:29And I think like I have yet to see an example in the wild of like we bootstrap the ability to solve a very difficult class of problems without any examples. And I think like the other reason why I think maybe this isn't that interesting is that at the level of an individual kernel, they like they're not that they're not as complex. But B, you're somewhat confident that there's not as much structure in a single kernel. But like in a megakernel, like I would be more inclined to believe that like a compiler would be better here.
12:04Like some compiler over like higher level ops makes sense because in general, like actually, I think megakernels are very like the pieces are very composable of like the individual kernels. There's some areas where you might want to do like weird fusions and everything. But in general, I think these are cases that like a compiler can probably handle. And there is a company that's working on this from from what I understand that has given some talks on GPU mode as well. Yeah, I want to basically cluster all the GPU mode discussions here because obviously there's other parts that we need to move on to. I think there is something to plug.
12:34You guys do host a lot of really good lectures. They're all on YouTube. People can follow. And you lead quite a bit of it. You're still quite involved. I used to. Sometimes I still do. I think they're mostly Mark. Mark is the one who usually does them. Matei does sometimes as well. But yeah, I highly recommend them. They are extremely good resources. Like I think it's kind of crazy how much people share on there. So yeah. Because like if you're there, like you're very, very like you're exactly the right audience. Yes, exactly. This isn't going to reach the mainstream. And there's a lot of like introductory material as well that we've put on that I think is useful for people.
13:10Kernel Bench was kind of influential. I just want to see like, you know, that was last year. What other ongoing work do you want to shout out that people should pay attention to? Because obviously you're involved in this field.
Academic Research and Big Bets
13:20Yeah. I will give maybe the background story of like I am actually involved in a lot of benchmarks where I used to be. Maybe prior to my PhD. It started because I was at Princeton. I worked with the Sweet Bench team there. John, Carlos, Ophir. They're all great. I love them. There's basically this, I think people don't understand how much benchmarks come from the same group. Yeah. At Princeton. It is crazy. Do you know Shun Yu? Yes. Yeah. We had him on the pod before. Now he's like running 10 seconds. Yeah. Now he's like a superstar. When I met him, so he was advising my friend Michael, Michael Tang, who is now an anthropic, but they work together a lot.
14:01We were like the two undergrads in Karthik's lab. And then some others joined later as well. But yeah, Shun Yu is great. I did not know he was like such a superstar until like later on, like after I left. Yeah. I mean like, okay, so there are very few PhD students. Yours is like the next one. Like once a year we feature someone like who is like basically entire PhD has been like on target. There's not that many of them. Shun Yu was like clearly one of them. And, you know, Jack Morris is another one. And like, you know, we talked before the show, we talked about research tastes, right?
14:33Like somehow some grad students just have a very blessed career where like, yeah, mostly like, yep, yep, yep, yep, yep. This is like going to stick around relevant. Everyone should know this. Yeah. And then others just nothing. I think this is also true of like even people within like industry labs as well. I think it's just like grad students are a lot more visible. So you just see like you see like, you know, there are some people. Yeah, you can publish. You really like get lucky in like or I mean, it's a mix of being lucky and also being very smart and things like that. I think like with with research tastes as well, like I think it it gets it gets developed through opportunities, at least in my case.
15:10Like I got I was very fortunate to have like taken the path that I took, like working at Princeton and then like later, like finding my advice, like Omar at MIT. Like he's a fantastic advisor. I will say, though, I find that the most successful research from grad students or like in academia comes when people care about problems that maybe like most people in industry are not looking at. I think this is the issue that like a lot of grad students work on things that benefit like that look good to an industry lab.
15:42Like, for example, they'll work on some like some benchmark. It's really popular now. I mean, I think benchmarks in 2023 were a very different story than benchmarks now. There are a lot of people that work on like harnesses and like meta harnesses and like specific harnesses for X, Y, Z task. And when you really think about it, the reason someone would work on this is like maybe there's like a clear goal shaped around the models that we have today of like this is what I want to see. But like I'll give I'll give the the like RLM, like the recursive language model paper as an example, because I think like it's a super, super simple idea.
16:20I think when it came out as well, there were a lot of people that were like when they see something like that, they're like, what is even the purpose of this? It's more like, yeah, like why like what this is just sub agents or something. Right. And I think it's like when you get a reaction like that, it's almost like a good sign in the sense that like it's clear that people aren't thinking about what the purpose of this is. And I will give another example of like Sweebench when Sweebench came out. I mean, Ofear loves to tell the story when it came out like nobody cared. Like everybody was like, this is an impossible task.
16:53Like, why would we ever even consider this as a benchmark? And it wasn't until Devin came out that everyone was like, whoa, like this is something we want to hill climb. And I think this is this this rings true for you tend to see that a lot of ideas. I think like the my favorite, I guess, example of this is Eric Seligman's work with like Star and like Quiet Star. Like I think when you read the paper, at least when I first read the paper, I was like, is this not like an obvious idea or maybe not? I don't know. I mean, I was like, oh, this seems really simple or like chain of thought.
17:25And it's the same thing or like shouldn't use React. It's like, OK, like, yeah, I mean, sure. But then like when you really think about it, it's like, why what is the value of the paper? I think it comes from like it tells a bit of a story as to like what you want the field to look like. And that is something that it's very hard to do this in academia, because if you look at all these papers, Quiet Star, React, RLMs, SweetBench, none of these papers are it's not like a GPT-6 Astro release. You know, it's not like everyone's like, oh, my gosh, like I'm going to use this now.
17:57This is the best thing in the world. Like academia just can't afford to do this, at least right now. I mean, there's a whole slew of reasons why I think that should change. But I think it's like if you don't have as a PhD student, I think you're in such a unique position where you can work on literally whatever you want for the most part. If you're not taking advantage of that and working on things that like nobody cares about or like people see as some trivial thing, like, oh, I thought about this, but like I don't use it. I just think like in the end, the research is just never going to be that interesting because you kind of need to take big bets if you're going to be in academia, because otherwise I think like just go to an industry lab.
18:34Like, you know, they have tons of resources, tons of talent. Why constrain yourself in an area where you don't have a lot of resources and like there's not even that many people around? And I think it's just it literally just comes down to like big bets. You just have to take big bets and like a lot of them will fail, you know, like that's just it's it's natural. But I think that is as a PhD student, like that's the biggest advantage you have over any single person at another lab because you don't have to deal with bureaucracy and all these other things.
19:07Fair enough. Yeah. I ask a lot of people this question and usually they hand wave away. So I think I appreciate that you're actually giving a thoughtful response on like, no, like this is your unfair advantage because everything else is biased against you basically. Yeah, exactly. And so like it's honestly I will bring up Jeff as an example because it's not an academic project. I want to bring this up because this also happened with RLMs and it happens with many other works like things get overhyped. Right. To an extent like something gets overhyped and then people are like, why is this overhyped?
19:38Like this is trivial. This is stupid. And I saw the same thing with Jeff because I think the release was like I mean, there is this whole thing about like academics or they're not an academic group, but like people have to do branding and they have to like kind of market their research. And so like I understand. But I think there is a lot of discourse about Jeff just being like something we've known for years. And I think it's kind of missing the point of like, why is such a system so interesting? It's why is it not just some stupid MLP classifier that like we've we've been doing, you know, back in our intro ML classes or something.
Redesigning Language Model Outputs
20:13I think what's really interesting about Jeff is that it kind of opens up this question of our language models correct. Like in the form that they're in, can we consider a different design space other than text to text? What they're doing is they're basically saying, like, I will take advantage of this language model backbone. Like I know it captures a lot of information about language, but I'm going to change the output space of the model to give you a tradeoff, which is I will do very, very fast inference over like if you have some prior about this problem.
20:50Like, let's say I only need to make a binary classification. Am I going to ask my language model to do this and pay like a 400x cost? No, it's like silly, right? And I think for the longest time, because the labs are the only places that control, you're never going to use something other than like GPT-6 or Fable because they're the best models. But because of that, like people have gotten kind of accustomed to this idea that a language model is just a autoregressive decoder.
21:20Like we have accepted this. And I think when RLMs came out, it was the same thing. Like one of the comments, like a very frequent criticism I got was like, this is not a language model. Or like when I look at this, like I thought it was a new architecture, but it's actually not. And my response to that is like, well, a language model is just modeling language. It doesn't have to be this transformer decoder, you know? And Jeb is really, really interesting in that like we now have a new thing to tune, which is like what is the output space and how does this affect inference latency?
21:54And I think we can actually start asking this about various parts of the language model itself. We are seeing this too with like loop transformers. It's a similar idea of a lot of the attention around it was like, this is a silly idea. Like why, who cares about this? But it's like, it is a simple idea, but it's actually, it opens up a whole new set of questions that I think like, especially if you're a PhD student, these are the things that you want to answer. Because I think it's like, we don't know, for Jeb, for example, we don't know how far we can take this.
22:26For loop transformers, we also don't know how far we can take this. What if you loop only a subset of the model? What if you route to like only, like you have some router to different parts of the model? Like, can you mimic what you do in a harness inside of the model? What can you bridge between a harness choice and a model architecture choice? These are all questions I think that open up with works like this. And that's like really exciting. Jeb in particular, when I saw it, I was like, this is actually really useful for RLMs. Like, I think it makes sense because the biggest bottleneck in RLMs or swarms or systems like these is they're slow.
23:03When you do multiple language model calls all the time, you're not distributing your compute correctly. Because like, maybe there's something trivial that you just want a simple model to do, but you can't do it because your language model is just this bulky thing, you know? So I'm very excited. I think we will start to see new types of models emerge beyond just the bog standard frontier model. And that is like, there's so many things that you can do with these like new trade-offs.
23:34I also shout out Thinky with their interaction models. Yes, yeah, yeah. Another great example. Yeah, so like basically try to break the paradigm from sequence to sequence, decoder only, and just literally do anything else. Yeah. I mean, there's a level of, if you're trying to compete, you're not going to compete with a frontier lab doing an autoregressive decoder on. Like the amount of compute scaling resources they have, even Thinky will not, you know, okay, there may be one of the handful that can, but you're not really going to do much in that.
24:05I don't know too much about Thinky or I don't want to say anything either, but it's like, if their strategy is just to replicate OpenAI or Anthropic, like that's a horrible strategy. Well, because like, I mean, they just don't have, like, you kind of just have to think of it in terms of like, what advantage do you have? And if you're going to use the same setup, I'm sure they're not, but it's like, if you're going to do the same setup, like, you're basically competing on the things you can control, which is data and compute. And obviously they cannot compete with the frontier labs on that. So, yeah, it makes sense that like, if you are a Neolab, like, actually, I don't know if you would consider them to be a Neolab, but I guess like.
24:41I guess they're kind of a weird one. Yeah. They're in that list. They should inkling. Anything other than OpenAI or Anthropic, maybe like Meta and GDM, like you just, you got to do something else, you know, like it's just, it's the sad reality. But I think, I actually think it's a good thing. Like, I'm very happy that like scale works and these companies will just keep doing it because it opens up like potentially new players. Like if they uncover something really, really interesting, because I sort of have my doubts that this is like seriously going on at frontier labs.
25:16Because it's like, like, why would you do that? You know, like, why would you take the risk of allocating a large amount of compute to new bets when the old bet already works? So, and I think that's what spins off a lot of Neolabs, right? You have a side bet and you don't get compute and you're like, okay, I'll go, I'll go. Exactly. And, you know, your example of the potential upside is something like JEV, which is X hundred times cheaper, you know, comes out and maybe it is language model. In this case, it's just different. Yeah, yeah, yeah. Yeah. So no speculation on what JEV actually is.
25:47I guess I have some guesses for what it might be. I have seen some people say like, oh, it's like a diffusion thing. I guess that. Which is the parallel decode. Yeah, parallel decode. Honestly, I think regardless of what it actually is, because I think you can, I've seen some like open source replications of it. What is really exciting to me about what they did is I'm not entirely sure what their optimization objective was and how they trained it. And I think like this is a thing for RLMs that we've also been thinking about, which is like, okay, like RLMs are a very simple idea.
26:23If I come out with this paper, like anyone can use it now. But what distinguishes the actual value of an RLM is whether or not you can train it properly and whether or not maybe you can mold some architecture around this system to make it really, really good. And that's something that like, I mean, I'm actively working on, I guess, but I think for them, like they figured out a way to train the system, which is completely non-trivial. Like I actually don't really know how they did it. And I've seen some comparisons online of, you know, some people are claiming they used Quen or they post-train on top of Quen.
26:55But every open source Quen that you use is going to be worse because whatever they did to train it clearly works very well. And so that's very exciting. There's one element of calibration, which is a rare topic that I don't think people even knew about or understood. We covered it with our conversation with Clementine Forio of Hugging Face and she used to run the evals at Hugging Face, which is basically the idea that, you know, models are attuned to give you the most likely next token,
27:27but they're going to lie to you when you ask them how confident are you? Because they're just going to give you the most likely next answer instead of like, actually, like, no, let's calibrate. Like I am actually 50% sure. I am 20% sure. And like, let's try to calibrate that. I would say like, if anything, I think that actually that's pretty easy to generate synthetic data around because you can sort of see the truth and then synthetically generate a bunch of answers, have Jeff classify it and then compare it with ground truth. That would be my reverse engineering. I've actually, I think calibration is probably the under, like, people are just using it as a very fast classifier,
27:59but they're actually not even using the probability or calibration estimates. Yeah. I think it's also still just misunderstood to reiterate. When you ask a model how confident are you, it will spew out 43%. The big delta is this is a grounded classification, right? Yeah. Yeah. I'm very excited to see what people do with this model. I mean, is it going to solve everything? Like, no, of course not. But I think it solves a class of problems that we traditionally struggled with, which is low latency things.
28:30So I love the examples with games. That's actually like, I mean, I... Yeah, the Doom example. Very good. I have a benchmark on language models playing video games. I've always been fascinated by whether you can have an intelligent system, play new games and things of this nature. And so I think it's really, really cool that they have sort of a unique way to do this, to capture language and understanding in, like, a fast, a very, very fast model. Well, while you're on the topic, anything you want to point out?
29:02Oh, yeah, yeah. I mean, you know, you did do a benchmark on any kind of play. I guess these numbers are very outdated because a lot of the models are very different. And I've seen actually people run... There are some folks out there that are running newer models on these games, which is really cool. I guess the general premise of this benchmark was we just want to see if vision language models are good enough at just, like, plugging into games with the latency constraint included. Because this actually, I came out with this right after Clawed Plays Pokemon came out.
29:33So this was, like, two years ago, which I guess is, like, ancient now. But I think what's really, really cool about this suite of tasks, it's very diverse in terms of what games they are. And also, I think most of the games are games that people know or, like, have seen before. I saw, yeah, Jev playing Doom. I will say I don't think... I think they were just playing, like, really simple levels and stuff. But honestly, like, most models still can't really do...
30:03Or I don't actually think any models can solve these games very meaningfully. Like, there are some games that they can. I think I've seen Astra be able to solve the Kirby game. And we also, for this benchmark, we intentionally designed a really minimal harness. And I will get to this point about harnesses, because I think there's a whole conversation to be had about, like, what is the value of a harness? Like, what is even the purpose of a harness for a model? But in general, like, I think it's... Yeah, I hope to see very quickly or very soon, like, all of these games be in by newer models.
30:35Yeah, it's interesting. Like, the old, old Clawed Plays Pokemon, they, like, read State from RAM and saw what tiles are walkable and whatnot. We did a podcast with them a long, long time ago. Gotcha, gotcha. Yeah, I mean, it's similar, right? Like, Jeff doesn't have vision, so you have to kind of feed in these, like, game state and all these things. I mean, let's go right into the harness stuff, because you brought it up.
The Role of Agent Harnesses
30:56Language model harnesses are compositional generalizes. Yes. I forgot to read that one. Explain. Yes. Okay, okay. So, I have been a little unsatisfied, maybe, with how people think about harnesses. Because people compare, like, oh, like, I love Cloud Code, I love Codex, I love Pi, like, no, I love, oh, my Pi, I love Prime Agent. To be honest, I think all of them are the same. Most of the design decisions or, like, the design choices around these harnesses are the same.
31:26Maybe Prime Agent is a little bit different because it's, like, inherently an RLM. But in general, like, I think we can be a lot more creative with harnesses. And what I mean by that is, if we think about this from the perspective of what exactly is the harness doing for the model? Well, basically, when you're trying to solve a problem and you want to use a language model to solve it, like a very difficult task, one thing that we have discovered is that next token prediction is a really, really awkward form to do a lot of these tasks.
31:57So, for example, take Sweebench. When you're navigating a code base, like, are you going to be able to figure out how to do all of this with a single language model call? Like, you just say, solve code, or, like, solve my query over this code base? No. So, we rely on a harness to help you do these kinds of things. And I think what is interesting is, like, a harness is a very, very opinionated program over how you want a language model to be form-fit over a problem.
32:29And I bring this up because when we think about what a harness is doing, we should really think about, like, what choices in the harness let the language model solve this task? And can I actually just have a language model that just does this? Because a harness, if you think about it, now that looped transformers are a thing, I think what's really interesting about it is you can model a looped transformer in some ways, like, with a harness as well, right? You're just looping over the model. Now, you can say, like, oh, I'm not decoding, so it's, like, a little bit different.
33:01But in general, we, for whatever reason, have stuck with the same model architecture choice forever. And there's many arguments for why, but clearly, like, we are now training models around harness rollouts. And so there is this very awkward way of doing training over harnesses, which is that we train a language model to act within a harness, but, like, now it's, like, a really long, maybe, like, multiple-agent rollout that we're doing. And there's, like, really awkward, hacky ways of doing this.
33:32So what this blog talks about is, like, well, one way you can think about what is going on here is if the harness is basically helping the model solve a particular task, can different harness design choices actually do something a little bit more meaningful beyond just here are some tool calls that will help you? Here is a way to grep through your code base. And so this actually, the idea for this blog came with the RLM idea as well.
34:03We just didn't package it that way. And I think this is actually true. There are many other ideas around RLMs that, like, we will be coming out with, but we're all there from the beginning. I mean, these are all design decisions around, I think, with what is, what I like about the RLM is that there were many, many, many iterations and versions of different abstractions that I was interested in doing. And ultimately, the RLM made the most sense. But there's a lot of reasons that aren't public as to why that's the case. I mean, you will see. So in this example, one of the things that we see with an RLM is that if you sufficiently offload context and ask the model to write code over that context, you get this really, really weird but useful property, which is that when the model recognizes during training how to solve a task,
34:50it turns out that the solution to many tasks is very similar across, like, tasks where you don't even, like, it's not even that clear to you that the solutions are similar. So in this example, we have, like, a retrieval task and we have, like, an aggregation task. And they're very, very different queries. Like, the domain is just completely different. And when you train a regular language model over these two tasks, the trajectories look very different. And so what you're relying when you, like, let's say you use Pi or Cloud Code or something, which is not in this blog, but we do have these results,
35:24you'll find that, like, these harnesses distinguish too much between these problems, even though the solutions are the same. And so one thing that we find when training RLMs is that, like, when it sees these problems as the same, and the reason it sees these problems as the same is the subagent sees different problems, but the subagent is solving an easier subtask. And so you're confident it's smart enough to do it. But for the base overall strategy, they end up looking the same. And so when you train on the left task, for example, it can immediately solve the right task.
35:55And so if you go down to, like, the plots that we have, one thing you'll kind of observe is that the, as you just naively train your RLM on these tasks, they naturally learn to generalize, for example, to longer tasks. Because the strategy is basically the same. You're just modifying, like, a length variable. And this actually also holds for tasks that are different. And it's not even, they're not different across length. They're completely different tasks, math tasks versus writing tasks. But the solution, the, like, meta, high-level solution is the same.
36:28And so when you train the RLM on one of them, it generalizes this behavior to the second one. And there's no magic here. I guess maybe that's the thing that I want to kind of stress. Like, how would you kind of verbalize what they're learning? So I think in here you say you train it on short tasks. They generalize the stuff 8 to 30 times longer. They're learning how to solve these type of problems. Or what's the core thing they're actually learning? Yeah, they're learning how to solve these types of problems at a certain length. And it turns out that when you take this strategy that they learned, it is directly transferable to the longer length.
37:05Like, they're effectively the same program. And this is something that is really exciting because what this kind of implies is that when you have a corpus of data or environments that you train your model on, the hope is that, like, A, you can train on less environments and generalize some more than what existing models can do through, harnesses through existing kind of, like, naive training. But B, also, you still want to use all the data that you have. So when you train on these tasks, like, hopefully it generalizes to a wider class of problems.
37:38And why this is also even more exciting, at least in the context of RLMs or any recursively calling system, is this argument holds inductively. So, like, I'll give you an example because I said I claimed that competitive programming and GPU optimization use very similar skill sets. The model can, the harness potentially, I mean, you might have to nudge it a certain way, but it can learn that, like, okay, how I'm going to go about solving this GPU programming task is very similar to what I learned for competitive programming. So I'm going to list out a set of solutions.
38:09I'll, like, spawn subagents to list out promising solutions, and then I'll, like, write this loop to go through and check these solutions, maybe evolve them, and, like, evolve them against a verifier. And between these two tasks, this looks the same. But what the subagents are doing are maybe, like, unique and something, like, different. But even what the subagents are solving might actually also be of the same form, right? Because it's, like, it's a recursive argument. And so what I'm trying to get at with this whole blog post is just that, like, we should rethink what the role of the harness is because harnesses can actually greatly increase the generalization capability of your model and the amount of data that it's given.
38:53And this is not exclusive to our lines. I think there is a wide class of harnesses that are yet to be discovered that actually can yield similar properties. And to extend this argument a little bit further, I think what you can also extrapolate from this is, like, if I look at an RLM, what are the components of an RLM that are actually necessary? And can I actually just directly train a model to do this? Can I train a model to act as an RLM implicitly in its forward pass? It's a really weird thing to think about because, like, you know, you might say, like, oh, code is non-differentiable, blah, blah, blah, blah, blah.
39:27But there are many approximations of this behavior that we will start to uncover. And I think, like, we will see beyond just, like, I'm going to design a new coding harness that uses a special form of compaction or something. I think we can be a lot more creative here. Like, there's so much we can do with these language models that I think we are just not doing. And I'm, like, very excited about this because I think, like, I think we can get serious gains from very, very opinionated and good harness design that lends itself better to scale.
40:01And what I mean by this is, like, you know, the RLM, for example, is a very primitive inductive bias. Like, there's nothing super special about the design other than the fact that it's very different than what we currently do. But this may potentially scale much better with, like, the data and environments that we have available to us. I guess the, you know, opposite thing that people would probably ask is current harnesses are very generalized towards coding, which people see works for a lot of domains. Cloud code is being used for design, presentations, everything.
40:35MuseSpark, GrokBot, these are very simple, non-opinionated harnesses that are good at code, and that is also scaling out. What's the example of how we improve those, I guess? Hmm, yeah. Let me bring up another paper, which came out very recently. It's, like, the harness tax paper. I think it's by Arena. Yeah, I really like this paper because it puts forward a prior that I had, which is basically that, like, most...
41:07It confirms a prior. Yeah, like, most harness choices don't matter because all of these harnesses are the same. But I will say, like, GrokBot, for example, is actually quite different, I think, from my understanding, than how some of these other harnesses have been designed. And I like that a lot, and I think it's clear from here, at least, that, like, I'm pretty sure Anthropic or OpenAI are exclusively training on their harnesses. They're probably not training on their competitors' harnesses. I mean, I'd assume not because I don't know why they would do that.
41:38But, I mean, you know, this is a thing you see in open models, right? Like, Quen is really good at using open code. Yes. They need to train in harnesses. Old Gemmas were notoriously bad at this. Yeah. Models are good, but you need to train in a harness. I think, though, as models get smarter or, like, as they get better, this distinction becomes not that important. In the sense that, like, if you take Astra and you put it inside of open code, like, it's not going to go crazy because I think it's, like, just sufficiently good. And so, I say this because the only benefits between these different harnesses is just cost, for the most part.
42:13And I think, like, what I'm getting at here is if you plug these models into RLMs, though, they're not that good still. They're okay. And I think it's mainly because the types, like, the class of harness that we are training around is this class of harness, this, like, pi loop. This, like, I like to call it trajectory as a prompt, which just means, like, you keep the whole trajectory of the rollout as the context that your main model is using. Even if you use subagents, it's still, like, kind of of this form.
42:44And I think we're going to, if we want to explore new harnesses, there needs to be teams that are dedicated to actually running meaningful experiments over, like, scaling out new harnesses. Like, maybe post-train scaling out on different harness designs. Like, I think we can actually get very meaningful knowledge or gains from doing this kind of thing, whether it's an RLM or whether it's something different. And that's exciting because I think, for example, if you train a lot on Fable for a long time was the best model for RLMs because they had dynamic workflows.
43:19And it was pretty obvious that, like, this was a capability that was somewhat trained in, even if the model was still, like, a little dumb, like, in the RLM harness, it still worked a lot better than other models did. Astra is now also, like, good enough at doing these things. But is this where we see that Fable is the best for RLMs? Or is there some other? Oh, no. These are all internal results, I guess. Yeah, I don't have them public right now. But in general, like, I think you can very easily tell that we have not optimized for RLM-like workflows yet.
43:54And I think if we get models that do this correctly, they will be a lot more efficient as well. I mean, you can kind of just think through, like, why this is the case, right? I think this is the point where you have to give the 10-second what are RLMs. Oh, yes. Because there's a lot of listeners here that are assuming a lot of knowledge. Yes, yes. Also, I think, but you have set some context. So you can, like, with everything we just said, can we have a clean, crisp definition of RLM?
Recursive Language Models Defined
44:18Yes. Okay. I want to go back to the blog, the Compositional Generalizers blog. This one. Okay. Okay. This is, like, the best. I wish I had this in the original paper. An RLM is basically just a harness design where the only tool in the harness is code, which is this programmatic subagent calling thing, where it has the option to call itself as a tool, and it has other tools. But all of these things are functions in code, and the context that it's dealing with is always stored in some memory inside of this code environment.
44:56So this could be a file system. Like, this could be, like, I'll give you an example, PrimeAgent. The trajectory of PrimeAgent, like the context, even when you compact and do all these things, is stored on disk. So the model can always reference its original context, even if it's compacted. And all of its tools are run inside of, let's say, like a Python REPL or a Bash REPL. And so it's, like, this very primitive abstraction. And I would say, like, where most harnesses differ is, A, context offloading is not done that like that.
45:30I mean, if you look at PrimeAgent, by the way, PrimeAgent does context offloading, but not all the way. So, like, it still maintains the standard code code codex loop of, like, trajectory as a prompt where you compact. But it has the additional kind of, like, the context is offloaded, and it only has, the unique point of PrimeAgent is that the only tool is IPython. So this is, like, the very kind of generic abstraction around, like, RLMs. Concretely, what's the core thing RLMs are trying to solve?
46:02At one point, I think when it first came out, it was context. I'll pass the question. Yeah. So the original problem was harnesses have a really bad time dealing with long context. They typically were used to only really do them for, like, specific things like code. Like, you know, they could deal with your code base because it was trained on it. But now it's more around what this blog is talking about, which is compositionality. And the fact that, like, I think harnesses, we want to have language model systems that have much more control over the actions they make at every step.
46:41And what I mean by this is tool calls are very limited because you have to invoke them every turn. Like, you have to invoke tool A, then tool B, then tool C. And there's no central context that you can kind of draw back from. And RLMs are specifically, like, designed around composition and having, like, a central context that you can always draw from. And this context is, like, designed around the existing language models. Another, like, very similar example, actually, in design is, like, agent swarms.
47:12For example, the hugging face incident. Like, these agent swarms have, like, a message board that they learn to communicate over. And this message board, in some sense, is the shared context that they, like, act over. And RLMs basically say that, like, the best way to communicate through this is in code. Like, you write the code to do this. And it's because these models are so good at writing code. Like, we want to take advantage of that fact. And then for this compositional thing, up to and including generating your own harness, you know, specific for the task.
47:44Exactly. Exactly. Right. I think we will start to see that if you go up to this figure. Okay. So, we talk about this idea of locally in distribution tasks for a harness. And it is, like, an idea on top of, like, in distribution tasks. When we think about language models, an in distribution task is just a task where, like, the prompt is something that the model has either seen before or, like, has seen some version of it. Most harnesses work like the one on the right, which is they keep appending the trajectory as a prompt.
48:16And so, eventually, unless you're anthropic or open AI and you train on, like, kind of these, like, user trajectories, most of these things end up being out of distribution for the most part. But locally in distribution is basically the compositional argument of if an RLM breaks down its computation into, like, kind of a meta harness of sorts or, like, a program that involves subagents that, like, look at a local problem, every individual language model call over the course of this task is in distribution, even if the entire task itself is out of distribution.
48:48And this is a very desirable property, I think, for obvious reasons. Like, if every task is in distribution for each individual language model call, you will probably get to the right answer. I mean, the logical limit of RLMs is RLLMs, where, like, you don't just write the harness, you also train a custom model. Exactly. You collect data, everything. It's a fully automated AI researcher inside of your harness. Yeah, we will see where the training of RLMs goes.
49:20I will say, as an academic, I am not working on this at MIT, or at least in the scaled sense, because I can't afford to. But there are companies out there that are working on this. I think Prime and Select is very clearly working on this. And it's very cool. Like, I'm very excited to see. Maybe we'll observe, I don't know, but maybe we'll observe better, like, post-training scaling laws with when you train around a smart harness. Maybe we'll even see smarter harnesses that come out, and, like, they work better around these kinds of principles. What is a smarter harness?
49:51Like, that doesn't mean anything. You just said they're all the same. No, more of what I mean is, like, Claude Code, Codex, Pi, etc. are all the same in that, like, when you break down the logic of the harness, it's, like, virtually the same thing. Yeah, two cores and a loop, or whatever. But with RLMs and with other harness abstractions, it looks very different. And this is where I think you really distinguish. I mean, it's in the same way that, like, I think with language model architecture choices, a lot of architecture choices end up kind of looking the same when you, like, scale it out.
50:27Or, like, the differences end up being, like, somewhat minor in terms of, I mean, for a lab, it's not minor, but, you know, maybe one model converges better than the other one, like, slightly. But in general, like, if you were, so, for example, pre-training scaling laws only hold because the architecture choices we have are somewhat stable right now. But if you were to completely change the architecture, pre-training scaling laws probably don't hold. Or, like, these kinds of, this, like, power law is going to look very different. And it's, like, the same thing with harnesses. Like, I think all the harnesses we have right now, for the most part, roughly look the same.
51:01But there are some exceptions to this, I think, that are coming out. I was going to say, like, actually, one of the things that I've been more interested by, you know, talking about PhD students who take big risks is that people have been, people are also pursuing the other side, which is pre-training scaling laws don't hold if you change data. Right now, it's just raw and structured text, a corpus of internet. What if you had a better data representation to train on? Then, yes, your scaling law would change as well. Yeah. So, there's architecture, there's data, and, you know, whatever else you can think about.
51:32Well, so, I just want to get back to this. It's all makes sense. It's very interesting how you sort of recurse up and down the stack from, like, very conceptual to, like, not like, well, this is where we are today. But, like, yeah, obviously, you can scale up and down. I guess I'm curious, how did you start working with Prime? Is Prime taking on more work with this? Is this their answer to Hermes agents? You mentioned Grokbar, that's a little bit different. I just wanted to, like, name check all these guys and get your thoughts on each. Yeah, yeah. I got involved with Prime after they released a blog post, by the way, not affiliated with me at all, about, like, how they believed RLMs were kind of the future.
52:14And I had a friend that was working there, GP Mode, Matei. Like, we got in touch, and I think I agreed with a lot of the researchers there and, like, what they believed about harness design. And, like, I was very impressed, I think, that, like, they understood the purpose of the RLM paper, which is not necessarily just to say that, like, you know, we're solving long-context tasks, but actually, like, we want more opinionated harness designs. Yeah. There's always, like, the result of the paper that you choose to highlight. Yes. Versus the actual point.
52:44Yes. I would love to talk about, like, the incentives of academia and, like, the things around, like, why it's kind of flawed and all the issues. And we'll get back to that. Yeah, so anyways, you know, I love the guys at Prime.
Third-Party Adoption of RLMs
52:58So we kind of had been, after we decided to work together, we decided to look into training in RLM and also build this kind of RLM harness and kind of see where we can take it. That is how, like, Prime Agent came about, and I think the reception for Prime Agent has been pretty good. Like, the one thing I was worried about with Prime Agent is that none of them, at least at the time when we were building it, none of the models were that good at doing RLM stuff. So this was, like, pre-Fable, pre-Astra. I guess, I think to take a step back, can you explain what Prime Agent is, how it's different than a traditional, you know, cloud code, what people would expect to harness?
53:35Yes. So Prime Agent, I think I mentioned this a little bit earlier, is basically, it is a harness on top of Pi, like Pi Mono, which is Pi Mono for context is like the, like a minimalist, yeah, like harness. I use Pi as the reference for everything because I think all other harnesses are basically just Pi. But it is Pi, except we explicitly restrict IPython to be the only tool that's available to it. Every other tool gets loaded in as, like, a Python module or, like, a Bash kind of script that it can run.
54:11So it uses the core RLM abstraction on top of Pi. And then it also has this continual harness thing, which is Seth, he's another PhD student. This is a thing that he used to get language model harnesses to play games. Like, so he worked a lot with Joel, who is the, like, Gemini plays Pokemon guy. And continual harnesses also, by the way, very simple. I quite like it. It basically is this design principle around, like, what parts of the harness can you let the harness itself modify?
54:45There are certain pieces that, like, you'll let it modify its own skills, the subagents available to it, what the system prompt to the model is. And continual harness is available basically as a tool inside of the IPython kernel. And so that's what Prime Agent is, like, what it's designed around. Everything else in Prime Agent is, like... Standard. Standard, right? Yeah. I think what is, what I really liked about it, and we got kind of lucky, is that, like, a lot of the new Frontier models actually work really well inside. And actually, even a lot of the open source models work really well, at least some of the newer ones.
55:20And there is another thing in Prime Agent I should highlight, which is that, like, we have a very particular agent-to-agent communication system or, like, framework. Which is, because RLMs tend to spawn many subagents, we want a way for subagents to communicate with maybe the root or with each other. And so there are some design decisions around, like, what each subagent is allowed to talk to, how it does it. Again, everything is in code. So it writes the code to do this kind of communication, which I think is really, really cool.
55:51And then there's, I guess, persistent subagents is another thing that was kind of added, which is subagents, they can last beyond, like, the standard runtime of the actual, like, original agent. And you can go into that subagent. You can prompt it more. Like, you have more visibility and flexibility into what is kind of going on. This is my number one pain with Codex right now. Their subagents are just very ephemeral. And they actively discourage you from using it for long-running things. Yeah, yeah, yeah. Which I think it makes sense. Yeah. So, I mean, the trick is just externalize to a file system, right?
56:24Yes, yeah. That's the trick. That is the big trick. Yeah. And also, like, force everything to run through code. You know, trust the model that can write code. And it's going to write its own harnesses itself. So is Prime going to take on, like, training, post-training custom models for this? Is this a one-off collaboration between you guys? That's it? Like, what's... Yeah, they are training a model in terms... I think they were pretty public about this, actually, back in March. I mean, clearly, it is their business. Yeah, yeah, yeah. Yeah, so... Yeah, I mean, they're showing that they can train it on their kind of hosted training stack. But no, so for model training, I'm not involved with them on that.
56:57The main reason is just I have other things in the PhD I want to work on. I think, like, there are many other big bets to take outside of just RLMs. Some, I don't know how much I can share. But in general, like, I think... I actually think one of the luxuries of being a PhD student, genuinely, is that there's so many big bets to take. Most of them will probably yield nothing. But it's a really, really exciting time to be in research, especially because I think most progress in the field has been a little bit boring.
57:28Like, I'm not saying the outcome is boring, but the process of doing these things tends to be quite boring. And so there is kind of this question of, like, you know, what do we want to do next? But we can talk about that later. Yeah. Yeah. Okay, I want to close out a little bit more of your research, and then we can start putting it out. Since you released RLM, a lot of excitement about it. Any secondary, third-party work that you want to shout out as, like, that you guys should take a look at this? Oh, yeah, yeah, yeah.
So Harvey, the legal AI company, released a blog post, not affiliated at all, but they post-trained an RLM on their, like, legal work, which often involves a lot of, like, sifting through documents and kind of looking through, like, a variety of specific information that maybe is not so easy to retrieve with, like, a pure retrieval system.
58:17And they show, like, really, really good results. It's very exciting. I mean, I was shocked that they worked on this. They did not tell me. So when this came out, I was like, oh, that's awesome. So there's this one. I think it's super, super cool. And what they're doing there, I think this is a collaboration with Base 10, by the way, as well. Yes, it's Base 10. Headlong, which is the Laud Institute's kind of, it is their, like, persistently running harness. It's very cool. Oh, they renamed it? They used to call it something else. It was, like, auto... Terminus. Yeah, I know.
58:47They've gone through, yeah. So this is Andy Konwinski's big project. It's super, super cool. I love Andy. I don't want to downplay what they're doing because they're using the RLM abstraction, but they're doing something much cooler than the RLM, which is, like, they have a system that kind of what they call, like, thinks persistently. So even when you don't query it, it has a way to think through problems that it has in its context. Oh, so it's just, like, an always-on type thing?
59:18It's, like, an always-on thing, but it's, like, not that expensive. Like, they control the token costs to make sure it's not, like, burning through all your credits. This is super cool. Well, I'm trying to think. There are many... Actually, if you go to the RLM GitHub page, there's a bunch of things I've linked below. There's a ton of really, really cool kind of things that people have been doing. Axe is another really cool one that I think it's just by this one guy. It's, like, a harness around DSPy and RLMs. DSPy also has an RLM.
59:49Oh, the last thing I'll shout out is on ARC AGI 3, I believe, there were a lot of harnesses on their, like, Kaggle competition, like, the official one. Not the, like, public Prime and Select one or, like, what people have evaluated on. They all, like, claim to use or they reference, like, Tufa, for example, some form or some inspired form of the RLM abstraction in their harness, which is really, really cool. I think it's, this is where, I mean, this is exactly the setting where you would see a lot of benefits from composition and using code and combining, like, neurosymbolic systems
1:00:25with AI. And so, yeah, very, very cool. We love a good neurosymbolic reference. You also mentioned RK AGI 3, OpenAI comes on and says we're 99.9% on this. They also say we solved Navier Stokes, we just throw a model at it. There's some debate around whether or not it's just model. Are they using an RLM? Do you know? I mean, I would guess probably not, unless you say, like, I'll be careful here because, you know, people debate what is an RLM, what is not an RLM.
1:00:56It's somewhat clear that what they used is some kind of swarm of agents with a shared, some shared context, like some shared file system. And, like, this is very much in the spirit of RLM stuff. But I think there's a lot of, like, you know, more clever things that they did that's not maybe related to the RLM itself. I agree a little bit with the idea that, like, a harness is not that necessary for what they did. The way that I would put this is that I think a model, like a GPT-6 Astra type thing,
1:01:31is technically smart enough, conditioned on the right information to come up with a proof for these very, very difficult problems. Now, how you get to that information is a giant question mark. And in their case, it probably came down to, like, a very long search over, like, many of these sub-agents or many of these, like, agents in the swarm and maybe also, like, researchers. I'm actually not sure about this part, but putting in, like, their kind of intuition as to, like, what you should explore and things like this.
1:02:03And ultimately, like, this produced some information that some agent was able to take to finish the proof. And so in that sense, like, I think, was the harness that important? No. And I think what this is pointing at is, like, these specific details of a harness do not really matter. And I think that's also what the harness paper is pointing at, which is that, like, beyond the user's feeling of the harness, realistically, all that matters is just, like, how are you
1:02:34composing these agents in a meaningful way to get to the final answer? And maybe that's what, like, swarms and all these things are really about. And so for my POV, at least, if we start to think about, like, for user use cases, what do we want out of harnesses and things like this? Like, we want to take the good parts out of these, like, the cloud codes, the codexes, like, the stream that people like to see. But, like, under the hood, whatever is running can be some really weird, complicated swarm of agents that, like, ultimately come up with an answer.
1:03:05The user doesn't want to see that, though, obviously, right? Like, it's not legible information. And so I, you know, this was another kind of thing in the spirit of RLM's, like, recursive language model. It sounds like it's a language model, but it's not a language model architecture. But the reason for this is, like, I think we will start to see in the future probably one day, and I wrote a blog about this, what we think of as a language model, like, the thing that we query might actually be, like, a swarm or, like, a scaffold or, like, some weird harness design that scales very well, but the user just doesn't see it.
1:03:39Ultimately, all the user sees is some front-end version of this harness. And, yeah, I think it's a relatively safe bet, at least, to make that this is what we will see. And this maybe goes back to the limitations of the base transformer. Like, you know, obviously, if you just took a base transformer and you said, like, solve Navier Stokes or something, it's not going to do it. Like, yeah, we all know this is not what's going to happen. But, yeah, I think this is maybe the more interesting part. And maybe the claims around, like, you know, did the harness matter is more around this, of, like, just arbitrarily pointing models, like, or agents at a growing kind of context
1:04:15of information. Maybe it's just enough to solve very difficult problems. That I can buy. Well, there's a lot in there. I do want to say the amount that OpenAI spent is semi-public. It's 10,000 agents in 88 hours, 130 billion output tokens, which is estimated to be about $40 million in public pricing. Surprisingly, actually, like, less than I thought. Yeah, not that much. Yeah, 130 billion output for the final. But as you said, there was a lot of context being passed around. It's more than double that in just the total agent messages being sent.
Multi-Agent Swarms and Economics
1:04:48Yeah.
Multi-Agent Swarms and Economics
1:04:49I think one thing I was honored to bring up also was Cursor, as far as, like, Swarm stuff is concerned. This is slightly older, meaning February, which is ancient. But if you scroll down all the way to the final sort of multi-agent architecture that they arrived at, it was basically an org chart of a normal software team. One thing I'm thinking about, because I basically, there's, like, this gather-all function that you have to do with sub-agents or, you know, it's very similar to GPU programming, actually. Yeah, yeah, yeah. And so, that's a bottleneck.
1:05:21This is a bottleneck. If there's one main guy that's coordinating all the sub-guys, then they have to, like, you know, gather again and then re-coordinate. That's slow. That's crappy. What a true Swarm should be is everyone is just their own person. Yeah, yeah. Right? Well, I agree with this. And I think that there is a question to be had, though. Let me give an analogy, which is, like, when would you use compaction and when would you use an RLM? And there are many settings where an RLM can solve maybe a more difficult task than compaction
1:05:51can. But you would prefer to use compaction in most cases because it's cheaper and it's quicker. And I think in the context of agent swarms, there is a similar thing going on of, like, I'm fairly certain that, like, 95% of the Swarm is entirely useless or, like, what it's exploring is entirely, you're just burning tokens. Versus in this setup, maybe not so much. I'm not sure. I mean, maybe it's also the case here. Everyone has a job. There's a Jira board. I think at some level that's how problems are framed, right?
1:06:23So, like, if you have a search problem and you're spanning out a bunch of subagents to do search, there's going to be a lot of useless information, right? There is one retrieval answer that you're getting and you're spanning off. But that is consciously understood, right? Yes. But there is kind of this question of, like, what is appropriate to solve for which problems? Like, what design? And, you know, in theory, OpenAI can use, can package up this API and they'll call it swarms and then they'll give it to you and they'll be like, point this at any problem and we'll give you a solution. Yeah, it's called pro.
1:06:54Yeah, maybe you'll have to pay, like, $40 million to get a result. And it's like, well, but it's exciting. I will say, like, it is, it's very exciting that we even have the option to point $40 million at a problem and solve it. Yes, but there is, there is still kind of a lot of research to be done in this area around, like, you know, what is necessary? Like, what do we want to do? What design do we want? I mean, we probably don't want everything to be a swarm, but like, where do we draw the line? Like, can the agent design that or decide that for itself, et cetera, et cetera.
1:07:25So, yeah. And then just a quick check in case you have opinions on this.
Open-Endedness and Research Culture
1:07:31Have you looked much into open-endedness as a general category of problems? Meaning, no prompts, just go? A little bit. So, I was at Sakana for a summer, right after, or I guess right before my PhD. And that's something that they work on a lot there. And I think there's a lot of people, even at, like, recursive? Super intelligent. There's many of them now. Yes, we just had Richard Sautcher on. Oh, yes. Yeah. So, like, Richard's company and then also, actually, wait, that might be, it might be the same company. I don't remember.
1:08:01Is Tim Rochdeshaw also? Yeah. Okay, yes, that company. He's the main co-founder. He's the head of open-endedness for Google. Yeah, yeah. Yeah. So, I think with open-endedness problems, like, I view them as somewhat similar to even, like, unsolved math problems. Maybe that's a weird way of framing it. But, like, I think a lot of the techniques in terms of, like, how people, like, approach them are kind of the same. Like, evolutionary research is, like, very similar to just launching swarms of agents and hoping
1:08:32that, like, they come up with, like, an interesting, and this is what, like, Alpha Evolve and some of these other works did, like, a year or two ago. But I think what maybe is not, and I'm not sure if this is what you were alluding to, but I think what's not super clear in open-endedness style search problems is, do we frame all of them as basically, like, an unsolved, very difficult problem, or, like, where the objective is clear? If that's not the case, I still don't know yet entirely what the value of it is.
1:09:09Maybe you have other opinions. Like, I don't have too many opinions on this, but at least from my time at Sakana, like, I got the sense that, like, we ultimately still kind of want to approach things the way that, like, say, OpenAI approached Navier Stokes. We want, we, there's still a lot of nudging in certain directions that we want to have to, like, get to the point where we have something interesting. My version of it is, like, maybe it's a split between basic science and applied science. Basic sign, you're researching for researching sake. You just want to understand things better. I have no idea if, like, there'll be any application at all whatsoever, but, I mean, that,
1:09:43and then applied, you have a goal. You're trying to minimize loss in some way, you know? You know, and so what I really think, you know, in terms of, like, the big bets that people have, what if there was no prompt? Like, you know what I mean? You just pick domain. Like, you just spawned in this, like, swarm of things, and you're like, hey, what's up, guys? Like, what are you working on? Yeah. Like, you just decide. I see. This is an interesting problem. The biggest issue that, like, and maybe there's a clear path to this, but when I was there, at least, the biggest issue that people had with open-endedness was, like, how do you ultimately
1:10:16choose at the end? How do you pick out the interesting stuff? Because when there is no, like, maybe the agent comes up with a goal, but in a lot of cases, like, what they, and they have something called Fugu, I think, which is like a, it's like a model router type thing that was, like, inspired at least by this idea of, like, let's pick a problem where maybe we can pick out the best solutions to something. In this case, it's like, pick the best model for this problem. Um, you're the first person to connect model routing to open-endedness. No, no, yeah. But, so I, I bring this up because I think, like, with open-endedness, like, just generally
1:10:49the issue is, like, when we have this giant corpus of, like, slop, like, how do we sift through and find, like, the hidden gems? And, like, the solution to open-endedness really just letting models run forever and, like, finding, like, just doing data gen, just doing super, super, super high throughput data generation and then, like, asking agents to go through and, like, find meaningful things. Like, ah, I'm not sure. Maybe, maybe that's sufficient, you know?
1:11:19Like, that would be, that'd be cool. To me, it's, like, very interesting as a counter to basically all the machine learning where you have a goal to have no goal. Yeah, yeah. Or, like, an ill-defined goal that you're, like, well, what about this goal? And you're, like, well, okay, maybe. And then you, like, sort of research more and you find that that is an interesting goal. Because I think, like, finding your objective function, like, like you said, like, Jeff found an objective function that was interesting that no one was exploring. Yep, yeah. I think that is, like, you know, similar to your message about grad students as well. Like, you know, you stay in school because you are, you want to pursue open-endedness.
1:11:51If you want to, you know, profit max and, like, you know, join the, escape the permanent underclass, then you join lab. Right? Yeah. Yeah. It's funny. I feel like I don't hear this discourse a lot. I mean, I'm in the East Coast. So, it's, like, a very different type of, but then whenever I come here, it's, like, that's always, like, the topic of discussion. You cannot pay rent without doing this.
1:12:15We're getting priced out, guys. Okay, so, yeah, there's all that. I don't know if you want to, if it's relevant enough to talk about the mismanaged geniuses, which you were pulling up. No, no, it's just on your blog. But I will poke on Fugouino. Yeah, so they did in their blog post, I talked to them about this as well. So, one of the cool results of Ultra is they basically just let it loose on automated data science research with little to no human intervention. It's just kind of making... Yeah, so this is auto research, which is a little bit more open-ended, and there's degrees
1:12:48of open-endedness, and I agree with that. Yeah, separate than auto research with objective, this is just do stuff. But, you know, it's cool. They're working on it for those that are interested. While you're bringing it up, actually, what is your take on Sakana? Like, what are they doing apart from being, you know, the Japan one? Yeah, yeah, yeah. I mean, I actually love the people there. Like, I think they have a really, really smart team. And it makes sense. I mean, it branched off from, like, an earlier team at GDM, which was also kind of, I guess,
1:13:18doing this kind of, like, open-ended evolutionary research style stuff. What I liked about my experience there, at least, was that they did have that, like, mishap back, I forget, at this point when. But I think, like... You're talking about AI scientists? No, the GPU kernel. Yeah, okay. That one, yes. People cannot forgive them for that. Yeah, yeah. And I guess, like, the AI scientists, like, I mean, there's some criticisms of it that, I mean, I don't work on that, so I have no kind of take on it. But I think, in general, like, what I like about them, at least, is that they're a little
1:13:49bit more of a research-y type lab. So, like, they don't operate in the same space as, like, OpenAI or Anthropic, like, for sure, like, definitely no. They do not, I mean, it's pretty obvious, probably, that, at least when I was there, they do not have a big competitor model or something that, like, you know, that everyone is using. But I think they kind of operate, in some ways, as, like, a PhD lab, which is cool. Like, and I think, like, David Ha is, like, he's really, really smart. Like, I think he has a good sense of, like, also, I think the market in Japan is also a
1:14:21little bit different for AI. And, like, who they're targeting is slightly different than maybe what we're used to here. But, yeah, I like that they take kind of, a lot of their research is kind of weird, I think, when people view it, you know? And I like that. Like, I think it's... You should have more weirdness, yes. Exactly, exactly. And if you say different market, just, is it, like, enterprise? Like, the way it works there is a bit different. Like, how deals happen and stuff like that. They do have a, I mean, I guess this page is originally in Japanese, but they do have a model specialized for the Japanese market. You didn't know that? I didn't know that.
1:14:52It's new. I also have personal friends and know the team. Yeah. So, there is a, even from the sense of a way that you speak culturally, you know, responses are tuned towards that. This is not, like, it's frontier on benchmarks. It is a cultural appropriate model for them. And then they have, like, chat and all that. Yeah. But to mirror your point, you know, there's also, like, how should education look like? And someone wants to work on it in their very PhD lab of, do your thing. Why not? We have money. Go research it.
1:15:22They say it's a Kimi fine tune. That's nice. Oh, there you go. Kimi. Good for them.
1:15:27Yeah. I mean, and, you know, speaking of Kimi, right? Like, another, you know, just a grad student that spit out and, like, I just have this, like, Kimi Delta attention that I want to work on. Yeah. And, like, somehow managed to make moonshot. I don't understand it still. Yeah, yeah. Well, he's super cracked. At least my understanding. I mean, I think in general, like, a lot of the Chinese labs have done really, really cool work. Yeah. Any thoughts on Kimi agent swarms? Yes. One thing I will say is whatever OpenAI is doing with their agent swarm is, like, clearly
1:16:03the right thing to do. You have to kind of think about it this way. Like, nothing, especially without, like, a very, very smart harness design, which I don't think anyone really has so far, nothing comes so easily for free. For example, like, the agent swarm design is not something you can just take for granted. Like, it's not like GPT-6 Astra is just super smart and then it just got agent swarms running well. They clearly trained. I mean, the Hugging Face incident was them training a system to be like a swarm.
1:16:36And I think, like, clearly they've done something really well to the point where you can throw $40 million and solve an unsolved problem. And I think with the Kimi agent swarm thing, like, at least from when I read it, it just came off as like, this is interesting, but I don't actually know whether or not this can solve anything novel. Yeah. They just, they were like, it makes spreadsheets. They kind of were just like, yeah, like, you know, here is a swarm that, like, kind of does stuff and it's cool.
1:17:07But, and I will say it's the same thing with dynamic workflows. I actually kind of think the dynamic workflows release was sort of a flop. I don't know how you guys feel about it, but I think it's like, my understanding is like, it's not used that often. It's just very expensive. It's too expensive. It's ultra code. It's basically like, you know, take over my bank. And it doesn't, I've tried it and like, it doesn't act in the way that like, again, I'm not, I'm not the biggest open AI, like, you know, Stan or something, but I think whatever they did was very impressive.
1:17:38Like they somehow managed to get away for this, this swarm to actually act towards, towards a goal. And yeah, it's very difficult. I see. So, so like efficiency of, of the multi-agent swarm is the objective function here. Yeah. Right. Like how much of this is slop? Like this is a lot of slop. I think so. I think we take for granted what it means for a swarm to converge to an answer. It's just like, it's not, not something we can take for granted. Yeah. Yeah. We've, we've done one part with Noam Brown and like his, his, that thing, his whole thing was like, okay, like we've worked on a lot of like competitive agents.
1:18:11We're working on collaborative agents. Yeah. And like, that's now called a swarm. Yeah. I would do a quick poke. Would you have any thoughts on Gemini? They were also IMO gold. Like, you know, there, there was a time where they were getting agents to reason for a long time. And yeah, I mean, is it too old to think about? No, no, no. I, I, I think it's a little bit blown out of proportion. Like Gemini for again. So I should preface by saying I haven't worked at any of these places. So, so take this with a grain of salt. I mean, you have strong opinions on agent harnesses and you know, this was.
1:18:43But, um, let me just say this first. This work was really impressive. I think what, what they showed here was like, they took a, a time when the models weren't that good. Yes. And they managed to be very, very smart about like what the harness does. I remember for this, at least like, yeah, like alpha geometry, I guess that was a year before this, but it was very cool. They took, um, they took it to the max and they like designed, uh, I don't know. I'd say I, I, I'm not too big on competitive math, but I think like GDM, it's sort of a
1:19:13shame. Like everyone I've talked to about GDM kind of has the same opinion, which is that it's way too like bureaucratic, whatever is good. They have the talent and the resources to do almost anything, but like, I don't know until they figure that part out, like nothing against anti-gravity, for example, but like, I don't know anybody that uses anti-gravity and so I've tried it once and it's, I don't see a reason to switch to it. Um, and I, I think for whatever reason, like they've been struggling with this. So. Yeah. Well, uh, you know, a lot of people dogged in meta for a long time until they started
1:19:44coming out and like, I think, uh, Google's going through that phase right now. Yeah. Um, and, uh, you know, it's, it's, you gotta stay alive and. Yeah. Yeah. Yeah.
Scaling Reliable Long-Running Tasks
1:19:52I want to focus back on just like your, uh, your thoughts, just general, uh, we can talk about speculative PTC, uh, mismanaged geniuses, or just like throw away all this and just talk about whatever else. Okay. Let's, let's talk about mismanaged genius for a little bit. I, the only comment I'll say on speculative PTC is that it's a really simple idea. It's almost like obvious that this should be done. And like, there's not much more to talk about it. Like, I think it's just like, you should just use it for, for like coding, like anything with programmatic agent calling like RLMs or Kodak.
1:20:23Like, yeah, it's like, it's like a no brainer. What's the, you know, for, for people that haven't read it, what's the one line? The, uh, the simple thing is when the model is, uh, writing its code or like, even as like after it finishes writing the code, a lot of tools tend to be like sequential or like you have to wait on them. So you should just launch them in advance. Like if, if you're able to jit compile this code, you can probably figure out like, even though it's like kind of variables and stuff like you, you can figure out. Aesthetically analyze. Yeah.
1:20:54Yeah. So speculation. Yeah. There's, there is this, uh, someone pointed to me, some actually like academics have, especially PL, like programming languages, people have some like very kind of cool ways of doing this. And so like, you know, at some point maybe I'll, I'll, I'll like work on this. Mostly you have to change language because if you are in JavaScript Python, you can't do this. Yes. Yeah. Yeah. Yeah. So like, uh, Haskell. Yes. Um, um, um, what's, what's the, uh, what's the normal one that's, that's not Haskell? Lisp. Uh, Lisp. Uh, OCaml.
1:21:24OCaml. Yeah. Any functional language you can actually like pipeline this. Um, so effect TS if you want to do typescript. Yeah. Okay. We can switch over to, uh, which, which is like your, you guys' whole thesis, right? Like that, uh, I mean, to me, this is like kind of like a restatement, but maybe I'm missing something of like, well, uh, work on better harnesses or like, you know, your, your models actually are capable a lot more if you try harder. So this is a skill issue. Yeah. Yeah. Yeah. Basically. I, I, I mean, I, I, I think there's one thing I want to see.
1:21:55I appreciate that there's a big focus on like jagged intelligence because it paints a big picture of like, we can do this if we really set our minds on it. But I kind of wish, and maybe someone in academia should do this, like really just sit down and think about like, if I took Astra, even the current frontier models are not good enough at like doing a particular job over, let's say the span of a month consistently and well. And I think this is like a stupid problem. Like I, I genuinely think we can solve this.
1:22:26You don't need to be a frontier lab and like do all this, like, you know, fancy stuff for your IPO. Like, I think like these models are so smart that even if it's like a silly way, I think that it genuinely is a skill issue of you can get a model to be as good as let's say like just some 18 year old high school kid doing some job. I think it's like ridiculous that we can't do that. And it's part of the reason is like the, the, the format of a language model is, is not really
1:22:58amenable to that, but I think you can shape a harness around it and do it. And I think like this in itself is like ignoring the RLM stuff, ignoring all the, like, you know, what abstractions should we use? Like, I just think someone can design a harness that can do this. Like, I, I, I mean, that's maybe you say do this, do what? Do long running, but simple tasks and, and do them reliably. What's an example? So is this different than like, you know, pick your favorite company, Harvey, for example, using LLMs to do legal work or what's the, I mean, I, I, I guess it's kind of like that,
1:23:32except if the bottleneck was not like certain legal knowledge or something. Like, I don't know, let's say, I mean, I guess like the examples, you know, people can take models and build pipelines or whatever and have an agent repeatedly do whatever it has. Yeah, yeah. So, so for example, like if I wanted a general system that I could kind of talk, I can talk to it like I would talk to an intern and basically just ask it to do, to explore some small thing. So maybe an example of this is like very silly auto research is, is maybe an example of this
1:24:07of like, not necessarily finding super, super novel solutions, but at least optimizing all of the easy parts of any problem, they often end up being over-indexed for like ML training and, and, and things like that. But yeah, I don't know. Maybe, maybe, maybe that's, that's, that's not like super, super clear, but there is a lot of people's general workflows where you probably could just vide code up some specific
1:24:37harness to help you do like automate this thing. Some, some examples are like automating, finding like research papers and stuff like that. But usually people will design like a specialized agent to help them do this kind of thing or like, like they'll vibe code a harness, like, and just run it or like their Slack bot or something. But I almost think there's just like a standard form, like just a harness that you just plug in. Like you don't, it doesn't need to be designed for finding papers or like you just kind of tell it, find this for me. And you like plug it into that setting. So what I'm getting at is that I think there's a lot of easy things that can be automated.
1:25:12And is this like a hypothesis or a point around like capability overhang? Like even if we paused, there's still a lot of impact to be had with current state of models? In some sense, yes. Like, I guess what I'm presenting is the easiest form of this. But what this is kind of saying is that like we have jagged intelligence on a lot of things. Like, for example, models are like disproportionately good at coding and math. This is saying like we can translate those abilities to many other things.
1:25:44So like, for example, if you took usually if you take someone who was an IMO gold or something and you kind of apply them to a lot of different problem solving domains, they can figure it out. I don't actually know if this applies to models. For example, like in GPU code optimization, one very interesting question is whether if you were to take out all of the GPU programming data like from a model, but it was it was like as good as Astra is now just without like with that taken out, would it be able to still
1:26:16optimize GPU kernels? Like, would it be able to learn in context roughly what it needs to learn and then like have some pipeline or like or come up with some solution to solving like optimization tasks? And I think like there's like a mismatch between like if you took a human that was as smart or like knew as much as Astra, there is a mismatch between what that human can do and what Astra can do maybe around a harness. And I think we can actually approximate the human a lot more.
Language Constraints and Reasoning
1:26:42To me, it sounds very approximate to the continual learning problem. I think you're making... That's the best example. Yes. Yes. Why didn't you just say that? Yeah, I guess I was like thinking, could I just blurt out some words like I'm careful with that. But yes, I, I... You have a very... Maybe, maybe like a bit of a, I don't know. So I think you're a very, I don't know. I don't know your undergrad actually. Are you like a math person? A little bit. Yeah. I think you're like sort of like a... Study math. Yeah. That's what I wanted to do at least.
1:27:12Like a category theory type of abstraction where you're thinking categories and then you have to like then translate down to the specific. And, but then you like actually really care more about the category. And like that, that's the communication error because like everyone's listening for the specific, but actually trying to also, you know, convey the general. Yeah. Which is hard. I don't really know. You can, you know, maybe use like a shorthand of like, okay, I'm at level two and then I'm going to go up to level three and go back to level two. We should have say some like epistemic like shorthand for like this kind of thing because
1:27:45it's hard, like you're compressing a lot into word after like sequential word decoding. Should we convert to neuralese? You know, is there like a better form of output than English or Python or JavaScript?
1:28:06I don't know. This is very, kind of like a shit post, but like people have speculated about like what is the native language that people want to, that models want to output. But some people say binary, that's Mark Andreessen's thing. I don't know. Yeah. PTX. Let's say a mix of English and Python. And I only say this because the capability of a model is somewhat a reflection of what we train them on. So we still want like, like, yeah, I don't really buy the binary argument.
1:28:36I guess I like, I understand, but it's like, ah, like. Yeah. You want to, you want to model the world in some way. I think the, you know, one thing I'll bring up is always, which I always do in this kind of conversation is Sapir Wharf, which is you, if you choose English, you will have locked into however long English has been around, which is, let's say 500 years, which is not that long. Like actually, you know, like what you, well, the language that you speak constrains how you think. And if you learn a different language, for example, someone in Chinese, we don't have tenses. Um, I don't know if you, I actually didn't know that and I speak Chinese.
1:29:09Oh, I, I, I did know that, but my, my Chinese is not great. Okay. Yeah. Or like, uh, in, let's say in Japanese or I know, I forget what language it is. Like in, in Korean, everyone you speak to, yeah, you have to like acknowledge social status. Yeah. Yeah. Yeah. It's a different dimension than gender. Right. Like it's just like, it just influences everything you do. Um, when I take Ling 101, um, apparently there's a, there's a, there's a language in Africa where like there's a vegetable gender. Uh, yeah. Right. Like it's just like you have, or like Eskimos, no, nowhere for snow or whatever.
1:29:40Like anyway, so like the, the language that you adopt affects your thinking. And if you choose to output your chain of thought in English, you are biasing towards whatever English solves. I don't know what the sort of prior of English is. That's interesting. I did not think of it that way. I mean, at some level it's interesting, right? So you're right on language. Uh, a lot of model chain of thought also fluctuates language. Uh, the obvious example is Chinese models speaking in English might still reason in Chinese. Uh, but at the same level, most models are very capable multilingually and that adaptation
1:30:14we can see, you know, you can add in languages. You don't get that much from adding a whole language, but they'll reason interchange. Yeah. So we're all autoregressive. I mean, but also like, uh, let's say German, like, you know, uh, subject object, uh, agreements, uh, you have to put the verb at the end, which is very super annoying, like very famously. Uh, yeah. Right. You don't know what you're doing until the end where you're like, Oh, that mess of nouns and then the verb. Well, the, the, the most classic one that most people be have heard of is arrival where, um, they have to have the parts where they, they think, uh, that time is like flat to
1:30:46them. So they think in, they, they, they, they output entire sentences at one shot. Um, so it's, it's as closest to the difference between autoregression and diffusion. We talk in autoregression. What if you could talk in diffusion? Hmm. Uh, where things just resolve over time. I see. I see. But like the whole idea shows up at once. Ah, I see. So that is a drastically different language, but it is a language. I see. Oh, that's really interesting. That's really, really interesting. Uh, which like machines could speak that we, you know, probably would never speak, but
1:31:17like, yeah, machines don't care. Maybe this is a huge tangent, but are there, are there not like things inherently that are reasoning chains that are inherently autoregressive? Yeah. Sometimes like, yeah, or like, yeah, yeah, yeah. Yeah. Something happens first, then something else happens. Yeah. Anything in code, for example, like has to be causal in, in, in some, usually at least has to be causal. Um, well, no. Uh, so, so then you have to, then you're not exploring enough, uh, function, uh, program and language theory, uh, where, uh, everything is like pure functional and like completely
1:31:49relational and, and, uh, you sort of abstract away the solver that translates the relationships that is always true into code. So, uh, I, yeah, I, I feel like this is maybe a little bit. Two out of my depth. No, it's interesting though. Yeah. Um, but I love languages, uh, whether it's coding or human. And I do think a lot about how that affects reasoning and, and, uh, the boundaries of what we can do. I don't need to go too much beyond that. I don't know if you have any other thoughts. Uh, my closing question was going to be, uh, you have all these research, uh, directions
1:32:19that you want to do. You're, you know, you had a GPU mode phase, you had a, uh, RLMs phase, presumably you have other stuff planned, which is why you're not, um, doubling down on that. By the way, I noticed that it is interesting how you guys do start with the GPU side and then you migrate towards the zero gradient side, which is what, uh, shouldn't you have called it? Doesn't that feel less legit than messing with GPUs? Yeah. I guess in, in the sense that like, so you did bring up that, like, I, I like to think
1:32:49about things in like a math oriented way and it's like very uncomfortable sometimes to be working on like harnesses and agents because it's so. Because you think all harnesses are the same. So it's like super fuzzy. It's like two new ideas in harnesses. Got it. Yeah. It's, it's, it's, it's also just like, like empirically it's hard to like verify a lot of findings, at least with, with the compute that we have available to us. But the reason why I think I've moved on to a lot of these problems is I think actually this is where most of like the innovation is yet to happen to me, like the GPU level
1:33:22is a means to exploring other ideas. Like you, you, you, you want to, for example, like get good at writing kernels or like even automate writing kernels for the sake of a broader goal of like, I want to explore ideas where I'm not bottlenecked by systems challenges in that sense. It's like, you know, I guess a lot of what's written there is all harness stuff, but I am also interested in things at the model level as well. But I'll just leave it at that. Okay. That's a good hint.
Future Directions and Collaborations
1:33:50Anything, any, if people want to reach out to you, what are you looking for help on? What do you want collaborators on? Any sort of calls to action? Yeah, so, um, I guess there's nothing I have in particular where I feel like I need to work with someone on, unless it's like, unless it's with a company before like compute or like with, to talk with other people about it. But I will say I'm not, I'm never opposed to working on ideas with other people. I get reached out to a lot by often undergrads or, or even like other students.
1:34:22Podcasters. Um, and usually I feel like I get an email that's something along the lines of like, I really like RLMs. Like I want to work together. Uh, and I, I feel like I, yeah, that's a bad reach out, right? Yes. The worst is like, can I pick your brain? Yeah. I'm like, I don't know what, like read my paper, dude. Like they'll be like, I read your paper in quotes, like recursive language models or like prime agent, like a self-improving RLM harness or something. Uh, and it's kind of like, I, I, I like, I really like people that are opinionated, even if we disagree, I think if you have strong opinions and are able to like think through why you
1:34:56think those opinions are right or wrong, cause usually it's, it's hard to, to, to, to actually tell, but like you have strong convictions about certain problems. Like I'm, I'm always happy to like chat and even like potentially work on something together. I have like no limit to who or like what I would like to work on. So, um, yeah. No limit. Yeah, yeah, yeah. I, I, you know, in, in the era of agents, I think there's a lot more work you can do, you know, like, like bandwidth wise. So I, yeah, I, I think in general, like I am not hard to impress, but I think it just
1:35:29takes a little bit of effort to kind of, yeah, know, know what you want. It's very clear. I mean, and like when you see a new thing come out, well executed, good, simple idea, uh, then, then I get that immediately gets your attention, right? I get excited. Yeah. It's actually like not that hard to get the same attention at all the frontier lab guys because they are looking for you. Uh, you just have to put yourself out there, right? Exactly. Yeah. But yeah, I will say, I think, I think human attention is very scarce right now. And I do struggle with like the number of projects that I have going on and, uh, I don't know how to manage it. I don't think agents are helping at all.
1:36:00Like I would just prompt it and I'll prompt the thing and then never look at it. Right. Like, which is very common. Yeah. Yeah. And that sucks. I guess maybe that one of the smaller differences in like, I mean, actually maybe you're doing research. I'm not sure. But for, for me at least, like I'll have maybe like 10 or 15 different ideas that I want to do. But the thing is like, most of them are bad. Yeah. And, and, and this also maybe is true even for someone that reaches out to me, like maybe the idea is actually bad, but it looks interesting to me. And so like, we can spend like some time looking into it. And if like, we feel like there's actually something there, like then what we should, we should,
1:36:33take the next few weeks and just really pursue it. And like, this is my, my style with, this is why I love the PhD by the way, because there are times when I'm just thinking about problems, like maybe on a run or just like playing tennis or something. Like I'm not, I'm not working, I guess, but it's like, those are the most fun times. And then when I like really am convicted about something, I'll just like drop everything and just do it. Like just spend like all my time thinking and working on that problem. And then I, you know, once you get to the point where like, you can just run experiments, then it's, it's, it's kind of easy coasting again. So yeah, sorry.
1:37:04This is like the fourth last question, which is like, I think a lot of people are also thinking about science as the next frontier, like, like physical sciences, bio, math, even, um, how do you separate, like, I guess, let's say your choice of projects that is applicable for industry and then maybe it's part choice project. There's just like science. I actually worked on like AI for bio stuff before I started my PhD. The field has changed a lot since then. I, I, I should say.
1:37:34Cause it's, it's like, it used to be a theoretical, like, of course, what do you mean? Like, you know, I have one path and then I chose that, but now a lot of people crossing over. Yeah. And they're like, so we have started a science pod to just cover those things. Oh, wow. Because a lot of engineers are like, well, actually there's, uh, tractable problems there. Yeah. You know, I will preface by saying my, my understanding of a lot of these topics is probably pretty limited, but I think like, if I find out either because someone reaches out or like, I look at a problem and I'm like, Hey, like some design principles that we use or that we're thinking
1:38:05about right now actually make a lot of sense for this problem. I get excited about those as well, but I think, I think it's harder. I don't know. I think with, I think science, especially like empirical or like applied science has very, very long, like, what is it called? Like feedback loops or whatever. Um, yeah. It converges to a robotics question. Yeah. Yeah. I mean, to me, like also this aspect of like, what is worth spending and betting my time on now? Because like, maybe I spent a lot of time on this problem and then like in six months,
1:38:37like a different solution, kind of like maybe a new model comes out and it's like, Oh, it's way better for this. And so I do have to be careful. I like, you know, you have to be conscious about like where you think things might be going. So publish, publish cycle. Yeah. Yeah. Yeah. Yeah. So I can just, oh, RKGI 3, it's saturated. We did it. Yeah. I mean, RKGI 3 got saturated in less than a year or so. It's kind of, you know, like it's, I don't know, like if, if, if you were a lab picking that problem, like you're probably kind of sad now because. Well, exactly. That's why knowledge work, gaming, all these things are saturated.
1:39:08Now that actually the frontier is science. Knowledge work is saturated. Yeah. GDP value is like 80 something, 90 something. Um, I mean like, you know, there's, there's 90 to a hundred percent. I was obviously going to get there and take the next 10 years, but like, uh, well, the next low hanging fruit is going to be, you know, the other stuff. Yeah. Maybe I'll think about that more. I actually, I, I haven't given too much. I'm just trying to guess your next direction. No, no. I will say because I think, I think especially at MIT, like it's, it's, it's, there's a lot of really talented scientists there, like in, in the natural sciences.
1:39:39And I think it's, it's a little bit like sacrilegious almost to be like, I'm going to figure out like your problem. Like. No, that's how it's done. Oh no, I know. Yeah. So I interviewed Itay who did the IMO thing. He's like, I've never, I've never been to IMO. I don't even know what it is. He's a skill model, dude. Yeah. Yeah. Yeah. Which is like very disrespectful about like, oh, whatever. But that's why, yeah. At some point, like you have to respect like, okay, you know, the, the progress is being made. Like number is getting output. Right. True. Yeah. I mean, that is very bit of a lesson.
1:40:09It's very interesting. Like, cause the mathematicians are responding this way to Neri's stuff right now. Right. Yeah. Like Terry, Terrence Tao is like, no, like let's not, let's not use AI. Yeah. I'm like, well, yeah, I mean, I think that, that, that, uh, the, that, that whole thing is kind of weird. Cause I feel like, I feel like they would have had a stronger case if a lot of them didn't work with open AI before, like all of this happened. No, that's ad hominem. Uh, and they, they're really trying to stay away from that. So what? Right. So what? Like, I don't know. Like, like, so what they got, you know, they, they've, they've collaborated. I'll collaborate with people that I don't agree with or whatever.
1:40:41Yeah. That's true. Like I did a thing and then now I, now I regret that. I changed my mind. No, whatever. Yeah. Yeah. So I'll defend their right to say that. But like, uh, yeah, a lot of people are reasonably disagreeing with, uh, with them. Yeah. Um, okay, cool. Uh, thanks for your joining us. Congrats on, uh, your success so far. I can't believe you're still not done with your PhD. Well, it's your, your two, you know, I can't believe we did this podcast without going through the RL and paper. I think the paper is more about like empirical results. Like the actual idea is quite simple.
1:41:11Yeah. And you've talked about it many times. Yeah. Yeah. Yeah. At this point. I think there's, there's more interesting things to, to, to look over now. So cool. Yeah. Well, we're excited to see what you do next. Thank you so much.
More from Latent Space

Why AI Compute Comes in Rectangles — Erik Bernhardsson, Modal CEO
Oct 22, 20261h 25m

You are the Team — Anekha Sokhal, Moshi
Oct 22, 202626 min

AI for the Fortune 2000: How Tenex Builds an AI-Native SDLC — Alex Lieberman & CJ Hess
Oct 21, 202643 min

The Programmable Data Center — Evan Conrad, SF Compute
Oct 20, 202636 min

Lab-in-the-Loop at Compute Speed — Ian Quigley, Leash Bio
Oct 14, 20261h 49m