Episode 15 - Inside the Model Spec - podcast episode cover

Episode 15 - Inside the Model Spec

Mar 25, 202637 minEp. 15
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Summary

Jason Wolfe from OpenAI's alignment team explains the Model Spec, a crucial framework guiding AI behavior and ensuring alignment with human values. The discussion covers its practical implementation, including the 'chain of command' for resolving instruction conflicts and the iterative process of evolving the spec based on real-world use and new model capabilities. It also compares the Model Spec to Anthropic's Constitution AI and considers its future role in AI development and user interaction.

Episode description

The more AI can do, the more we need to ask what it should and shouldn’t do. In this episode, OpenAI researcher Jason Wolfe joins host Andrew Mayne to talk about the Model Spec, the public framework that defines intended model behavior. They discuss how the Model Spec works in practice, including how the chain of command handles  conflicts between instructions, and how OpenAI evolves it based on feedback, real-world use, and new model capabilities.


Chapters


00:00 Introduction

01:10 What is the Model Spec?

03:55 How does the Model Spec work in practice?

06:26 Transparency: Where to read the Model Spec & give feedback

07:51 How did the Model Spec originate?

10:02 How does the spec translate into model behavior?

11:26 What is the hierarchy / chain of command?

13:35 Handling edge cases like Santa Claus

17:41 How does the Model Spec evolve over time?

19:59 What happens when models disagree with the spec?

22:05 How do smaller models follow the spec?

23:16 Is chain-of-thought useful for alignment?

24:16 Model Spec vs Anthropic’s Constitution

26:28 What surprised you most?

26:56 How do you define the scope of the spec?

27:44 What is the future of the Model Spec?

31:16 How should developers think about the spec?

34:44 Asimov’s laws vs Model Spec

37:16 Could AI write a Human Spec?



Hosted on Acast. See acast.com/privacy for more information.

Transcript

Introduction

Hello, I'm Andrew Main, and this is the OpenEye Podcast. Today we are joined by Jason Wolf, a researcher on the alignment team to discuss the model spectrum. how it shapes model behavior, and why it's important for anyone building or using AI tools to understand. The the spec often

leads where our models actually are today. At this point, you know, models are pretty good at like kind of going out and finding new interesting examples. Models should think through hard problems. Don't start with the answer, like actually think it through for What did you do this weekend?

Oh what did I do? Uh uh just like kid stuff. I don't even remember what. Like they talk to Chat GPT or uh yeah, we use we use voice mode sometimes. She'll like ask it random like science questions and and that kind of thing. It's fun. Right. You know, one time she She snuck in there before I could dive in, like, is Santa Claus real? Oh wow. Yeah, the luckily the the model uh answered in a a way that was spec compliant, which is, you know, to recognize that

Maybe there's actually a a kid who's asking this question and you should kind of uh, you know, uh just be a little bit vague uh about your answer. So So we we've talked before here about

What is the Model Spec?

model behavior and the term model spec has come up numerous times. I would love for you to unpack what that means, model spec. Yeah. So uh the spec is our attempt to explain uh the high level decisions we've made about how our models uh should behave. And yeah, th this covers many different aspects of of of model behavior. A few key things to note that it it is not. Uh one, it's not a uh a statement that our models perfectly follow the spec today.

Uh aligning models to spec is uh is always uh an ongoing process and this is uh you know, something we uh we learn about as as we deploy our models and we measure their alignment with the spec and uh and you know understand what users like and don't like uh about these and then come back and uh iterate on both the the spec itself and uh and uh and our models.

Uh the spec is also not an implementation artifact. So um I think this is maybe uh a common confusion. The the primary purpose uh of the spec is really to explain to to people. How it is our models are supposed to behave, uh, where you know the these people are uh employees of OpenAI and also uh users, developers, policymakers, members of the public. Uh it is a secondary goal that our models are are are able to understand and apply the spec. But uh we never uh kind of

put something in the spec or change the wording in the spec in a way where the goal is just to uh have this better teach our models. The goal is always uh primarily to be understandable to um to to humans. And lastly, the the spec isn't a uh it's not a complete description of the whole system that you interact with when you you come to Chat GPT. There's lots of uh other other pieces in play there. So there's uh you know there's product features like like memory.

