Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Dwarkesh Podcast

Dwarkesh Podcast artwork

John Schulman (OpenAI Cofounder) — Reasoning, RLHF, & plan for 2027 AGI

May 15, 20241 hr 35 minAudio
ShareXLinkedInFacebookWhatsAppEmail

Chatted with John Schulman (cofounded OpenAI and led ChatGPT creation) on how posttraining tames the shoggoth, and the nature of the progress to come... Watch on YouTube. Listen on Apple Podcasts, Spotify, or any other podcast platform. Read the full transcript here. Follow me on Twitter for updates on future episodes. Timestamps (00:00:00) - Pre-training, post-training, and future capabilities (00:16:55) - Plan for AGI 2025 (00:29:18) - Teaching models to reason (00:39:45) - The Road to ChatGPT (00:51:07) - What makes for a good RL researcher? (00:59:53) - Keeping humans in the loop (01:14:11) - State of research, plateaus, and moats Sponsors If you’re interested in advertising on the podcast, fill out this form. * CommandBar is an AI user assistant that any software product can embed to non-annoyingly assist, support, and unleash their users. Used by forward-thinking CX, product, growth, and marketing teams. Learn more at commandbar.com. This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit www.dwarkesh.com

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_02Today, I have the pleasure to speak with John Schulman, who is one of the co-founders of OpenAI and leads the post-training team here. And he also led the creation of ChatGBT and is the author of many of the most important and widely cited papers in AI and RL, including PPO and many others. So John, really excited to chat with you. Thanks for coming on the podcast. Thanks for having me on the podcast. I'm a big fan. Thank you. Thank you for saying that. So the first question I had is, we have these distinctions between pre-training and

post-training beyond what is

SPEAKER_02actually happening in terms of loss function and training regimes. I'm just curious, taking a step back conceptually, what kind of thing is pre-training creating? What does post-training do on top of that?

SPEAKER_00In pre-training, you're basically training to imitate all of the content on the internet or on the web, including websites and code and so forth. So you get a model that can basically generate content that looks like random web pages from the internet. The model is also trained to maximize likelihood where it has to put a probability on everything. So the objective is basically predicting the next token given the previous tokens.

SPEAKER_00Tokens are like words or parts of words. And since the model has to put a probability on it and we're training to maximize log probability, it ends up being very calibrated. So it can not only generate all of this the content of the web, it can also assign probabilities to everything. So the base model can effectively take on all of these different personas or generate all these different kinds of content. And then when we do post-training,

we're usually targeting a narrower range of behavior where

SPEAKER_00We basically want the model to behave like this kind of chat assistant. And it's a more specific persona where it's trying to be helpful. It's not trying to imitate a person. It's answering your questions or doing your tasks. And We're optimizing on a different objective, which is more about producing outputs that humans will like and find useful, as opposed to just trying to imitate this raw content from the web. Yeah. OK.

SPEAKER_02I think maybe I should take a step back and ask. Right now, we have these models that are pretty good at acting as chatbots. Just taking a step back from how these processes work currently, what will the models release by the end of the year? What will we be capable of doing? What do you see the progress looking like, carry this forward for the next five years?

SPEAKER_00Oh yeah, five years. Yeah, I think the models will get quite a bit better in the course of five years. So, I mean, I think even in one or two years, we'll find that a lot of, you can use them for a lot of more like involved tasks than they can do now. So you could, so for example, right now, Like you could imagine having the models to carry out a whole coding project instead of maybe giving you one suggestion on how to write a function.

SPEAKER_00So you could imagine the model, like you giving it sort of high level instructions on what to, what to code up and it'll go and it'll go and write many files and test it, look at the output, iterate on that a bit. So just much more complex tasks.

SPEAKER_02And fundamentally, the unlock is that it can act coherently for long enough to write multiple files of code? Or what has changed between now and then?

SPEAKER_00Yeah, I would say this will come from some combination of just training the models to do harder tasks like this. So I'd say the models aren't aren't particularly like most of the training data is more like doing single steps at a time. And I would expect us to do more for training the models to carry out these longer projects.

SPEAKER_00So I'd say any kind of training, like doing RL to learn how to do these tasks, however you do it, whether you're supervising the final output or supervising each step, I think any kind of training at carrying out these long projects is going to make them a lot better. And since the whole area is pretty new, I'd say there's just a lot of low-hanging fruit. Interesting. in doing this kind of training.

SPEAKER_00So I'd say that's one thing. Also, I would expect that as the models get better, they're just better at recovering from errors or they have just... they're better at dealing with edge cases or when things go wrong, they know how to recover from it. So the models will be more sample efficient. So you don't have to collect a ton of data to teach them how to get back on track, just a little bit of data or just their generalization from

other abilities will

SPEAKER_00allow them to get back on track, whereas current models might just get stuck and get lost.

SPEAKER_02I'm not sure I understood actually how... I want to understand more explicitly how the generalization helps you get back on track. Can you say more about that? I'm not sure why those two concepts are connected.

SPEAKER_00Right. They're not directly connected. So I would say you usually have a little bit of data that does everything. So, I mean, if you have... if you collect a diverse data set, you're going to get a little bit of everything in it. And and if you have models that generalize really well, even if there's just a couple of examples of getting back on track, I see or even like maybe in the pre training, there's examples of getting back on track, then like the model will be able to generalize from those other

things it's seen to

SPEAKER_00the current situation. So I think like If you have models that are weaker, you might be able to get them to do almost anything with enough data, but you might have to put a lot of effort into a particular domain or skill. Whereas for a stronger model, it might just do the right thing without any training data or any effort. Do you have some intuition about right now these models can maybe act coherently

SPEAKER_02for five minutes? We want them to be able to do tasks that for a human would take an hour, then a week, then a month and so forth. To get from each of these benchmarks, is it going to be each one takes 10x more compute analogous to the current scaling laws for free training or is it going to be a much more streamlined process because just getting to that point where you're already more sample efficient and then you just go to the years of carrying out tasks or something.

SPEAKER_00Yeah, I would say at a high level, I would agree that longer horizon tasks are going to require more model intelligence to do well and are going to be more expensive to train for. I'm not sure I would expect there to be a really clean scaling law unless you set it up in a very careful way or design the experiment in a certain way. Because I I would say there might end up being some phase transitions

where once you get to a

SPEAKER_00certain level, you can deal with much longer tasks. So for example, people I think when people do planning at different timescales, I'm not sure they use completely different mechanisms. So we probably use the same mental machinery if we're thinking about one month from now, one year from now, or like 100 years from now.

SPEAKER_00Uh, it's, um, so we're not actually doing some kind of reinforcement learning that, uh, where we need to worry about a discount factor that covers that timescale and so forth. So I think, uh, I think using language, you can describe all of these different timescales and then you can do things like, uh, plan to, uh, in the moment you can try to make progress towards your goal, whether it's a month away or 10 years away. So I might expect the same out of models where there some kind of,

SPEAKER_00I don't know if it's a phase transition, but like there's some capabilities that work at multiple scales. Yeah.

SPEAKER_02Well, okay. So correct me if this was wrong, but it seems like that implies Right now, we have models that are on a per token basis pretty smart. They might be as smart as humans on a per token basis, the smartest humans. And the thing that prevents them from being as useful as they could be is that five minutes from now, they're not going to be writing your code in a way that's coherent and aligns with the broader goals you have for your project or something. If it's the case that once you start this long horizon RL training regime,

it immediately unlocks your ability to be coherent for longer periods of time. Should we be predicting something that is human level as soon as that regime is unlocked?

SPEAKER_02And if not, then what is remaining after you can plan for a year and execute projects that take that long?

SPEAKER_00Yeah, it's not totally clear what we're going to see once we get into that regime and how fast progress will be. So that's that's still uncertain. I would say I would expect there to be I would I wouldn't expect everything to be immediately solved by doing any training like this. I would think there will be other miscellaneous deficits that the models have that cause them to get stuck or not make progress or make worse decisions than humans.

So I wouldn't say I expect that this one little thing will unlock all capabilities.

SPEAKER_00But yeah, it's not clear. But some improvement in the ability to do long horizon tasks might go quite far. Would you say it's plausible or is it seems quite likely that there will be other

SPEAKER_02reasons why there might be bottlenecks? And I'm also kind of curious, like, what would be the nature of the bottlenecks? So it has all these representations of pre-training. Now it can do act coherently for a long period of time because of long horizon RL. What's remaining?

