Technically
AI Reference
Your dictionary for AI terms like LLM and RLHF
Company Breakdowns
What technical products actually do and why the companies that make them are valuable
Learning Tracks
In-depth, networked guides to learning specific concepts
Posts Archive
All Technically posts on software concepts since the dawn of time
Terms Universe
The dictionary of software terms you've always wanted

Explore learning tracks

AI, it's not that ComplicatedAnalyzing Software CompaniesBuilding Software ProductsWorking with Data Teams
Loading...
PodcastI'm feeling luckyPricing
Log In
Technically Speaking, hosted by Megan Reynolds, presented by Railway
Episode 3 · Thursday, November 5

What DeepSeek figured out, and why you shouldn't copy it

If a pre-trained AI model is a block of marble, reinforcement learning carves it into a statue.

Listen on
YouTubeApple PodcastsSpotify
Or use the RSS feed
Julien LaunayCofounder at Adaptive ML at Adaptive MLSesh NallaVP of Engineering at DatadogMegan ReynoldsHostFounder at infra.nyc

Presented by our friends at Railway, your agent’s favorite cloud.

Original music by The Jazz Boys.

Questions in this episode#

Key takeaways#

  • Verifiable rewards grade a model on whether it actually solved the problem, checked by running code or a theorem prover, instead of on whether a human liked the answer.
  • RL only works if the model sometimes gets the answer right, so a strong pre-trained model is the starting point. Julien compares pre-training to the block of marble and RL to the carving.
  • Julien argues that defining success is at heart an observability problem.
  • The main bottleneck is data: problems, rubrics and environments for models to practice in. Math and code are easy to check; contracts and writing need human-built rubrics and model graders.
  • Fix the harness before the weights. If a model can't reach the logs or APIs it needs, no amount of training will help, and prompt or tool changes take minutes while a new post-training run takes days to months.
  • Julien thinks training your own model doesn't make sense for about 99% of startups; speed and a much better product matter more. Sesh points to Cursor, which ran on Anthropic's Sonnet 3.7 before its usage data became a moat.

Transcript#

Transcript · follows the video

Why is everyone talking about RL?

Megan Reynolds

So, Sesh, as VP of engineering at Datadog, leading the push into AI, and actually, you guys recently bought Adaptive ML. And Julien, as the founder of Adaptive ML, where you've been helping companies put reinforcement learning into kick us off. For years, the story in AI has been more data, more pre -training, bigger models. Why has RL suddenly become so popular? I

Sesh Nalla

The moment, the inflection point of the moment was DeepSeek's R1 paper that came out. That was like right after OpenAI has released their O1 model. And they spoke very little about their RL in it and the consequence of it. But once DeepSeek has like shown, and the amount of improvement that you can make after training to the model itself specifically the reasoning capabilities of it, I think all the big labs and everyone else around got really excited. And then the breakthrough in terms of research it culminated to many things and you're probably the expert to speak more about it, is the RLVR approach, where until then it was largely human feedback, and human feedback makes the models itself agree with you a lot more. And with verifiable rewards, you could certainly make a lot of environments that can give quick mechanical feedback that is more clearly verifiable, not subjective.

Sesh Nalla

You can throw more compute at the training process. And that started models like scaling again, where, when people started seeing pre -training was hitting like some kind of a block, where we don't have more data. So what do we do with this? So now, suddenly, all the feedback, if you could get the model into a feedback loop now, you're starting to get more signal, and if you can find ways to verify it, now, you can make more progress. So,

Megan Reynolds

what you're saying is, before we had human and human in the loop, and that was making things move a little more slowly. But then verifiable rewards started being being used, and that unlocked massive scale, use more compute. Maybe, Julien, can you break down what are verifiable rewards? Where did that come from?

Julien Launay

Yeah, totally. I think, very much it's kind of like an expansion of the data that models can learn from in fact, you know, it's a continuation, you know, of like getting more and more data, getting like a larger, you know, more larger plurality you know, of data, and that really comes with that So, you know, you had pre -training at first, which was very like data that already exists, you know, the internet, books, you know, papers, that sort of stuff. Then people started doing more and more reinforcement learning, RLHF, you know, with human feedback, which was really focused on like, oh, is this answer, does it look good? You know, is it like, as a chatbot, is it something that is like, you know, is this a pleasant answer to read? Is it helpful?

Julien Launay

Is it honest? Is it harmless? You know, Anthropic did a lot of work in that direction. And this kind of culminated, you know, with ChatGPT when it came out, which like really has like easier to interact with. Then I think the big finding to the point of Sesh, which was O1, and then with R1, much more publicly, was like, look, actually, this doesn't stop at just, is this a pleasant answer, or is this a good or a bad answer from a human perspective? It's like, well, have you actually solved the problem? Have you, in a very complex environment, are you writing code that is verifying a solution? Are you writing mathematics that are verifying a solution?

Julien Launay

That sort of stuff. And there's still a human component to it. Think that's really important to note, you know, there is a massive scale of human data to all of this both in terms of like, humans constructing the task defining, you know, what success looks like in this task. Like, that's still a big component but what I think is very different is like, the complexity of the task like there has been an explosion basically, in the complexity of the task that we ask these models to to pursue, you know, during reinforcement learning, and that has led to like, increased capabilities, you know, for these models like, quite quite, staggeringly.

Julien Launay

So I I think, over the past few years.

Sesh Nalla

If you can really construct a complex environment, no matter how big the problem is, so then you can make improvements in the training process.

Megan Reynolds

And what was the unlock that let us build those more complex environments? Or the team at DeepSeek who seemingly made this blow up? Or was it that they changed and did differently technically?

Julien Launay

I think it's always difficult to say, because inside, it's kind of obvious. If you look, the big insight is that if you do reinforcement reinforcement learning long enough on sufficiently difficult tasks, eventually the model learns to reason. That was a really big thing at the time, it was this idea of reasoning, of getting models to learn to output more and more tokens to think through a problem. Today, this seems very natural. We all use reasoning efforts or that sort of stuff in our Codex, in our code. But at the time, that very idea that you could teach a model to learn logic steps by itself, to learn how to solve a problem by itself, that was completely new. And and the way it's done is is very underwhelming.

Sesh Nalla

It's basically Yeah, theorems. Yeah, you have mathematical theorems and you produce many examples of a problem set Where you already know the proof for their problem set So you just already know the correct answers for them and you feed the problems to the model Ask it to come to a solution and you verify that through the theorem prover.

Julien Launay

Yeah, Yeah, and it boils down to, look, if the data is complex enough, verifiable enough, and if you have enough of it, eventually the model figures it out. Like, there was no, you know, incredible insight. You know, when there was a rumor, when these models came out, when oh one, you know, came out from OpenAI, which was like the first public reasoning model, people were like, there was a lot of this about strawberry, I don't. Know if you remember?

Sesh Nalla

so there

Julien Launay

was this rumor that, that got leaked of a model called Strawberry, which had learned to reason, that sort of stuff, and people are like, oh, it must be doing, doing these super complicated things, like MCTS, sampling different trajectories, and all of this. And it turns out that you don't need any of that, actually. It's super simple. And that was really R1 that showed this, because obviously OpenAI was terse on the details. But R1 really showed, look, there is this kind of moment where, during the training, you can see suddenly the length of the answer starts to increase, and the performance also increase, because suddenly the model learned to figure out these kind of logical steps.

Julien Launay

And that, you know, once again, I think like many things with large language model, there is not like a single insight, you know, there is not like a magic, you know, solution. However, there is like an accumulation of things that have to go right, you know, your pre -trained model needs to be very strong. If you do this with a pre -trained model, you know, from years ago, it's much more difficult to get that moment. Your data needs to be of a certain quality, you know, your setup needs to be quite robust. You know, from an engineering perspective, running reinforcement learning at this scale is quite difficult.

Julien Launay

So, like, there is more of an accumulation of little things, and eventually once, they all align, we get to like, a big shift, you know, in what we're able to do.

What does RL add to pre-training?

Megan Reynolds

So, one second, and say more about that. So, the pre -training, the pre -trained model needs to be performing well. Why is that important to post -training? Like, where's the crossover where post post -training can make the most difference, and how much do you need to be baked into the model already?

Julien Launay

Yeah, so that's a controversial subject. There have been people that have argued that basically post -training doesn't really bring any new knowledge to the model.

Megan Reynolds

It's basically just

Julien Launay

shaping the model. Some people basically view pre -training as kind of, if you think about Michelangelo and his David, pre -training is a block of marble. You get this huge block of marble, and the bigger the block of marble and the higher quality it is, the more impressive of a statue you are going to be able to carve out, and that carving out, you know, is reinforcement learning. Now, the reality is probably quite a bit more complex, like there is also evidence that reinforcement learning on his own does bring new knowledge to the model. So it's, it's, you know, reality is always, is always complicated. But, what, what I would say is that there is really an effect of, like, a bit of a rising tide lifts all boats, where like you can think sometimes of reinforcement learning as like a multiplier over pre -training.