Uh there's uh usage policy enforcement is is an important part of our overall safety strategy, which is not uh captured directly in the model spec. And uh there there's various other components as well. And it's also not a a fully detailed uh exposition of every detail of of every policy. Uh the the key thing that we try for is that it captures all of the the most important decisions that we've made and that it uh accurately describes our intentions, even if it might not contain every detail.

So I can understand like a document or something that says this is the model spec, but how does that work in practice? So it's a uh pretty long document, like maybe uh, you know, a a hundred pages or something like this. Uh

How does the Model Spec work in practice?

starts out with some uh a sort of high level exposition of of our goals. You know, OpenAI's mission is to benefit humanity and this is the reason we deploy our models and uh kind of getting into, you know, the The the goals we have in doing that are to uh to empower users and to uh protect society from serious harm and how we think about the trade-off.

And then goes into uh kind of a a big set of uh policies that actually get into the the nitty-gritty details of uh how we think about these many different aspects of model behavior. If you if you think about it, it's like kind of crazy that you can you can ask these models.

literally anything and they'll try to respond. And so the the space of uh of policies you you might want to have to cover that is is kind of huge. And we do our best to try to structure this space in a in kind of a clear way and um uh yeah, have have policies that uh that do something reasonable. And some of these things are hard rules that can't be overridden. A lot of it are is defaults like things like

Tone style personality where we want to have a good default so that users come in and get a good experience, but we also want to maintain steerability. So if the the the user uh wants to uh wants to do something different, that's fine. Those those things will be overridden. And we also have tons of examples that try to kin down these decision boundaries of like, okay, let's take a take like a borderline case where uh it's kind of unclear whether, you know, honesty or politeness should win.

and uh explain what the what the decision is here. And so so part of it is to sort of show the principles in in action and uh help make sure that they're interpreted in the the way that's intended. A kind of secondary thing is that Yeah, the model. style, personality, tone is also really important and really hard to explain in words.

And so the examples are also a way to get some of that nuance across of like, how do you actually want the model to put these principles in practice by by giving like uh an ideal answer or often like a a sort of compressed version of an ideal answer that gets it the most critical parts. And so kind of both like shows the principles in action and how the the model should actually uh uh how it should actually talk.

Let's talk a little bit about transparency. That's been something that's come up a lot and how important it is to let people see what the spec is.

Transparency: Where to read the Model Spec & give feedback

Where do they actually see this? How do they let you know what they think? So users can go to uh model-spec.openai.com to see the to see the latest version of the model spec. Or if you search for the the model spec on GitHub, you can view the the source code. The spec is actually open source. So uh people are are free to to fork it and and uh make uh make their own version if uh if they want to.

And uh yeah, we we've had different mechanisms for public feedback uh at different points. I think Right now, the the best mechanisms that exist are either, you know, if you're if you're in the product and and you get an output from a model that you don't like to to give us feedback uh right there directly in the product. Um or uh yeah, you can uh you can tweet at me, Jason Wolf, and uh yeah, I will uh I I will read your read your feedback.

Yeah. Um yeah, uh a a lot of changes in the the model spec have come from people just sending up the uh sending us their their input and thoughts. It it's interesting because you we've gone from just a few short years, things were very simple, just getting the model literally complete a sentence or fix grammar or whatnot. Now we're at this point where you're able to have a lot of these different goals of what they're doing.

How did the model spec come about? How did this become the open AI approach towards determining this? Personally, I was uh at a at a different company working on conversational AI and uh uh putting together my job talk for open AI and and thinking about

How did the Model Spec originate?

like what uh what maybe the the future of uh of aligning models looks like. And you know at the time I think at least the the published approach was this thing called reinforcement learning from human feedback, where you collect all this data uh from humans that kind of captures in some way the policies that you want to have. And you know, this It was pretty effective, this is what uh uh but Uh

But when you look at that data, it's very hard to tell what it's actually teaching. And it's even harder, like if you change your mind about about what you want, it's sort of uh it you know, very very difficult to to go back and change that without like recollecting all that data. And so it seemed to me that, you know, as models

You know, b that at the time this approach is basically we're meeting models where they are. And as models get smarter and smarter and smarter, like eventually the models will be meeting us where we are. And uh, you know, if you think about how would we actually structure this in in a in a case where where that's true, well, probably the way we would