SPEAKER_00Yeah, maybe there's some... There's some other experience that human experts bring to different tasks, like having some taste or dealing with ambiguity better. So I could imagine that if we want to do something like research, like those kind of considerations come into play. Yeah, obviously there's... Um, they're going to be just, uh, sort of mundane limitations around,

SPEAKER_00uh, like affordances of the model, like whether it can, um, whether it can use UIs and obviously the physical world, um, or having access to things. So I think there might be a lot of, um, uh, like mundane, uh, barriers that are probably not going to last that long, but would initially, um, like slow down, um,

SPEAKER_02progress. The websites that are designed for these AIs, once they're much more multimodal, or at least more multimodal data, will they be in any way different from the ones we have for humans? Like the UIs that will be needed, compensating for their strengths and weaknesses, how would that look different from the current UIs we have for humans?

SPEAKER_00Yeah, that's an interesting question. I mean, I would expect that models will be able to use websites that are designed for humans just by using vision, like when the vision capabilities get a bit better. So there wouldn't be an immediate need to change them. On the other hand, some websites that are going to benefit a lot from AIs being able to use them will probably want to design to be better UXs for AIs. I'm not sure exactly what that would mean,

but probably assuming that our models are still better in text mode than reading

SPEAKER_00text out of images, you'd probably want to have a good text-based representation for the models. And also just a good indication of what are all the things that can be interacted with. But I guess I wouldn't expect the web to get totally redesigned to have APIs everywhere, because I would expect that we can get models to use the same kind of UIs that humans use.

SPEAKER_02Right. I mean, I guess that's been the big lesson of language models, right, that they can act in the similar affordances that humans have. Mm-hmm. So the point you made earlier about this process could be more sample efficient because it could generalize from its experiences in free training of how to get unstuck in different scenarios. I'm curious what the strongest evidence of this kind of generalization and transfer you've seen is. Yeah.

SPEAKER_02Because the big question, it seems, about the future abilities as models is how much generalization there is happening. Is there something that feels really compelling to you, like you really learned something that you wouldn't expect it to learn from the generalization here? There's definitely been some interesting instances of generalization in post-training. One well-known phenomenon is if you do all your fine tuning with English data,

SPEAKER_00you'll automatically... You'll have the model also... uh, behave behaving well in other languages. So if you train the assistant on English data, uh, it'll also, um, do something reasonable in Spanish say. And, uh, sometimes you might get, um, you might get the wrong behavior in terms of whether it replies in English or replies in Spanish, but, uh, usually, usually you get the, you get the right behavior there as well. Like you get it to respond in Spanish to Spanish queries. So that's one, one, uh, kind of interesting instance of generalization that you just

sort of latch onto the

SPEAKER_00right. uh, helpful persona, and then you automatically do the right thing in different languages. We've seen some version of this with, um, multimodal data, where, uh, if you do, um, text only fine tuning, you also get reasonable behavior with images. Um, uh, early on in, um, ChatGPT, we, uh, we were trying to fix some issues in terms of the model, uh, understanding its own, uh, limitations, like, um, early versions of the model would think they could send you an

email or call an

SPEAKER_00Uber or something. The model would try to play the assistant and it would say, oh yeah, of course, I sent that email. And obviously it didn't. So we started collecting some data to fix those problems. And we found that a tiny amount of data did the trick, even when you mix it together with everything else. So I don't remember exactly how many examples, but something like 30 30 examples. Well, we had, I don't know, pretty small number of examples showing this general behavior of explaining that the model doesn't have this capability and that generalize

pretty well to all sorts

SPEAKER_00of capabilities we didn't train for.

SPEAKER_02I still want to go back to this because I'm not sure I understood. If you have this model that is trained to be coherent for longer periods of time, does that imply that unless there are these other bottlenecks, which they may or may not be, by next year you could have models that are potentially human level in terms of acting? You're interacting with this as a colleague and it's like ASCO doesn't interact with a human colleague. You can tell them to go do stuff and they go to get it done.

What seems wrong with that picture of this is the capabilities you think might be possible?

SPEAKER_00Yeah, it's hard to say exactly what will be the deficit. I mean, I would say that when you talk to the models today, they have various weaknesses besides long-term coherence in terms of also like really thinking hard about things or paying attention to what you ask them. I would say I wouldn't expect just improving the coherence a little bit to be all

SPEAKER_00it takes to get to AGI, but I guess I wouldn't be able to articulate exactly what the main weakness is that'll stop them from being a fully functional colleague. It seems like then you should be planning for the possibility you would have AGI very soon.

SPEAKER_02Yeah, I think that would be reasonable. So what's the plan? If there's no other bottlenecks next year or something, you got AGI, what's the plan?

SPEAKER_00Well, I would say that if AGI came way sooner than expected, we would definitely want to be careful about it and we might want to slow down a little bit on training and deployment until we're pretty sure we know we can deal with it safely and we have a pretty good handle on what it's going to do, what it can do. So I think Yeah, we would have to be we'd have to be very careful if it happened

way sooner than

SPEAKER_00expected, because I think our understanding is rudimentary in a lot of ways still.

SPEAKER_02And what would being careful mean? Because presumably you are already careful, right? You do these evaluations before you're deploying.

SPEAKER_00Yeah, I would say just like maybe not training the even smarter version, not being really careful when you do train it, that it's not it's like properly sandboxed and everything, maybe not deploying it at scale or being Yeah, being careful about what scale you deploy it.

SPEAKER_02Yeah, I guess I'm not. OK, so let's just play with a scenario like it happens next year and then you're not training a smarter system, but you're deploying somewhat in a measured way. Yeah, I'm wondering. Presumably, if this is just this isn't particularly open in AI, but this is just intelligence was just much easier than we expected. And this is why it happened.

SPEAKER_02And so you wait to deploy a little bit. Now other companies have the similar level of capabilities. What happens next? So you've waited to deploy. What are you waiting for? What are you talking about? What is every company doing in this scenario?

SPEAKER_00Yeah. Yeah. The game theory is a little tough to think through. So, oh yeah. So first of all, I don't think this is going to happen next year, but it's still useful to have the conversation and maybe it's like two or three years instead. But yeah, I guess- Two or three years is still pretty soon. Yeah. Still pretty soon. I do think you probably need some coordination. Everyone needs to agree on some reasonable limits to deployment or to further training for this to work. Otherwise, you have the race dynamics where everyone's trying to stay

ahead and that might

SPEAKER_00require compromising on safety. So I think you would probably need some coordination among the uh larger entities that are doing this kind of training and so you're coordinating to um i guess pause deployment until until what exactly like until you figure out what's happening in the models like pause uh either uh further training pause deployment uh like uh avoid certain types of training that we think might be riskier So just like setting up some reasonable rules for like what

everyone should do to,

SPEAKER_00yeah, having everyone somewhat limit these things.

SPEAKER_02But limit to what end? Because I guess at some point then you're going to have to like do the potential energy that's within this intelligence world, you know, it'll be unleashed. So what is the plan to do? Like, suppose in two years we get the AGI and now everybody's freaking out. And so now the AI companies have paused. And now what? Or what would be the plan to wait till?

SPEAKER_00Yeah, I don't have a good answer to that. I mean, I would say... Um, if we can, if everyone is going to coordinate like that, uh, I think we would be, that would be an okay scenario. That would be a pretty good scenario. Cause I do think, uh, like, um, building these models is very capital intensive and, uh, there are a lot of complex pieces, so it's not like everyone's going to go and recreate the stuff at home. So I think it is possible to do, given the relatively small number of entities who could train

the largest models,

SPEAKER_00it does seem possible to coordinate. So I'm not sure how you would maintain this equilibrium for a long period of time. But I think if we got to that point, we would be in an okay position.

SPEAKER_02Or would we? I guess I'm curious. I'm not sure what happens next because fundamentally the benefit is that we've got a ton of... You push it to the server and now we've got a bunch of intelligences or they can push themselves to the server. And now we've got everybody coordinated, but I'm not sure what we do next in this world. Why that sets us up for a good outcome?

SPEAKER_00Yeah, I would say if we had everyone reasonably coordinated, we could figure out some and we felt like we had solved the technical problems around alignment well enough to be able to deploy like really smart AIs that can like like to act as an extension of people's will, but also prevent them from being misused in some way that would cause a catastrophe, I think then that would be great. Like we could go ahead and like safely deploy these systems and

it would usher in a

SPEAKER_00lot of prosperity and a new, like much more rapid phase of scientific advancement and so forth. So I think that would be what the good scenario would look like.