Megan Reynolds

And. So

Julien Launay

the better your starting starting point, the more effective would be reinforcement learning.

Sesh Nalla

Maybe one take I have, like on the second half of what you, the latter half of what you described, whether it's new capabilities, or there are a lot of capabilities hidden in the model, which they just think it's dark. And in reinforcement learning, it just optimizes it so much that it brings those capabilities out through this reasoning process. My aha moment reading DeepSeek, when people tell me if it is like, incorrectly interpreted, interpreted, is the reasoning loop was able to do a lot of self -correction without programming. Previously in pre -training, if researchers do things that, OK, this is not working well, they have to go back and then reprogram things to self -correct it. But in post -training, the process was self -correcting the reasoning that kind of aligned more of the dark data to capabilities to come up.

Julien Launay

There is a really interesting effect of the models being able to backtrack and

Sesh Nalla

correct themselves,

Julien Launay

which weren't a bit at variance. Like a lot of people said, you know, there are some very vocal critics of large -language models. Said, look, they are never going to work, because every time you predict a token, there is a small chance of failure. That's the nature of it. And it just compounds. So if you predict 100,000 tokens, you are guaranteed to fail, and you are guaranteed to go bad. It turns out that this is a bit more complex than this, and that models are actually able to backtrack, to self -correct themselves. And that was definitely one of the, you know, So definitely one of the really big things.

Julien Launay

I think another aspect not to forget with reinforcement learning specifically is reinforcement learning is quite difficult. So basically, you know, when you do reinforcement learning, you are asking the model to solve a task. Like you are not showing it how it's done.

Sesh Nalla

How it's done, yeah.

Julien Launay

You are telling it, solve this. And then the model solves it or not. And you grade it. You know, you give it a reward. So if it did well, you know, you give it a positive reward. If it did badly, you don't give it any reward or you give it a negative reward to penalize it. It. But that implies that the model can get it right sometimes. Like if you are just constantly saying no, no, no, no, no, the model is never learning in which direction to go. It's just learning in which direction not to go.

Julien Launay

And so it implies, you know, that the model has some level of capabilities that enables it to get started. You know, you can't, if you use, you know, if you want to train a model on mathematics, you're not going to start by like asking it to solve Millennium Prizes, you know, like that's not going to work. You need kind of like a laddering

Megan Reynolds

of difficulty.

Julien Launay

And that's really difficult, you know, in reinforcement learning historically because reinforcement learning is not new you know, like there are some very big results in the 2015 you know with Alpha Go and that sort of stuff. But at the time, you know reinforcement learning had a bad rep you know, for being very unstable, very difficult to get right, because in all of these cases you were cold starting you were starting from a zero. Yeah, exactly. For a model that didn't know how to play Go, they don't know how to play chess or any of this game So really, you were in that position initially, of no, no, no, no, no, like, what you are doing is never good.

Julien Launay

The signal that was saying yes was very thin and very sparse. It was a very fine line, you know, to walk of like staying on that and expanding possibilities. With LLMs it's very different because a pre -trained model is really strong, like already knows a tremendous amount, already knows how to do many things. So when you get started, you have all of that knowledge already to work with. Is And that's another really big component of of what has made this possible, you know, is having such capable models. Because if you call like, you know, if you start, a model just with reinforcement learning immediately, it doesn't work. Like, you're not gonna, like, it's it's gonna be a very painful journey.

Why does Datadog care about RL?

Megan Reynolds

And so where's the difficulty moved? So the difficulty, it sounds early on, was really not having clear rewards or or not having that yes path. Where, where's the difficulty moving today? And maybe Sesh, like, what was it at Datadog that made you start paying attention to reinforcement reinforcement learning? Because

Sesh Nalla

we have a lot of surface in which users use. We have, like, a product that we could, once we have activated intelligence in it, we get a lot more feedback, and then we can optimize the models to towards their surface, which, this data is not in pre -training. So pre -training is like lots of general textbook world knowledge, but when you get very specific to lots lots of messy, real -time state of systems. These are all private data, mostly for our customers or mostly from our own usage.

Sesh Nalla

And our thesis is that this will accelerate the notion of self -driving infrastructure. For that, you need to be, even when Tesla came out, there was no self -driving to start with. There needs to be a car to start with, and then you need to start using it and driving it with some intelligence in the loop, and then you will learn, you will fix every single deviation or every single problem that it encounters and eventually we'll get to that state of full self -driving and that is done through RL. Also the other application of RL is like truly from autonomous driving like the first before but there's a lot of is private right so what is like different in systems people have been applying ML for a lot of private distributions for a long time like auto scaling systems or in data data science, large scale data movement, and things like that, scheduling problems.

Sesh Nalla

But with LLMs, like what Julien said, now we have a very intelligent, pre -trained, already available model, which already knows a lot of those things, but we need to get them to work in real time towards these problems, and how do we do that? Then we kind of very quickly thought about this is our application of RL on our private data, so we need to invest very early.

Megan Reynolds

So you had the production data, you had lots of use cases where you had a clear reward or a clear answer, and you had users that would

Sesh Nalla

help you find them?

Megan Reynolds

We could construct

Sesh Nalla

environments for a clear reward.

Megan Reynolds

You could construct environments for a clear reward. Yes. Break that down a little more.

Sesh Nalla

Take a typical full stack application with, you have the front end, you have the back end, you have a database, you have a bunch of queues. And If you want to like run, how do you what do you do to operate these systems like, when you deploy it, when you make a change to this, what is what is the what is the action that you're taking and what is the effect that it is having on it? In reinforcement learning you need to have that very quickly because you'll be, you need to be able to run thousands of those concurrently to be able to like, make the learning possible. If you have to do that in wall clock time, it is going to take very long or it's probably not enough distribution or diversity, like what you get to

Megan Reynolds

improve quickly enough.

Sesh Nalla

So, you could abstract that problem into a simulator that can very quickly move and give you the response that you can have. So we can model the dynamics of it, and we can replicate it into a fast -moving simulator, and then you give that to a post training process for evaluating. Am I close?

Julien Launay

Yeah, totally. And I think for Datadog, there's something quite fundamental, which is, like, if you think about reinforcement learning fundamentally, there is, you know, that idea of you let the model do something and you measure what it has done, you know. And so there is that component of measurement. And really, in reinforcement learning, all of the difficulties in that measurement, I mean, all is a bit of an exaggeration, but a lot of the difficulties in that, in defining what is success. And at its heart, this is an observability problem. You know, this is a problem of, like, you know, have I instrumented sufficiently my environment that I know that what the model is doing is right or that the model maybe is cheating or that the model is maybe not doing anything? And that's fundamentally an observability problem. And look, Datadog is an observability company.

Julien Launay

And so it makes a lot of sense for us where we are thinking, for instance, you were giving this example on the software stack. You have a very big stack running. The systems are instrumented with Datadog. And people put monitors, they put alerts to alert them of like, oh, is the system in a healthy state? You know, they define what is an healthy state in Datadog. And we can use that very same idea, that very same concept, to teach a model of, look, right now the system is unhealthy. Now make it healthy.

Julien Launay

And that's from a very distant view. But we can drop the model into a simulated environment where the model comes in, there are alerts in the Datadog monitor, there are issues, there's streams of observability data coming in. And it's like, get this infrastructure back online, you know, kind of like as if the model was dropped into a SEV1 or SEV2 incidents. And, that's, you know, idea, I think, is, is there is a really natural pairing, basically, between observability and reinforcement learning. because, like, the two are very interdependent on one another, and, and are really powerful together, which I think, like, really, a Datadog makes, A

Sesh Nalla

lot. And also, what is a good state is known, and whenever it is deviating from a good state, you are getting alerted, you are getting paged, or you need to, do something, it is humans are doing today. And that signal is very easy, like what Julien said. One thing, system degraded, Datadog will know when it get back to steady state because everything is measured, so you will actually know the history of what a steady state is. If you can construct this feedback loop into an environment and make it fast enough, it is much easier to make progress.

Megan Reynolds

And, what, what, this was the secret sauce, of Adaptive ML that meant that you had, had cracked this problem? Or what had you built that Datadog didn't have?

Julien Launay

So I don't want to be very cynical about this. I don't think that in this field there is a lot of secret sauce. Like I think, as I mentioned before, I think it's mostly a question of high quality execution. It's not that there is one magic insight that makes you better. It's more that there is 1,000 little decisions where you can take them wrong, and each of them adds a little bit of friction. And at the end, your result is not as good. So I think at Adaptive what differentiated us is we were very early on this reinforcement learning thesis. We started, you know, the company a bit over a year and a half before, you know, DeepSeek R1, so actually for fun fact, you know, first year it was very difficult to sell, you know, to customers because we are selling a reinforcement learning platform and no one

