OpenNashPodcasts

Latent Space: The AI Engineer Podcast

⚡️ Every product of the future will be a living system — Ronak Malde, Trajectory.ai

21 Jun 2026 · 33m · Ronak Malde · 21 quoted facts

▶ Play episodeOriginal source ↗

In brief

Ronak Malde argues that AI products today are static: a model repeats yesterday's mistakes while users' corrections are thrown away. His company, Trajectory, wants to turn real usage, especially expert edits and corrections, into a continual-learning loop. Over time that loop would let every company own a model that keeps improving from its own users.

The episode moves from Malde's path through Windsurf and DeepMind to the technical pieces of continual learning. These include turning messy usage data into training signals, a training method that learns from text hints instead of one score, and open-source infrastructure for running many training jobs at once. The tension is between the ambitious vision of self-improving products and the engineering needed to make it practical and legible for customers.

Key insights

  1. Binary feedback is too noisy to learn from

    Malde says thumbs-up and accept/reject signals are unreliable because people vibe-accept nearly everything. Edits and redirections, such as a lawyer redoing research the agent missed, carry the useful signal.

  2. Self-distillation turns text hints into training signal

    Standard reinforcement learning compresses a whole attempt into one number. Self-distillation gives a teacher copy of the same model a hint from production, then trains the student to match it, so the model learns from actual information.

  3. Expert fields punish nearly-right answers

    In law, Malde says getting 80% of the way there is the same as zero. That makes the expert's corrections to an agent's attempt especially valuable training data.

  4. Continual learning needs different training infrastructure

    Normal training starts and stops one job at a time, but continual learning runs overlapping jobs as production data arrives. Trajectory's open-source stack with SkyRL pools sampling and training, so eight concurrent runs take about as long as three sequential ones.

  5. Onboarding customers got much faster

    The first engagement took about three months to set up. Malde says Trajectory can now train a model with Harvey in under a month and a new customer in about a week, with less forward-deployed work.

Questions

What is continual learning in AI, and why does it matter for businesses?

It means a model keeps improving from how people actually use it, instead of staying frozen and repeating the same mistakes. Malde argues that companies using their own users' corrections to improve their models will pull ahead.

What does Trajectory actually sell?

Malde describes a platform that turns a company's usage data and expert traces into a standard format called a trajectory. From it, the platform builds the tests, judges and training environments needed to train a better model. Customers include Harvey, Clay, Rogo, Dakagon and Mercore.

Why did Trajectory work with Harvey on a legal model?

Malde says Harvey works in a regulated industry and wants sovereign intelligence. Trajectory and NVIDIA trained Nemotron 3 Super on Harvey's expert legal workflows. Malde says it improved on Harvey's legal metrics and is cheaper and faster than frontier models.

What is SDPO, in plain English?

Self-distillation policy optimization is a training method where the same model plays student and teacher. The teacher gets a hidden hint, such as the correct flight ticket information, and the student learns to match the teacher's output.

What happened to Windsurf in the Google deal?

Malde says the team expected OpenAI to acquire them but learned on a Thursday morning that it was Google and DeepMind. They became DeepMind employees the next day, and Cognition bought the rest of Windsurf on the following Monday, per swyx.

Facts

Stated by the speakers. Each quote matches the transcript, which shows what was said, not that it is true.

Ronak Malde finished a master's degree at Stanford University and met his Trajectory co-founders there.

“I had just finished up my master's at Stanford. Been doing research in AI for quite a bit of time. That's actually where I met my co-founders as well.”

0:01:37 · Ronak Malde · Founder background

Windsurf, when it was still called Codium, first trained autocomplete models for its coding extension.

“So initially, we were trading autocomplete models at Winsurf, like back in the Codium extension.”

0:02:24 · Ronak Malde · Windsurf history

Windsurf set out to build its own foundation model to capture user signal from its agent and create a data flywheel.

“we sought out to build our own foundation model to capture all of that kind of user signal and really get the flywheel unlock for Windsurf.”

0:02:24 · Ronak Malde · Windsurf strategy

Ronak Malde worked on Windsurf's SWE-1 model, which later had successor versions including SWE-1.5.

“And so I started working on this model called SWE1. You might have seen now there's later iterations like SWE1.5 and SWE2, the Cognition's working on.”

0:02:56 · Ronak Malde · SWE-1 model

Malde states that the Google acquisition of the Windsurf team was valued at $2 billion.

“Yeah, obviously, the acquisition was for $2 billion and went over to DeepMind.”

0:06:53 · Ronak Malde · Acquisition value

Malde says Demis Hassabis was on the call where Windsurf staff learned they were joining Google DeepMind.

“Demis on the call and then like all of the like DeepMind Google people. And so we're like, okay, I guess we're going to Google then.”

0:04:13 · Ronak Malde · Google deal

Malde says Sergey Brin was especially enthusiastic about Windsurf and appeared in the Antigravity launch video.