SPEAKER_02Okay, so that makes sense, but I'm curious, how would you know in a couple of years if all these actors, even in the best case scenario, they've agreed to pause until we've figured out that we're building aligned systems that are not themselves going to attempt to take over a coup or not going to enable somebody else to do that. What would proof of that look like or what would evidence of that look like?

SPEAKER_00Well, I would say if we can deploy systems incrementally that are successively smarter than the ones before, then I think that's safer. So I hope the way things play out is it's not the scenario where everyone has to coordinate and lock things down and safely release things. like because it would like lead to this big buildup in potential energy. Yeah, potentially. So I would rather some scenario where we're just continually releasing things that are a little better than what came before.

SPEAKER_00And then we while like making sure we're confident that each diff is Right. Like improving improving the safety and alignment in like correspondence to the improvement and capability. So and if things started to look a little bit scary, then we would be able to slow things down. So that's what I would hope for. I would say if there's more of a discontinuous jump and the question is,

SPEAKER_00how do you know if the thing you've got is safe to release? I would say I can't give a, a generic answer. Like I would wanna, but, um, like the type of thing you might wanna do to make that more, uh, more acceptable would be you would wanna do, um, a lot of, uh, testing, like simulated deployment, um, uh, you, where that you expect. So red teaming of sorts, like you'd wanna do that in a way that you feel is like,

SPEAKER_00uh, much less favorable than, uh, or much, uh, more likely to fail than the thing you're planning to do in the real world. Uh, you'd want to have a really good monitoring system so that you can, uh, like if something does start to go, go wrong with the deployed system, you can, uh, you feel like it's gonna be, uh, detectable immediately. Like you've got, maybe you've got something watching over, uh, the deployed AIs and what they're doing and looking for signs of trouble. So. I, uh, so I would want to,

um, yeah, I would say just, um, you'd want some defense in depth.

SPEAKER_00Like you'd want to have some combination of, uh, like the model itself, uh, seems to be, um, like really well behaved and have like impeccable, uh, moral compass and everything. And you're pretty confident that it's extremely resistant to any kind of takeover attempt or severe misuse. And then you would also want to have really good monitoring on top of it. So yeah, you could detect any trouble. What are you keeping track of while you're doing long horizon

RL or when you eventually start doing it that you could notice this sort of discontinuous jump

SPEAKER_02before you deployed these systems broadly? I would say you would want to have a lot of evals that you're running during the

SPEAKER_00training process. And what specifically?

SPEAKER_02How would you notice something like that? Does it make sense to train on a long horizon RL, knowing that this is something that could happen? Or is it just a very low possibility? How do you think about this?

SPEAKER_00you'd want to be pretty careful when you do this kind of training. If you see, um, uh, a lot of, um, uh, potentially scary capabilities, um, if those seem close, I mean, like, uh, I would say it's not something, uh, we would want to, we have to be scared of right now because, uh, right now it's hard to get the models to do anything co like coherent, but if they started to get really good, I think, um, Yeah, I think we would want to, we would have to take some of these questions seriously and we

would want to have a

SPEAKER_00lot of evals that like sort of test them for misbehavior in the most, or I guess that's like for the alignment of the models, we'd want to check Uh, we want to check that, um, they're not gonna, um, they're not gonna sort of turn against us or something. Uh, but you, you might also want to look for, uh, like discontinuous jumps and capabilities like, um, uh, you'd want to have lots of valves for the capabilities of the models.

SPEAKER_00I mean, also, I guess you'd also want to make sure that whatever you're training on doesn't have any reason to make the model turn against you, which itself I think isn't... I would say there's like... That doesn't seem like the hardest thing to do. I mean, if... Like the way we train them with RLHF, Even though the models are very smart, it does feel very safe because the model is just trying to produce a message that

SPEAKER_00is pleasing to a human. And it has no concern about anything else in the world other than whether this text it produces is... is approved. Um, so obviously if you were doing something where there's, uh, where the model has, um, yeah, it's carrying out a long sequence of actions, which involve tools and everything, then it might have some incentive to do a lot of wacky, like wacky things that wouldn't make sense to a human in the process of producing its final result. Uh, but I guess, um,

it wouldn't necessarily have an incentive to do anything other than produce a very

SPEAKER_00high quality, um, output at the end. So Like, it's not... Yeah, so I guess you have these old points about like instrumental convergence, like the model's going to want to take over the world so it can produce this awesome piece of code at the end. Like if you ask it to write you a flask app, it'll be like, oh yeah, first I need to take over the world and then I need to, I don't know. But at a certain point, it's a little bit, it's a little hard to imagine why for some like fairly

well-specified task like

SPEAKER_00that, you would want to first take over the world. But of course, yeah, if you had a task like make money, then maybe that would lead to some nefarious behavior as an instrumental goal. Yeah.

SPEAKER_02Okay. So before we get back to that, I think let's step back and talk about like today's RLHF systems and everything. But I do want to follow up on that. That's a point. It's kind of interesting. Okay, so today's RLHF, the way in which it influences these models is, would you characterize it as, in terms of human psychology, is it a drive? Is it a goal? Is it an impulse? Psychologically, what kind of thing, in what way is it being changed?

SPEAKER_02And not just like the persona of a chatbot, but just like, don't talk that way, talk this other way, or don't put those kind of outputs. Yeah, I would say there are probably some analogies with a drive or a goal in humans. So in that you're trying to steer towards a certain set of states rather than some other states.

SPEAKER_00Um, and so I, I would, I would think that our concept of a drive or a goal has, um, other, um, elements like, uh, like the feeling of satisfaction you get for achieving it. And, uh, and those things might, um, be more like have more to do with the learning algorithm than, uh, what the model does at runtime, uh, when you just have a fixed model. So I would say. I would say there are probably some analogies, though I don't know exactly how close it is,

SPEAKER_00but I would say to some extent it is. The models do have drives and goals in some meaningful way. And in the case of RLHF, where you're trying to maximize human approval as measured by a reward model, the model is just trying to produce something that people are going to like and they're going to judge as correct. I've heard two ideas in terms of using that inner monologue type of thing to get

SPEAKER_02better at reasoning, at least publicly, the kinds of things I've seen. And I'm curious what you think is more promising. One is that model learns from it outputs a bunch of potential trains of thought and it learns to follow the one that leads to the correct answer and is trained on that before deployment and the other one is you use a bunch of compute to do inference in deployment which involves the model talking to itself after you know while it's

SPEAKER_02deployed which one do you expect it to be closer to when it's like really good at reasoning? Is it because it's doing just a bunch of inference calls or is it just because you've trained it to do well at that?

SPEAKER_00Well, I would say you could define reasoning as tasks that require some kind of computation at test time or maybe some kind of deduction. So by definition, reasoning would be tasks that require some test time computation and step-by-step computation. On the other hand, I would also expect to gain a lot out of like doing some kind of training time

SPEAKER_00computation or practice at training time. So I would think that you get the best results by combining these two things.

SPEAKER_02Right now, you have these two ways in which the model learns. It's either in training, whether it's pre-training or with the post-training, but it's like most of the computing training is spent on pre-training and it's just glossing over trillions of tokens, just like standing by, almost like skimming trillions of tokens worth of information, which if a human was subjected to that would just be totally confused, right? It's like not a very efficient way to learn. And the other way is in context learning.

But of course, that is is more sample efficient there, but it's destroyed with each instance.

SPEAKER_02I'm curious if you think that there's a path for something in between those where it's not destroyed with each instance but it's also not as um uh not as sort of frivolous as just seeing trillions of tokens where it's more deliberate and active yeah so do you mean um models having some kind of uh medium term memory so uh too much to fit in context

SPEAKER_00but um like much smaller scale than pre-training I'm not sure if memory, it might be memory.

SPEAKER_02I don't have context, but certainly like when I'm trying to prepare for this conversation, it feels like I think of like what I should understand this. So I look it up and I like read it carefully and I maybe think about it as I'm reading it. And I'm not sure what it naturally corresponds to in terms of models, but what would that look like?

SPEAKER_00I'm curious. I see. It's not just memory, but it's also somewhat like specializing to a task that specializing to a certain task or putting a lot of effort into like some particular project.

SPEAKER_02And I'm not interested in specialization more. So I'm thinking about I don't understand this part. So let me look into this part deeper. I already understand this. I'm going to like specializing to your existing knowledge base. Yeah. Yeah.

