Eugene Vinitsky is a professor a New York University department of Civil and Urban Engineering. He’s one of my original reinforcement learning friends from when we were both doing our Ph.D.’s in RL at UC Berkeley circa 2020. Eugene has extensive experience in self-driving, open endedness, multi-agent reinforcement learning, and self-play with RL. In this conversation we focus on a few key topics: * His latest results on self-play for self-driving and what they say about the future of RL, * Why self-play is confusing and how it relates to the recent takeoff of RL for language models, and * The future of RL in LMs and elsewhere. This is a conversation where we take the time to distill very cutting edge research directions down into the core essences. I felt like we were learning in real time what recent developments mean for RL, how RL has different scaling laws for deep learning, and what is truly salient about self-play. The main breakthrough we discuss is scaling up self-play techniques for large-scale, simulated reinforcement learning. Previously, scaling RL in simulation has become economical in single-agent domains. Now, the door is open to complex, multi-agent scenarios where more diversity is needed to find solutions (in this case, that’s what self play does). Eugene’s Google Scholar | Research Lab | Linkedin | Twitter | BlueSky | Blog (with some great career advice). Listen on Apple Podcasts, Spotify, YouTube, and where ever you get your podcasts. For other Interconnects interviews, go here. Show outline & links We cover many papers in this podcast. Also, as an experiment, here’s a Deep Research report on “all the papers that appeared in this podcast transcript.” In this episode, we cover: * Self-play for self-driving, mostly around the recent paper Robust Autonomy Emerges from Self-Play (Cusumano-Towner et al. 2025). The simulator they built powering this is Gigaflow. More discussion on HackerNews.(Here’s another self-play for self-driving paper and another from Eugene from earlier this year).A few highlights: “All simulated agents use the same neural net with the same weights, albeit with randomized rewards and conditioning vector to allow them to behave as different types of vehicles with different types of aggressiveness. This is like driving in a world where everyone is different copies of you, but some of your copies are in rush while others are patient. This allows backprop to optimize for a sort of global utility across the entire population.” “The resulting policy simulates agents that are human-like, even though the system has never seen humans drive.” * Large Language Models are In-context Preference Learners - how language models can come up with reward functions that will be applied to RL training directly. Related work from Stanford. * Related literature from Interconnects! The first includes literature we mention on the learning locomotion for quadrupeds with deep RL (special shoutout as usual to Marco Hutter’s group). * Recent and relevant papers Value-based RL Scales Predictably, Magnetic control of tokamak plasmas through deep reinforcement learning. * Other things we mention: * Cruise, Tesla, and Waymo’s autonomy stacks (speculation) and how the self-driving industry has changed since we were / were considering working in it. * Evo 2 foundation model for biology. * Eugene is working with a new startup on some LLM and RL stuff. If you’re interested in this episode, ping eugene@aitco.dev. Not a paid promotion. Chapters * 00:00:00 Introduction & RL Fundamentals * 00:11:27 Self‑Play for Self‑Driving Cars * 00:31:57 RL Scaling in Robotics and Other Domains * 00:44:23 Language Models and In-Context Preference Learning * 00:55:31 Future of RL and Grad School Advice Transcript I attempted to generate with ElevenLab’s new Scribe tool, but found the formatting annoying and reverted back to Alessio’s smol-podcaster. If you’re interested in working part-time as an editorial aide to Interconnects, please get in touch. Nathan Lambert [00:01:27]: Hey, Eugene. Welcome to the show. Eugene Vinitsky [00:01:29]: Hey, Nathan. Thanks for having me. Excited to be here. Nathan Lambert [00:01:32]: Yeah, so I'll have said this in the intro as well, but we definitely go well back in all the way to Berkeley days and RL days, I think. I will embarrass you a little bit now on the live read, which is like, you were one of the people when I was switching into RL, and they're like, oh, it seems like you only figured out how to get into AI from a potentially different background, and that's what I was trying to do in 2017 and 2018. So that was kind of fun, and now we're just friends, which is good. Eugene Vinitsky [00:02:01]: Yeah, we were both figuring out. If I had any lead over you there, I was also frantically trying to figure it out, because I was coming from a weird background. Nathan Lambert [00:02:11]: There are definitely a lot of people that do that now and over-attribute small time deltas to big strategic plans, which was probably what it was. And we're just going to do some of our normal conversations on RL and self-play. I think the backstory of this is you told me that your recent paper from some of your time at Apple, I think I don't want to time for it too specifically, was something, paraphrasing, like the most exciting RL thing you've ever had a part of. And major RL projects are not that frequent. I think if you segment out all the language model excitement in the past 10 years, there's really a few major milestones, and it's good to kind of talk about them. So we can kind of start, I think, basic things, like how do you define reinforcement learning, and it will kind of build up to this self-driving project. Eugene Vinitsky [00:03:05]: Yeah, so I think RL is kind of a big thing, but at a really basic level, you have this process of taking actions in the world. You're seeing the state of the world. If you're taking actions in the world, you sometimes receive a reward that tells you the value of that action, and you're trying to kind of optimize your cumulative behavior over time. So that, you know, over long trajectories, you're optimizing those costs. That's both, you know, the hard thing and the exciting thing is that if you do it well, you can really optimize really long horizon behaviors. Nathan Lambert [00:03:41]: Yeah, I agree. And it's funny because now it's finally, the language models are finally doing this long chain of thought, and I don't really think that's the same. I think the interactive notion will come up a lot here where these long context behaviors are many, many actions interacting with the world relative to one really, really long action, which is kind of odd. Eugene Vinitsky [00:04:04]: Yeah, I guess, yeah, it mixes things, right? Because it has very long state, right? It's got very long contexts, and it's generating its own context. But in the end, there's really one action at the end that, like, kind of determines how everything went, you know? Nathan Lambert [00:04:23]: Yeah, yeah, yeah, we'll get into this. And then the next thing that we kind of need to set up is what do you define self-play as? I think this word has been particularly broken in recent times with language models, and I'm hoping we can get a fairly specific criteria for what is self-play and what are related topics. Eugene Vinitsky [00:04:42]: Yeah, I think even within the field, there's quite a bit of debate as to what constitutes self-play. So talking to, you know, experts, people will disagree about what methods are and are in self-play. But what I will say is I generally define self-play as anything where an agent plays a copy of itself. So up to a bunch of different agents interacting with each other, as long as they're mostly, in some ways, copies of each other, we're doing self-play. Nathan Lambert [00:05:12]: Yeah, and then do you think anything, I mean, your background's in multi-agent as well. Do you think there is something fundamental to kind of a game that has a really specific hill to climb where it's kind of this competi… This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.interconnects.ai/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00The following is a conversation with Eugene Venitsky. Eugene is a professor at the New York University Department of Civil and Urban Engineering. He's one of my original deep RL friends from about 2020 at UC Berkeley when we were both doing PhDs in our respective topics. Eugene has extensive experience in many of the core topics of reinforcement learning today, from self-driving, self-play, open-endedness, multi-agent reinforcement learning, and lots in between. In this conversation, we focus on a few key topics.
His latest results on self-play for self-driving and what they say about the future
SPEAKER_00of RL, why self-play is confusing and how it relates to the recent takeoff of RL for language models, and of course, the future of RL and language models and elsewhere. There's a lot of results in robotics that we cover as well. This is a conversation where we take the time to distill very cutting edge research topics down to their core essence. And this takes a bit of time to work through, but we feel like we're learning in real time with the recent developments from his work in self-play for self-driving, I mean for RL and how scaling is different in reinforcement
learning relative to
SPEAKER_00deep learning, where it's really all about samples and interactions relative to parameters and data. Thanks for listening, and I hope you enjoy this conversation with Eugene. Hey, Eugene. Welcome to the show.
SPEAKER_01Hey, Nathan. Thanks for having me. Excited to be here. Yeah, so I'll have said this in the intro as well, but we definitely go well back in...
SPEAKER_00all the way to Berkeley days and RL days, I think. I will embarrass you a little bit now on the live read, which is like you were the one of the people when I was switching into RL and they're like, oh, it seems like you figured out how to get into AI from a potentially different background. And that's what I was trying to do in 2017 and 2018. So that's kind of fun. And now we're just friends, which is good.
SPEAKER_01Yeah, we're both figuring out if I had any lead over you there, I was also frantically trying to figure it out. Because I was coming from a weird background.
SPEAKER_00There's definitely a lot of people that do that now and over-attribute small time deltas to big strategic plans, which was probably what it was. And we're just going to do some of our normal conversations on RL and self-play. I think the backstory of this is you told me that your recent paper from some of your time at Apple, I think it wanted Time Bar 2 specifically, was something, paraphrasing, like the most exciting RL thing you've ever had a part of.
SPEAKER_00major RL projects are not that frequent. I think if you segment out all the language model excitement in the past 10 years, there's really a few major milestones and it's good to kind of talk about them. So we can kind of start, I think, basic things like how do you define reinforcement learning? And we'll kind of build up to this self-driving project.
SPEAKER_01Yeah. So I think RL is kind of a big thing, but at a really basic level, you have this process of taking actions in the world. You're seeing the state of the world. You're taking actions in the world. You sometimes receive a reward that tells you the value of that action. And you're trying to kind of optimize your cumulative behavior over time so that over long trajectories, you're optimizing those costs. That's both the hard thing and the exciting thing is that if
you do it well,
SPEAKER_01you can really optimize really long horizon behaviors.
SPEAKER_00Yeah, I agree. And it's funny because now it's finally the language models are finally doing this long chain of thought. And I don't really think that's the same. I think the interactive notion will come up a lot here where these long context behaviors are many, many actions interacting with the world relative to one really, really long action, which is kind of odd. Yeah.
SPEAKER_01Yeah, I guess, yeah, it mixes things, right? Because it has very long state, right? It's got very long contexts. And it's generating its own context. But in the end, there's really one action at the end that kind of determines how everything went.
SPEAKER_00Yeah, we'll get into this. And then the next thing that we kind of need to set up is, what do you define self-play as? I think this word has been particularly broken in recent times with language models. And I'm hoping we can get a fairly specific criteria for what is self-play and what are related topics.
SPEAKER_01Yeah, I think even within the field, there's quite a bit of debate as to what constitutes self-play. So talking to experts, people will disagree about what methods are and are in self-play. But what I will say is I generally define self-play as anything where an agent plays a copy of itself. So up to a bunch of different agents interacting with each other, as long as they're mostly in some ways copies of each other, we're doing self-play.
SPEAKER_00Yeah. And then do you think anything, I mean, your background's in multi-agent as well. Do you think there is something fundamental to kind of a game that has a really specific hill to climb where it's kind of this competitive nature versus something like language?
SPEAKER_01Yeah, this is kind of the dream of, I think, some multi-agent researchers is this type of like ratchet effect where you have a bunch of agents interacting with each other and kind of increasing complexity on the part of any agent generates increasing, like creates new challenges that need to be solved and then force you to learn new skills. And then you kind of get this endless, endless ratchet. Maybe that's what you meant. I may have misinterpreted.
SPEAKER_00We're going to revisit it. I think also it's like, how does the... multi-agent nature of a lot of these things change what people think about with RL. This is the kind of the last building block before we go into the self-driving stuff. Yeah.
SPEAKER_01Yeah. So, so the way that the multi-agent thing changes, changes things is it makes everything much harder. So, and more interesting. So you go away from this world where you have like a clear score function, right? So you have some reward for first in single agent setting, you have some reward. If that reward is high, you're doing well, right? And when you move into the multi-agent setting, it becomes reward with respect to whom, right? It all of a sudden matters whom I'm playing, right? So if we go to a game of like, one setting is like two-player zero-sum games,
right?
SPEAKER_01So a game of two-player poker, I train a poker bot, right? How do I know it's any good? I have to play another poker bot to decide that it's any good, right? And so all of a sudden, this challenge of like, what is a good policy becomes very fundamental. And you kind of lose even a notion of there being like one clear good policy. And like the whole, a lot of, a lot of the field of multi-agents is coming up with different definitions of what would constitute goodness.
SPEAKER_00And then back to the self-play thing with that, like, is all of the self-play that we discussed, like if you were playing yourself, does the same consideration apply? Like, is self-play necessarily a multi-agent framing?
SPEAKER_01I think it is, because oftentimes what we're trying to do with self-play is to converge to some notion of policy goodness. And self-play is just a mechanism that gets us to some definition of high-quality policies. And what turns out to be the case is there are actually many non-self-play type methods for doing this. Self-play just turns out to be an effective way to accomplish constructing effective policies or agents.
SPEAKER_00Yeah, there's many. I'll link later a lot of these papers on self-play for preference learning and look into them a bit more. Essentially, that's been the lens. There's two lenses by which this has come back. Both of them I don't think fit into. I think this multi-agent lens of self-play is much richer. And I don't think any of them have fulfilled this. I think there's useful methods for preference tuning. I think it's like maybe spin. It's like self-play something. Preference learning is one.
SPEAKER_00And there's papers related to this where they're probably looking at the probability of the own model in generating a response or something. Like looking at the internals of the model. And it's not really set up in this game nature of some sort and then also with q stars when the self-play stuff came back where i really think i've talked to some people that did original reporting on this and it was that the model looked like it was talking to itself and i think that very understandably for less a little bit less technical
audiences that
SPEAKER_00haven't engaged with self-play That coverage of talking to itself got transformed into a self-play commentary and hype cycle, which took people down the wrong path for an entire year, which is so brutal, but also very understandable and funny. Yeah, I think there's something interesting and different happening in these multi-agent
SPEAKER_01LLM self-play setups. I'm not super familiar, but I think... What's happening is something quite different than what we mean in other multi-agent settings when we're talking about self-play. I feel like it's more about like, refining like the distribution of actions that it takes in some some kind of odd way i i think this sounds ridiculous at first pass but it's almost that the language models are simulating a softer version of self-play
within themselves to kind of check their own work and engage in their own discourse which the level of
SPEAKER_00intelligence they have is not going to like unlock the true like incremental progress that we think of with self-play which probably i think for context of things for self-play just to put them on the record of this are have been very impactful or things like alpha go and new zero i think that's those are the prime examples of generating some superhuman policy in the close yeah i think it's important to kind of gate the conversation on like these are the aspirational goals
in terms of outcomes and then figuring out how to apply them to new domains and new
SPEAKER_00tools is kind of unknown.
SPEAKER_01Yeah, so maybe I should have said this earlier, but like self-play is the thing that gives us, is like maybe the one way that we know to build superhuman agents right now. So superhuman Go, human level Dota, human level StarCraft. Technically, poker is in a slightly weirder space where I don't exactly know that I would call the method that underlie that self-play. Sorry. um and that makes sense but yeah it's the one way we really
know how to build superhuman agents and i think this is a kind of a natural transition because the to
SPEAKER_00make people excited in the work that you did it seems like you discovered superhuman driving through self-play without inductive biases and like um how do you view the potential impact of this and then we can kind of go into the method right so the the challenge with self-play is and this requires a bit of technical detail to get there but you know in in like two player zero-sum games games where you and an adversary are playing with each other and somebody wins and somebody loses there's
a very well-defined notion of what being good is um you know that they're they're
SPEAKER_01well you know There are criteria that we would like our policies to converge to. And the challenge has always been about moving beyond that to a domain where it's much harder to define what doing well means, right? There isn't like an abstract notion of what good driving is there out in the world where I could just write down the reward function and simulate it and optimize with respect to that. And all of a sudden I'd have a good driving policy. So the gap has always been between these methods that work really, really well in well-defined games like StarCraft or Go and
chess and settings where
SPEAKER_01it's much harder to define that. And so we haven't been able to move to self-play in settings where, for example, humans might be in the loop, right? And particularly driving is an instance of that somewhere where at the end, we're going to take our policy and it's going to drive with humans and we have no way to simulate humans and play against them. And so figuring out how to close that gap has been kind of an open challenge. And I think maybe this is the first instance of finding a way to do that.
SPEAKER_00Okay, so that's a much better motivation than I gave. And I understand the excitement now, because if this works in one domain, and you'll tell us about how grand of an effort it actually was, I know big tech companies can put a lot of force and long-term investment behind things to get them off the ground. Then a lot of the other things that people are saying about language models or other complicated domains are... At least there's an existence proof of something similar happening. So why don't you just continue to explain this problem set up
of learning driving
SPEAKER_00without having a human teacher? It will probably take detours to analogize different self-driving stacks just because we know about them and it's good to compare.
SPEAKER_01Yeah. So one way of framing this is, and I'm going to put cautions in the end, I'm going to give you the extreme version of it, and I'm going to walk it back a little bit, is like human level driving without any human level data. And the caution needs to be that this is in simulation and our ability to measure human level driving in simulation is limited in a lot of ways. So I can tell you about the ways that we measured it, and then I'll have to tell you what the limitations of those things are. So this was a large scale effort and Vladlyn Colton's team at Apple.
SPEAKER_01It was about like eight researchers, research engineers working together for about a year and a half, building the stack out. It was, I think a lot of us came at it from different places. I know some folks were very inspired by this idea of like alpha star for driving, you know, building a diverse, rich world and then driving it in a way that such you would transfer to policies that you hadn't seen before. So like human actors. So yeah, if it's helpful, the idea here is that
SPEAKER_01or the goal here was to build a human level simulated driver. And here, what that means in our case is not a fully end-to-end method, right? So we're not simulating perception. So driving stacks consist of like generally perception, prediction, planning controls. So you have a perception stack that You know, it takes your LIDAR, your camera, your radar and converts it into, you know, where are the cars, where are the road at? What's impassable? And then a prediction stack will take the like positions of all the cars, the cyclists, pedestrians, and it'll predict where they're going to go next.
SPEAKER_01And then a planning stack will say, okay, given those predictions, you know, what's a good trajectory for me to take? And then the control stack will say how to actually follow that trajectory safely and robustly, right? And we're talking about subsuming the prediction planning control portion of the stack, not the perception part of the stack.
SPEAKER_00I was thinking that you might not even do control. I was thinking you might just say, control is a softer album and not do that too.
SPEAKER_01So in the same way, we're only kind of doing control. We're doing this.
SPEAKER_00I think Waymo uses the term behavior for this. I think it's been their behavior team for a while.
SPEAKER_01Is that right?
SPEAKER_00It's hard to know where the abstraction ends, but they definitely have a behavior team that's done a lot of things through the years. At least that's the job apps that I've been applying to or have interviewed for in the past. Yeah, me too.
SPEAKER_01I think we do know how to control cars. We know how to make cars follow a pre-specified trajectory, right? This is somewhat of an easier problem than like humanoid robotics or something. You know, big thing got wheels. We know how to make it turn.
SPEAKER_00So how do we get these things from, I mean, they start as like, it doesn't start at just all the simulated cars crashing all the time. Yeah. What is the start here?
SPEAKER_01I'll send you the video once it's out. But like, you know, the first 10 hours of simulation is just like cars scattered all across the road, smashing into each other, driving off the road, that type of thing. It's actually interestingly useful because what we do is when two cars crash, we have them come to an immediate stop. And this actually creates a lot of blockades in the road. So at some point during the training, the cars start to learn to drive around stopped cars, even though those cars are stopped because they've crashed, as well as to drive around like obstacles and things like that. So yeah, that's what it looks like.
SPEAKER_00What is the reward function for these? So you have a bunch of carves that can see their peers, and there's some reward function, I'm guessing. Yeah, so the major component of the reward function is getting to your goal without colliding.
SPEAKER_01So we have these maps that we've taken from the cartless simulator. They're fairly large maps. Some of them are like multiple kilometers in spatial extent. We have eight of them. And we place goals randomly over the map. And you get a sequence of goals. So you know that like, okay, I want to get to this point. And then after that, I'm going to want to get to this next point after that. You're going to get a big reward for getting to that goal. You're going to get some amount of penalty for colliding. And then there's also an implicit penalty because if you collide, you're not ever going to get to your goal. And then there is some amount of hand design here in that there
are small rewards for staying in your lane and being aligned with your lane and not driving in the
SPEAKER_01opposite direction in the wrong lane.
SPEAKER_00This was one of the questions is if you had to do this sort of thing.
SPEAKER_01You have to do that. But one interesting thing, and maybe we could talk about that at some point, is we randomize the weights of those rewards. So there are agents that really want to drive in the lane going in the right direction. And there are agents that don't care about that at all. And they will take the wrong lane on the highway, going at full speed in the opposite direction. And that's kind of useful because you're ready for that scenario. You've seen that scenario in the world when you're driving around, right? But yeah, we have to do some of that stuff because at some point there are laws and you can't
SPEAKER_01avoid encoding the laws into your system. Stop signs are a human concept. Um, they're, they're not, you know, it's not going to emerge that you see a red thing and you're like, oh yeah, that means I should stop. And then I should like give the right of way rules to the other cars. Um, but all of our rewards are kind of soft in the sense, like, you know, if you're at a stop sign and folks have been preventing you from going for a very long period of time, right. You're going to start to nudge in and like break the rules about right away,
basically.
SPEAKER_00Yeah, one of my questions for later on this is like, do you think our vehicles and driving dynamics and infrastructure kind of constrain the way of driving? Like we've co-designed human driving in our infrastructure so that human driving is actually no longer that special because of the track is so long, so defined.
SPEAKER_01Yeah, I think this is part of why this is all going to work or like why it works is because like human driving is, and human behavior in many domains is like fairly constrained by the institutions and the laws and the norms that we've designed. It's not super freeform. So like driving amongst humans is much more of a constrained problem than you would think. It's also unconstrained in some interesting ways, but it's quite unconstrained, quite constrained.
SPEAKER_00And how hard was this to actually learn? So how sensitive of a process is it now? I think in the paper, you're talking about GigaFlow, which is like a high speed simulation engine. So obviously, you know, on data, the final paper says that it learns in 1.6 billion kilometers of driving. I was wondering if you had an intuition for that. So like how many miles are driven by all the cars in San Francisco in a day or
SPEAKER_01something like this? That's a great question.
SPEAKER_00It could be a good chat GPT query, to be honest.
SPEAKER_01This might be a chat GPT question. Let me give some numbers that I do know. And this is kind of maybe helpful. So I think cars crash every 20,000 to 100,000 miles. And a fatal collision happens every 100 million miles, something like that. But how many miles are driven in a day in a city? I'm not sure. 1.6 billion kilometers is the distance between here and Saturn. Sounds like kind of far when you put it that way,
but there are a lot of cars.
SPEAKER_01Yeah, there are a lot of cars, right? There are a lot of drivers. There are surprisingly few trips in a city, fewer than you would expect, but I'm struggling to put a number on it.
SPEAKER_00I'll tell you what ChatGPT gets when it's done thinking. It's 03 mini high. This is not a reliable number. Your intuition that it's lower goes a lot. I mean, you've thought about a lot of these car systems for a very long time, and I will link to some of your other work on this. So you definitely have better intuitions than I would.
SPEAKER_01Well, the intuition comes with the fact that, like, a lane of the highway can take 2,000 vehicles per hour, which is, like, just not that many vehicles, right? And, you know, most of traffic is between, like, you know, 8 a.m. or, like, 7 a.m. and, like, 10 a.m. and then on the way back home. And so, you know, you can, like, kind of estimate based on how many lanes there are on the main highway how many trips there are.
SPEAKER_00Yeah, so San Francisco, the 03 Mini High estimated 4 to 5 million miles in a day in San Francisco. It's a plausible number, but it's well below what you are doing. I think maybe globally this billion kilometers could be hit every day.
SPEAKER_01Here's one way to think of it. We simulate 10,000 years of human driving.
SPEAKER_00Okay. I guess it depends on how many cars you have in parallel.
SPEAKER_01Per one training run. To get the policy that we get, we simulate about 10,000 years of human driving.
SPEAKER_00Yeah. So if you have 10,000 cars, it's all of them driving for a year.
SPEAKER_01Yeah, exactly. And we have about like a million cars driving at any given time in the simulator.
SPEAKER_00Do you think that substantially changes the learning dynamics? Like, are they all, how many cars are any of them interacting with at any one time?
SPEAKER_01Yeah. Any given simulator in any given world. So this is this like kind of like Isaac's gym style vectorized simulator. So it all runs in the GPU. So it's a bunch of worlds happening in parallel, but any given world, there are about 150 cars in it. Um, which means that sometimes you're driving in sparse traffic and sometimes you're going to interact with like 10 or 20 cars at any given time. Um, And I think one thing is that one cool thing is that at that scale, I think RL becomes very, very stable.
SPEAKER_01Like for us, like every training run succeeds. The reward curves go straight up. You know, there's no like.
SPEAKER_00What are you scaling? Are you just like scaling batch size effectively? What is the actual thing you're scaling?
SPEAKER_01We're scaling the amount of experience generated. So it's like a trillion samples of total experience that the agents train on. And then, yeah, we use gigantic batch sizes. But what is the thing that you need to dial up in order to make learning actually happen? Total amount of experience generated, right? So you need to be generating a million samples per second to train on type of thing.
SPEAKER_00Okay. And then what is the actual, I guess I don't know a ton about multi-engine RL, but what is the actual RL algorithm? And is it a giant replay buffer that is just building and building and building?
SPEAKER_01It's PPO. You know, one thing we've been seeing throughout our work pretty continually is that for both theoretical and empirical reasons, PPO is actually a really good multi-engine RL algorithm.
SPEAKER_00Yeah, you had the paper, or you are on the paper years ago that's like on the something, something, PPO, multi-agent, simple, good.
SPEAKER_01So we know that PPO works empirically pretty well. Yeah, yeah, that's basically the title of the paper. That's it. PPO, simple, good, multi-agent, cooperative, good. It's good in cooperative problems. It turns out to be pretty good in two-player zero-sum games. And here in this driving thing, it's what's called the general-sum game. And there, you know, it seems to work in the setting too, so. Evidence is accumulating.
SPEAKER_00Something that people probably don't know about multi-agent RL, and maybe I don't know either, but in this paper, all of the cars were using the same actual weights of the model. Is that standard in multi-agent RL or is it kind of a variable?
SPEAKER_01So I'll add one little subtlety here. So yes, we're using every policy is the copy of the same agent, right? Right. they're all looking at their local observations so it's decentralized but it's all one copy but every agent gets its own like conditioning vector that's like what are my like reward weights how big of a you know what's my width and my length am i a cyclist am i a pedestrian am i a driver and they flexibly adjust their behavior based on that condition do you think that's actually like if you were to squint at the system is that actually changing the policy or is it
changing the environment
SPEAKER_00in kind of an indirect way
SPEAKER_01It's changing the policy. You'll see that a car is like, oh, I'm a pedestrian. I'm a big truck. I'm going to do a K-point turn to turn around. I'm a pedestrian. I'm going to smoothly wiggle through these small box areas that I couldn't get through otherwise. It really appreciably changes the policy, which is cool because it's this tiny 3 million parameter neural network or 6 million parameter. Um, and, and so like, there are all these like little sub policies inside of it that you can activate by conditioning.
SPEAKER_00Can you do it post hoc to change the behavior in an interpretable way?
SPEAKER_01I don't know about interpretable. I guess it sometimes depends what we mean when we say interpretable. But yeah, so you can be like, look, okay, you don't care about staying in your lane and you'll see it start going into the other lane and driving. You know, you change the size of the policy or like the car and it will change the trajectories that it takes in response. It's very responsive to this conditioning. We have some cool graphs in the paper pointing out all the different things you can make it do by changing these values.
I'm trying to think of how this reflects the nature of driving and what the
SPEAKER_00downstream use of this tool is. So you showed that this is doable. And what does this mean for self-driving specifically? Yeah. What would you do if you had this big team and you know that this exists and you're interested in self-driving as a field? I mean, there are obviously a lot of people that a lot of companies that have big teams and lots of money to try to think about self-driving.
SPEAKER_01Yeah. So as I said earlier, there's this perception, prediction, planning, control stack. And I think this is providing a lot of evidence that you could maybe subsume the prediction and the planning stack and put it into this type of end-to-end policy that you could then train in sim and then maybe not... zero-shot deploy onto the roadway, just take it straight from Simput onto the roadway, though I think it's maybe possible. But really give you this base policy that you could then start
to put on the roadway and start to build this flywheel that you can then use to collect more and
SPEAKER_01more experience, validate the safety. If you're a automotive manufacturer that doesn't have like a full spun up self-driving team but you have a pretty good perception stack like this is something that you can use to just like get something out in the world pretty fast right because like three i think like two two three days of training later you have something that i think and we'd like to start testing it uh can be like straight up put onto the roadway with humans driven around and things will be like pretty okay You know, don't take the safety driver out.
Yeah, and you have some cred saying this, given that you've done RL experiments with real cars.
SPEAKER_00This is not something that's ripping off the Band-Aid for the first time. You've done different types of self-driving experiments with RL policies in the real world. It might not be at the same level of the stack, but I can add links to that.
SPEAKER_01That was a lot more constrained, right? We were putting these cars on the highway to like smooth traffic. So they were driving away such that like stop and go waves and traffic would like get smoothed out and disappear. But there was just like, you know, stay in your lane, follow the car behind you. Here we're talking about like, you know, complicated interactions at intersections and that type of thing. So a lot more like safety. Everything there is safety critical, but like significantly less constrained than anything we've done in the past.
SPEAKER_00Yeah. And then to kind of keep leading this on, I will say a bunch of things because you're more of an industry insider. So it makes it less revealing if I say things because I don't really know anything. Back when I was interviewing for a job in around 2021, at least a lot of RL people were interviewing with self-driving companies who were doing extensive research in RL for different parts of this behavior stack. Even at that time, four years ago, prediction seemed largely or like sensing and prediction was perception was largely solved. These CV stacks are really mature and figuring out the actual
driving component and
SPEAKER_00decision making was really hard. There was... I mean, I did a Tesla take home for their self-driving team, and they were hiring other RL people. That take home was ridiculous.
SPEAKER_01Yeah, I remember that.
SPEAKER_00Freaking intersection of polygons. It's four years ago. They've got to be using a different question, but it was so hard. I did end up solving the test cases. um it was i solved the test cases god that was rough but essentially the rumor was they're doing something like mu zero for self-driving and or mix of imitation learning which is there's a duality of learning a world model from real data relative to building a simulator. But the motivation of the work is very similar,
SPEAKER_00which is in MuZero, you want to unroll trajectories and be able to learn from that and distill an RL policy versus if you have a big simulator, you then can... learn everything from scratch and figure out how to transfer that to Reel. And I think there's different assumptions on what would work. And the history of RL, it is now that the simulator to Reel is generally a more promising path if you can build the right simulator than in going from Reel to enhancing Reel with RL alone. Cruise was filling a research team. And one of the best engineers I talked to was trying to build a
world model or like
SPEAKER_00a simulator and do this like AlphaGo for self-driving. I think that was a phrase from the interviews four years ago. So a lot of this and Waymo is now obviously winning. I think Waymo, I don't know exactly what they're doing. I think their stack is actually probably the most complicated where they probably were looking at like all sorts of RL inspired things for very specific parts of the stack to improve behavior. But it's funny that looking back four years ago, this was something... The spectrum of ideas the industry was looking at was actually very related to this.
SPEAKER_00And in the same time, the self-driving industry has changed a lot. So what do you think of this whole industry of self-driving relative to... You have a lot of experience here. I mean, I'm a big Waymo fan now. But it's just like... It's so funny how these things evolve. And I think after this... Later on, we'll talk about the... it's the rl specific trajectory with simulation simulated results and stuff too yeah yeah i mean we were interviewing at the same time so i was also interviewing with all these self-driving companies when you were uh and and
it did seem like it was the place that was the most friendly to doing rl type research at the time um i think now almost everyone has gone all in on this like imitation learning type
SPEAKER_01approach um that This is a huge fraction of what people are doing. I think a lot of the RL teams have been spun down, which I think is unfortunate a little bit because I think what this work shows is that it may be wrong to do so, that there is a lot of value still in RL for this last piece of the puzzle. You know, one thing we have here is an insanely robust policy, right? So, like, this is an end-to-end neural network.
SPEAKER_01In SIM, it crashes once in a million miles.
SPEAKER_00It crashes at all. Yeah. But what was the number you said before for miles per crash?
SPEAKER_01Humans are between 20 and 100K, somewhere like that. It's a little hard to get estimates. It varies from place to place a lot. Yeah. yeah um yeah so i mean a lot of industries are pretty excited about this like alpha zero for self-driving type thing and the question you know becomes as you said like what is the simulator that we do this right and so one perspective that's very prominent is like let's collect a lot of data let's sell the world model and then let's unroll in that simulator right and then the challenge becomes like who do you
SPEAKER_01unroll in that simulator right so you okay now your world model has a build into itself a model of the other agents right if you kind of take the single agent perspective i'm going to unroll world model i'm going to place a car inside of it and that's the car i'm going to train with rl and now what happens this was a big problem for self-driving because you have like a dynamic number of objects in
SPEAKER_00the scene that you're supposed to reason about with your world model How does the policy that you train handle this kind of agents coming in and out? Is it all just that you have some, like, are you identifying entities as nearby as other cars are nearby? Or is there some abstraction? Or is that the perception stack handles that?
SPEAKER_01Yeah, exactly. We roughly simulate a sensor in the sense that you only see cars in some radius of yourself, right? But we don't, yeah. I mean, all the cars are there persistently in the simulator driving around. And we answered this riddle of like, what should the other cars do by like their self-play, right? They're a copy of your policy. They're driving around. Um, whereas I don't know what happens in the world model, right? Like kind of in this like world model approach, you're limited by how capable the world model is at simulating the behavior of other actors. Right. And if your world model has actually learned a robust model of
human driving for
SPEAKER_01all the other agents in the simulator, then like, you don't even need, you don't really need, you need to do RL because like the world model already has a model of how humans should behave in a simulator at human level, but they don't, um,
SPEAKER_00Yeah, and it's just so funny that it just feels like they haven't. And the only way that Waymo, et cetera, has gotten it, it seems like Waymo has adapted an autonomous stack with some human inspiration to make the driver more smooth, is what it seems like when you're in it, which is extremely, really strong perception and world understanding with some really clever policy that is... tuned to feel human,
but probably not human or RL at the bottom of the day. I wonder, I don't know what Waymo's planning stack actually looks like in the end, right?
SPEAKER_01Like Waymo's pretty secretive and I've never worked there. And if I had worked there, I wouldn't be able to say. But I think if I had to make a bet, it's some kind of hand-designed cost, like mixing a bunch of terms together about what a good trajectory looks like. Maybe mixing with a little bit of human data to make that trajectory feel a little smooth and human-like.
SPEAKER_02Yeah.
SPEAKER_00And to prompt you, what does your... Yeah, I agree with this. What does your history of being a nerd on urban planning make you think of what is coming for self-driving cars?
SPEAKER_01Yeah, so I guess the thing to mention is I'm a professor of transportation engineering, among other things. So I have required to have some thoughts on this. Yeah. I think that, you know, self-driving cars are coming. I don't know if they're coming a year from now. Who knows when the cost curve gets driven down?
SPEAKER_00Where we live, they're more likely to come sooner, given tech hubs and people are willing to pay very high premiums.
SPEAKER_01Yeah, yeah, that's true. That's true. So like a lot of goods, they may come for wealthy folks first, and then that allows the cost scaling to come down over time. Yeah. And it really is a magical experience to take away Mo, right? I remember the first day I saw the cars driving around and nobody in it. I actually just started chasing one of the cars because I was still like, It was such a magical moment. I needed to experience it for as long as possible.
SPEAKER_00Yeah, my first time was in Scottsdale, Arizona for one of my best friend's bachelor parties, who's also an engineer. And we saw one driving with no person. And I was like, I wonder if we could take one. And I immediately download the app. And because it's in the middle of nowhere, they're testing zone. They have tons of supply and no demand.
SPEAKER_01So we were just immediately able to drive one around. I actually sat in an airport for three hours in Phoenix while my phone upgraded to the newest OS so that I could, like, download the app and take a Waymo for the first time there.
SPEAKER_00This is totally reasonable behavior for anybody listening, and you should update your prior if you don't think it's reasonable.
SPEAKER_01It's totally reasonable. It's a totally normal thing to do. But I think... So I think in cities, like... So... I think that it's still going to be a long time before these things are rolled out at scale. So just because costs, safety, how long does it take you to verify that it's safe to drive in a new city? I mean, okay, let's put Tesla aside. I don't really know how to think about that.
SPEAKER_00That's how I feel too.
SPEAKER_01There's... There's parts of the United States that are, due to state dependence, very spread out because of suburbization. I don't know if that's a word. It's a word I use. They're very spatially spread out. In my grandpa's hometown, or where my grandpa lives, there's no public transit. There's no way to get by without a car. Public transit isn't viable because of the way people are distributed. So if systems like those continue to exist,
SPEAKER_01like, you know, people will continue to drive there. And over time, those things will be replaced by a few self-driving cars. You know, as a public transit advocate, I would still say that I think within cities, it is significantly more efficient to, like, fund buses and subways and things like that. But, you know, there's parts of the U.S. that are just, like, so poorly set up. And I expect self-driving cars to be part of that. Yeah.
SPEAKER_00Yeah. I mean, this isn't a hot take. I think you're just kind of realistic and you don't have a crazy worldview about it.
SPEAKER_01Yeah. I mean, I have my real deep love for public transit and a desire for more people to experience it than just the people who live in New York City, where I think New York City is like 50% of all public transit areas in the US. But the system is what the system is right now. And
SPEAKER_02Yeah.
SPEAKER_00Okay. Let's pivot from self-driving land where we've had this self-play RL and try to draw some analogies to the other RL breakthroughs that aren't language models that have been happening. I think the one that everybody should know about, and many people do, is this... locomotion and or sim to real with robotics with humanoids quadrupeds yeah if you look at it it is definitely directionally similar to what is this self-play thing is i think the
It's hard for people who haven't been in RL to understand the grandness of this
SPEAKER_00transition from one agent locomotion to many agents doing something in a cooperative or competitive game with these same mechanisms. I feel like even talking to you, I don't think we've done a good job grasping just that enormity. like multi-agent is just historically so much more complex i don't know if there's anything about something like dota 5 and how that i wish i knew more lore of how that happened and it didn't continue
because i feel like it could be a good example of why this is actually so much harder than even something like alpha go which is just one one policy and these robotics things we're going to talk about which are one like it is all still one
SPEAKER_00policy but just like one thing in the world
SPEAKER_01Yeah, so let me give it another try, because I think I also haven't done the greatest job describing it. So in something like Dota or Go, there is in fact a notion of a best way to play. It's like a Nash equilibrium. It's like you can't do better than that. If you play it, nobody can beat you.
SPEAKER_00Have we arrived at that at Go? Have we actually arrived at these at chess and Go? Because the ELO scores are still going up.
SPEAKER_01No, we haven't.
SPEAKER_00But conceivably, there is a max.
SPEAKER_01There is a max. You're never going to get it. It's like the game's too big. But there is a best way to play. Right. And then in every domain where there's a human in the loop, there's not an obvious best way to play. Right. And so the challenge has always been like, you know, if I run self-play, it's going to converge to some behavior. And that behavior is not necessarily something that can drive with humans in the loop. Right. Like, you know, it'll learn something like you could imagine, for example, like you do a bunch of self play and the cars learn that they
can tell their
SPEAKER_01partner where they want to go by hitting the blinkers left, left, right, right, left, left. That means like I'm taking a left turn and I'm going to go at 25 miles per hour. Right. And so there's this idea that like there's all these policies that you wouldn't want to play and don't make any sense. And kind of what we show in this paper is that If you do a little bit of reward design and you really scale up RL, then like the simple fact of like having being uncertain about where everybody wants to go and having to be very robust to collisions
constrains your behavior in
SPEAKER_01such a way that you like broadly learn how to drive well. And I think this is, transferable to other domains where, you know, you want some kind of base policy that roughly knows how to do the task well over some unknown distribution of partners. How easy do you think it would be to learn in the same simulator if all the other
SPEAKER_00cards were controlled by this policy, if you only had to learn for one policy? How much easier is it to learn just one policy that kind of works in the world rather than this multi-agent and everybody is learning at one setup? Because this is essentially what people have done is like we've learned how to control one robot in the world and do that super well versus learning everything from scratch or multiple is well harder.
SPEAKER_01And I think if you imagine that, OK, we have N cars and N minus one of them are controlled by a perfect model of human driving. Right. Like I think that you could learn that super fast. and really robustly. And of course, the problem is we don't have that one perfect model of human driving that we can plug into our simulator. I don't think it would take the trillion samples that it took us.
SPEAKER_00Yeah, so I think this- Yeah, so that's the difference. And that's what these other things- And this like quadruped for robotics to have, let me just let you talk about it. Where do you think this sim to real robots and single agent is at and heading? So like, what do you see in the, and being more slightly more plugged into the academic RL side of things? I think. Yeah. So it's like 2021 and 2022 is when these Marco Hutter group papers started. And I'm sure the trend is still content continuing.
SPEAKER_01Yeah. It's still continuing, right? Like for quadrupeds, we, we, there, people are regularly making them do, these insane behaviors that we haven't been able to design in other ways. And I think the lesson there is at scale, RL works. A lot of the lessons of self-supervised learning are transferable to the RL set. And while it would be great to get the sample complexity down and stop doing this with a trillion samples, if you're willing to bite that bullet and just scale, and you have a fairly good simulator,
SPEAKER_01you can really do incredible things. Do you think these RL results scale more with model size or sample complexity? Do you think that they're kind of brute forcing it through scaling the interactions
SPEAKER_00with the world?
SPEAKER_01Yeah. I think that they scale. Scaling with model size is a little iffy in RL. There are tricks that people have been coming up with to let you use bigger and bigger models. But right now, I think a lot of the impetus is towards smaller models that have low inference costs that let you force a trillion samples into the policy. Whereas if you make the model bigger, inference cost becomes more of a thing. It's harder to acquire the samples that you How does this relate to,
I think the other area that I'm excited about in RL is this procedural generation
SPEAKER_00and open-endedness. Do you think this kind of, I see needing to see a ton of samples as being in spirit related to this, where open-endedness is, I think, a field of study designed to make agents that are good at collecting the right samples and using the word explore, which we haven't really used.
SPEAKER_01Yeah, so I think a lot of what we're doing here is actually kind of dodging the exploration problem in a lot of ways. And in general, this is something that like the RL that works is a lot about dodging the exploration problem, right? Why do we need a trillion samples? Because we explore very inefficiently. If we, you know, the kind of, this is, I think what we have, if we talk about the quadrupeds and things like that, right? Like these are well-defined tasks with a well-understood reward function.
SPEAKER_01And this, you know, at some point as we started to scale up RL, this task design will become the bottom, right? It's like, what tasks should the agent do? There's a human in the loop sitting down writing the reward function saying, okay, that's a good task. This is a good task. To kind of the dream of open-endedness is that we'll move away from this and towards kind of just taking the human this task designer out of the loop yeah okay let's start taking a step back are there tasks that you think are heavily simulated in control domains that are actually well suited to this rl approach that may have
not been done yet yeah i mean simulation is like a core tool in robotics and autonomy so what other things are doing heavy simulation and not leveraging this maybe even like hard
SPEAKER_00sciences are doing this I think this is going to eat almost everything that can be simulated well.
SPEAKER_01So, like, the fundamental thing is, like, can you simulate it with a relatively small sim-to-real gap? And can you simulate it efficiently? And if you have both of those things, like, I think RL is going to eat all of those things. Or you can also scale this up by, like, you know... paying the price, right? So if you can, for example, I expect formal verification, like agents that write lean proofs to do really well.
There it's expensive because the simulator is slow, but there's no sim to real gap.
SPEAKER_00I'm thinking in this scientific and control domain. I think one of them is... I mean, a timely example is humanoids, which I'm very... I've been consistently bearish on them. I think if you have the simulator, the control policy will be solved. But I think most of it is an environment problem where the robotic actuators are too strong, so therefore they're limited to manufacturing. And I don't necessarily know how much a humanoid... is better than the static arm in manufacturing and logistics.
SPEAKER_01So I might be bearish on humanoids for similar reasons, but like you're, I guess you're right on the point. I think like, will we think, will we be able to make a humanoid follow whatever trajectory we would like it to follow through scaling up RL? Yeah, I think so. Like, but then the question becomes like, what trajectory should it follow? And then that's where things get iffy again, right? Like, exactly how softly should it behave, stuff like that, like task planning,
things like that. But from the controls perspective of like, here's a system, I want it to follow this trajectory.
SPEAKER_01Most of these things have like good fast simulators. Do you think RL should be used more in AI for science than scaling deep learning? So I'm guessing there are a lot of scientific domains that are very simulation intensive. And a lot of the purchase and excitement right now is to train a deep learning
SPEAKER_00model to predict data. I think there's Evo2, which is a recent DNA sequence predictor. And I was reading a lot about this. And a lot of the criticism is like, we don't really know how to use it. And the mechanism is if the model is like, oh, I don't know about this DNA string, then maybe it's a mutation. And there's a lot of weirdness like that. Yeah. But maybe it's still that just this slow burn of scaling RL systems has at least like a more direct way that can potentially improve some domains.
SPEAKER_01Yeah. Yeah. Great question. Super interesting question. So I think that the story I've been telling you about like sample inefficient RL scaling really well, I think we understand that pretty well, right? And less clear on the sample in RL in limited sample domains. And I think a lot of the thing in deep learning for science is that the simulators themselves are quite slow. So if you want to simulate, say, a fusion loop, like a tokamak of some kind,
SPEAKER_01it can take actually months to run a single simulation.
SPEAKER_00Then what do you think of the deep mind? You brought this up. What do you think of the deep mind nuclear fusion control paper then? They might have been doing a slightly different simulator.
SPEAKER_01Yeah, it's a different simulator. I don't think it requires quite as much precision. I'm thinking of other simulators. To be clear, I haven't read that paper super closely. But if you think about something like AI for materials or AI for bio, a lot of these are fairly slow simulation platforms. What I do think is pretty exciting is I think at some point somebody's going to, and there are a lot of bottlenecks to this, someone's going to build an autonomous lab and just keep letting it loop forwards and characterizing some material and then running it through
the loop again.
SPEAKER_01The problem there is actually this characterization step. Doing it correctly is really hard. What are the properties of the material that I've just synthesized? But, you know, so I think that in terms of RL for science, I think that trajectory is a little trickier because of this like kind of low ability to acquire samples. Whereas in the humanoid and quadruped domain, we can generate just, you know, people, they'll simulate like 2000 humanoids at once on one GPU or something like that.
SPEAKER_00Do you think these things scale nicely with action space? I feel like if we want to do this open-ended learning in a lot of environments, I don't know how to constrain the action space in a nice way. So that somewhat worries me.
SPEAKER_01Yeah. So I think there's a couple of pieces of that. So I think LLM sometimes give you pretty good priors over actions, right? That's the thing we've been pretty consistently seeing is that they constrain the action space on their own in a really helpful way. It is also the case that with, like, much larger action spaces, you just eat a sample complexity penalty and, like, things take longer, but we're seeing it be fine. Kind of in the domain of, like, 500 actions kind of thing. Now, if we all of a sudden go out to like 5 million actions, I think all bets are off.
It does kind of seem like they might have the same thing that happened with
SPEAKER_00language models is that open-endedness. Now, all the agents are going like pointing out a language model or some general interface, like a computer interface that ends up concerning action space to keyboard mouse inputs, which order magnitude wise is actually the same in action space.
SPEAKER_01Yeah, I think there are going to be a lot of helpful constraints on the action space that let you, you know, deal with this problem, right? You're not operating in totally open-ended language or open-ended use of a computer or anything like that.
SPEAKER_00Okay, to recap some of this, just because it's interesting, is this self-play question is the hardest one to grok, which is really just that honestly i still don't even fully understand it and i will listen to some of these things but it's just like the scaling in sample time is the biggest is the thing that makes rl actually work is that we can scale in samples and that is the thing that's needed for most of these domains it's very different than what's happening in language models but it's at least a consistent theme across
what is now over
SPEAKER_00like five years of like resurgent rl for control results so
SPEAKER_01Yeah, scaling works in RL, right? There's like no real wall here.
SPEAKER_00It's a different type of scaling than people expect. I think a lot of the historical scaling papers were trying to scale parameters and looking at something like Dreamer v3 or whatever and scaling the parameters of the policy with the number of environment interactions. But it seems like that is actually just different axes to what is thought of in traditional deep learning scaling.
SPEAKER_01Yeah, it's kind of the number of samples that you're getting.
SPEAKER_00Which is very good to say clearly. And then the self-play thing is changing the domain to be one that is much more complicated. And the fact that it can still work there opens up a lot of interesting questions. So the scaling thing is an independent access that actually works. And then the self-play thing is dramatically increasing the complexity of your problem from this single-agent world.
SPEAKER_01Yeah, it's adding a lot of diversity through... You know, there being other agents in the system that behaving in unexpected ways. So, yeah, there's like scaling up the sample complexity. There's scaling up in diversity of your simulator. And in the single agent domains, you don't need to scale up the diversity of your simulator. You have one task you want to do it. But yeah.
SPEAKER_00Yeah, that makes sense. OK, I'm pretty. These are interesting takeaways to kind of reflect on what they mean to kind of go towards wrapping this up or go into language model corner and then grad school advice corner. You had a paper that you were on a paper as an advisor of large language models are in context preference learners. Yeah. What is the story here? I think, I mean, preference learning is openly out of vogue, but I think that's because people are short sighted and AI is so easy dominated
SPEAKER_00where it's like everyone is still actually doing preference tuning, but everyone's just talking about like RL and verifiable domains or whatever. Yeah.
SPEAKER_01Whatever the hype is today. Yeah.
SPEAKER_00Yeah. But what is your take on this preference learning thing? And I know you have big self-play and RL background here.
SPEAKER_01Yeah. So I'll tell you, I'll tell you how we got here real quick and it'll make clear. And I should say that there's coincident work by Jaden Clark, Joey, I'm going to mispronounce his name, and Dorsa at Stanford, um, that kind of got the same idea across at the same time. And the idea is that if you want to do preference learning, right. And you're doing preference learning, you're doing like RLHF from scratch or something. You have to learn this reward function and you have to acquire a lot of samples to do it, to do so. Um, and you know, the tabula rasa version of this is really inefficient.
And it turns out that what you can do is if you have a particular like description
SPEAKER_01of a task you'd like to do, you can ask a language model, like write me a set of reward functions that I think correspond to the task, right? You'll take those reward functions. You'll train an agent corresponding to those reward functions. You'll have a human rank their preferences over those reward functions, like this was a good one, that was a bad one. And you'll feed all of that to a language model again and do another loop of asking to write some reward functions given these preferences. And it turns out that language models can take that information and use it to
SPEAKER_01decide what a good next reward function to try out is. And over time, you're going to get a reward function that is much more aligned with your preferences just by having the language models actually write the rewards. And so this is like, you know, kind of letting you do like personalization or reward tuning in like 50 human queries kind of scale. So this kind of came about because we were asking, if I wanted to build an agent that acts scared or is deceptive, I kind of have to do some amount of preference learning.
SPEAKER_01Is deceptive is a thing that's defined with respect to humans. And so we're trying to figure out how to do something like that sample efficiently. It turns out you could just ask an LLM, write a reward function that corresponds to being deceptive, and then run that loop a bunch of times.
SPEAKER_00Okay, so I would say that this means that language model personalization doesn't need to be done within the parameter space or something like that. Yeah, you can imagine having a write-up. The domain here is... Yeah, the domain here is partially at least control looking at this figure. But it goes to show that they actually probably have the representation and it's just a problem of setup and how do you get people to actually do this and stuff. I've said the same 20 questions saying, which is what if a language model and ask 20 questions about the user
SPEAKER_00and get the information out of there. So it's nice to see that this might not be, like, it's not an actual technical limitation. It's just like, we don't, like, how the hell do you do that in chat or whatever?
SPEAKER_01Yeah, we haven't tested that particular case, and I want to. I think it's, like, a thing that might work. Like, our case, it was, like, make a robot jump like a human, right? Like, write a reward function that corresponds to jumping like a human. And it turns out, like, a couple rounds of iteration, you can get a language model to write down a reward function that
SPEAKER_00Did the reward function make sense? Like, what is the reward function for jumping like a human?
SPEAKER_01You know, it's like, you know, make sure that you jump off both legs instead of hopping on one leg. You know, don't flail your arms around too wildly. You know, that type of thing. I think the whole reward function is in the paper. But, you know, it's got some interpretable terms. Like, the base reward function that comes out in the first iteration always involves hopping on one leg. And then by the end, it's, you know, two legs, not too much flailing.
SPEAKER_00There's like a deeper RL control thing there, which is that all of the agents when they start are just wildly flailing when you learn control from scratch. So that's in many ways, not super surprising. Um, do you have any comments on the general like language modeling RL stuff? I think it's so focused on, and part of the point of this is just like broaden the, broaden the lens by which people consider RL to be a thing.
SPEAKER_01Yeah. I mean, the biggest thing I should say there is I think it's going to work. Like, I don't think like for domains where you have verifiable rewards, like I just, I think this is going to work. I'm just going to have to bite the bullet and, and, uh, generate a lot of samples. Um, So it's interesting that you say that because one of the biggest things we find is
SPEAKER_00you just have to keep training. I mean, it's a classic RL curve. So you start out, it's a log. It's like a really, you start out really fast and then you're just on this plateau of just so you're getting a little bit more for a really long time. And it's far fewer samples than pre-training and everything, but the learning curves look so similar to anything you would get in RL, and you can have crashes and stuff, which is such a throwback. It's very different than preference tuning, which you have this whole over-optimization thing and stuff like this,
SPEAKER_00where it's just so much less artful. It's just so obvious. If the number's going up, it's probably fine, and you don't really have to do that much.
SPEAKER_01There's a, there's a number. You just have to push that number up. Life is great.
SPEAKER_00Yeah. Okay. Last, last section is career corner. What do you think people are interested in working on an RL right now? What do you say to them?
SPEAKER_01I mean, I think RL is just starting to eat different domains. So I think this is a really good time to get started on it. There are not enough strong RL researchers, surprisingly. So I don't think we're even an oversaturated domain. Do you think it's feasible for grad students to do this language model stuff and
SPEAKER_00core like RL agent stuff? Because the agent stuff feels like more of a long term boat because you're doing something that fewer people know about. But should people like fully ignore the language model stuff if they're trying to get established as a grad student?
SPEAKER_01I think that you should, like, this is an important academic thing is like, you need to focus on demonstrating the idea with as minimal, as few barriers as possible to it, right? So you want to pull out the minimum version of the demonstration. And a lot of the time, putting a language model in there is adding a huge bottleneck, right? All of a sudden you need a bunch of use training takes forever so i mean you should probably do some language modeling things at some point because like it's a good skill to have demonstrated when you go on the job market so i think a lot of students will do is
they'll do that in their last year or two of grad school uh just to show that they kind of know can't can do this but like for demonstrating the core ideas i don't think i don't think you always have to use a language model there unless your ideas are deeply tied to
SPEAKER_01that domain somewhere um
SPEAKER_00Yeah, the way that by which things scale and results are communicated is just really different in the RL for domain or the core RL algorithm or the language model plus RL thing, which I think is sequencing probably can be the best bet, which is like starting with something less competitive and focusing on skill development, which is generally my biggest challenge. should I do a PhD? Answer is if you're invested in developing new skills or you are a person that's like actually extremely academic and scientific in nature,
which there are a subset of people that are just truly like scientists in the nature of the word and they will probably thrive emotionally in that situation. But most people want to do an AI PhD because they think of it as a credential for a
SPEAKER_00future job, which is generally a hilarious and ill-formed side effect of wherever the field is right now.
SPEAKER_01It's just such a bad idea. Uh, there's one brief moment in history where a PhD was like a definitive route to a, like a high paying job. Right. Generally what a PhD is supposed to do is it's like, Hey, it should be fun. It should be fascinating. It should be like five years where you're like, I could not imagine doing something cooler than what I'm doing right now. And then it's supposed to unlock some jobs that aren't accessible to otherwise running a research team in industry. Doing particular skills that, you know, using particular skills that are hard to develop unless someone
gives you a year or
SPEAKER_01two to focus on, right? Like hard optimization problems, a lot of specialties. But, you know, the like, I'm going to do a PhD. That's going to give me like a 500K total compensation job straight out of grad school. It's just like such a weird quirk of history that like optimizing for it is never a good idea.
SPEAKER_00Yeah. And I think that kind of says if people are trying to be or people are grad students or like junior faculty or junior grad students right now, I think if anything you're optimizing for is trying to extract value from that quirk of history, you're putting yourself in a precarious position.
SPEAKER_01Yeah. Optimize for being able to do cool things. You know, that's that's a consistent thing you can always optimize for. It doesn't go away when the job market changes.
SPEAKER_00Yeah, I agree. I mean, that could be a good place to end it. You can actually surprisingly still just do things. And I think it's easy to lose track of that in the language modeling chaos.
SPEAKER_01Yeah, yeah. I mean, but look, also I'm coming from a position of privilege, right? Like I have a faculty position.
SPEAKER_00We're early enough where it is fine. Yeah.
SPEAKER_01Yeah. Um, okay. Well, uh, you know, this, this has been a pleasure, you know, thank you for, uh, for taking the time to chat with me and give me a chance to talk about this paper, which is, I think I still had some trouble conveying exactly why I think it's so exciting, but, but hopefully some of it got across.
SPEAKER_00I think we got to some clear things and the, the self play being weird thing definitely gives me more sympathy to how bad the discussion around self play for language models is because there is very nuanced on why this, um, What we're doing with RL with verifiable rewards is very different than language models talking to themselves and both updating their policy. And it's not to say we shouldn't be trying that, but we should be very wary in saying that is that until we are
trying to do really,
SPEAKER_00really hard things. Yeah. Yeah, the grandioseness of language model self play is probably like trying to let language models discover their own language to be more effective at tasks. And they do this with interacting with each other. And so,
SPEAKER_01yeah, language model self play for tasks they haven't been trained on, like learning to do new tasks collaboratively together. Super exciting. Makes sense. I'm doing some work on it. I'm excited about that. This thing where you, the amount of knowledge they have is bounded and you do self play to kind of refine the distribution that they're playing over as opposed to like doing a new task together. A little weirder, weirder stuff going on there. Yeah.
SPEAKER_00Yeah. So I think it's good. I think people now know that this, the single agent RL stuff working is not surprising. And the self play area could be one of these like, multi-year out before takeoff thing and there are early signs that it could actually work and that's something that people are often looking for which is what are the problems that there are a bit more risk on but not complete risk and not the obvious thing that everybody is working on yeah and i think if you're thinking that category collaborative agents agents that know how to
effectively collaborate
SPEAKER_01with humans with other ai agents um Very underrated area. Going to be big in a bit, I think. I think the ones with language models is what does it mean for multiple language models to be interacting on the web that have separate goals but are going to
SPEAKER_00interact with each other? And it's not necessarily the same self-play setup, but you could understand it through some of these lenses. And it's easy to see how this is going to come about when listening to the marketing from all these labs.
SPEAKER_01Yeah. Well, it's, yeah, it's going to be fun. It's going to be weird. Um, it's, it's going to be great. Uh, I also, I do have to inject a quick little pitch, uh, before I, before I disappear. Sounds good. Um, so, uh, I've joined, uh, like a new, like AI, uh, stealth AI company. Um, We're like working on making better decisions in critical industries like healthcare, supply chain, defense. So like in industries that are like not very tech forward, not very AI native, but like are where almost all productivity lies.
And so we're looking for strong folks with experience with either RL or LLMs.
SPEAKER_00Do you have a company name?
SPEAKER_01We do not.
SPEAKER_00Okay. Well, we'll have a link. We'll have a contact link below. I think. Yeah. Eugene is a fun person. So, and at least knows enough to make it through this conversation. There are a lot of startups out there that are riding on less. So that's good.
SPEAKER_01That'll be fun. It's, I don't think there are that many applied RL teams out there in the world. So maybe there are, and I just don't know them.
SPEAKER_00I think Mark Belmer's startup is actually potentially related, which seems like he's kind of trying to scale RL with a mix of language models to solve problems, but I haven't asked him directly.
SPEAKER_01Yeah. I mean, that's somewhat of what we're doing too. But that's all I can say.
SPEAKER_00Yeah, sounds good. It's early days for that and self-play and many other things. But I'm sure we'll cross paths soon, either if I go back to New York or if you, for some reason, come all the way to Seattle, which I don't know.
SPEAKER_01I love Seattle. So, yeah, I love Seattle. In the fall, Seattle's so great. Anyways, yeah, it was a pleasure talking to you and hopefully get a chance to talk again soon.
The resignation of Nvidia CEO Jensen Huang is a major setback for the US development of an open model ecosystem. Nvidia still has the financial interests in supporting open models, which are to avoid concentration in...
Last week coined the term “Black October“ after an onslaught of critical vulnerability disclosures, including PHP2Shell and a long-standing GitLab bug, signified the moment when the cyber risks of AI models started to...
Hill-climbing is easy, knowing what to hill-climb is hard. Making scores go up is expensive, but we have a much clearer playbook for it than we do for creating meaningful benchmarks at the true frontier of AI today....
We - Nathan and Florian - wanted to discuss all the messy trade-offs of a busy week in AI and ask all the pressing questions like: * Why did Kimi K3.1 Pro have a mixed reaction with such incredible benchmarks? Will it...
This has been a week where the balance of American open-weight models took a step change back toward the frontier. Meta took the lead of this charge with Muse Spark Open, which is now the strongest American-made open...