“Sergey as well, he's, he's, like, the main guy that was super excited about Windsor. He was actually on, I don't know if you saw the anti-gravity launch video.”

0:05:21 · Ronak Malde · Google deal

Trajectory co-founder Michael worked on robotics at Google DeepMind for a long time.

“So Michael was at DeepMind working on, he was in DeepMind proper for a long time, working on robotics there.”

0:07:56 · Ronak Malde · Co-founder background

Trajectory co-founder Arjun worked on core interaction models for the Apple Vision Pro and shipped them at launch.

“Arjun was on the Vision Pro for a long time. He was working on the core interaction models and training those, shipped those day one”

0:08:23 · Ronak Malde · Co-founder background

Trajectory partnered with Harvey and NVIDIA to train Nemotron 3 Super on legal workflows.

“we partnered with Harvey and NVIDIA in order to train Niemann-Chan 3 super in order to get to the Pareto frontier.”

0:11:24 · Ronak Malde · Harvey partnership

Malde says Trajectory's first customer engagement took about three months to set up.

“Our current partners are Clay, Harvey, Rogo, Dakagon, Mercore. The first engagement, it took like three months to like set up the entire thing.”

0:13:01 · Ronak Malde · Onboarding time

Malde says Trajectory can now train a model with Harvey in under a month and train for a new customer within a week.

“now we're able to train a model with Harvey in under a month and then onboarded a new customer. And within a week, we were able to train a model”

0:13:01 · Ronak Malde · Onboarding time

Malde says DeepSeek V3 showed that open models used frontier methods and publicly showed GRPO, narrowing the gap with closed models.

“and then all of a sudden deep seek v3 comes out and everyone is like wow they're using frontier paradigms they obviously open source or like showed the world grpo”

0:13:53 · Ronak Malde · Open models · 2024

Malde argues that accept/reject and thumbs-up signals are noisy because users rarely give negative feedback in coding tools.

“You can imagine like when is the last time you put a thumbs down in cursor or cloud code? Never, right? And everyone's kind of vibe accepting everything.”

0:17:01 · Ronak Malde · User feedback

Malde argues that standard reinforcement learning collapses rich real-world feedback into a single number.

“The reason is RL, it's still taking all of this kind of useful information from the real world, like I mentioned, all the corrections and everything and putting it into just one number, which is really broken.”

0:18:57 · Ronak Malde · Reinforcement learning

In self-distillation, the teacher is the same model given a hint or privileged information, so no smarter outside teacher is needed.

“The cool unlock with self-distillation is you don't actually need a smarter teacher. Your student could be the smartest model, but to make the teacher smarter, I'm actually going to take some privileged information or a hint”

0:19:25 · Ronak Malde · Self-distillation

Trajectory trained and evaluated its scaled SDPO method on Apex Agents, a benchmark released by Mercor.

“So we started training on Apex Agents which is an awesome benchmark that Mercore put out which is modeling a lot of real world behavior”

0:20:54 · Ronak Malde · Benchmarks

Malde says Trajectory has 11 employees.

“Well, actually, we have 11 of us now, so we've been growing really fast.”

0:21:52 · Ronak Malde · Company size

Trajectory open-sourced a continual-learning training stack in collaboration with Berkeley's SkyRL lab and Anyscale.

“is open sourcing a training stack for continual learning. And so this is in conjunction with SkyRL, Berkeley's SkyRL lab in any scale as well.”

0:23:38 · Ronak Malde · Open source

Malde says running two concurrent jobs on Trajectory's stack cut wall-clock time in half, with scaling shown up to eight jobs.

“so like two concurrent jobs were able to cut the wall clock time in half. As this goes up to four jobs, eight jobs, we're able to run concurrency really well.”

0:25:11 · Ronak Malde · Training concurrency

Malde outlines a roadmap from AI-native customers to tech incumbents such as Airtable and Notion, then Fortune 500 companies.

“Soon we'll be working with the kind of tech incumbents. You can imagine like the Airtable, Notion, those sort of companies. The stage after that is Fortune 500.”

0:29:12 · Ronak Malde · Roadmap