SPEAKER_00I see. So it's not just about finding like, I don't know, training on a bunch of sources that are relevant, fine tuning on some special domain. It's also about like, like reasoning about like developing some knowledge through your own reasoning and also using some sort of introspection and self knowledge to figure out what you need to learn. Yeah. Um, yeah, I would say that does feel like, um, something that's missing from today's systems. I mean, I would say, um,

SPEAKER_00people haven't really pushed too hard on this middle ground between, uh, like large scale training, like where you produce the, like the snapshot model that's supposed to do everything like a deployed model. And then like, on the other hand, like in context learning. And I think part of that is that we've just been increasing context length so much that there hasn't been an incentive for it. So if you can go to like a hundred thousand or a million context, then that's actually quite a lot. And it's not it's not actually the bottleneck in a lot of cases.

SPEAKER_00But I agree that You'd probably also want to supplement that by some kind of fine tuning, like the capabilities you get from fine tuning and in context learning are probably somewhat complimentary. So I would expect us to want to build systems that do some kind of online learning and also have some of these cognitive skills of like introspecting on their own knowledge and seeking out new knowledge that fills in the holes.

SPEAKER_02Uh, is this all happening at the same time? Uh, is it just like a new training regime where all these things can happen at once or whether it's the long horizon training or whether it's this kind of training, are they separate or are they just because like the model is smart enough so they can both introspect and it can act on longer horizons and you can get adequate reward on long horizon tasks?

SPEAKER_00Yeah. I would say if you're doing some kind of long horizon task, uh, Well, you're learning while you do the task, right? So the only way to do something that involves a lot of steps is to have learning and memory that gets updated during the task. So there's a continuum between short-term memory, between short-term and long-term memory. So I would say, yeah, I would expect

I would expect this capability would start to become like the need for it would

SPEAKER_00start to become clear when we start to look at long horizon tasks more. And to some extent, just putting a lot of stuff into context will take you pretty far because we have really long context now. But you probably also want things like fine tuning. And as for like introspection and the ability to do active learning, that might like automatically fall out of the model's abilities to know what they know because they have some like models have some calibration

regarding what they

SPEAKER_00know. And that's why like that's why models don't hallucinate that badly because, yeah, they have some understanding of their own limitations. So I think that like same kind of ability could be used for something like active learning. And so there's all these complicating RRL procedures that many of whom you've pioneered. How many of them will be relevant when you get to the point

where the model itself

SPEAKER_02is this smart, that it can act as a certain environment? interact in a more online and stable way. Is the path for progress going to be more straightforward than the kinds of solutions that were required for RL in the past? Well, I think policy gradient algorithms are not the most sample efficient algorithms. So that's probably not what you want to do at test time if you want to learn really fast.

SPEAKER_00But who knows? I mean, maybe it's not that bad. So I think something like, um, like motor learning in animals is probably something like a policy grading algorithm. And, uh, so for example, you're like learning how to, um, shoot baskets. Uh, I think you probably, uh, like that takes, uh, maybe thousands of tries to, um, get more accurate. And I think you probably, there's probably some, something that's, uh, like a policy grading algorithm underneath.

SPEAKER_00But that's not gonna be the fastest way to learn in like, if you have a model trying to do a project or some kind of task. So I would think we would wanna rely more on like in context learning where, Uh, you effectively have a learned algorithm, like you've learned how to explore, uh, like you've learned how to try all the possibilities exhaustively. Um, and, uh, instead of doing the same thing over and over again, making the same mistake.

SPEAKER_00So yeah, I would say we'll be able to do things that look more like learned search algorithms and that'll be the kind of thing that, uh, gets used in a particular task. Interesting.

SPEAKER_02All right. I want to step back and ask about your own history. So at least at OpenAI. So you led the creation of ChatGBT. At what point did you realize, first of all, these LLMs are the path to go and then a chat bot would be or some way to instruct them would be a useful thing to do. Just walk me through the whole lineage from like when this became your main focus and what the process was like.

SPEAKER_00Yeah. Before ChatGPT, OpenAI had these instruction following models, and the idea there was we had base models and people can prompt them in elaborate ways, but they're also kind of hard to prompt. They basically do autocomplete, so you have to set up a very good prompt with some examples. So people at OpenAI were working on just taking the base models

and making them

SPEAKER_00easier to prompt so that if you just wrote a question, it would answer the question instead of giving you more questions or something. So we had these instruction following models, which were kind of like base models, but a little easier to use. And those are the original ones deployed in the API. or after GPT-3, those were the next generation of models. Then at the same time, there were definitely a lot of people thinking about chat. So Google had some papers, like they had Lambda and earlier MENA.

SPEAKER_00So they had these chatbots and it was more like, uh like you had a it was more like a base model that was really specialized to um the task of chat really good at chat and uh like i think at least uh looking at the examples from the paper it was more uh used for sort of fun applications like um where the model would uh like take on some persona and pretend to be that persona it was not so functional like um like help me refactor my code So, yeah, there are definitely people thinking about chat.

SPEAKER_00I had worked on a project before looking at chat called Web GPT, which was more about doing question answering with the help of web browsing and retrieval. Well, when you do question answering, it really wants to be in a chat because you always want to ask follow up questions or sometimes you need to clarify. The model should ask a clarifying question because the question is ambiguous. So it was kind of clear after we did the first version of that, that we should the next version should be conversational.

So anyway, we started working on like the conversational chat assistant and So this was built on top of GPD 3.5, which was done training at the beginning of 2022.

SPEAKER_00And that model was quite good at language and code. So we quickly realized that it was actually quite good at coding help. And that was one of the things we were excited about. So yeah, we worked on that. we worked on that for for most of the year and we had we had browsing as another feature in it though we ended up like de-emphasizing that later on because the like the model's internal knowledge was so good that we didn't that the browsing wasn't the most interesting thing about it um and then

SPEAKER_00Uh, we were thinking about, we had it out for beta testing or to friends and family for a while. And, uh, we were thinking about doing a public release. Um, but, um, at that time, uh, actually GPD four finished training in August or, um, yeah, in August that year. And, um, Actually, the flagship RL effort at OpenAI was the instruction following effort because that was the models that were being deployed into production. So the first fine tunes of GBD-4 used that whole stack, and that was

SPEAKER_00Yeah, those models were really good, and everyone got really excited about that after seeing the Instruct fine-tuned GPT-4s. So they were really, really good. They would occasionally give you amazing outputs, but they were also a little bit... The model was clearly pretty unreliable. It would sometimes hallucinate it a lot, and it would sometimes give you pretty unhinged outputs. So it was clearly not quite ready for prime time, but it was obviously very good. Um, and, uh, yeah, so I guess that, um,

SPEAKER_00people, uh, forgot about chat for a little while after that, because about this like alternative branch. Uh, but then we, we ended up, um, we pushed it further and we ended up like mixing together all the data sets, like the instruct and the chat data, and to try to get something that was the best of both worlds. And, uh, I think the, yeah, the models we, the chat models were like, uh, were clearly more like it was easier to use. It was sort of more, it sort of like automatically had much more sensible behavior

in terms of like the

SPEAKER_00model knowing its own limitations. That was actually one of the things that I got excited about as we were developing it. Uh, like I realized a lot of the things that, um, people thought were flaws in language models, like just like blatantly hallucinating, uh, could be not completely fixed, but you could make a lot of progress with pretty straightforward methods. Uh, Oh yeah, and also the other thing about chat was that when we had these

instruct models,

SPEAKER_00the task of complete this text, but in a nice way or in a helpful way, that's a pretty poorly defined task. So I think that task is both confusing for the model and for the human who's supposed to do the data labeling. Whereas for chat, I think people had an intuitive sense of like what a helpful robot should be like. So I think it was just much easier to tell people like for people to get the idea of what the model was supposed to do. And so as a result,

I think the model had a much more coherent personality and it was much easier to

SPEAKER_00get pretty sensible behavior robustly. Interesting. Is it the case that anybody could have made ChatGPT using your publicly available

SPEAKER_02fine tuning API?

SPEAKER_00Not exactly. I mean, they could have... I don't remember the status of which models were available for fine tuning. Assuming we had 3.5 available for fine tuning at the time, you could have made something pretty decently close, but I'm not sure you would have... I don't think you would have been able to do just one iteration of fine-tuning where you have purely human-written data and you fine-tune on that. I think you would want to do several iterations.