Sesh Nalla

knew what it was.

Julien Launay

Because in fact we

Megan Reynolds

had a

Julien Launay

conversation with Datadog at the time and And it was like, oh, like, well.

Sesh Nalla

Yeah, it is cool, but not yet ready.

Julien Launay

Yeah, like, what are we going to do with this? It wasn't so obvious. So the whole interest didn't really shape. And we were lucky to have a few early customers, like AT &T, who actually saw quite early what would be possible. And then it really grew up after DeepSeek R1. That's why there was a big drop in interest. But I think for us, what we really benefited from is we were very focused on reinforcement learning from day one. So when the world really blew up about this, we had a bit of an advantage of being early, having done a lot of the bad stuff first, you know, and having iterated on it and being like, look, we know how to run these systems, we know how to build them, and we know how to get them to production, which is a really big thing.

Megan Reynolds

What gave you that conviction early on, before it was obvious, before it really worked, it sounds like? It kind of wasn't working.

Julien Launay

It did work, it did work, you know, I think.

Megan Reynolds

Very constrained use cases.

Julien Launay

Yeah, yeah, exactly. And I think for us, basically, we so we we worked on some on some pre training, like on some on some open models, you know, that were released in 2022. And we were doing a lot of pre training. And obviously, pre training comes a question of post training, because there was ChatGPT had just came out, and we're looking at this sort of stuff. And we started experimenting with reinforcement learning. And when we worked with reinforcement learning, it was incredibly exciting, because we could see that the idea of it, the paradigm of it is extremely elegance, like this idea of like, look, now I have taught the model a lot by like, just giving it, you know, basically teaching it to reproduce. And now I'm asking the model to come up with something on its own. And I'm evaluating that. And it's very like, when you start playing with this idea, it's very obvious that there is something really strong in what that enables you to do in like, the plurality of data you can bring, you know, all of that is like is tremendous. And it's a little like, I think, philosophically, it's very easy to understand why it's really important. You can think back at school, you know, you learn in two ways. You know, you don't just learn by reading the lessons, you know, by or by attending the solving problems. Exactly. You have to do the homework. At some point, you have to do yourself the exercise, because if you don't, you know, you don't understand anything, and you just thought, you know, essentially, there's a lesson, and if the slightest thing change, you can't, you know, solve it. And, and, you know, pre -training is like only that first mode of listening, basically, RL gets into doing for the model, so obviously it's very elegant. The problem with all of this was infrastructure, and that's what kind of started our thesis on Adaptive ML, which was like, while post -training is, from an engineering perspective, is a massive pain. And it is so because pre -training works at very large scale, although it has its own challenges, but it's a very simple and regular workload.

Julien Launay

You have words that come in, you teach your model to predict them, even at the largest of scale. You know, yes, you have networking problems and all of these, but it's, it's a very regular, very, like, straightforward workload. You're just doing these matrix multiplies, and that's it. reinforcement learning is much more difficult because now the model has to predict text. So you have to actually run inference, which, you know, now means you need to sample from the distribution of the model. It's an iterative process.

Sesh Nalla

Inference at the time of training.

Julien Launay

Yes, exactly. Inference, and then you alternate, you go back from inference to, to training, and then you have multiple models interacting together, because sometimes you will have, for instance, an AI judge, another model rating the output of one. Then you will have environments, because now the model might use tools, might want to execute the code. Because if you want to evaluate the code that the model is writing, well, very likely you need to execute that code. And so all of that suddenly becomes a very, very complex system, which has many moving parts, which

Megan Reynolds

is not

Julien Launay

like a monolith anymore. Anymore. And that requires a lot of engineering work. And that was

Sesh Nalla

also the reward reward modeling.

How does an RL run actually work?

Megan Reynolds

So let's so let's spend some time on the mechanics because I think we're getting into the the the meaty infrastructure part of this step through it. Give me an example of say I'm sitting down tomorrow, I'm going to train an agent using RL. What steps do I take? Give me maybe Julien, give me a use case. And where do I get started? What do I.

Julien Launay

Yeah, it's a bit like so it's. We'll scope it to be quite simple. But let's say, for instance, you have a set of mathematics problem and you want to teach a model to solve them, and you're going to have the model maybe generate some lean. So Lean is basically a programming language for maths, is a very simplified way to describe it. So what's going to happen is first, you're going to need to have data. You're going to need to have a set of problems that you want the model to solve, and you are going to need to know the answer to these problems, because you need to be able to say to the model, you are doing well or you are not doing well.

Julien Launay

and then, you know, you are gonna run these problems through the model basically asking it you know what you predict. Where this gets complicated, is that although the model, so, is gonna generate some Lean, is gonna generate some code, you will need to run that code, you know, so you will need in a sandbox, to to, run that code, to execute it, to see its outputs, and then you will compare its output to you know, what you expect it to be. and

Megan Reynolds

a sandbox here means,

Julien Launay

sorry. And

Megan Reynolds

a sandbox here means,

Julien Launay

basically an isolated execution environment where you can run this, you know, you know, in like a safe way. In the case of mathematics, probably not that you

Sesh Nalla

probably don't need a lot of that.

Julien Launay

Probably not that big of a risk, but, you know, as an

Megan Reynolds

example. Yeah.

Julien Launay

Now, if you think of a model running actual codes, just as without getting into anything really malicious, but like like, look, the model might do something really dumb. It might wipe the disk, or it might cause a crash. That's really bad. If you have that happen on the same system while you are running the training, that's obviously terrible.

Sesh Nalla

For the math example you gave, can I give a direct layman example of, do you know Pythagoras' theorem, where you have a triangle where there is a right angle at the root, and then there are two other sides? So, where you can calculate the side of the longest side of the triangle, if you know the other two sides, when you add them square and square. Okay, so, let's say you give in the pre -training, let's say, let's scope it down to very simple. You only give a geometry textbook as a pre -training to a model. So now, the model knows pretty much all of the geometry. And let's say, it is also instruction following.

Sesh Nalla

You ask it a question, it'll give you an answer. So you can give it a question as, okay, I'm giving you this triangle with a right angled triangle where you give the sides and ask it to calculate the the longest side of the

Megan Reynolds

triangle. The

Sesh Nalla

model might guess the answer like, immediately. It may get you right, it may get you wrong, because it is not yet, it has all the knowledge, but either it may pick the answer from the training data, if the problem or the question you're exactly asking is there there. So when you reinforcement learn, you force it to learn to solve this problem. So what you give is, okay, I'm going to give you 500 problems of 500 combinations of these triangles and all follow the same theorem. I'm going to produce this data from this single theorem because you can just produce, give me 500 examples of this theorem. So, it will give you 500 triangles of such examples, and you will feed all the questions which you know the answer to them, and then the model will learn to reason to get to the answer. It is almost like a quiz. Like what Julien said, you read the text work now you quiz to solve this problem. This is what we did in school, right? And then by the end of that, you get extremely good at fast solving the problem, but also you'll get correct towards getting to their problem.

Julien Launay

Because a really important part is that every time the model predicts something, then you evaluate that, you know, it's what we go back to that concept of rewards. You basically give it a reward for how well it has done, and, And then that reward, you kind of teach a model. You either encourage its behavior. You say, look, this was good. And so you encourage it to produce it more than

Sesh Nalla

what it has produced.

Julien Launay

Or you say it was bad. Let's do less of that. But that's a very basic loop. Basically, that is, if you do this, you are doing reinforcement learning. Where all of the complexity comes is like, one, maybe you are going to want a reward that's a bit more complex than just, oh, have you done it well? Maybe you want it to format its reasoning in a nice way. You want it to present very clear. And not just dump on you something that makes no sense, but present it in a very nice way.

Julien Launay

Maybe you want to penalize it for certain behaviors. You don't want to allow it to use certain things. Maybe on the opposite, you want to allow it to use tools. The model is not a calculator. You want to allow it to use a calculator, maybe.

Sesh Nalla

To verify its output. Yeah, to do math. To do basically that.

Julien Launay

Because if it's calculating, I don't know, for instance, if we are doing geometry problems, problems, you care about the method to find how it gets to there, you care about the equation, but you probably don't care about it being able to do floating -point numerics very precisely. We already have computers that are amazing at this. And where it gets a little complicated is the set of problems. Because obviously in that example, it's very simple. It's like, oh, OK, well, triangles, calculate square triangles, calculate the hypotenuse.

Julien Launay

But in reality, you are going to want to generate something much broader than this. And so it's going to be, you know, a geometry problem. But who is going to create these problems? Some of it you can generate because they are like a category of problems. You're going to use another model, maybe a better model, or maybe a model that you are steering to generate them. But some of them also needs to be genuinely new. And so you are going to need humans to come up, you know, with interesting problems for a model to solve. And then the