Chapters

  1. 0:03:36From Windsurf to a sudden DeepMind move

    Malde explains how coding agents and user signal led Windsurf to build its own model, then how the team ended up at Google DeepMind within days.

    “we get a text before from our CTO Douglas and he's just like meet me in this hotel conference room”
  2. 0:07:21Why leave DeepMind to start Trajectory

    Malde argues that AI is still static software and that continual learning should reach every industry, not just coding.

    “the model that you used yesterday, it's going to be the same model and making the same mistakes tomorrow.”
  3. 0:10:09Harvey, Nemotron and the customer platform

    The Harvey case shows how expert legal corrections become training data for a cheaper, faster open model.

    “getting 80 % of the way there is the same thing as zero.”
  4. 0:13:53Open versus Chinese base models

    Malde explains why Trajectory chose NVIDIA's Nemotron and why Western open models matter for regulated industries.

    “all of a sudden deep seek v3 comes out and everyone is like wow”
  5. 0:17:01Turning messy usage into training signal

    The conversation covers why thumbs-up data is noisy and how corrections can become judges, evals and environments.

    “you put a thumbs down in cursor or cloud code? Never, right?”
  6. 0:19:25SDPO and self-distillation

    Malde explains a training method that learns from text hints rather than one reward number, and says Trajectory scaled it to real-world tasks.

    “The cool unlock with self-distillation is you don't actually need a smarter teacher.”
  7. 0:26:11Open-source stack for concurrent training

    Trajectory and SkyRL built infrastructure for many overlapping training jobs, which suits continual learning better than one-off runs.

    “eight concurrent runs, for example, it takes about the same time as like sequentially like three jobs would take.”
  8. 0:28:46Roadmap and hiring

    Malde outlines giving customers control and observability, expanding from AI-native firms to incumbents and Fortune 500 companies, and growing research and product teams.

    “what we think of as act two of the company is I want to make this legible to the customer.”

Transcript

0:00:03
Speaker 2

Okay, we are in the remote studio with Ronak from Trajectory.ai. Congrats on your launch and welcome to Latent Space.

0:00:10
Ronak Malde

Thanks so much. Yeah, great to be chatting with you. Thanks for having me on.

0:00:14
Speaker 2

Yeah, I don't think we quite overlapped when you were at Windsurf, but obviously I was close to the Windsurf team, Varun and the other guys. And it's really surprising to see that, you know, you have sort of gone through that journey at DeepMind and come out with such a strong thesis on what's next in continual learning.

0:00:35
Ronak Malde

Yeah, no, it was a great time, honestly, at Windsurf. And it's crazy to think that even two years ago, the world just looks so different. I still remember when we first launched Windsurf, it was like Sonnet 3.5 had just come out and we're playing around with the capabilities and everything. and I distinctly remember there's one time where we had started the IDE we had built the agent out and everything and then we all started like circling around Varun and he was like he told the agent to like make 2048 and it was just like silly game whatever we like we saw the agent and it just like first shot made the game and that was like that mind-blowing

0:01:13

experience I mean obviously now everyone's experienced it but getting to to build the first systems like see that in the room It was just so magical at the time. And then obviously getting to ride that wave to now DeepMind and everything. It was super cool.

0:01:26
Speaker 2

I think Codium and then Windsurf had a bit of a mix of product engineering and model training. What was your background coming into this?

0:01:37
Ronak Malde

Yeah, so I had just finished up my master's at Stanford. Been doing research in AI for quite a bit of time. That's actually where I met my co-founders as well. We met like literally first week of freshman year at Stanford, which is super awesome. We can get to that story after. So then I joined Codium. I actually had the option to go to Google to work on Gemini post-training. That was kind of the status quo.

0:02:02

But I met the team there and I realized it's all about the team. It's all about moving fast and getting to see that at Windsurf. It was incredible. So I took the vet on that team, joined one back when it was called Codium. And I had this thesis that it was either going to be math or coding, some sort of structured information that gets us to the next leap in AI. And it turns out that coding is a lot more economically viable as well.

0:02:24

And so that's basically how I joined the team. I started on on the research side there. So initially, we were trading autocomplete models at Winsurf, like back in the Codium extension. Afterwards, we started to realize, OK, we're getting so much user signal, not just like accept, reject or what people are typing in the code, but actually from the agent. And how are you building these entire websites, entire apps? And so we sought out to build our own foundation model to capture all of that kind of user signal and really get the flywheel unlock for Windsurf.

0:02:56

And so I started working on this model called SWE1. You might have seen now there's later iterations like SWE1.5 and SWE2, the Cognition's working on. And this was the kind of major unlock for the company as well, is we had all this massive data. We were able to post-train on all of that user signal and now beat the frontier. So that all happened. And it was super fast because then right after that, all the Google and Cognition acquisition happened, I think like 35 days after or something.

0:03:25

So that was super fun.

0:03:27
Speaker 2

Yeah, we've done episodes around that. Just because it's a matter of just general interest, what is your take on that day that it happens?

0:03:36
Ronak Malde

Yeah, it's crazy. I actually don't know if anyone's told this story, but... Go ahead. so I guess yeah I was on the research side and then if you remember at the time like everyone thought that OpenAI would acquire Windsurf like the the news that come out and everything and and so like we we get a text before from our CTO Douglas and he's just like meet me in this hotel conference room like tomorrow morning and don't tell anyone else I'm like this is so suspicious but we go over there and like I fully expected it to be uh like like Sam Altman or something, right?

0:04:09

And it was going to be open AI.

0:04:10
Speaker 2

Oh, you thought you were going to like, it was like, it's closed, like party time, you know?

0:04:13
Ronak Malde