SPEAKER_00If you're not going to do RL, which we did, you'd want to do some kind of iterative supervised fine tuning where you have humans edit the model generated outputs because it's really hard to get people to... If you train on human generated data, even if it's really high quality, it's just hard for a model to fit that data perfectly because it might not be something a model is capable of outputting. So you need to do something iterative that looks a little bit

more like RL

SPEAKER_00Uh, so I think if you had done that, you could have gotten something pretty close, but, um, that would have been kind of non-trivial. Um, but we also had another, uh, like instruction following model trained with RL that was released a little before ChatGPT. So I think if you put a chat like wrapper on that, you would get something decently close. Uh, but it like that model, um, like if you just prompted it with chat, um, But that model had some differences in strengths.

SPEAKER_00That model was pretty good at writing and poetry and so forth, but it wasn't as good at knowing its limitations and at factuality and so forth. So, stepping back from 3.5, I think I heard you somewhere say, GPT-2, you're super impressed.

SPEAKER_02Compared to your expectations in 2019, has AI progressed faster or slower than you would have expected?

SPEAKER_00I would say faster than I would have expected since GPT-2. I was pretty bought into scaling and pre-training and so forth being a good idea. But when GPT-2 was done, I would say I wasn't completely sold on it being revolutionizing everything. I only really pivoted what I was working on and what yeah, what my team was working on in after GPT three. So after that, we kind of got together and said, oh, yeah, let's

SPEAKER_00this language model stuff works really well. Let's see what we can do here. But yeah, after GBD2, I wasn't quite sure yet. Especially if the stuff we were talking about earlier with RL starts working better

SPEAKER_02with the smarter models. Will the fraction of compute that is spent on training that is free training versus post training change significantly in favor of post training in the future?

SPEAKER_00Yeah, there are some arguments for that. I mean, right now it's a pretty lopsided ratio, but you could argue that the output generated by the model is like high quality compared to or higher quality than most of what's on the web. So it sort of makes more sense for the model to think by itself instead of just like training to imitate what's on the web. So I think there's a first principles argument for that. And I would say we found a lot of gains through post-training.

SPEAKER_00So I'm not sure. So I would expect us to keep pushing this methodology and probably increasing the amount of compute we put into it. The current GPT-4 has ELO score that is like 100 points higher than the original

SPEAKER_02one that was released. And is that all because of what you're talking about with these improvements that are brought on by post-training or...

SPEAKER_00Yeah, I would say that most of that is post-training. Interesting. So there are a lot of different separate axes for improvement. So we think about data quality, data quantity, just doing more iterations of the whole process of deploying and collecting new data and changing what you're what kind of annotations you're collecting. So there's a lot of things that stack up, but together they give you a pretty good,

SPEAKER_00like effective compute increase.

SPEAKER_02Yeah. I mean, that's a huge increase. That's like really interesting that there's this much this much room for improvement from post-training. What makes for somebody who's really good at doing this sort of RR research? I hear it's super finicky, but what is the sort of intuitions that you have that enable you to find these ways to mess with the data and set up these environments? I'd say I just have a decent amount of experience at this point

from like the

SPEAKER_00different parts of the stack from like RL algorithms, obviously, since I've worked on those since grad school to like the data collection, like the annotation process to like language playing with language models. So I mean, I'd say I just dabbled with these things and I'd say the people who do well at this kind of research have some view of the whole stack and have a

lot of curiosity

SPEAKER_00about the different parts of it and also sort of think about Well, you want to be both empirical and like use experiment, let experiments update your views, but you also want to think from first principles somewhat like what Like assuming that like learning works, like what would be the ideal type of data to collect and that sort of thing. So because there doesn't seem to be a model released since GPT-4 that seems to be

SPEAKER_02significantly better, there seems to be the hypothesis that potentially we're hitting some sort of plateau and that these models aren't actually generalizing that well and you're going to hit some sort of data wall beyond which point the abilities that are unlocked by memorizing a vast corpus of free training data won't actually help you get something much smarter than GPT-4. what do you think that hypothesis, is that wrong? And like, I think we've talked about some examples generically about

generalization,

SPEAKER_02the Spanish to English and so forth, but is there, yeah, I mean, okay, so maybe this is a run-on question, but one example I was thinking of was the idea that there's transfer from reasoning and code. If you train a bunch of code, it gets better at reasoning and language. And is that actually the case? Do you see things like that, which suggests that there's all this positive transfer between different modalities. So once you try training on a bunch of videos and images,

SPEAKER_02it'll get smarter and it'll get smarter from synthetic data. Or does it seem like the abilities that are unlocked are extremely local to the exact kind of labels and data you put into code? the the training corpus yeah okay yeah i'll try to respond to all that so uh first um are we about to hit the data wall i mean i wouldn't draw too much from uh the uh time since gpd4 was released because i mean it does um um yeah it takes a while to

SPEAKER_00um like train these models and to um like get all the, do all the prep to train a new model, like generation of models. So yeah, I wouldn't draw too much from that fact. I would say there are definitely some challenges from the limited amount of data, but I wouldn't expect us to immediately hit the data wall, but I would expect the nature of pre-training to somewhat change over time as we

SPEAKER_00get closer to it. In terms of like generalization from different types of pre-training data, I would say it's pretty hard to do science on this type of question because you can't create that many pre-trained models. So maybe you can't train a GPT-4 size model. You can't do ablation studies at GPT-4 scale. Maybe you can train a ton of GPT-2 size models or maybe even a

GPT-3 size model

SPEAKER_00with different data blends and see what you get. So I'm not like aware of any results, like public results on like ablations involving code data and reasoning performance and so forth. So that would be, I'd be very interested to know about those results.

SPEAKER_02I'm actually curious about, I mean, if one of the things is that the model gets moderates as bigger, would an ablation on a GPT-2 level model, which suggests that there isn't that much transfer, how much evidence does that provide for the level of transfer on a similar set of domains in GPT-4 level model?

SPEAKER_00Right. You might not be able to conclude that if transfer fails at GBD2 size, then it's also going to fail at a higher scale. So it might be that for the smaller models, Yeah, for the larger models, you learn these better shared representations. Or the smaller models have to lean too much on memorization, whereas the larger models can learn how to do the right computation. So I would expect this to be true to some extent.

SPEAKER_02This might have a very simple answer. So bigger models, you train them on the same amount of data, and they become smarter. Or conversely, to get the same amount of smarts, you have to train them on less data. Why is that the case? It's got more parameters. It saw less things and now it's equally as smart. Why is that the case? I don't think anyone has a good answer for a good explanation of the scaling law

SPEAKER_00with parameter count. I mean, there are some Uh, I don't even know what the, uh, what the best, um, sort of mental model is, uh, for this. Like, clearly you have more capacity if you have a bigger model, but, uh, so like you should be able to eventually get, uh, lower loss, but I guess, uh, why are bigger models more sample efficient? Um, I guess you could, um, I can give you some like very sketchy, uh, explanation. Yes, please. Like, uh, like they have, um,

You could say that the model is an ensemble of a bunch of different circuits that

SPEAKER_00do the computation. You could imagine that it has a bunch of computations that it's doing in parallel, and the output is a weighted combination of them. if you have more just width of the, or if you just have, I mean, actually width is somewhat similar to depth because like with residual networks, you end up like the depth can do something similar to width in terms of like updating what's in the residual stream.

SPEAKER_00But if you, yeah, you could argue that, uh, you're learning all these things in parallel, uh, you're learning all these different computations in parallel and you just have more of them with the bigger model. So you have more chance that, uh, one of them is lucky and, uh, ends up, um, like, uh, having high, um, like, like winning, guessing correctly a lot and getting up weighted. So that's kind of like, uh, um, uh, what would be the, yeah, there's some algorithms, uh, that work this way,

like that, um,

SPEAKER_00like mixture, uh, what is it mixture, uh, some kind of mixture model, um, or, uh, multiplicative weight update algorithm. Yeah. There are some algorithms that kind of work like this. So, uh, where you have like, uh, um, some kind of mixture of, uh, I don't want to say mixture of experts cause it means something different, but, uh, like basically a weighted combination of experts with some learned gating, uh, and, uh, Um, I actually, anyway, I said something slightly wrong, but anyway,

SPEAKER_00uh, yeah, you, you could imagine something like that and just having a bigger model get, gives you more chances to get the right, uh, function. So that would be, um, uh, and then of course, uh, it's not just like you have a bunch of, uh, like totally disjoint, like functions that have, uh, you're taking a linear combination of. It's more like a library where you might chain the functions together in some way. So there's some composability. So I would just say the bigger model has a bigger library of different