Sesh Nalla

Millennium Prize problems.

Julien Launay

Like the Millennium Prize problems.

Megan Reynolds

Then you get complications.

Julien Launay

There's only so many of them.

Sesh Nalla

So, you know,

Julien Launay

they're quite precious as data points. Points. But for instance, if we go back to something a bit more concrete, which is what enterprises are interested in, what the model you are teaching it is like, for instance, it's like, oh, check this accounting spreadsheet and make sure it's correct, or help me do due diligence in M &A, or help me review this contract to check the clauses. And this sort of stuff, fundamentally, compared to mathematics, mathematics is very easy to verify, and I put that is in quotes, Because

Sesh Nalla

it's a fast to verify, yeah. Clear

Megan Reynolds

answer. Yeah,

Julien Launay

somewhat faster, but like, have you checked the contract properly? How do you verify that? Like, we don't really have a language, you know, we can't compile, you know, you know, the contract to, to a language, so it's actually to a formal thing. So like, and then that's where the human stuff comes in, where you know, you may have humans that are gonna rate the answer of the model, you may have humans that, that are going to build criterias, so rubrics, to describe kind of how a teacher would grade its student. So if the contract has been, if they have checked the clauses in this way, blah, blah, blah, then you give that many points. And you are going to give these rubrics to another model, which is going to rate the first model. And you can see the complexity kind of that builds here, which is like, look, it's kind of like the Russian dolls. They're like, oh, there's another model inside. And you use, you kind of scaffold increasing complexity in terms of data generation, data verification, and all of that to build increasingly complex systems up to solving Millennium Prize problems.

What limits RL?

Megan Reynolds

And what's the biggest bottleneck there? What's the hardest thing that we're still solving in that space?

Sesh Nalla

The formalization of the data itself, like what Julien said. We are making very fast progress on all the domains that are easy to, like for math was the first, coding next, and now if people are trying tax code, code, healthcare code, there are domain -specific languages and formulations are being formed. For tax, I think there is this language called Catala, the French tax code is being formalized. Do you know that? No, I didn't know. They're like, companies trying to take domains like these where there are rules so far only written in English and prose, and you want AI to solve those problems, convert them into languages that you can put theorem provers, and like, convert almost them very close to math and coding.

Sesh Nalla

And if we can get more domains like this, we will make more progress on those. Finance, also, like, financial domain also is possible, like, that, but a lot of that is private. Tax code is still public because everybody needs to file their taxes, but a lot of wealth management and, and, And, equity trading is locked in, in institutions, who does private management.

Megan Reynolds

And so in that framing, is the frontier of RL or any effectiveness we're going to get out of RL, is that limited by the kind of correctness in the domain? Does that give us a line? It is a data.

Julien Launay

So correctness, to an extent, you can go on it with humans. You know, where basically having humans, you know, do the verification or having humans teach a model to do the verification correctness helps a lot. Like when you have like that sharp correctness, you know, very formally verifiable correctness, that's much easier, but, you know, we can still teach models to do things, you know, that are less formally verifiable, but.

Megan Reynolds

Humans may also disagree.

Julien Launay

But yeah, yeah. So there is that sort of stuff, like for instance, you know, sometimes the answer is not necessarily, you know, like if you think about writing, you know, if you think about a book, you or some service, how do you evaluate that the model has written an exciting scene? There might be many, many variations that may be acceptable, or even different, completely different styles that you might have.

Sesh Nalla

Highly subjective.

Julien Launay

Yeah, highly subjective.

Megan Reynolds

And does that mean that RL is not effective in those cases? Or how do we evaluate that?

Julien Launay

It is very likely effective. The question is just that you need more data.

Sesh Nalla

Also, isn't that rubrics that you need to label? Yes, exactly.

Julien Launay

So you are going to have to explain

Megan Reynolds

the rubrics.

Julien Launay

So the rubrics idea is what I was saying before, which is like ratings, you know, like kind of like different, you know, categories of ratings. So for writing, you know, for instance, there is probably some very basic stuff about like, is this grammatically correct? Is the flow, you know, good? Is it like, is it well -rhythm? Is it not using, you know, LLM slop, you know, words all the time? Is it engaging maybe? And then, you know, as we go more and more to building a story, you know, the categories can get like, are the characters are compelling, you know, are like, you know, are they talking in a realistic way? Are they like all of that sort of stuff?

Julien Launay

And that's, you know, what's really interesting, well, I think it goes back to that Russian doll kind of thing, is that the reason why we can go away from formal verification is because, to an extent, LLMs are formal verifiers of language in a really weird way. And they are not formal, they are, you know, none of that, but they are verifiers of language. In a way, you can think of them as compilers of language because you can give an LLM a piece of language and it can tell you its properties. It can tell you, is this a positive sentence? Is this a negative sentence? Is this an interesting thing? Is this not an interesting thing?

Julien Launay

So LLM can tell you that. And that's where we have that scaffolding of building increasingly complex systems. But that boils down to the thing that's difficult here. And yes, compute is a bottleneck. Engineering complexity is a bottleneck. But at the end, it all boils down to data, to data to interesting problems, to the formulation of these rubrics, to building grading system for this. And that's, you know, today like tremendously human driven, you know, this is why companies like like Surge, like Mercor, like Scale have been tremendously successful.

Julien Launay

And we need, you know, an amount of data to fuel these models, you know, that is that is that is incredible. And some of that data is getting increasingly difficult to get because so far we have only talked about, I would say, purely intellectual tasks where, you know, you are basically interfacing with a computer. You know, like it's like, oh, I'm writing a book. So I'm writing maybe in Scrivener. I am checking accounting, so I'm opening, you know, I am, you know, but for instance, let's say I want the model, and we'll stay in somewhat intellectual realm, but let's say I want the model to do intellectual discovery, so, sorry, not intellectual, but scientific discovery. I want the model to do maybe, like, material science research.

Megan Reynolds

But now.

Julien Launay

I need to operate equipment and I need to, you know, get measurement, analyze that. And that now is a completely different kind of data, and companies are starting to go there, but that's like an incredible endeavor where we have to build labs, you know which are addressable by these systems, you know, which models can interact with in a scalable way to do, like, you know, material science experiments, to do, you know, to do all of this sort of stuff. And that's really the bottleneck today. It's like how, we need, you know, at the end of the day, reinforcement learning is about letting models try something and judging them based on that. How do we build as many of these kind of gyms, of these classrooms, you know, for model as possible? That is the bottleneck, you know, is building these classrooms where the models can learn basically as wide of skills as possible, but

Megan Reynolds

It sounds like, from what you said before, mathematics, coding, we have extremely high volume, we have fast verifiers, as a compiler at the end, with, you know, taking that to the nth degree of, like, a lab or even an automated lab, you know, that's still, we're still bottlenecked by human actions or even just experiments running maybe over days. How, how do you get the kind of volume to make the kind of leaps that we've made so far. Like, what, what is that bottleneck, and how do we even try to move it?

Megan Reynolds

It's a

Julien Launay

Really big question. I think right now, I think part of the hope is that there is transferability, which is that, you

Megan Reynolds

know, part

Julien Launay

of the hope is that the model will be a better thinker through this task that exists is purely in the digital domain, which can be scaled virtually ad infinitum. I say virtually because, to be honest, from an engineering and compute use perspective, actually, we are hitting limits. But it can be scaled tremendously, and that there would be some transfer, however meager. It might be very small, but there might be some transfer that will make the model smarter so that it will learn these other tasks much more efficiently. And that goes back, actually, a little bit to the pre -training discussion we opened on, which is that, look, if you start completely from scratch, from zero, you know, from randomness, and you put a model in the lab, nothing is ever gonna happen. You're gonna need to spend the age of the universe before the model does any virtually interesting experiment. Now, you know, if you have trained the model a little bit, you know, if you have gone through pre -training and maybe even through some post -training, and you put a PhD level model, you know, in, maybe that is like the equivalent of a PhD in in mathematics, well, it might be able to figure out how to work the lab in just a few years, like in much less time. And now, if it's even smarter, maybe we can compact that time down even a little more. And so I think there is that hope, which is that there is going to be some degree of transfer, and that the number of samples are going to be much more data efficient. Basically, the more a model already knows, the more it can be efficient at learning new things. I think there is a really big hope on this. Which is the

Sesh Nalla

only controversy there, if I can add, is learning. I think probably yes, because you are teaching or having it apply math, coding, and so you already found the model to be more smarter. Can it come up with original hypotheses that can unlock new? Is that proven?

Julien Launay

I think that's a controversial question. Tell me the controversy. Yeah. Well, to the point of Sesh, some people basically argue that even as grandiose as some of the the findings that Model have made, and the latest one at the date of recording was the Millennium Prize on Navier -Stokes, it didn't really like the form of Navier -Stokes is proven. And just to roll back maybe a little bit for people that are not familiar with this. Basically, the Millennium Prize on Navier -Stokes. So Navier -Stokes is this fluid mechanics equation.