Yeah, I mean, I thought like the news, like everything had been leaked that it was going to be open AI acquiring us. And so I, yeah, we go there, we thought it would be open AI. And then we go there and it's like Demis on the call and then like all of the like DeepMind Google people. And so we're like, okay, I guess we're going to Google then. And it all just happened super fast. Like that was on a Thursday morning.

0:04:34

That same day, we just, we gave up like all of the like badges computers to windsurf and then the following day we were at google like full employees uh or like at deep mind and so yeah it just it was just like insanely fast and like the news came out i think friday morning so uh yeah it all just happened that week

0:04:53
Speaker 2

yeah and then cognition bought the rest on monday yeah exactly yeah uh yeah very very crazy and it's very cool to hear that Demis was involved in the deal. I know that, like, I think there was, like, several people, like, senior people, like, Sergey, pushing for it. And obviously, like, it's kind of like an echo hire, but also, I think they had to just pitch the team. It was, like, 30 people or something on, like, okay, what are you doing at DeepMind?

0:05:21
Ronak Malde

Yeah, it was, um, there were a lot of execs involved. So, Sergey as well, he's, he's, like, the main guy that was super excited about Windsor. He was actually on, I don't know if you saw the anti-gravity launch video. that came out, but he was a main character in that as well. And I think for Google and DeepMind, they're also starting to realize that you need to not just own really stellar models, but you also need to know what users are actually doing with products.

0:05:49

And seeing all of that signal, all this stuff that we were capturing at Windsurf, and being able to really close that loop. And so then we went over to DeepMind and launched Antigravity, got to contribute to Gemini 3 as well. And it was really awesome to see what a powerhouse of a company with a ton of compute can actually do and really leverage just cutting edge technology. And I think now everyone's starting to realize that you can't just train on offline benchmarks or scaling up human labeled data.

0:06:18

You really need to understand what people are doing in the real world, especially as AI is becoming more and more prominent for real world use cases. Yeah, totally. I mean, and that thesis

0:06:29
Speaker 2

clearly is panning out today, even with Cursor and XAI doing a similar deal. Exactly. Yeah. So, yeah, I'm happy to fast forward to when was the moment you decided, you know, you have a cushy job at DeepMind. I'm sure they are paying you like millions of dollars to just do what you're doing. When's the moment you're like, OK, no, like, you know, it's it's time to go start this thing.

0:06:53
Ronak Malde

Yeah, obviously, the acquisition was for $2 billion and went over to DeepMind. And And then I decided to give up all the acquisition money to start Trajectory.ai. And it all came down to, so obviously we've been having all of these innovations in coding and seeing that real world usage. But it's very clear now that we're getting that explosion for every single other domain, right? Like legal, healthcare, finance. They're all going to be supercharged in the way that coding was for the last few years.

0:07:21

And the other part, though, is as we're getting this kind of transformation, it's still that AI, it's obviously very powerful, but it kind of acts like any other software in that it's very static. Like the model that you used yesterday, it's going to be the same model and making the same mistakes tomorrow. And all of those corrections you gave it, the edits, like in any product, it's all just being put to waste. And I think I realized that, okay, there are a few technologies like we did at SWE1, like Cursor Composer, even Cloud Code, that are starting to build the model around the product and what people are actually doing in the real world.

0:07:56

And this is that compounding loop that allows them to pull ahead. That is what I want to bring to every single company, that power of continual learning as people now refer to it. And so, you know, I got together with my co-founders, I mentioned there from Stanford, we met in the math class in first week of freshman year, and they went on to do awesome stuff in the research world as well. So Michael was at DeepMind working on, he was in DeepMind proper for a long time, working on robotics there.

0:08:23

So he was on the Gemini 1.5 robotics release and leading a thinking team there. And then Arjun was on the Vision Pro for a long time. He was working on the core interaction models and training those, shipped those day one to all the Vision Pro users. And so in some way or another, all of us were kind of working on how AI interacts with the real world, right? Through either coding, robotics with AR, VR. And we realized continual learning is kind of the ultimate paradigm to do that.

0:08:52

It's like, how do you have humans in the loop? How do you build this intelligence around them that is constantly learning and growing on its own? And I think that's going to be the next major unlock of AI is capturing all this real world usage and really going with it.

0:09:05
Speaker 2

Yeah, I think that's very exciting to see. I think broadly very true. It's weird because all three of you went to such like notable companies. It's almost like you planned this. Like you're like, okay, we'll split that for a while and then we'll come back together. Yeah. So, okay. You decide to work on this problem. And I guess what's the approach? Like, you know, like I think continual learning is a hot topic among a lot of folks, but I think people approach it from different angles from like the train it into the weights versus just have a bunch of skills and markdown files or whatever.

0:09:34

You really see Laura recently? Just, I guess like, just, just tell people more about like maybe what the schools of thought in continual

0:09:40
Ronak Malde