SPEAKER_00computations, including lots of stuff that's kind of dormant and only being used some of the time. But it has more space to look for the circuits to do something useful. I want to ask you about stepping back from the current research questions and just

SPEAKER_02stepping back. I want to understand your sort of like modal scenario of what happens for the next few years. I think towards the beginning of the conversation, we were talking about the case in which it progresses really fast. but just let's just take like the modal scenario um you're unlocking long horizon rl at some point but then as you said there's potentially other bottlenecks so what's happening you know uh how good are these models how are they being deployed what other modalities are part of them at what at what stage are these being unlocked and so forth and you just kind of want to understand

your broader picture

SPEAKER_02of what the next few years look like Yeah, I would expect things like, okay, new modalities to be added over time or pretty soon.

SPEAKER_00Yeah, I would expect the capabilities to generally keep getting better through a combination of pre-training and post-training, and that'll open up new use cases. So right now... AI is still not a huge part of the economy. There's a pretty small fraction of jobs that it can help with at all. So I'd expect that to be higher over time and not just from the models improving, also from people just figuring out how to integrate them into different processes.

SPEAKER_00So even if we just froze the models at their current state, I think you would still see a lot of growth in how they're being used. Um, so I would expect there to be a lot of, um, like I would expect AI to be, um, used much more widely and, um, I would expect it to be used for more kind of like technically sophisticated tasks. Like I gave the programming example earlier of doing like

longer projects,

SPEAKER_00but also helping with various kinds of research. So I would hope that we can use AI to accelerate science in various ways. Yeah. just because you can potentially have the models understand all of the literature in a given field and be able to sift through tons of data more than a person would have patience to do. So I would hope that we can basically

SPEAKER_00Yeah. Well, I hope the form factor would basically be that people are still driving all of this and you have your helpful assistance that you can sort of direct and point to lots of different problems that are useful to you. And everyone sort of has all these AIs helping them do more, get more done.

SPEAKER_02Hey, everybody. Real quick, I want to tell you about a tool that I wish more applications used. So obviously, you've noticed every single company is trying to add an AI chatbot to their website. But as a user, I usually find them really annoying because they give these long, generic, often useless answers. Command Bar is a user assistant that you can just embed into your website or application. And it feels like you're talking to a friendly human support agent who is browsing with you and for you.

SPEAKER_02And it's much more personalized than a regular chatbot. It can actually look up users' history and respond differently based on that. It can use APIs to perform actions. It can even proactively nudge users to explore new features. One thing that I think is really cool is that instead of just outputting text, Command Bar can kind of just say, here, let me show you, and start browsing alongside the user. Anyways, they're in a bunch of great products already. You can learn more about them at commandbar.com.

SPEAKER_02Thanks to them for sponsoring this episode. But obviously, at some point, they're going to be better than everyone, whatever they want to do. So... What would that process look like? Right now, they're clearly only helping you. At some point, they're able to just do things for you and maybe run entire firms for you or whatever. At that point, is it just going to be a smooth process? And at that point, the hope is that we have systems that are aligned with the user

enough that they

SPEAKER_02can count on the firm being run in the way they expect and so forth. Yeah, I think, well, we might not want to jump to having AIs run whole firms immediately. I mean, we might want to have people overseeing these important decisions and calling the shots. So even if the models are good enough to actually run a successful business themselves,

SPEAKER_00Um, so, uh, yeah, to some extent there might be, uh, choices there. Um, and, uh, I think people will still have different interests, uh, and what they want to, different ideas for what kind of, uh, interesting pursuits they want to direct their AIs at. And, uh, like they can, people, people could, uh, like, um, you AI doesn't necessarily have any kind of intrinsic desire of its

own unless we put

SPEAKER_00it in the system. So people can still end up being, even if AIs become extremely capable, I would hope that people are still the drivers of what the AIs end up doing. Yeah, but I wonder if the economic equilibrium is so far from that where you have the

SPEAKER_02equivalent of Amdahl's law in a firm, the slowest part of the process is the one that's going to bottleneck you. And so, you know, the AI makes all the non-human parts of the firm 10x more efficient. The firm can no longer, you know, it's still bottlenecked by that step. And so if like one company decides to proceed by keeping humans in the loop on all the things that you really want human oversight on, then they'll just be outcompeted by other companies. If one country decides to go this route, other countries will beat it. This doesn't seem... I hope this is like,

SPEAKER_02yeah, I wonder if this is a sort of a sustainable plan for keeping humans in the loop.

SPEAKER_00Right. So I think if you... if we wanted to keep uh humans in the loop uh which seems reasonable um and uh it turned out that um firms with any humans in the loop were out competed with by firms that didn't have any humans then i think then you would obviously need some kind of regulation that uh like disallowed um having no humans in the loop for running a whole company but there's so many companies in the uh in well i guess in

SPEAKER_02any country but let alone the world but Yeah, I wonder if it's better to do the regulation on companies and say, like, you've got to keep humans in the loop and important processes, but then you have to define what important processes are. You've got to monitor every single company and you also got to get collaboration in every single country which has firms in it versus if this is a problem, should it be solved before the model is even deployed such that hopefully you would get into a situation where you did decide to build a firm end

to end on these

SPEAKER_02models. it basically does what you want it to do and you don't need a human in the loop. Does that question make sense? I guess I'm just wondering in this situation, how do we actually monitor every single firm as a human in the loop and what happens if China doesn't decide to do that and so forth?

SPEAKER_00Right. Yeah, you would either have to have every country agree to this regulatory regime or you would need all of the model infrastructure or the model providers to agree to this kind of requirement. So it's definitely going to be non-trivial. So I guess... Yeah, this is looking a ways ahead. So it's a little hard to imagine this world before seeing

anything like it.

SPEAKER_00But So, for example, there's some questions like, are we actually confident that AI-run companies are better in every way? Or do we think they're better most of the time, but occasionally they malfunction because AIs are still less sample efficient in certain ways, like dealing with very wacky situations? So actually, AI-run firms have higher tail risk because they're more likely

to malfunction in a

SPEAKER_00big way. So I guess there might be some practical questions like that that would also determine how things play out. Maybe if you just require people to be accountable for various liability, this would also change the incentives a bit. So if it turned out that AIs are better at running everything and they're also completely benevolent and we've totally solved alignment and they're better at being accountable to people

SPEAKER_00than people are, then I would say maybe it's okay having the AIs run the firms, but I think that might be pretty far out and I think we're more likely to be in a situation where they look better like in the short term, but they still have some problems, like the AI run entities still have some serious problems. And it's actually like practical considerations that push you more towards having humans in the loop, at least for the near future.

SPEAKER_02Okay, so this is a problem we had to deal with today with RLHF, where you have to aggregate preferences across a lot of different humans, and it'll be maybe more marked with future, more powerful systems. But when you say, well, we want these eventual AI systems that are going to fully replace humans as part of these firms to be aligned, what does that mean? Will it mean that they basically do what the user wants them to do? Does it mean that they have to... result in some sort of global outcome that we're happy with as

the kind of people,

SPEAKER_02the stakeholders and opening, what concretely would that mean?

SPEAKER_00If the models are being used for these higher stakes use cases, then we would have to think about RLHF in a much different way than we are right now. So I would say we're not quite ready for that, or the current methods might not be completely sufficient, but I would say I would say we would need to make compromises between the needs of the different stakeholders involved. So we have this document that we're releasing called the model spec,

and it's about how we want our models to behave in the API and in ChatGPT. And we try to talk about this issue where there are different stakeholders

SPEAKER_00involved, and sometimes there are conflicts between what they might want. uh in our case we were thinking of the stakeholders as uh the user uh or the end user that means like someone sitting in front of chat gbt or or some other app um the developer so this is like someone using the api um who might be serving other end users with their app like the um platform, which is open AI.

SPEAKER_00We don't want the models to expose us to legal risk and so forth. And then the rest of humanity, including people who might not be users or customers or anything. So obviously, the user might ask uh, ask the model to do something that we think is, uh, like actively harmful to other people. Um, and, uh, so we might have to refuse that. Um, by the way, this isn't the order of, uh, priority necessarily.

So this is just like, we have these, uh, four or so classes of stakeholder. Actually, you could also say maybe in the future, we'll say the model itself, the model itself.