Julien Launay

And the Millennium Prize is about the behavior of that equation. Can it become unstable, basically? And that might give us information about, like, where is it valid, you know? And so we know some aspects of that. We know conditions under which it can be unstable. We know conditions under which it can be stable. But we don't really have, like, strong counter -examples in the cases that the Millennium Prize interest. And there are two ways that this Millennium Prize could have been solved. It's either proving that, actually, it's always stable. Like, actually, there is no, you know, under the condition that they have set, it's always good, you know, it's always, like, the equation always kind of works, doesn't blow up, doesn't create a singularity that is physically impossible.

Julien Launay

And then there was the other thing, which is to find a counter -example. Find a counter -example of like, in this case, it creates a singularity. Now you might get something, which is finding a counter -example is much easier than proving the general case of no counter -example exists. If you are proving something, it's much easier to come up with a counter -example than to prove that no counter -example exists. The way it has been solved, the way the model the model answered it, it found a counter -example.

Sesh Nalla

It found a blow -up example. Yeah, exactly. OK.

Megan Reynolds

So you can prove that it is.

Julien Launay

Which is unsurprising, by the way, because I think if you asked people that do research in fluid mechanics, I think most people would say, yeah, a blow -up is going to be found, because it seemed to be leaning this way from other bodies of work. But that's to the point of Sesh, some people might argue, just finding a counter -example is not very creative.

Sesh Nalla

In a restricted environment is not creative.

Julien Launay

Exactly. It's not very creative. You already have a problem statement, statements, and you are just finding a counter -example, like it's not like you are proving something fundamentally new, you know, like from scratch.

Megan Reynolds

But no one had found a counter -example yet.

Julien Launay

Because it's a really difficult one.

Megan Reynolds

Because it is. So it is new and it disproves the hypothesis that, you know, there will never be a change.

Julien Launay

Exactly. And I think, you know, to that question right now, there is a bit of a contested debate where some people say, no, but this is amazing, you know, this is already a lot. And some others will say, no, but look at the pattern of scientific discovery from AI, which is a very recent thing. All it points to is usually counter -examples, or it never constructs a new theory. It never constructs a new thing. And I think the jury is still out. Personally, I tend to believe that it's actually not an issue. I tend to believe that it's more like the question of the problems that we pointed to, and problems that will lead themselves to creating entirely new theories are extremely rare. I mean, we have spent, we as humankind spend, you know, trillions of dollars already every year. Like the intensity of human effort we put towards, you know, pretty much any open physics problem is tremendous. So obviously all of the low-hanging fruits are gone. So it does going to have to be something fairly complicated for a model to have the opportunity to demonstrate creativity.

Julien Launay

But, yeah, like, I think it's, but that is one thing today where people are like quite, I think, heated up about, which is like, look, is this is there something creative here, or is it just like, you know, just mining counter example.

Where do models practice?

Megan Reynolds

there, so there are companies running sandboxes that say you can roll out a million concurrent sandboxes at one time. Where is simulation and running sandboxes concurrently like that, how far does that get you, and and at what point do you need real production experience? We, help me understand that, maybe Sesh.

Sesh Nalla

You mean in training, right? In

Megan Reynolds

training. Yeah.

Sesh Nalla

Yeah, so for training when you have a million scenarios that you want to run, you want to like take the same base setup, you don't want to repeat it. The setup and tear down, you don't want to repeat too many times, and you want to be able to like snapshot the same across million scenarios. Take the the Lean theorem prover scenario that Julien mentioned. Setting up lean is expensive. So you set up once for your run and then you fork for all your scenarios and how many sandboxes that you want with the same setup until you finish the experiment.

Sesh Nalla

So that is during training and a lot of sandboxes because they need to preserve the state, they need to come up really fast and when they go off and then continue, they need to continue off like where you started. It, and it also needs to be fairly self -contained and isolated, so things can't escape out of it, and, and, you know, gain internet access, like what we have seen, in some of the examples. So that is during training, and in, in production, like, people do use, agentic sandboxes for a lot of, when, when models got very good at writing code. And when they try to solve their problems writing code, they need the sandbox environments for them to, like, produce that, and also, on them. These are like live in production state, so agents. Most of the coding agentic products, they do a lot of their work in sandboxed environments and they scale according to the task that you give it to them like Lovable, Replit like this kind of ones. So they also need to scale to whatever concurrency that they might need for that particular task. But that is truly production.

Sesh Nalla

But what we have not done so far, I don't think there is a very clear production application of just in time you make the model produce code and start putting that in production and have it solve like live use cases like okay, this is my new tax application like now it is producing new code and it is in the critical path of request. We haven't done that, why? Because we don't trust the models to yet produce that code to be able to like run, preserves the same rules or semantics of the past. It can completely change them.

Sesh Nalla

There is no way for us to easily verify them in the same just in time loop. There is an active research that is happening there around, Can we make that code itself formally verifiable, so we can just give the models agency to just like, run them in production. Well,

Megan Reynolds

what's the bottleneck there? Why can't we do that today?

Sesh Nalla

It's just a amount of languages that can be formally proved, and then the time it takes to prove, the, proving time that needs to happen before it's submitted, and then it needs to take online requests. So that is quite compute bound, and in the techniques that we have today, and there is an active programming language research. So that is a bit of a tangent, but to your question directly, these are the three stages you need sandboxing. I don't think there is anything in pre -training, right?

Julien Launay

No, no, no. Yeah,

Sesh Nalla

so mostly, largely on the RL rollouts, and then agentic tasks, and then live requests.

Julien Launay

Yeah, for pre -training, maybe for data generation. That is data generation before pre -training. And I think, to your point about production versus simulated environments, the simulation, you have to see it from something. You cannot create data ex nihilo and hope for the best. It has to come from a seed. I think it's better to view simulated data and to view synthetic data as a multiplier, you know, of data that you have. But if your data initially is zero, well, zero times whatever is still zero. So at the end of the day, you are not getting anywhere, which is like, I think, you know, when you think about this system, like this million of sandboxes or even more, you have to fill them with interesting problems, you know. And that's where, you know, to an extent, production is interesting to learn, you know, basically to learn examples, to see like, oh, we have had this type of failure.

Julien Launay

Very often we see that scanning down an instance of this type in a database is a problem. Let's create scenarios now. And that's where we switch to a synthetic domain that's like, based on this incident, can you generate 1,000 similar incidents with slight variations that we can explore? So I think the two works in conjunction. I don't think it's one or the other. It's not like, oh, do you use only live production real data or do you use only synthetic data? Or often you see this debate framed this way.

Julien Launay

It's not that, it's more you use both. Like really, you need as much as you can. And synthetic is a multiplier on the base data, basically.

Megan Reynolds

How do you know when to use either? I mean, it sounds like that's kind of a circular relationship, so who is making those decisions? How do you make those decisions?

Julien Launay

I think it's very often, so one, you know, synthetic data, there are caveats to synthetic data as well in terms of quality, you know, in terms of verifying that, you know, it's indeed representative of what you want. And it's like people used to call this for robotics, like the sim -to -real gap, like the gap between simulation and reality, of you need your environments, your simulated environments, they need to correspond and to transfer to reality. So there is a component of you quantify, basically, how good is your synthetic data and when you can put it. I think the other aspect is a much more practical aspect, which is sometimes there is data that comes from production that you might not be able to use directly for legal reasons. Maybe, because you know it contains like your company, you know, dealing with in the medical domain, it might contain PII or like information about the health of patient which you could never put, you know, into the model. So in that case, synthetic data can act as like a cleansing layer. Well, you know, you are gonna remove that PII, replace it, you know, with synthetic information. And in that case, your decision, you know, is more driven by, you know, legal considerations.

Sesh Nalla

Is there another case of, you want to increase the in distribution of certain certain types of scenarios more, that you want to generate the surroundings.

Julien Launay

And then you would put more production... Yeah. Yeah, yeah. Totally as well. Maybe you realize your model is very off -balanced and you need to bring more production of reality as well back to it. That's another thing that can push you.

Megan Reynolds

And so how does that process work? So you've rolled it out to production, you've got your sandboxes running, you're getting these learnings. At what point are you changing the weights in the model versus changing the infrastructure and the harness, everything that you've wrapped around the model? What's that process? Us. How do you do that if

Is it the weights or the harness?

Julien Launay

there was a clear answer how

Megan Reynolds

do you approach it? You're doing it.

Julien Launay