learning and the one that you're choosing? Totally. So I think it's helpful to actually, like we've been talking about just like the research and stuff that like enables this. I think it's useful to think about this from the customer's perspective. So take a company like Harvey, for example, they have a ton of complex legal workflows where agents are trying to research documents and then redline a contract. And unlike coding, where we can, obviously a technical audience can just like guide the agent in the right direction, we're able to be tolerant into mistakes.

0:10:09

For a field like legal, getting 80 % of the way there is the same thing as zero. And this is for a lot of fields where they have very expert data of what people are doing. Maybe an agent attempts something and then the user needs to go and correct it and get the rest of the 20 % of the way there. That's that useful signal that we're able to learn off of. So actually, I can share my screen and show some of the work we've been doing with Harvey.

0:10:33

But I guess before I get there, the high level of what we've built for all of these companies is a platform for continual learning. We essentially take all of the data, all of the expert traces, the agents, and distill it into one format, which is what we call the Trajectory.ai. And it's basically all of the data that is needed to then create the evals, the judges, the environment, everything, all the components that you would need for training.

0:10:58

And then we're able to create that end-to-end loop of a self-serve platform to optimize the agent, the model, the harness, everything. Right now, we're starting with the model. And that's what the major kind of alpha is for every company is being able to own models that are faster, cheaper, better at the frontier. And so I can share some of what we've done with Harvey, which is really exciting. One of the main things that Harvey really cares about is obviously their regulated industry.

0:11:24

They want to have sovereign intelligence as well. And so we partnered with Harvey and NVIDIA in order to train Niemann-Chan 3 super in order to get to the Pareto frontier. A lot of the legal workflows that they care about, I can actually fast forward over here, where we were actually able to capture along with Harvey's lab dataset, a lot of their expert legal workflows. And so the things that they care about, for example, are issue spotting, analysis explanation, citation reference, completeness coverage, etc.

0:11:58

And all of these things, they have sort of like paralegals and lawyers going in-house and working on mission-critical tasks. And so with our model, we were actually able to improve these sort of metrics across the board. And then also the really cool part is Nemetron is a drastically cheaper and faster model than the Frontier. And this matters at scale and you're deploying to not just a few users, but hundreds of thousands of users across the board.

0:12:32

And so this is something that's very exciting for the legal domain and something that we're able to do on our platform. The other exciting part is because we're building this, I think essentially like every company has their data sources in different formats. We're able to build this as a scalable platform that gets all of that data without any kind of forward deployed work and really improve the model. And the cool kind of proof point is we started out with working with a couple of companies.

0:13:01

Our current partners are Clay, Harvey, Rogo, Dakagon, Mercore. The first engagement, it took like three months to like set up the entire thing. We were kind of building the airplane as it was flying. And now we're able to train a model with Harvey in under a month and then onboarded a new customer. And within a week, we were able to train a model and really get the flywheel going. so it's really cool to see just like how powerful continual learning is in practice.

0:13:27

We're obviously just getting started and I want to be powering kind of every company that is pushing the frontier in knowledge work

0:13:35
Speaker 2

Yeah Yeah, congrats on this I mean, a couple observations First, I think you're the first team doing this I've encountered using Nemo's Tron 3 Super Any comments on them as a base model versus usually people choose like one of the Chinese models.

0:13:53
Ronak Malde

Yeah, yeah. I mean, so I think it's really awesome to see the open source community just in general. Like, obviously, China has been, like, killing it with models. I remember back when we were at Windsurf. Yeah, 3.1 is now known to be a post-trainer of Chinese. Yeah, yeah. Well, and I think back then, like, before, in, like, 2024 or so, the open source was so far behind. and you had like some quen models you had deep seek too and it just like didn't seem promising and then all of a sudden deep seek v3 comes out and everyone is like wow they're using frontier paradigms they obviously open source or like showed the world grpo and i think since

0:14:36

then the gap has been closing and closing over time i think america or the western world has some work to do still. Obviously, having 1 trillion parameter models like Kimi and amazing models like GLM and DeepSeq, I don't think we're quite there yet for that size of model. But you can already see GP2-SS was one of the best base models a year ago that OpenAI put out in the Western world. Since then, Nematron has gotten significantly better.

0:15:09

And keep in mind, this is a 120V model, so same size as GP2-SS. and and so i think as time goes on like nvidia is investing a ton of money the world is uh is gearing up for i think a lot more open source models in the western world as well which does matter like for legal for finance for health care and so i think this will be a leading paradigm and so we wanted to be ahead of the curve and and really make that a powerful part of our platform.

0:15:37
Speaker 2

Got it. I'm sure NVIDIA will be happy to hear that. Yeah. Yeah. I think the other thing also is, so for me, the general question of like why people haven't pursued, you know, let's call it online models or continue learning, is like just a curation of the data. Like what is the sort of data curation solution here?

0:16:01
Ronak Malde