SPEAKER_00So I would say we're not going there yet. Um, but anyway, they, um, we have these different stakeholders. Sometimes they have conflicting demands and we have to make some call on how to resolve those conflicts. And it's not always obvious how to do that. So I would say we had to think through... Yeah, we just had to think through the trade-offs and basically the rough heuristic is that we mostly want the models to

SPEAKER_00follow your instructions and be helpful to the user and the developer. But when this impinges on other people's and other people's happiness or way of life, this becomes a problem and we have to block certain kinds of usage. But we don't want to be too, we mostly want the models to just be an extension of people's will and do what they say. We don't want to be too paternalistic. We want to be kind of neutral and not like impose our opinions on people.

SPEAKER_00Yeah, we want to mostly let people do what they want with the models.

SPEAKER_02I got a chance to read the spec beforehand, and it was, I guess, a question of how well that transfers over to how the model itself behaves. But I was impressed with how sensible the trade-offs were. Like, it made sense that this is the... It was, like, explicitly stated the actual edge cases rather than the kinds of things where everybody can... which are obvious. Like, in this case, you really are going after the edge cases.

SPEAKER_00Yeah, we wanted it to be very actionable so that it wasn't just a bunch of nice sounding principles, but it was like each example kind of tells you something about some non-obvious situation and reasons through that situation.

SPEAKER_02Yeah. Okay. Now I have a couple of questions about the state of the research itself. Famously in the social sciences, things are really hard to replicate and it's a question about how much of the science there is real versus these manufactured bespoke sorts of experiments. When you look at the average ML paper, does it feel like a really solid piece of literature or does it feel often like it's the equivalent of what p-hacking is in the social sciences?

SPEAKER_00Everyone has their complaints about the ML literature, but I would say overall, I think it's a relatively healthy field compared to some other ones like in the social sciences, just because, well, it's largely grounded in practicality and getting things to work. if you publish something that can't be replicated easily, then people will just forget about it.

And it's accepted that often you don't just report someone's number from their

SPEAKER_00paper, you also try to re-implement their method and compare it to your method on the same page. say, on the same training data set. So I think if you publish methods that are really hard to implement or are really finicky, they'll tend to get forgotten. And as a result, people actually try to open source their work a lot. I guess there's various incentives that There's various unfavorable incentives. Like,

SPEAKER_00yeah, people are incentivized to make the baseline methods, like the methods they're comparing to worse. And like there are other like mild pathologies, like trying to make your method seem sophisticated mathematically. But I would say overall, I feel like the field makes progress and I would probably like to see a little bit more, um, science and, uh, trying to understand things rather than more like, uh, hill climbing on benchmarks and trying to propose new methods.

SPEAKER_00And there's been a decent amount of that recently, but, uh, yeah, I think it's, uh, we could use more of that. And I think that's a good thing for like academics to work on. Um, oh yeah. And the social sciences, uh, on a slightly different note, uh, I think actually, um, I'd be really excited to see more research using base models to do simulated social science, because these models have a probabilistic model of the whole world.

And you can set up like a simulated questionnaire or like a conversation and...

SPEAKER_00And you can look at how anything is correlated, like any traits that you might imagine, you can see how they might be correlated with other traits. So it'd be pretty cool to see if people could replicate some of the more notable results in the social sciences, like moral foundations and that sort of thing, by just prompting base models in different ways and seeing what's correlated. What is that Stanford experiment?

SPEAKER_02The one where they... The ASH conformity test, right? It would be fun if that replicated with the language models as well. Very interesting. With the rest of the research that happens at big labs, how much of it is increasing the or decreasing the amount of compute you need to get a certain result as an actual compute multiplier versus how much of it is things that are just making the learning more stable and just building out the infrastructure. I guess the broader question I'm trying to ask is since GPT-4,

does it feel like with the same amount of compute you can train a much better model

SPEAKER_02or does it feel like, oh, we've like made sure that learning can happen better and in a more scalable scalable way with GPT-5, but it's not like uh we can train gpd4 with like gp 3.5 budget now or something like that yeah well um definitely there's always progress in improving the efficiency um whenever you have a 1d performance metric you're going to find that uh like uh different improvements um can kind of substitute for each other uh so you might find like uh

SPEAKER_00you might find that you uh post-training and um pre-training both improve the metrics or, uh, like improve, uh, they, they'll have a different, slightly different profile of which metrics they improve. But, uh, if, if at the end of the day, you have a single number, they're both gonna, they're gonna substitute for each other, uh, somewhat. So I would say for, uh, something like a, like a human evaluation, like what do humans prefer? Uh, we've definitely made a lot of progress on both sides, uh, like pre-training and post-training and improving that.

SPEAKER_02A couple of rapid fire questions about RLHF. So obviously RLHF is important to make these models useful. So maybe the lobotomized description is inaccurate, but there is a sense in which all of these models, once they're put in a chatbot form, have a very similar way of speaking. They really want to delve into things. They want to turn things into bullet points. They often seem sort of have this formal and dull way of speaking and there's complaints that they're not as

creative like what we were talking about before with it can only do rhyming poetry and not rhyming

SPEAKER_02until recently, I guess. Is that a result of the particular way in which RLHF happens now? And if so, is it because of who the raters are? Is it because of what the loss function is? Why is this the way all chatbots look?

SPEAKER_00Yeah, I would say there's a decent amount of room for variation in exactly how you do the training process. And I think we have a lot of I'd say we're actively trying to improve this and make the writing more lively and and more fun. And I think we've made some progress like improving the personality of ChatGPT. So it is it is more fun and like it's it's better when you're trying to chit chat with it and so forth. It's less robotic. I would say

SPEAKER_00Yeah, it's a kind of interesting question how some of the ticks came about, like the word delve. I've actually caught myself using the word a bit recently. So I don't know if it rubbed off on me from the model or what. But... Actually, I think there's also there might be some funny effects going on where there's like unintentional distillation happening between the language model providers where like if you hire someone to go do a labeling task,

SPEAKER_00they might just be feeding it into a model. They might just be pulling up their favorite chatbot and like feeding it in and having the model do the task and then copy and pasting it back. So there might be That might account for some of the convergence, but also I think some of the things we're seeing are just what people like. I mean, I think people do like bullet points. They like the structured responses. People do often like the big info dumps that they get from the models.

So it's not completely clear how much is just a quirk of the particular choices and design of the post-training processes and how much is actually intrinsic to

SPEAKER_00what people actually want.

SPEAKER_02It does seem persistently more verbose than some people want. And maybe just because during the labeling stage, the raters will prefer the more verbose answer. But I wonder if it's inherent to because of how it's free training, the stop sequence doesn't come up that often and it really wants to just keep going.

SPEAKER_00There might be some biases in the labeling that lead to verbosity, like the fact that we tend to train for one message at a time rather than the full interaction. So like if you only see one message, then there's something that just has like a clarifying question or maybe a short response with an invitation to follow up is going to be it's going to look less complete than something that covers all possibilities. There's also a question of whether people's preferences would change

depending on how fast the

SPEAKER_00model is streaming its output. Clearly, if you're sitting there waiting for the tokens to come out, you're going to prefer that it gets to the point. But if it just gives you a dump of text instantly, maybe you don't actually care if there's a bunch of boilerplate or if there's a bunch of stuff you're going to skim, you'd rather just have it all there.

SPEAKER_02The reward model is, I think, such an interesting artifact because it's the closest thing we have to an aggregation of what people want, what preferences they have. When you think about models that are much smarter, the kind of way in which we'll... I mean, one hope would be that you could just give a sort of like list of things we want that are not a sort of trivial and obvious kinds of like UN

Declaration of Rights

SPEAKER_02things. On the other hand, I think I heard you make the point that, well, a lot of our preferences and values are very subtle. And so that they might be best represented through these pairwise preferences. When you think of a GPT-6 or GPT-7 level model, are we giving it more of like a written instructions or are we still doing which kind, you know, these sorts of like subliminal preferences?

SPEAKER_00Yeah, that's a good question. So I think these preference models do learn a lot of subtleties. Yeah, subtleties about what people prefer that would be hard to articulate in an instruction manual. Yeah. Obviously, you can write an instruction manual that has lots of examples of comparisons, and that's what the model spec has. It has a lot of examples with some explanation.

SPEAKER_00It's not clear what the optimal format is for describing preferences. I would guess that whatever you can get out of like a big data set that captures fuzzy preferences, you can distill it down to like a smaller, a shorter document that mostly captures the ideas. And I would think that the big like Like the bigger models are like, they do, um, like, uh, learn a lot of these concepts automatically of what people might find,