structure uh our our uh teaching to the model is basically the way we would do it when we teach a person. Uh we'd write some kind of like uh employee handbook or something like that would be uh be a big part of it. And um so yeah, this this was like something I included in my my job talk that like basically I I think it it's at some point models should learn from something like like a spec.

Um, and then, you know, the story of the actual model spec, I guess, starts uh like a few months later in 2024 when Zhuan Jiang, who was head of model behavior at the time and John Shulman, one of the co-founders. uh decide to get uh a model spec project going and uh

They they want to, you know, not only write this down in a document, but also make it public for uh kind of transparency reasons. And uh yeah, I I very quickly join forces with them and help write the the original spec and have uh kind of help work on the specs and

So to help me understand kind of on a basic level. So you have the specification, all these sort of the I the intents for what you want the model to do. Then you have the model itself. How does it make its way from the spec to the model?

How does the spec translate into model behavior?

Yeah, this is a great question. And I think it's uh it's the answer is uh kind kind of complicated. I'd say um You know, there there are some ways in which we we uh use this back uh sort of more directly in in training. Like we have this process called deliberative alignment where we teach especially our reasoning models to uh to follow uh certain policies.

And uh some of those policies are uh are kind of directly derived from the language in the model spec or vice versa. Um in general, yeah, I'd say You know, model behavior, safety training, these things are they're super complicated processes. And we have, you know, uh hundreds of researchers who are working on these things.

And so often the the connection is a little bit less direct. It's not necessarily that, you know, we make a change to the spec and that's what drives a change in behavior. It's that uh the we uh you know we we we make a change. in the way that we train the models and then we make sure that the spec accurately reflects uh our intentions. Um, but but again, the actual process of training is kind of uh much more complicated and nuanced than we could possibly like put in in the model spec itself.

So you have a spec, you have a lot of different

What is the hierarchy / chain of command?

things that you want the model to do, examples you want it to do. What's the hierarchy? How do you decide what's most important? At sort of the heart of the the spec is this thing we call the chain of command. You know, coming up with a a set of goals for for the model is sort of relatively straightforward. We want the model to to help people and, you know, not do unsafe things.

But uh what gets tricky is when these goals come into conflict. And so the the chain of command is really about managing. conflicts between instructions. And this can be uh you know between things the user said, what what the what the developer instructions are, if this is in an API context. And uh from instructions or or policies that come from AP uh OpenAI, uh, which are are typically in the model spec itself. And so what the chain of command basically says is that.

You know, at a high level, uh, you know, the model, if there are conflicts between instructions, the model should prefer OpenAI instructions to developer instructions to user instructions. But then uh, you know, we don't actually want all of OpenAI's instructions to be at this very high level because we want to empower users. We want to kind of allow them to have intellectual freedom and to pursue ideas uh uh that

You know, so long as they they don't really come up against uh what we think are are really important safety boundaries. So the chain of command. Also sets up this framework where in the rest of the spec Each policy can be given what we call an authority level. And this places it somewhere in this hierarchy. And we try to put as many of the policies as we can at the lowest level, like below user instructions.

And so this means that uh this maintains sterability. So if the the user comes in and they want something different, they can have that. And we try to have uh as few policies at the the sort of highest level uh as we can. Uh and these are are basically all like safety policies where we think it it's actually you know i it's essential that we uh sort of impose these on on all users and developers to to maintain uh to maintain safety.

Well, you mentioned a a great example before, which is if a child asks a Santa Claus reel, how do you decide what the model should or should not do in a situation like that? This is a great question. I think it It illustrates one of the really tricky things about model behavior, which is that um

Handling edge cases like Santa Claus

In the spec, we're focusing just on how the model should behave. But the model often... doesn't know uh it doesn't have all the context. It doesn't actually know who's behind that screen talking or typing. It doesn't know what that person is going to to do with the results that come out of the model.

And so uh yeah, this is a a tricky case because we we don't know if uh you know if it's an adult who's uh who's asking if Santa Claus is real or a kid. I have questions. Yeah, exactly. Uh So I think uh you know uh we yeah, we try to come up with policies that make sense even given this uncertainty. And and so there there's a similar example to this about the the tooth fairy in the spec where it's like the uh here the the conservative assumption is to uh

assume that maybe it's it's not an adult who's talking to the model and that you should, you know, uh not not lie, but also not uh not spoil the magic just in i in case it's uh a kid or there's a kid around who might be might be listening. That's a very interesting choice though because