Yeah, totally. So I think the interesting thing here is like Every company is storing their usage, their data in slightly a different way. And you have this entire system of basically two things. One, what are agents doing in a product? So you can imagine for Cursor, they're obviously writing code, they're running commands. And then for a GTM workflow, it could be that the agents creating tables or enriching columns. So that's the easy part. That's like in an open AI tool called tool response format.

0:16:33

The interesting part, though, is what are all of the other things that users are doing in a product? And so at Windsor, for example, this was users are modifying the code after an agent. They're saying like, hey, I actually wanted this button on the left after the agent wrote a website or like I wanted this class structure this way. That's all the very useful information that's happening in a product. I think when people think about like online learning, continual learning, they'll first think of like accept, reject or thumbs up, thumbs down, like some of those like kind of binary signals.

0:17:01

It turns out that that's actually like very noisy. You can imagine like when is the last time you put a thumbs down in cursor or cloud code? Never, right? And everyone's kind of vibe accepting everything. So it turns out those signals are actually quite noisy. But what is useful is all the directions of like the user is saying, hey, you should have gone this way or like modifying some of the attempts of the agent. And the cool part about this is this works in any product.

0:17:27

So for a legal workflow, it's the same thing. The agent attempts to do some research and then write some red lines or create an Excel spreadsheet. And then afterwards, the lawyer goes back and maybe has to do some more research because the agent missed something. And that sort of taste. And then again, also like modifying some of the contracts. And so now the tricky part is how do you take all this data and then condense it into the right format to train on?

0:17:50

And so there's a couple of really exciting things here that we've been working on. One is this purely an infrastructure question. when we figured out a way to take all this information and build an auto-research pipeline that is now able to take whatever these vectors are of what the user is doing and make those into judges, into evals, environments. But the other exciting part is the actual algorithms behind continual learning. So one of the other really cool things, I'll just go ahead and share my screen again, that we released very recently, is scaling up SDPO, self-distillation policy optimization.

0:18:26

so if you're not familiar with this i can give the high level real quick so for rl basically the way rl works and that's kind of the leading post-training paradigm is you have an agent and it goes and explores the world a bunch of times and then at the end of the day you get a reward signal it could be a judge it could be like something from production and then you basically take that number and then use that to update and say like, hey, this entire Trajectory.ai was really good.

0:18:57

This entire Trajectory.ai is really bad. And then it learns from that. So it works pretty well. Obviously, all of our frontier models that we see today are trained on RL, but it doesn't really work for this new world of continual learning. The reason is RL, it's still taking all of this kind of useful information from the real world, like I mentioned, all the corrections and everything and putting it into just one number, which is really broken.

0:19:25

And so what self-distillation does, which is really cool, is takes, or I guess the high level here is we start out with a student rollout. So if you're familiar with distillation in general, it's you have a student that is usually a less smart model and then a teacher, which is a smarter model. And you're basically saying, okay, let me distill all the smart stuff from the teacher into the student. it. The cool unlock with self-distillation is you don't actually need a smarter teacher.

0:19:53

Your student could be the smartest model, but to make the teacher smarter, I'm actually going to take some privileged information or a hint and put that into context of the teacher. And now I have a suddenly slightly smaller, smarter model that I can fit into. So in practice, what this looks like, let's take this example here where we have an agent, it's asking, or a user asks, how much is my flight ticket to New York? We have the agent look up some stuff.

0:20:19

And then we actually get the wrong ticket information. Now, we can actually go back because from production, we have some hidden information. And we can say, actually, let me give the teacher a smart hint. Then we match the student log props to that teacher information. and then suddenly we're able to take not just like a binary reward but truly like actual text and guide the model in that direction. So this is a huge unlock of SDPO and we've done some very exciting kind of modifications and scaling it up.

0:20:54

It's been done in a lot of academic cases but no one's actually been able to scale it up to real world use cases. So we started training on Apex Agents which is an awesome benchmark that Mercore put out which is modeling a lot of real world behavior and we're able to see very amazing gains on some of these workflows. So, for example, also the convergence rate just goes up way faster. This is normal GRPO style training.

0:21:22

And then we're able to obviously be way faster. So this on our blog post as well is very awesome to see. And we do some modifications as well to training on real off-policy data, which is like what happens in production, not necessarily from your current model. and making it a lot more robust to real-world use cases.

0:21:43
Speaker 2

Yeah, this is incredible work. I can't believe you basically shipped research alongside of your products and it's a team of three.

0:21:52
Ronak Malde

Well, actually, we have 11 of us now, so we've been growing really fast. Yeah, you have a nice office. Yeah, yeah, yeah. I think in order to build something really awesome in this space, we think of ourselves as a product company and a research lab because I think it requires cutting edge research. The current algorithms aren't quite there yet to get to true continual learning. And so that's a lot of what we're exploring. But then it also requires deeply understanding customers and like building a good interface.

0:22:20