Yeah. I, I think it's I think it's more, it's better to think of this as loops that iterate at different speeds, okay, where the harness you can iterate very fast, model training is much slower, you know. It's going to be a matter of days or weeks or months, depending on, on what scale your model, what scale of model training we're talking about. So, I think it's more like multiple loops that overlap on one another, and you know, you you, have this like, an out like, a very big slow loop, which is like new generation of models, and you have a slightly faster one which is new post trains, and then you have an even faster one which might be tweaks to the harness, and you know, kind of, you're pushing all of them at once, basically, and trying to align them as best as you can, and it's just like dealing with, with very different time scale basically of progress. So,

Megan Reynolds

What's, maybe, Sesh, what's an example of something where you're like, oh, this is a weights problem versus, let's tweak the harness? Like, can you think of an example, if,

Sesh Nalla

If a model cannot accomplish a task at all, and, just like you can't get a reliable answer from it, you can't tweak a harness to solve it, and you need to, like, either teach the model, where, wherever that teaching needs to happen. If it needs to go all the way into pre -training and then do it, which is rare, like these days, like our models are largely capable, so, you will, you will have that capability, and those, on those activations available inside the model. And in post -training, now they will decide, okay, this kind of task, our harness is not performing really well.

Sesh Nalla

It is failing five out of 10 times. So that means we need to get the model to get this better accuracy and also completion towards that. So that becomes like a weights problem. And then you create more examples, evaluations, and then you try rolling out until you improve the the accuracy and also the results, like having it complete and also accuracy of the result. So that becomes a way to fall right. Yeah,

Julien Launay

yeah, and I think it's actually much easier to answer the opposite question, which is, when is it, when is it a harness problem? And I still that's very obvious here, which is, context. Like, for instance, let's say, you are trying to get a very Datadog example, but like, let's say, you know, you're trying to solve an incident, you know, what does the model need? Access to information about that incident, you know, needs to be able to query the right APIs, you know, it needs to be able to to bring information, logs, that sort of stuff. If the harness doesn't allow that, you can pre -train, post train, mid -train as much as you want, the model is not gonna, you know, like, conjure information out of scenario, like, it's not gonna happen.

Julien Launay

So I think sometimes, you know, it's very obvious to identify, you know, oh, this is like a harness problem where basically, like, you know, we are not bringing in the right, the right information that is like the live information that is needed, the right context. On the model problem, the weight problem, very often I think this is kind of behavioral, like where the model is not exactly doing how you want it. So then you try to fix it first with the harness because it's very easy.

Julien Launay

Change a bit the prompt, try a few things. And if that doesn't work, that gets piled on to the list of things.

Megan Reynolds

But I guess it could, you know, you say context is needed. It sounds like you go, okay, fix fix the harness first, let's fix the context. How do you know if you're not just putting in the wrong context? Still, like, that feels like the tension.

Julien Launay

Yeah, yeah, I mean, I think that's like, it's it's, a difficulty as well of knowing what is needed you know, the

Sesh Nalla

task itself in your domain, like what are you trying to accomplish,

Julien Launay

what are you trying to solve, and everything. And like, there, is there is a very fine line to walk between, like, overwhelming the model with you know, like 500 tools, and being like oh, you can do all of these things, and good luck, you know, figure it out, and steering the the model more towards, look, there is a limited set of tools, a limited set of information. Or relating the models, how do you leave the model agency in figuring this out? And you can see this even, you can see that behavior change from model, even from the big model version. I think a great example was Astra when it came out. Well, historically, models have strongly preferred interfacing with MCPs, with CLIs. And I was like, Astra has been, you know, extensively post trained and extensively branded to do computer use, you know, so directly interface with, with the UI, and when I started using Astra, I realized most of the time, even sometime when a CLI was available, it would, you know, go into computer, it's like, it wouldn't say, oh, let me open the website and let me go into it, and that's a behavioral thing where, basically, the model is, has been, you know, leaned in on this new thing that it know how to do.

Julien Launay

And obviously, you could fix that through the harness. You could say, if a CLI is available, don't go into computer use. But maybe that's not enough, and you need to post -train it. You see a very nuanced way in which the models choose to interface with your environment, and it's kind of like you have to craft that. But really, I think the biggest thing to remember is, the thing that's most useful, I think the model that is most useful on this is, there is live information that you are never going to be able to compensate with any form of training, like access to fresh live information is not something that any form of training is going to compensate for. So you need to fix that first, like if the model does is not being fed or does not have access to the information it needs to tackle the task is done, it's game over. And the second one is to keep in mind, you know, these different timescale, where it's very easy to trigger this, it takes you just a few minutes, try it see how it performs, forms, that's very easy.

Julien Launay

It's a little bit harder to post -train a new version. And it's even harder to pre -train a new version. So there's kind of, I think, a scale of escalation, where it's like, well, we couldn't get the harness to fix it. Let's dump this into the post -training pile. But first, let's try with harness.

Sesh Nalla

Yeah, the behavioral correction. Maybe, one other thing that I can say there, correct me if I'm wrong, is once you have given the right data, once you've figured out to solve the problem, if you want to do that very fast, more efficiently, also, it's a weights problem. Otherwise, you could still repeat the same problem with all the right context and right harness, but it can be slow or more expensive.

Julien Launay

Yeah, yeah, it's like, it's, it's sometimes you can focus the model to be, to find the shortest path instead of to

Sesh Nalla

get to that answer. And

Megan Reynolds

so if I'm an AI startup today, when is using the best base model enough, and when would you recommend that I train my own model? Like, what, how would you educate, how would you help a founder wanting to build an AI startup approach that? I

Should you train your own model?

Sesh Nalla

think the models are so good right now that there are so many things we can already do with the base model, only when we reach there, like how we are doing right now, still we use a lot of the base models, is get to a very good product market fit of what you want to solve as a problem. And once you have accumulated enough of that, then you can like, post train towards what you want for efficiency or like, a more alignment, more more, accuracy, but there could be probably more than

Megan Reynolds

you have

Sesh Nalla

in mind. And

Megan Reynolds

what's this, what's the kind of scale, you know, you get started, you get part of market fit. What's the kind of scale you have in mind where this would become viable?

Julien Launay

Quite far. Like, I actually think it's one of the thing today, today, which is these technologies are really exciting and can achieve amazing results, I think, for a larger company. And you can see it, you know, RV has been doing some post -training that they shared recently. It's been quite successful. Cursor obviously did it for its own model. Cognition, Ramp has done some of it. But all of these are massive companies which can have like R &D efforts and all of that. I think if we are talking really about true startups, I don't know that it makes that much sense to them. You are, you know, if you're a startup today with a product, you know, that is, I was gonna say with a product that's AI oriented, but which product is not, I don't know. So it's like all products, you know, a couple of AI. We are in like probably the most competitive markets there has ever been. Like, it's probably right now, you know, there has never been a market that is as aggressive. Like there is tremendous disruption to every tool on earth, because every tool needs, you know, to have have intelligence in it and all of that. So speed of iteration and that getting to that PMF, so that amazing UX that is like 10x, 100x better than anyone else, that's the only thing you should care about. And the lifecycle of training, the complexity of training your own model is still to this day really high. Today, we have a quite difficult approach from an engineering perspective, from a data perspective, and all of that. It's probably not something you should bother with. Is like, I think for, you know, 99 % of people it doesn't make any sense to to do that. It makes sense once you are at much larger scale, once you have a data moat that you want to leverage, you know, where you have, like, a unique edge, because you can teach your model things that no one else can teach, or once, you know, you want to get really, like, better economics, like really really strong economics, that sort of stuff.

Julien Launay

But that's not something, you know, that the typical startup should care about. What they should care about is adoption, is, you know, and I

Megan Reynolds

guess the implication there is that if you're building an agentic startup or something based on AI, the largest companies will have an advantage in having the most accurate products or the most specialized products. How do you

Julien Launay

think about that? To an extent, but you can see, like, I think this is true to an extent, but there is also the reality, you know, this has always been the case, like large companies have more, you know, have more resources, but large companies, you know, are are also much less effective. There's much more delusion of many more layers. There's less conviction. There is less of one person or a few person that can really drive an outcome. And today, actually, I would argue in AI, most of the problems are UX problems, especially for new startups. How do I give people a way to access intelligence that is more natural? And I think we have seen this quite repeatedly, actually. We had this discussion with Sesh not long ago, where, like, look, you know, initially, I don't know if people remember, like, the GPT -3 API that was kind of weird and behaved really weirdly. And then there was ChatGPT, and you know, that's the same model just trained a little bit differently to be conversational. And ChatGPT became probably the biggest product breakthrough that there has ever been through

Sesh Nalla

UX only.

Julien Launay

Just through, oh, we're going to make this a chat. And it's not even like, it's not even that crazy. Like, it's kind of obvious, as we were discussing earlier on the podcast.

Megan Reynolds

Because in

Julien Launay