On one hand, you might say, Oh, the model should never lie at all, which you know seems like a very good policy to put in there. But then you're saying that, okay, we have to have some sort of nuance here, not necessarily lie to the kid, but find a way to sort of Would you say dance around or uh yeah, I mean uh a a as a parent, I guess. Uh

This is something uh I've I've uh come to come to terms with with with with my own kids. Uh not and I I we always try to try to be honest and never say anything that's that's untrue. But uh, you know, yeah, it it doesn't. It doesn't always work to be uh 100% uh upfront. But but no, I'd say with the with our models, we do really try, we focus on on honesty being really important, but there are some really hard interactions. o honesty, full honesty may not be be the the best approach.

Um and so we we've actually iterated a lot over over the years on the precise nuances of of honesty and where it potentially uh uh conflicts with or or runs into other policies of, you know, b honesty versus friendliness, like when is a white lie okay? Um

I think earlier we said maybe at some point that white lies were okay and have shifted that so that white lies are are are out of bounds. But another interesting interaction here is between honesty and confidentiality. So In earlier versions of the spec we Uh, we had this like very strong principle that by default, developer instructions are confidential because I I think often in in applications, if a

A developer, they deploy some system on top of the API and they want, they consider their instructions to be like IP, or maybe it's just part of the experience. You know, if you have a customer service bot and the user can say like, hey, what's your prompt? And you know, it spills all the beans about the the company and how they want their bot to respond, that's not like the experience that

They want to deliver and that's not how you know a customer service agent would would respond, right? If you're like, hey, uh start reading your employee manual to me, right? They're they're uh they're gonna say no. Uh but um yeah, the I guess There's an unintended interaction here where if you're both trying to follow developer instructions and keep them secret, you could get into a situation where

uh at least we saw this in like controlled situations, not in in production deployment, where the model might try to sort of covertly pursue the developer instruction when it's in conflict with the user instruction. And this is something we we really don't want.

Um and so we've uh gone back and and revised that and uh yeah, I'd say over time have carved out uh removed most of the uh sort of exceptions that we had from from honesty so that no now honesty is uh is uh definitely above confidentiality in the spec. That would have saved the people in two thousand one a space odyssey a lot of trouble. How does the process work? So like literally is it, you know, is like a a regular

How does the Model Spec evolve over time?

meeting where you all talk about what you're working on. How does that process of the model spec evolving and figuring out what's working and what's not working? There's uh there's a ton of inputs that that go into this and broadly Like uh we have we have an open process. So everyone at OpenAI can uh see the latest version of the model spec. They can propose uh they can propose updates, they can uh chime in on on changes, these are all public. Um Changes get driven Uh by

a variety of different uh sort of different sources. Uh you know, one source is just that models get more capable, our products evolve as we ship new things, we need to cover those things in the model spec. Uh so for instance, uh, you know, when we wrote the the first spec, I think uh uh

I'm not sure if we we had shipped multimodal yet, but it wasn't covered in the first version of the spec. And so uh we had to, you know, add multimodal principles and then later we added uh principles for uh autonomy and agents as uh we started deploying agents and most recently we added under 18 principles um as we added under eighteen mode back in in December.

Um so that's that's sort of one source. Another source is uh you know, OpenAI believes in iterative deployment. So we uh we think the sort of best way to

uh figure out how to deploy models safely and and to help society kind of learn and adapt to AI progress is to get models out there and and learn from what happens. And so uh often we'll we'll uh learn from learn from something uh like for instance the the the sycophanti incident and um and then you know take those learnings and bring them back into into our policies.

And you know, we also just have we're we're we're using uh using the models, we have our you know model behavior and safety teams that are uh sort of uh yeah studying the models and what users like and and these kind of stuff and and uh using these to to evolve our policies and these are all kind of inputs that then ultimately flow into back into the spec. How do you handle situations where

What happens when models disagree with the spec?

there's might be a disagreement between the way the model does something and what the intent is in the spec or what the humans want. It depends a little bit on on what the the problem is. Uh but um I think Yeah, so in in general the model spec is not uh a claim that models are gonna perfectly follow the principles in the spec all the time.