No one's really made the product for when intelligence is just getting smarter every single day. And I think there's a lot of very interesting interface questions here. So, but the team is really awesome. We've hired an amazing research team from OpenAI, from Meta Superintelligence, from Amazon AGI. and then obviously the co-founders from DeepMind and Apple. And then also really growing out the product team as well. So we have someone on the team from Stripe who is building a lot of backend SDKs and then someone from Figma as well, really thinking about these interfaces and designing them.

0:22:50

So I think it's a concerted effort across both product and research to get here.

0:22:54
Speaker 2

Yeah. Let's go through more of the core IP because I don't want to cut you short. You were just getting into some good stuff with SDPO. You have like this like five days of Trajectory.ai, which is also like very, very strong launch. I think one of the strongest I've ever seen, you know in this space uh yeah keep going like don't let me yeah yeah um i guess i can share

0:23:11
Ronak Malde

one more as well and uh yeah it was super fun like we've just been doing so much across research and product and so it's really awesome to to be able to showcase that to the world in our five days of Trajectory.ai so i can share one more as well is uh i mean our our goal is Trajectory.ai is to really empower every single company to just like get to the world of continual learning it's such an exciting unlock when you can just put a product out there to a couple hundred users and now the intelligence just grows over time.

0:23:38

And so one of the other exciting things we did is open sourcing a training stack for continual learning. And so this is in conjunction with SkyRL, Berkeley's SkyRL lab in any scale as well. And so basically the high level here is up until now with training, it's very much like a linear, like if you're ever kicked off a run with like Slurm or one of these like normal training clusters, it's like you kick off a job, it like starts to spin up a bunch of resources, spin up the GPUs in order to do the sampler, do the training.

0:24:14

And then you run the entire lifecycle of the training job and then spin it down. This is like normally how training works. The problem is with continual learning. You don't really have like training explicitly starting and stopping. You're probably running concurrent jobs at the same time. And so the normal training paradigms start to break apart. This is also very similar to the thesis, like thinking machines, like a few of these other distributed LoRa sort of companies infrastructure has had.

0:24:40

Our contribution is to make this open source for every company. One of the things here is like, okay, so this is like normal life cycle of a job. It's like set up, you do a bunch of sampling training and then clean up. What Continuous LoRa does is say, hey, instead of a bunch of linear jobs like this, I can actually stack things together, have one dedicated pool for training and one dedicated pool for sampling. And then now I can start to put all of these pieces together and run jobs in parallel.

0:25:11

And so the results are really cool. We ran this on several different scale-up of experiments. And you can see that across the board, even as you scale up experiments, so like two concurrent jobs were able to cut the wall clock time in half. As this goes up to four jobs, eight jobs, we're able to run concurrency really well. How come eight goes up? I can also share it here. Let's walk through here. So the way this works is up here is like serial training run, right?

0:25:45

You're doing a bunch of sampling, rollouts, whatever. But if you have a fixed set of GPUs, then you have to run the job sequentially after another. With Continual LoRa, So it is actually slower per training job. Like if you just care about like, I just want run one to finish as fast as possible, then you should be doing like completely serially because all the resources are going towards that. But with continual learning, what you care about is just like, let me have all of these runs, like learning on the job.

0:26:11

It also might be that like data is coming in not quite sequentially like this, but maybe in batches, right? You get new data from production. Now you need to have like run four suddenly take up more resources. So it turns into a lot more of a dynamic workload. And you can start to see here, like eight concurrent runs, for example, it takes about the same time as like sequentially like three jobs would take. And so this also scales out, like we didn't fully push the bounds of this in this blog post.

0:26:39

We're currently scaling this up to like 16 concurrent runs and scaling up to this was also on like smaller models as well, like scaling this up to like 235Bs. and the really cool part is obviously this doesn't degrade performance whatsoever it's still the same algorithms we're able to see the same gains with any sort of normal model and we wanted to also make this very plug-in so we have some instructions here of just how to get started using it in SkyRL which is really exciting

0:27:10
Speaker 2

it's really funny as an operating systems fan that you see very similar scheduler type problems, starvation preemptive scheduling, all these kinds of terms. You just take a normal OS class, then you start applying it to every problem domain like this.

0:27:25
Ronak Malde

Yeah, yeah, exactly. I think it's almost like training up until now has been a very research problem. And I think people have attacked it from a research-y perspective where you don't care about all of these kind of distributed systems, innovations. And suddenly now, training is becoming more production, right? The end goal of Trajectory.ai is that every company can be kicking off their own training runs, like continuously learning, updating. And that also requires a training stack that is built with a systems level or engineering kind of mindset.

0:27:56

And so this is just kind of the beginning, but I think there's so many different insights from distributed computing that can be applied to here. Got it.

0:28:07
Speaker 2

By the time this comes out, you will have sort of finished your five days. Any other sort of overall tech bets or directions that you want to hint the audience towards?

0:28:18
Ronak Malde