Insight, it's like, oh, that's obvious. And then, you know, Codex and Claude Code first, actually, was like, oh, maybe instead of copying and pasting my, you know, my Python file and my Rust files in ChatGPT, well, I could just have it in the terminal and directly access it. And obviously, that was amazing and got tremendous traction. And recently, you know, there has been all of this, like, Muse, Instinct, Dots, you know, of like, well, maybe for personal stuff, of the model was directly in my, you know on my phone directly, like I could chat with it through WhatsApps or whatever, so messages, also

Sesh Nalla

speaks more like human.

Julien Launay

Yeah, maybe, you know, that would be better, and all of these things you know, are like, if you think about it, you know, all of these things like Instinct, you know, came up with this before anyone else, using just off -the -shelf models, and we, in the long term, you know, who knows if they will stay, you will see, will be be competitive or not, but I think there is really like an opportunity in term of figuring out the better UX and if you can do so, because the market is so frothy, I know there's so much demand for this, you can go so fast that you have a real shot at like being competitive. I feel like, The

Sesh Nalla

best example I can give there is when Cursor was a startup, I was actually really surprised, they had no model of their own, they were entirely completely like, relying on either other Sonnet 3.7 at the time. And once they started accumulating their own private data through usage, that became the moat for them. They've accumulated moat because they've made something, a UX, amazingly useful to millions of people. Probably that is the main reason SpaceX acquired them and they were able to use the data to pre -train to make Grok better. So that is a moat.

Megan Reynolds

But they have to grow to get there. I guess is there kind of a a counterexample where the use case where RL and post -training like this is so valuable that...

Sesh Nalla

If you already have private data. Yeah. To start with.

Julien Launay

I think exactly. If you are like, the counterexample is not in the startup world. I think the counterexample is more in like big companies where you already have, you know, access to a tremendous wealth of data, you already have distribution, you already, you know, you already have a lot of resources, and in that case, you know, you can kind of leapfrog ahead, but as a startup, I'm actually thinking if. There

Sesh Nalla

will be any startups, we'll just start with the private data, I

Julien Launay

mean, I don't know. Honestly, I don't know, because the ones, you know, that have been starting straight up with customizing models, they are hardly startup, you know. For instance, the one that are doing, like, scientific research, all that sort of stuff, you know, like, material science research, I mean, they're billions in funding, so I wouldn't really call this a startup, and they are, and they are starting by building a moat, by, you know, building the data moat. So, I,

Sesh Nalla

the one Jeff Dean's doing?

Megan Reynolds

I mean, I

Sesh Nalla

mean, not

Julien Launay

just the one from ex-OpenAI as well. People like all of that say, you know, this is a very different shape of company. So I don't know that there is.

Megan Reynolds

I mean, arguably still a startup and still going from scratch. I mean, maybe that's kind of the core of the question is like, can you, as someone starting a new company, leverage these techniques and think deeply about these different frameworks to actually generate value more quickly? Is that is there potentially a better path there than doing the Cursor I said ChatGPT is maybe a bad example, but the Cursor route where you build value, accrue the data and go from there, I think maybe that's the core of the question.

Julien Launay

There is maybe a path which some people, I think, are looking more and more at, which is data, basically like data companies, companies that are based on creating data flywheels.

Megan Reynolds

Like a Mercor?

Julien Launay

Yeah, exactly.

Sesh Nalla

So what is it?

Megan Reynolds

Like a Mercor.

Sesh Nalla

Oh yeah, right, yes.

Julien Launay

And today, you know, these companies have been mostly selling data to labs, but I could imagine a future in which some of these decide, you know, look, I'm going to build this uniquely uniquely amazing collection of data and use it to build this uniquely amazing model, like the companies are doing for material science or for biology, I could imagine that being a possibility, although it's a very capital -intensive one. That's why, to me, I don't really consider them startups in the sense of starting small and building up.

Sesh Nalla

Thinking out loud, maybe I just like... This is just purely the thought I have. Maybe for a startup that immediately picked up virality in a use case where a lot of people suddenly started using them and then you get a lot of influx of usage, you would benefit from converting that moat as quickly as you can to online learning if you can set up that. And then you will accumulate that moat in model weights. I think that is possible. I just don't know there is a very good example of that in the recent history That is like really like starting up is

Megan Reynolds

there like a feet like a Vertical or a sector you could imagine that working best with I guess coding is feels pretty dominant, but I

Julien Launay

Do you know if

Sesh Nalla

there is a consumer product that comes out?

Megan Reynolds

Like, what things would have to be true, I guess, without going specific into a vertical? Like, you would have, need, to, it, would be to be viral, else, you would need a large something.

Sesh Nalla

Like an Instagram moment, or a TikTok moment, where things like started very quickly, they became, very popular, among, yeah. I

Julien Launay

think the crazy thing is that I, and I don't have the number, so I could be wrong about this, but my feeling is that if you look at the curve of growth of Instagram or TikTok or even WhatsApp, that curve of growth in today's, you know, in today's world is slow. Yes. Like, that curve of adoption in today's world, in terms of future goals, is actually slow, so,

Sesh Nalla

multiple years. Yeah,

Julien Launay

exactly. Even if you had that, that, that today, you're cooked. Like, that's not, that, that's too, that's not good enough. So, you would need like something new. And I, like, I, yeah, I don't really, yeah. Yeah.

Sesh Nalla

Even jav, like, they, it, took Well, it is also purely UX though, like, Javis.

Julien Launay

Yeah. I

Sesh Nalla

think. type save jav, yeah, yeah, UX.

Julien Launay

And, and, and to me, that falls into this more like neo lab kind of batch, you know, which is a different thing once again, which is like, look, we are gonna do like, more fundamental research, build models, and it's not really like, you know, it's like, more, you're building models for the sake of models, not, you know, building like, a startup in a vertical. so to me that feels a bit different

Megan Reynolds

Okay, all

Sesh Nalla

right. We've exhausted our thought. Interesting.

Megan Reynolds

I like the thread. okay, last thing, loops

What should worry us?

Megan Reynolds

are getting longer, agents are getting more autonomous. What scares you in that thread? What are you worried about? What breaks first? I

Sesh Nalla

am very scared about the safety aspect of it. I think we are going to produce, in every layer, we're going to produce more software, and we're going to produce more infrastructure, and we're going to produce more models, and in each of this process, today, right now, we can't quite guarantee that the agency is verifiable, like we can trust higher agency or, or, higher autonomy that we can give. Still, we are very much in a lot of human -gated controls. If we really need to unlock the capabilities of AI that we wanna use, we need to give them more agency.

Sesh Nalla

But if we give them in a very unsafe way,

Sesh Nalla

I'm less scared about these agents escaping sandboxes or trying to brute force their way to get internet access. There are so many private business problems like where there are so many gaps in business logic that when you organically use them, they won't surface. Have you seen this example where there is a calendar app, and you ask something like OpenClaw equivalent to like find me a slot in this particular trainer's calendar. So the OpenClaw equivalent was so relentless that it found the loophole in the API of the calendar app to go and make an adjustment to the appointment of a slot that it wants to take, to remove something else entirely and then make it happen, right? So that is like giving you unlimited agency. They can go to any length of doing something, it doesn't know it, that's, that is wrong to do, right? So how do we, how do we like know we are clearly specifying what this agent should do and should not do, or what this particular task for a model should and should not happen is active research like right now. And

Megan Reynolds

what's the fear that specifically,

Sesh Nalla

sorry. What's

Megan Reynolds

the fear, what's, what's the thing that you're concerned about that specifically. It

Sesh Nalla

says that it will be, this is like chaos. It will, so many unintended consequences when you are leaving things to like very simple thing, go and do grocery shopping is one, and then two is like, no, start to manage my money is another. I think we are already like worried about this, this aspect of higher efficiency of moving cash sitting in bank accounts to money market accounts, where there is an aspect of the agents will get more efficient in making money. Also in unintended consequences we are financially not prepared for. There will be many of these in domains that we haven't even thought about because it's all inorganic, like very fast. Right. So, yeah, how do we, how do we get ahead of this in these domains. I'm like, slightly worried about

Megan Reynolds

and future them.

Julien Launay

Yeah, I think it's somewhat similar. Like, I'm personally, I, I think the biggest immediate risk is a, is a risk of, it's a very transformative technology, it's a very powerful technology that's getting adopted incredibly fast, and every time you adopt very fast the transformative technology, is, there is like, collateral damage, like, there is stuff that we don't expect to happen, like in cyber, you know, suddenly, you know, we have like, instead of having, you know, 10,000 or 100,000 people in the world that know how to access them, well, now we have a billion agents, you know, or

Sesh Nalla

multiple billion agents.

Julien Launay

It's like suddenly, you know, that like, you know, put a lot of strain. That sort of stuff, you know, I'm like, that's my main concern. Same thing like, you know, the change to the economy that this is going to bring, which are already enormous. I think people, you know, don't realize this, but But this year, about 6 % of the U.S. GDP goes to AI, to data centers. It's absolutely ludicrous. And it's going to basically double or something like this next year. So it's becoming bigger and bigger. That shift to the economy potentially, the strain it can create on other domains, on jobs demand, on all of this. This is what I'm worried about in the short term, which is it's such a big transformation.