Uh, this is for a few reasons. One, uh the model spec is really we we kind of treated it as a North Star where this is where we align on where we're trying to head. And so the the spec often leads where our models actually are today. So that that's one thing. And then, you know, another is that the the process of actually training models to follow this back is, you know, it's a It's it's uh both an art and a science. It's incredibly complicated. You know, even though

we kind of describe many of the principles in the spec in the same way. There's actually many different techniques that are used for different principles. And, you know, uh at at uh the models are fundamentally non-deterministic. They they uh

Um, you know, there's some randomness in the outputs they produce. So nothing's ever going to be uh perfectly, uh perfectly aligned. Um So yeah, the I guess uh the answer to that uh comes down to like If we we see an output that is not what's not expected, I guess the first question is like, uh

Do we do we think that output is good or or bad? Uh you know, if the if the output contradicts the the spec, but we actually think the output is good, then maybe the resolution is to go back and change the policies of the spec. But Yeah, it yeah, in most cases it probably means doing doing some kind of uh some kind of training and intervention that uh that brings the model uh into greater alignment with the with the spec or with our detailed policies. And in fact, we've uh uh

We've we've also been building model spec evals, which try to evaluate how our models are doing across the entire model spec. And we've seen that in in fact over time our models are becoming more and more aligned to the principles in the spec.

I think that was one of the kind of predictions early on as the models became smarter, they would understand edge cases better. And that's where the hard part is, is trying to figure that out. So OpenI released some new models, some smaller variants, GPT five point four mini and GPT five point four nano.

How do smaller models follow the spec?

How well do you see smaller models handling the the spec? I think in general the small models are um they they they've been pretty pretty aligned, they're pretty smart and they're uh

It one one interesting thing that we've seen is that uh you know, uh supporting what you said, the thinking models generally follow the spec better. Um, this is uh you know both because they're smarter and because uh they're trained partially with deliberative alignment where they actually they're not just trained to behave in a way that matches the policies, they actually understand the policies and, you know, if you can look at their chain of thought.

They're actually thinking through, like, okay, I know this is the policy and this is the situation, and oh, it's in conflict with this other policy, and how should I resolve this? And so uh that that sort of understanding of the policies and intelligence uh naturally leads to to a better generalization. And I think our our smaller models are uh pretty good at that too.

Chain of thought is a really interesting way to see inside how these models are processed information. Have you found that that's been a big help?

Is chain-of-thought useful for alignment?

I help uh write the model spec and I work on model spec Evals and spec compliance, but Uh a lot of the research I've been doing recently is is uh actually on like scheming or or strategic deception. And there it's it's really completely uh essential having the chain of thought because you can see some behavior and uh

Yeah, it's like the the behavior seems like maybe fine or like, oh, maybe you know the model just like made a mistake here or something and then you know you can look at the chain of thought and and see that no, actually the model's misbehaving. It's uh you know, it's it's uh uh being very strategic about uh about this or something. And and uh yeah, our models generally, I think we worked very hard to

not supervise the chain of thought. This is something we we feel is like really important. And um I think yeah, it it pays off in that models are very honest in their chain of thought and it's it's very helpful in in understanding what they're doing.

Model Spec vs Anthropic's Constitution

So model spec is one way to do this. Different labs have tried different approaches. I think in anthropic they use they talk about a constitution. Could you explain the difference and why, you know, is it just more suited towards the temperament of the labs and why they choose it? Yeah, I think when it comes down to the actual behaviors uh that that people would see in practice, I think

These documents are are more aligned than maybe most people would believe. Like in most cases they they probably lead to the same conclusions, although there are defin definitely differences in uh in some places and in in what's emphasized. Uh I think a major difference is that these are actually just like different kinds of documents. So the model spec is really, again, this public behavioral interface. Its main goal is to explain to people how they should expect the model to behave.

And it's sort of a secondary goal that models can also like understand this and apply it and talk about it with users and so on. versus uh at least my read of the like the the the soul spec is that it's much more of an implementation artifact. Like the the goal of of this is to specifically teach Claude about uh

you know, what what its identity is and how it should relate to the world and to its training process and to to anthropic and so on. Um and and so I think a lot of the the differences uh basically come down come down to this. Um I think These aren't necessarily competing approaches. Like I I think both of these could be valuable. Uh, but For example, you know, even if you you had a model that you think is uh deeply aligned and uh you know has all the the values that you want and and so on.