Yeah, totally. So this, where we're at with the product right now is we're able to take all the kind of noisy information from a company, like all the valuable signal of what people are doing in a product, be able to train the model and then re-upload that and then have that like observability that evals all of those things. But right now it's still kind of like these single components of the stack. And a lot of these things, we are managing or looking at kicking off the training runs.

0:28:46

The next step after this is, what we think of as act two of the company is I want to make this legible to the customer. So just the right observability tools, the right abstraction levels for evals. And then second, give them control. So I want to have the customer say, like a PM that's managing an agent product should be able to say, hey, okay, here's where my agent is really good. Here are the areas where it's still failing.

0:29:12

And now all I have to do is just modify the model, modify all of the pieces. And suddenly tomorrow I wake up and I have a smarter model that I can see in production. All of those things should be in control of the customer. So that's the next phase. And then after that, the most exciting part is right now we're working with these AI native companies. I mentioned Clay, Harvey, Dekagun, Rogo. Soon we'll be working with the kind of tech incumbents.

0:29:37

You can imagine like the Airtable, Notion, those sort of companies. The stage after that is Fortune 500. And in order to get there, we need to get to true continual learning that I can just have just the observability layer, right? Like I'm observing, let's say in Walmart, like what are users doing? What are all of the manual kind of processes? And then start to say, hey, okay, maybe a model isn't even possible today if you were to just use an off the shelf sort of model.

0:30:02

But I can now observe exactly what users are doing. I can start to see the patterns, build on an agent, a harness, a model that all works perfectly for that workflow. And now you can imagine any sort of company, their front using product should just dynamically be learning from their users and constantly updating. In order to get here as well, tactically, we're starting with the models. But very soon, I want to be also improving the harness, improving skills, doing maybe even the memory layer as well.

0:30:28

I think all of those in conjunction are the continual learning solution. Yeah, I know you mentioned that at the beginning as well. And I think all of those are super important. And also the interplay between the two. Like no one really knows what it means to train the harness, like optimize the harness and the model together. Right. And I think there's very interesting research there and what that looks like. So these are all very exciting areas that we're like super stoked to get into.

0:30:51
Speaker 2

Is it worth focusing on coding alone as a verifiable domain or are you unopinionated because you've got legal, you've got the other stuff?

0:30:59
Ronak Malde

Yeah. So for us, I mean, I think that just like we saw in coding for the last two years, I think that's going to happen for every single company and every single domain. So our thesis was basically, okay, like coding's moving super fast. Let's accelerate the rest of these industries to first just get to where coding is. But then after that, like truly transform all of them with continual learning. So that's why we're starting with also companies in different verticals to also build our platform so that it's agnostic to whatever domain you're in.

0:31:31
Speaker 2

Okay, cool. Like very ambitious. I think I finally get it more after talking to you and hopefully people listening along can get a sense of the scope of the vision as well. Where should people point to for trying stuff out? What are you looking for in terms of hiring? Anything like that?

0:31:47
Ronak Malde

Yeah, for sure. No, so we're going to be growing really fast and it's exciting to see that. I would say like, honestly, the main place where all of the research world lives on is Twitter. And so following along on there and no, and I want people to also like engage and be excited about what we're building. I felt like when we were at Windsurf again, like doing just like seeing how developers were using coding agents and like being able to be really in tune with that was super important.

0:32:16

And for us, that's the same way. I want to just be in tune with how customers are using our product and how continual learning research is scaling up and us being able to at least contribute some innovations to that field. And we're going to be, I think, like the two areas for us are obviously like research and growing that team and product as well. We want to be really robustifying our platform, scaling it up to not just five customers, but 15, 20, 50 very soon.

0:32:46

So, yeah, that's kind of the next frontiers.

0:32:49
Speaker 2

You got five very good customers in there that are extremely good logos for a lot of people. Yeah, I'm excited to hear more and see more, you know, and people can check you out for sure. I think I've also invited you to my conference, AIE, where we are doing a continual learning track. I was very cautious about doing it. I was like, I don't know if the field is ready. But with you guys and some of the other folks also working on continual learning, I think it's time, even though we don't exactly know what the end products will look like.

0:33:16

I think there's enough test cases where people are trying to put this in production already.

0:33:21
Ronak Malde

Yeah, I think now is the time of continual learning. And so it's super exciting. I'm very excited to be at the fair.

0:33:28
Speaker 2

Yeah, yeah. All right. Congrats. Amazing launch. Seriously, like so well executed. I'm actually like very, very impressed. As like someone on the marketing side, right? Like I'm like, man.

0:33:38
Ronak Malde

Actually, yeah, that means a lot coming from you. Yeah.

0:33:41
Speaker 2

I'm like, okay. Like this is like the bar now for like how to launch a products lab, you know. So congrats and excited to see more.

0:33:49
Ronak Malde

Thank you so much. Yeah. Thanks for taking the time to chat. This is super fun. you