Julien Launay

Formation. And it's like such a big movement of capital, such a big, like, you know, trillions and trillions that we are putting into a new direction. And that I think is something that is starting to be picked up. Actually, like, I think if you look, you know, even at the US government, at like the current administration, they have been looking more and more, I think, at like, okay, what's the policy we need to set up for this? And that's really hard. Like, I think that that's a big thing. And I hope, you know, that governments can be reactive in us, which historically you know, they haven't been, and in most places have been very dismissal of it, you know, of of the reality of that.

Julien Launay

I think there is a more long -term thing as well, which is like, and that one is maybe more philosophical, and which is, you know, these systems are extraordinarily intelligent, and there is no, as far as we know, there is no ceiling to our intelligence. We can make the systems, there is no reason to think you know, it's gonna stop. Like, there is no, we have no concrete example of why it would and so we are like, you know, we are likely to an extent, creating systems you know, that are going to be more intelligent than ourselves. And I think you know, in the way that we think about ourselves as humans, intelligence or intelligence, is our difference, you know, is very central, and that's even more different, you know. People always cite the industrial revolution, but you had all of these workers, you know, working in the field, you know, and all of that that got displaced, because you know, now there was like the steam engine, and and all of that.

Sesh Nalla

That's more muscle power, yeah, but now we're— Exactly.

Julien Launay

That's more muscle power, and we never defined ourselves by that, like, never, you know, in our culture. We defined you know, the pinnacle of human achievements being plowing the fields, like that. Because

Sesh Nalla

we already saw animals more powerful than us and muscles, so we never were insecure about we don't have bigger physical power.

Julien Launay

Because we used animals we use, like, we never viewed this as like the defining element of of human civilization. While I think like, you know, intelligence is what we view you know, very much as a defining you know, as what's separates us you know, from from nature to an extent, and as what makes us us. And obviously, we are creating systems that not only will share the property with us probably already share it, which is beautiful. but on top of that we are probably gonna, you know, make systems that are better than us. and that, I think, is gonna be like, on the long term, a very, a very very big shift, you know, of how we handle this, and how do we make this happen in a way that like, doesn't destroy your spirit, you know, of like, why, you know, we we, think you know, we we, are worse you know, kind of kind of like doing stuff. And that I think, is like a long -term thing, that that's really really really important.

Julien Launay

and, and that's a really big thing now. I, you know, I also think that this is the most important thing we have ever done, probably the most important discovery. The amount of like, wealth it will create globally, and like the amount of well -being it will create, you know, in all the way you can imagine, is insane. And

Sesh Nalla

keep it for itself.

Julien Launay

Yeah. Hopefully not. Hopefully not. But, like, it's the the, upside, you know, of of, what we are of of, this technology is is, tremendous. So, it's it's, it's well worth it, but it's not gonna be easy. I think that's the important thing. I think there is you know, a rational view that's a bit in between. Like, look, it's not gonna be like, it's probably not gonna end the world, and it's probably not you know, gonna be like, gonna kill all of humankind. What's

Megan Reynolds

your percentage on that?

Julien Launay

Yeah, I don't know. Well, actually, the joke that we have with some friends, that my percentage is negative, in that I think if we don't come up with this technology we are much more likely to to kill ourselves, like I think

Sesh Nalla

different means. Yeah, exactly.

Julien Launay

Because I think, you know, and this is a more psychological discussion, but look, the, we, we as humans need the cake to constantly expand. We need to grow. We need to, we, we are are very expansionist, for better or worse. And I don't think this is something we can change very easily. And if the cake doesn't expand of resources, of possibilities in the world, we fight ourselves. We fight each other because we want more. And a great way to expand the cake is technological progress. Because the more technology we have, the more things we are able to do. I think this technology is amazing because it will enable us to keep that going for a while. I think if we don't come through with it, I think we likely enter not just a depression, but I think we'll enter like a really dark age of like a loss of progress and all of these that will result and that I think is much more likely to end us than anything else. And, but ultimately, you know, I think there is a very rational path here, which is like, look, this is, this is very transformational technology, we need to sit down and think, one, in the short term, what are like the immediate impacts of such a large economical change. And it's not easy to navigate, like it's not easy, like predicting which job will be impacted, how it will be impacted, and all this. It is not easy, it's really, really difficult, and there needs to be work on that. And two, in the longer term, which is like, look, you know, if this goes really well, like, if we are able to create, you know, systems that are like truly super intelligent, where do we fit? Like, how do we cooperate, you know, how do we like, how well, like, how do we, do we put ourselves in that picture? And that, which is an even more complicated question, but which we need to start to have the maturity to tackle, because we don't have much time, like we have a few years to tackle that question, because then otherwise we are going to have done it and we are not going to have an answer.

Megan Reynolds

And, if, and if you believe that, do you also believe that we should give ourselves more time? Like, it's a complicated question, but I,

Julien Launay

I don't think it's possible, I, Yeah,

Sesh Nalla

we're way past that.

Julien Launay

Yeah, yeah, I think we are, so. What

Megan Reynolds

makes you say, like, what makes us way past, That,

Julien Launay

the cat is out of the bag. If you, if you go back to the cake analogy, and this is maybe a bit, you know, cynical, but look, you know, we live in a world that is quite competitive, and you know, different nations have different interests, have different vision for, for, for the future and for, for culture. The cat is out of the bag. I think everyone knows now that this is the next big thing, like, and this is a thing that could give you dominion, you know, that could give you that you decide what is the set of value that humanity is going to live forward, like, going to live in the future with. That's too late, like, we know, like, now this has been, I think this is accepted and proven.

Julien Launay

So now, if you are not the one, you know, that is the first, you know, to, to build it, you will be the one that it's used against. And obviously that's, it's, very, like, it's, it's a, it's, it's kind of like, it's a very adversarial view, unfortunately. It is, it is quite real, and. And I think there is a race dynamics that forces us to be like, if we want to make this happen safely, we have to be the one with our hands under control of the system.

Julien Launay

And that, I think, is difficult. That, I think, unfortunately, is maybe a miss. Maybe five years ago, we should have slowed down and give us more time to think about it philosophically and have a generation of great thinkers that could write amazing text about how to approach this. But we didn't do that. And so now, you know, we have to be fast. But look, I think, you know, I don't think it's impossible. Like, I think we are creating these systems, which is incredible. The fact that we are able to imbue, you know, computer with intelligence, with understanding of the world, it's beautiful. Like I think it's, and so if we are able to do that, we are probably also able to figure out really complex question as well about what it's gonna mean.

Julien Launay

Like we are quite capable, you know, I think as people.

Sesh Nalla

Even though you said it is long term about growing the pie, it is very much an imminent problem for every incumbent company where let's say you have a lot of workforce. If you don't figure out how you're growing your business to be able to take advantage of this capacity that is going to be available for you, then, certainly there is a lot of turmoil and loss of identity of a vast majority of the middle, who are still like, figuring out what is our place in this right? And it is like, imminent. Yeah, this is like, right now, we need. What

Megan Reynolds

is your, what is your timeline? Like, what's the timeline at least, your, internally, for yourself? I

Sesh Nalla

think every organization is facing it right now, and I don't think the the solution is to like, shed capacity. It is to think ambitiously about what's possible that we haven't thought about, and then trying to create more and build more value. Obviously, like, not necessarily that, build more economical value out of the current business that you have, with the capital that you have, that we have not thought about, and that is also hard. Like, it is like, extremely difficult in a competitive environment, where like, everyone else is doing layoffs.

Sesh Nalla

So then, you need to be both generating revenue versus being efficient, how you generate it. There is competition everywhere, there. That's one of the main bets like, for Datadog is we have an immense opportunity. Let's go do that. let's go find how

At its heart, RL is an observability problem.
Julien Launay

Terms from this episode#

  • Post-training — LLM post-training turns a model from a knowledgeable blob that produces rambling answers, into a helpful assistant.
  • Sandbox — A code sandbox is isolated infrastructure that gets created on demand, so untrusted code can run without being able to touch anything that matters.
  • Harness — A harness is the software wrapped around an AI model that lets it actually do things — touch your files, run your tools, and remember what happened.

Get each new episode in your inbox

Every Thursday, with show notes, in the Technically newsletter.

Subscribe
Content
  • All Posts
  • Podcast
  • Learning Tracks
  • AI Reference
  • Companies
  • Terms Universe
Company
  • Pricing
  • Sponsorships
  • Contribute
  • Contact
Connect
SubscribeSubstackYouTubeXLinkedInInstagram
Legal
  • Privacy Policy
  • Terms of Service

© 2026 Technically.