SPEAKER_00uh, like they'll have some, uh, uh, they'll just learn from all the pre-training data, what, uh, people would find useful and helpful and, uh, what, uh, they'll have, uh, like some, there'll be some complex, uh, like, uh, like moral theories, uh, that they can, they have and they can, uh, but of course there's still a lot of, uh, um, room to latch onto a different, uh, like different style or a different morality. So I think like when we have, um, If we were to write a doc or if we're going to align these models,

SPEAKER_00what we're doing is latching onto a specific style, a specific morality, and you still need a decently long document to capture exactly what you want. Yeah.

SPEAKER_02How much of a moat is better post-training? Currently companies, I distinguish themselves by, well, how big is our model and so forth. Will it be a big moat who has figured out all the finickiness that you were talking about earlier with regards to all this data? I think there's something of a moat because it's just a very complex operation. And there's so it takes you have to have a lot of skilled people doing it.

SPEAKER_00And so there's a lot of tacit knowledge and There's a lot of organizational knowledge that's required. So I think, yeah, I think post-training, to create a model that actually has all the functionality people care about, is pretty complicated. It requires a pretty complicated effort. And this requires a lot of,

this is basically an accumulation of a lot of R&D. So I would say that makes it somewhat of a moat that it's not trivial to spin this

SPEAKER_00up immediately. It does seem like the same companies that are putting together the most serious pre-training efforts are also putting together the serious post-training efforts. So it seems like it is... is somewhat possible to copy or to spin up more of these efforts. There's also one force that makes it less of a mode is that you can distill the

SPEAKER_00models, or you can take someone else's model and clone the outputs, or you can use someone else's model as a judge to do comparisons. So I think The more big league people probably aren't doing that because it goes against terms of service policies, and it would also be sort of hit to their pride. But I would expect some of the smaller players are doing that to get off the ground. And that catches you up to a large extent.

SPEAKER_02I guess it helps you clear the mode. What is the media and radar like? Where are they based? What are their politics? What is their sort of knowledge level?

SPEAKER_00I would say it varies a lot. So we've definitely hired raiders with different skills for different kinds of tasks or projects. So I would say like a decent... A decent mental model is just look at people who are on Upwork and other platforms like that, like who's doing sort of odd jobs with remote work. So it's yeah, it's a pretty international group.

SPEAKER_00There's a decent number of people in the US. We hire different people like different groups of people for different types of labeling, like whether we're more focused on writing or like STEM tasks. So people doing STEM tasks are more likely to be in India or other sort of like middle or lower middle income countries, whereas people doing more like English writing and composition tend more to be like

SPEAKER_00US based. Hmm. So Yeah, and I'd say there have been times when we needed to hire different experts for some of our campaigns. Some of them are very talented, and we even find that they're at least as good as us, the researchers, at doing these tasks, and they're much more careful than us. So I would say the people we have now are quite skilled and conscientious.

SPEAKER_02With regards to the sort of plateau narrative, one of the things I've heard is that a lot of the abilities these models have to help you with specific things is related to the having very closely matched labels within the a super wise fine tuning data set. Is that true? Like if it can teach me how to use FFmpeg correctly, like there's somebody who's like doing, figuring out, seeing the inputs and seeing what flags you need to add. And some human is figuring that out and smashing to that.

Do you need to hire all these label rollers who have domain expertise in all these

SPEAKER_02different domains? Because if that's the case, it seems like it would be a much bigger slog to get these models to be smarter and smarter over time.

SPEAKER_00Right. You don't exactly need that because, yeah, you can get quite a bit out of generalization. So if you like like the base model has already been trained on tons of documentation, tons of code with shell scripts and so forth. So it's already seen all the FFmpeg man pages and lots of bash scripts and everything. And it's So even just giving the base model a good fuchsia prompt,

SPEAKER_00you can get it to answer queries like this and Just training a preference model like for helpfulness will, even if you don't train it on, probably even if you don't train it on any STEM, it'll somewhat generalize to STEM. So not only do you not need examples of how to use F of Mpeg, you might not even need anything with programming to get some reasonable behavior

SPEAKER_00in the programming domain.

SPEAKER_02Maybe final question is, we've touched on this in different ways, but to put it together, so you say you're turning on much more multimodal data. Presumably, these things understand what screens look like and will be able to interact with it in a much more coherent way. And also, you're going to do this along horizon RL, so they'll be able to act as agents and assistants who can be part of your workflow in a much more integrated way. What do you expect that to look like and what will be the next

steps from there?

SPEAKER_02So suppose by the end of the year or next year, you have something that's like an assistant who can work with you on your screen. Does that seem like, first of all, a sensible thing to expect? And then where does it go from there? I would definitely yeah, I would expect things to move in that direction.

SPEAKER_00It's unclear what's going to be the best form factor, whether it's like something that's it's like a Clippy that's on your computer and helping you with something or if it's more like a like helpful colleague in the cloud. So we'll see which kinds of form factors work the best. And I would expect people to try all of them out. Yeah, I would expect more like Yeah, I would expect something like, yeah, the mental model of like a helpful assistant or helpful

colleague to become more

SPEAKER_00real, where you can share more of your everyday work or have it like, instead of just giving it one-off queries, you would have a whole project that you're doing and it knows about everything you've done on that project so far. You can tell it, it can like even proactively make suggestions like, Maybe you can tell it, oh yeah, remember to ask me about this and if I've made any progress on it. So I think proactivity is one thing that's been missing. Yeah, I'd really love to see better...

a more uh like moving away from sort of one-off queries uh like using the model kind of like a search engine yeah a smarter search engine and more towards uh like having a whole project that um i'm like doing in collaboration with the model and it knows everything i've done it's proactively uh like um suggesting things for me to try or it's going and doing work in the background yeah that's that's really interesting what by the way it's a final question what is your what is your median

SPEAKER_02timeline It replaces your job. Yeah.

SPEAKER_00Oh, it replaces my job. Maybe like five years. Yeah.

SPEAKER_02Pretty soon. Yeah. Interesting. Okay. Well, John, this is super interesting. Yeah. Thanks so much for making the time. I think this seems like one of the parts of the AI process that is super important and people don't understand that much about it. So it was super interesting to delve into it and get your thoughts on it but yeah thanks for having me on the

SPEAKER_00podcast it was fun to talk about all this stuff

SPEAKER_02Hey, everybody. I hope you enjoyed that episode with John. He's just a very thoughtful guy, and it's super interesting to learn about the way in which these models become the kind of shagat that they are. Anyways, as you can see, I'm now doing ads on the podcast. So if you'd like to advertise, you can reach out at the link in the description. And of course, if you enjoyed the episode, it's really helpful if you can share it with other people who you think might enjoy it, your friends, group chats, Twitter, whatever else. See you on the next one. Cheers.

Open the transcript file

Hosts and Guests

Guests

  • John Schulman Guest Feed-stated

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. Paul Christiano – We could be 12 months away from AIs that can overthrow the government

    Nov 16, 20261 hr 39 minVideo

    Paul Christiano is head of the Alignment Research Center. Previously, he was head of AI safety at the US AI Safety Institute. Before that, he led alignment at OpenAI, where he invented RLHF. He’s recently joined...

    Listen to the audio

    Credit the people on this episode

  2. The avalanche that hit math is coming for AI development

    Nov 13, 202644 minAudio

    If you asked me earlier this year how far away we are from superintelligence, I’d probably have said at least the better part of a decade. But over the last three months, from debating people on and off the podcast,...

    Credit the people on this episode

  3. What Robert Caro learned about power after studying it for 50 years

    Oct 30, 20261 hr 1 minAudio

    The Robert Caro interview. Watch on YouTube; read the transcript. Sponsors * Antithesis lets you run thorough simulation tests on every PR your coding agents ship. That’s because Antithesis is FAST. On a recent project,...

    Credit the people on this episode

  4. What I learned about power from LBJ and Robert Moses

    Oct 29, 202625 minAudio

    I recently got to interview Robert Caro, who is my favorite author of all time. This gave me the excuse to reread his biographies of Lyndon Johnson and Robert Moses, and to compile my prep notes into this video essay....

    Credit the people on this episode

  5. What will computer chips look like in 2045?

    Oct 22, 20261 hr 9 minAudio

    I spent two days touring Intel’s most advanced fab and talking to its technical leadership to understand what the chips of the future will look like. A lot of what's coming next - gate-all-around transistors, backside...

    Credit the people on this episode