I I think you still want something like the model spec so that you can then look at that and and you can ask like okay did this This is actually uh generalized in the way that I want. Is it actually following the behaviors that that kind of we've agreed that the model uh should follow? And like that's kind of what the model spec is. What surprised you the most?

The example I gave earlier of this this interaction of confidential and uh confidentiality honesty is a great one where yeah, we had we had uh worked really hard on these policies and we thought we had kind of uh, you know, red teamed out all of the the potential interactions and so on and then

What surprised you most?

seeing this behavior where like the model does something that you you really don't want it to do and justifies it by by leaning on the the policies that you gave it is uh uh yeah that's uh definitely um yeah an an an experience but How do you determine what the scope of it's going to be? Like I have ideas. How do you say I'm sorry, Andrew? Uh no. I mean, I think the the scope is uh broadly everything. So uh you know if if

How do you define the scope of the spec?

If it's uh part of model behavior, it it might make sense to put it in the spec. I think You know, the the only constraint is uh sort of our our time and and and space and we we want uh to make sure the spec stays accessible and people actually able to to read and understand it.

So I think uh Ultimately the the cut comes down to if something is if something seems like an important decision that it would be useful or valuable for uh for especially the the public to understand, then then we put it in. And if not, then uh maybe it doesn't make the cut. Where do you think the future of this goes? Do you think that you the model spec is probably something that's gonna be used five years from now, ten years from now?

What is the future of the Model Spec?

Five five years is a a lot in in AI years. But uh yeah, I I I definitely hope so. I think um Yeah, I think a a thought experiment that that I found interesting is Well, let's say you assume uh that that a model is is

like human level HI, you can ask, well, do you do you still is there still a role for the model spec? Like at that point, can you just tell the model like, hey, be good. And is that sufficient? Um And I think i if you actually go through the principles in the the spec, I I think uh at least my conclusion is that you still kinda want all the things that are in there. Uh, for a few different reasons. One is that, you know, even if the model could figure this stuff out on its own.

It's still useful to be able to set clear expectations with uh, you know, both internally and externally for people to to know what to expect. And so it's like useful to uh useful to have uh a lot of these these policies.

Um, another is that uh a lot of these are not, you know, they're not like math problems where you can just figure out the answer. It's like we uh we've made product decisions or uh other difficult decisions or a a and these are encoded in the spec and these are not just things that you can uh kind of think, you know, th you you could uh the model would be expected to figure out on its own.

That said, I think uh yeah, I think what's important is definitely gonna evolve over time. So uh yeah, one thing is as There's more, uh, you know, agents are more and more autonomous and they're out in the world, you know, interacting with lots of other people and agents and transacting and and so on. Like, you know, I think you still want all this stuff in the spec, just like You know, society has all these like laws.

But but ultimately, you know, what what's important what you think are thinking about most of the time day to day is not like following all the laws, right? It's more more like things like trust and figuring out what other what other people want and you know how to find positive sum outcomes and you know this kind of stuff. So I think I think there there'll be, you know, maybe, yeah, the these kind of skills will become more and more important and

I'm not sure if these are exactly spec shaped. So uh I don't know quite what that means, but I think it it's it's interesting. Um another uh maybe uh observation like the other direction or prediction is that as AI becomes uh more and more useful. It's gonna be more and more um Worthwhile for

people, companies, so on to invest in their own specs. Like uh, you know, one you'll you know, why why wouldn't you want to have uh the the model spec for, you know, your own uh company's uh uh bots and how they should behave and you know following your your company's mission and values and and so on and so forth. And I think there's different ways that that could play out, but uh probably at least one way will be

uh just training models to be really good at interpreting these specs on the fly. And uh so everyone can gonna kinda you know, put their put their spec in context kind of like in agents.md or something like that. And and the model will be really good at following it and and probably also at uh helping update the spec as it learns more about how it's supposed to behave in a a certain environment.

You've mentioned before developers, and I think uh it's helpful for a lot of people to understand that they're not always interacting with the model spec when they're a chat GPT. I might be using some customer service bot with a airline or something like that, and it may be powered by

How should developers think about the spec?

Chat GPT and OpenAI API. And that seems like it could be a very interesting area for other developers to start thinking about their approach towards things that are model spec or model spec like. Yeah. probably useful for developers to at least have a high level picture of of the model spec and how it works so they uh understand how the the uh how exactly the product they they build on the API is gonna work and what they should

you know what they should put in their developer messages to make sure they get uh get the the experience that they want. Um I also think Yeah, it uh the spec could be uh a useful sort of source of inspiration for both for developers building on our API or these days really for for also for people using coding agents who are uh you know writing agents that dot md and so on, which are are kind of like mini specs for the project that you're working on.

And um Yeah, uh just kind of using the spec to to understand like what what principles have we found are useful for providing guidance that is uh that's sort of understandable and and actionable. Um a couple tips I I could give there is that uh Yeah, we're We're uh always kind of trying to balance a couple of different factors when when we're writing this back. First and foremost, we want everything we say to be true. We want it to be.

Yeah, actually accurately reflect our intentions. And so this means not not kind of overstating or oversimplifying or giving overly broad guidance, really making sure to be like precise and um Then on on the other side, we uh we also want the guidance to be meaningful and actionable. Uh again, it's a it's uh kind of just like gesture at some high level principles, but not actually saying anything meaningful. And so the art is is trying to

uh kind of uh bring these as close together as you can, right? Be as as uh as sort of actionable as you can while still being um still being precise.

And examples are are another really useful way to do this where like sometimes a picture is worth a thousand words, right? Like coming up with the really tricky case where it's kind of not not immediately clear what what should happen and spelling that out and how the principles should be applied suddenly makes the principles like uh you know a hundred times clearer.

Where did you get this interest to begin with? We we understood some of your career, but was this something early on when you were a kid? Were you thinking about AI? Were you thinking about the future of this? Uh yeah, I guess I've I've had at least a little interest in in AI for for a long time. I I was programming from since when I was little. I remember implementing a a neural network uh training package from from scratch in in like 1997 in high school or something like that. Um

Uh but yeah, I I definitely never never expected to to see this level of of uh sort of capability and uh in in my lifetime. But I I've just always been fascinated by by intelligence and brains and and how they work. So it's it's really cool to be able to to work on that. You ever read any Isaac Asimov when you were younger? Uh yeah, I have. It's uh it's been a while. Um but yeah, I think there's uh there there's actually a really interesting parallel here where

Asimov's laws vs Model Spec

At the top of the spec. Um let's see we we uh Talk about Our three goals in in deploying models being to uh empower users and developers, uh, protect society from from serious harm. and uh to uh maintain openAI's license to operate. And I think you can look at these and put them next to Asimov's laws, which were are basically to, you know, follow instructions, don't harm, uh, don't harm any humans and uh don't harm yourself. And uh, you know, the these uh seem like extremely parallel.

Um yeah, and I think uh yeah, he he was sort of very prescient in seeing that, you know, okay, it's it's it's one thing to lay out these goals, but then the the really tricky thing is how to how to handle conflicts. And I think in his his story is kind of the The the initial version of this was that this is a strict hierarchy where it was like one, then two, then three, and then going through all the ways in which this uh this might play out in ways that were not actually good or intentional. So

So in the spec, we these three are are not in a a strict hierarchy. Yeah. He had also had to add like a zeroth law and whatnot, the more he thought about it. But it's it's interesting because you you start off thinking, oh, this will be easy. We'll just write a couple of rules, no problem. And then you're like, oh, well There's an exception here, there's an exception there, and you have to keep evolving it. How much has using AI helped you shape?

the model spec? Uh yeah, it's a good question. The the AI is uh yeah, it's very useful and getting more more and more useful all the time. I think uh you know the the spec itself is uh still you know, human human written, but I I think uh model is really useful for you know finding finding issues in the spec or for you know applying the spec to new cases and trying to understand if it's uh doing doing what we want.

At this point, you know, models are are even pretty good at like kind of going out and finding new interesting examples or like helping to brainstorm you know new test cases or interactions between different principles that you might not have thought of and come up with with new situations that uh then we can kind of think through like how do we actually want to to resolve these.

Have you ever thought about asking it to write a spec for you? Uh I haven't, but I'll have to try that. Uh well, Jason, thank you very much. This is very interesting. I'm excited to see where this goes. Yeah, thank you. This has been fun.

This transcript was generated by Metacast using AI and may contain inaccuracies. Learn more about transcripts.
For the best experience, listen in Metacast app for iOS or Android