# Scaling Generative Video: Infrastructure, Agents, and World Models

**Podcast:** Latent Space: The AI Engineer Podcast
**Published:** 2026-06-01

## Transcript

Okay, we're here in the studio with Ethan He, most recently of XAI.
Welcome.
Yes, thank you.
Glad being here.
We're also here with Vibu.
You were first coming to us or joining the latent space world because you were working on Cosmos and NVIDIA and you did a great paper.
We loved it.
You presented it as well.
So thank you for doing that.
Yep.
I've also presented the MOEs.
Yes.
Twice.
Latent space.
Yeah, yeah, yeah.
How did you actually hear about us?
Did we reach out to you?
Is that how it worked?
No, actually, the community.
I realized, oh, there's this online community that people talk about AI and also learn from each other through papers every week through the paper club.
It's very nice.
Yeah, I think three years nonstop.
We haven't stopped even on Christmas and New Year's.
many weeks I want to stop.
I think you had posted that you worked on a paper and I was like, oh, very cool.
We have a paper club presented.
But I might have reached out to you after.
Yeah, because it's an amateur club, right?
So it's very unusual.
But we have sometimes paper authors come by and actually explain the paper.
Today we just did the poolside paper, which was apparently very good.
Came out yesterday.
Pretty interesting, right?
Fully open.
They talk about everything, system.
So it's a good one.
We'll recommend people to read it.
Bring us up to speed on your transition to XAI.
I actually don't even know when you joined.
Just tell the story about the transition.
Before XAI, I was working on Cosmos World Model at NVIDIA.
So Cosmos is a...
the giant video foundation models that aims to simulate the world.
And it serves as a foundation for all of the roboticists to build on top of.
There, once I built the Cosmos One, I realized as this thing also has a scaling law similar to language model.
We need to scale up the video models further.
That's why I realized.
I need to move to somewhere with much more compute resources.
That's how I...
Than NVIDIA?
GPU rich game themselves?
Yeah.
And timeline-wise, when was Cosmo?
It was pretty early, right?
It was open world model, open paper.
Yeah, it was like end of 2024.
End of 2024.
Yeah, then at mid 2025, I moved to XAI.
At that time, I joined by the time when...
XI was about to build video models and multi-model models.
There were no infra, no data, and no model.
And just as a few engineers, we built it in three months and released the first model, Grok Imagine 0.9.
And since then, I keep working on video models and move more from pre-training and to post-training of the video models.
For example, like reference to videos.
kind of like the Cameo feature and video extensions.
And before I left, I worked on a world model leading a small team to focus on the real-time, long-hearts, and video generation.
Can you give like a rough roadmap of like, okay, you're on a brand new team, Grok previously was only tech, so are they partnered with BFL for...
their image gen stuff.
What are the building blocks, right?
You have compute data you can procure somewhere.
What are the sequence of things that people should think about when you're setting up a new team?
I mean, actually, even deeper, not just data you can procure.
You guys had to go through getting the data too, right?
So you shipped it pretty fast.
Yeah, three months is actually very surprisingly fast.
Yeah, one thing I say thanks to my experience at NVIDIA, because first time, When we were building Cosmos together, we built it for about a year.
So this is like the second time I do it.
Roughly have an idea like what to do.
I say the most important thing is the talent.
Everyone were very strong and clever very close with each other towards a common goal.
So that speed up things a lot.
So you reduce the communication bandwidth.
among people and everyone can work towards the same goal.
It's like every day there's not that much meetings on the calendar, like maybe like a sync a day.
And after that, it's just all building.
It was pretty fun at that time.
And another thing is that XI has very strong foundations of like data, data infras, model infras.
And the the supporting there can help the model develop a lot.
When I look at training models, I don't...
So actually the top important thing is how many iterations can you do per day?
And the more iteration can you do, you can train the model much faster.
So if you have very strong infra and...
You have a lot of compute.
You can train these models in very short period of time.
That can give you a much larger buffer for errors.
And it also gives you the opportunity to spot more bugs.
Yeah.
What is an iteration?
Is it like a few hundred steps?
Let's say just training the model.
acquire new data and maybe design new algorithms and train a new model, maybe a smaller scale.
Yeah, so cycle time for any hyperparam that you're searching.
Yeah, cycle time end-to-end to evaluate this model.
Is this model better than my previous iteration?
Yeah.
So it's like before you, someone had already set this up that you can iterate very quickly.
Yeah, I think the foundation there is extremely good for developing and research models.
And often I find this is kind of boring, but like a lot of the improvements does not come from new algorithms.
It comes from finding small bugs here and there in the data pipeline, in the model training pipeline.
Those gave the biggest boost to the model quality.
It's interesting, right?
So you say it's like small team, less communication bandwidth, but also a lot of quality is like fine little bugs.
It seems counterintuitive, right?
You have a lot of people you can iron out more of those, but it's interesting to see the other side, right?
Yeah.
I also wonder, did you try using LLMs to look for bugs?
I don't know.
I remember at that time, it was mid-2025.
So the coding model wasn't quite there yet.
I remember like December 2025, it was extremely good.
Yeah, I've been using it at that time.
It's helpful.
Sometimes it produces codes that are kind of difficult to maintain, even though like the first time it built something extremely fast.
But it gave the...
Like a spaghetti code, thousands of lines that I couldn't maintain and the LM itself couldn't figure out what's wrong and how to improve on top of it.
But now I find it much, much, much better.
Yeah, I want to bring up another point here is like now coding models are much more efficient and can help us implement stuff much faster.
Compute might become a bottleneck again.
Because previously, like if you want to train a new model, say you want to generate new synthetic data or write a new algorithm, it might take a few weeks.
And during that period of time, you might not have experiments to run.
And now you can build that thing within a few hours, then you can immediately train a model.
Now you have to have enough compute to...
to try all of the ideas.
So compute might be the bottleneck of iterating speed again.
Yeah.
Actually, honestly, I think it's kind of a stressful job because you're like, well, I should be trying everything.
And if I'm not, then I'm not doing my job well.
I mean, there's also the stress of you're eating thousands of GPUs per hour, which is very expensive.
And, you know.
Compute can go to other researchers.
Daddy Elon.
Daddy Elon.
But you know, there's still finite amount of compute.
Like you want to use it, you want to use it while you want more of it.
That was quite stressful indeed.
Yeah, I think one thing is with coding models now, like a lot of these jobs can be automated, which is much better.
A second, it's a marathon.
So you got to maintain.
good house and regular schedule.
It's hard to hear that when you shift from zero to nothing in two months.
Yeah.
I mean, I think obviously the culture, actually, famously, you know, people work very hard.
One thing I did want to dive in, you know, in the notes that you sent ahead of time, you had specific comments about the cost of video gen training.
Presumably this is on the Colossus 1, right?
The 200 megawatt cluster.
And whatever you want to share.
I think there's three things you're talking about, right?
So there's video gen.
There's also the image gen model that you put out.
Do you want to like complete that?
Okay, so zero to one, you have a few months.
Just what are the stages of create?
Oh yeah, maybe I got distracted.
Sorry.
And then, you know, from there, there's video gen, there's audio gen.
I'd love to get into those next, but what is that first few months like?
So small team, a lot of bugs iterations, but like, you know, what does it look like?
Do we take something off the shelf?
Do we just...
Get data compute.
What's the few months like?
How do you go to state-of-the-art image and model?
How do you just start?
Yeah, I cannot comment specifically how excited I did, but it's a quite standard process.
I can draw some examples from Cosmos.
So mainly it's like building a video model, you actually need to build an image model first.
And building these two models.
the data you need is 100% synthetic pair of language and image or language to video.
Because on the internet, actually the videos don't naturally associate with text.
So you can say, oh, like on YouTube, you have the title and you have the description and the comments of the video.
But usually they're not relevant to the video itself.
And say maybe like the video is, natural scene of mountains or something and the title is like, I'm so happy today.
So they have no correlation at all.
So the first step is to, you have to generate a sensitive pair of language with videos.
So you gather videos from the internet and you use a VLM to caption the videos.
So that part Here's the question.
How do you get the VLM to begin with?
So like if there's no...
You fuse the model, right?
Say if there's no VLM exists, how do you generate the text to the beginning?
It's impossible.
In the beginning, it's like you ask human to describe the video as detailed as possible.
For example...
you ask them to describe everything, like all objects, all characters, and all interaction and dialogues in the videos.
So that's in the protocol of Cosmos labeling.
The objective we gave to the labelers was that you have to describe the video as detailed as possible, such that a blind person hears a blob of text, can reconstruct.
what the video is from their head.
Video or image?
You're talking about images?
Video or image.
Either one of them.
This was pretty common when we went from Clip and Dali, right?
It's all training on really detailed captioning of images.
So same is applied to video, but instead of using multimodal model to pass in video or images and write rich descriptions, you can also...
I mean, I think that's the traditional perspective of supervised or, you know, very highly human curated thing.
I feel like there's an unlock with unsupervised, right?
Where like you have enough to bootstrap that you can just throw common corpus on it or, you know, whatever.
Like unsupervised vision and language pairing, right?
Like where you just have interspersed image and text and it just learns.
To me, that is the VLM breakthrough that is different from the clip.
different from the pre-LM era.
Yeah, yeah.
It's interesting to see that you kind of need both data.
Yes.
For example, for the generative model training, there's also really like a small percentage of unlabeled data.
So the model is instructed to generate a video without any text instruction.
That can also help the model generalize.
So after this stage of generating a sensitive pair, so one important common step is to train a compressor or a tokenizer of the image or videos.
So because if you're trying, if you can technically, theoretically, train image or video models on pure pixels, but the problem is that it's a lot of tokens.
So like one image, like it's a thousand by a thousand, it's like one million tokens, one million pixels.
It's impossible to train transformer on that.
So you need to train a tokenizer, which can go from image to latent space and latent space back to image.
That's why we named the podcast.
Exactly.
But basically you're talking about vocabulary science.
Yeah, it's a vocabulary.
Like a million is impossible?
In generative.
models, the vocab is continuous.
It's a continuous space.
You can think about, like you map an image to a vector.
It's a fixed length vector.
It's like 16 or 48, something like that.
And then you map that vector back to the image space.
And the mapping is patch-based.
So you say you have a 16 by 16 patch, and you map that patch of pixels into this latent space.
We've covered the vision transformer.
VAEs.
Yeah, VAEs.
You basically compress your input, you do your generation, you're reasoning all that generation in smaller dimension, and then you project back out.
VAEs is a form compression, but for me, the patching thing is from VIT, right?
You can make literally the paper is titled like 16 by 16 is all you need.
Something like that.
And then I think also people make a lot of comparisons with this kind of patching with convolutions.
Yes.
Yes.
Which is you are kind of reconstructing the old paradigm with the new.
Yeah.
Actually in VAEs there are both convolution networks and transformers.
You can actually do both.
Yeah.
After this VAE, so what you've got is you've got latent space tokens and you've got the language tokens.
So now the training of the diffusion transformer, usually generated models use diffusion transformers.
It's actually quite standard.
It's very similar to how you train language transformer models.
It's not that much difference.
It's just the tokens.
The visual tokens in, visual tokens out.
The only difference is there's a denoising process.
So you train the model to unmask some of the noise.
So you add random noise to the visual tokens, and then you train the model to remove those noise to generate the clean tokens.
And in inference, the model can iteratively remove noise from 100% noise.
Yeah.
And then there's also, to speed things along on the tech tree of diffusion, there's CFG, and then there's also, I guess, latent diffusion that, you know, there's someone in there.
I think somewhere along the line, obviously like Stability and all these other guys pioneered a lot of this like architecture.
I don't know if you want to get into that or just do the video side up to you.
After you train such model, such image model, The reason it's a foundation for video models is that image models are cheaper to train and they have much denser connection between language and text.
So, sorry, language and images.
For example, you train a billion, you train on a billion images and there's a mapping from the text to...
to the image and the cost to train the same like a billion text to a billion videos, that's much more expensive because videos naturally have more tokens than images.
Because the diffusion models, their understanding of language purely come from this mapping.
So if you don't have enough mapping, say if you only train on like 10 million videos or something, you might not see enough language tokens in your training.
So your model does not understand human intention enough.
So that's why you first train this image diffusion models and then you bootstrap the video model from there.
One thing I did want to ask, because actually I think you're the first video model person I've ever talked to, I think.
We've talked to Luma and all those folks.
There's all these tricks in video compression where basically frame by frame, there's not that much difference.
So actually you don't have to regenerate or resave the whole frame, right?
I think MP4 compression or something else like that.
Is it tempting to use that?
Or as far as I can tell, everyone just treats it as, no, we will just generate every frame.
Is that roughly the state of the art?
There are a few different approaches.
Let's say first, like you want to just directly use MP4 compression.
And you use that as the tokens for the transformers to train, right?
So people actually have tried that.
But the main challenge is the latent space for the MP4 tokens are not very comprehensible for the models.
It's extremely hard to train on that.
And there's a...
So that's why they created VAEs, which creates more continuous latent space so the models can understand the latent space and learn from it much easier.
Even within the VAEs, there are different difficulties of the latent space.
So you can imagine something that the simplest, the most naive VAE is like you have an image and you just shuffle all of the images into a...
into a vector.
So you don't need to train any of these threads.
But that latent space is extremely hard for models to train on top of.
That's why there's some debate on how do you compress the tokens.
So you mentioned you can compress frame by frame.
Also, you can compress...
the temporal dimension.
Yes.
The difference is if you compress temporal dimension, you get a much higher compression rate because there's temporal redundancy between frames because this frame and the last frame, likely they are mostly similar.
So there's only some small difference.
For example, like I think in 1.2.1 VE, they have like an 8 by 8 by 4 compression rate.
So the four temporal tokens are compressed into one tokens.
That can save a lot of the context length.
If you do it frame by frame, you have to do maybe like eight by eight by one.
Your context length will be four times larger.
That being said, the benefit of the per frame compression, we might come back to this later, is real timeness and interactivity.
Because if you...
If you strain the output of the model frame by frame, the model can respond to any user request immediately.
So if you have like a temporal four compression, four times compression, then it might be laggy.
Yeah, there's a lag there in nature.
So you're very piled on this.
Let's just go ahead and bring it up because we have the visual prepared anyway.
There's some frontier applications of real-time video gen.
So Flipbook is one of the examples that went viral recently, right?
What is Flipbook?
Flipbook is kind of like a web browser.
You can see it has the web browser UI on top.
The difference is all of the UIs are generated by...
generative image model in real time.
And anything here are fake.
But you can explore inside this imaginary world.
Say, here we have engineering the Great Pyramid.
The model generates this for us to understand how it works.
And if we want to navigate around and understand further, we can click on some of the some of the description here.
As a model, they'll generate a new page, new subpage, describing the details we want to know about.
So it's basically kind of, we're playing a video, but it's pausing for our next interaction.
And then it just plays the next thing based on our interaction.
Yeah.
It's kind of cool.
Yes.
And you kind of decide your story.
So this was, you know, how do you make a pyramid?
Levering technique seemed interesting, right?
It shows.
How do you take...
Okay, I want to know what is this.
The demo tweet had more animation between frames.
I think it's just skipping...
It's just skipping a lot of frames.
They also have a video mode, but I guess a lot of people are using it.
There's a live video stream.
We can try.
Yeah.
So this is an example of the kind of future that you see at the extreme.
We're obviously not in it today.
But in a world where inference is completely free, this is better than generating code in text?
Yeah, so...
This is the final state of BRVLB at for a world model, I think.
Imagine internet doesn't exist and then you type in google.com.
Like what should a model show you?
The model can imagine something and this is what the model imagined.
And these webpages, they completely do not exist.
So I think as a...
inference class come down, we are going to have generative UI for everything.
If you think about how the coding model works, so they write code for our webpage and they render, the code might be converted into binary and the binary render the pixels on the screen.
So we, in machine learning, every time we have some breakthrough, obviously it's more end-to-end.
So why don't we have like user instruction to the pixel directly.
So the generative UI will be user intention to the pixels directly.
And say like, even if I want email, let's say everyone has the same interface, but I want it slightly different.
I want the email to show to me like a TikTok so I can swipe left and right for the emails.
Or maybe you want something else.
We can have completely different things.
Or like I have, I'm looking at Instagram stories.
I don't like the like button.
I always make click it and generate the UI with audit.
So it's going to be a revolutionary replacement of the interface.
So in the future, we might have much more powerful LMs and coding models running behind the scene.
And in the frontend, the diffusion model will actually be the frontend to show stuff to you.
That's how I imagine it.
Yeah, diffusion frontend, deterministic backend.
Yes.
Something like that.
I find it very expensive, but, you know.
I find it interesting you called LLM's writing code on the backend deterministic, but okay.
Yeah, you write it once, and then you execute.
If you think about the cost, say, let's say H100 costs $1 per hour.
And if you use this eight hours a day and 30 days, so every month you're paying this 240, you're likely not want to pay for that.
That's even more expensive than Cloud Code Max.
But if you think about the compute costs come down like two times every year.
I think that the future will likely arrive.
It's everything, right?
Compute cost comes down, compute gets faster, model gets smarter, model gets smaller.
Yeah, I don't know why you say two times because I think it's like a hundred times.
In language models, it is roughly 100 to a thousand times every 12 to 18 months for the same given level of LMSYS ELO.
That's a net of everything, right?
That's model performance alongside compute.
different than just compute costs come down.
But, you know, a very interesting future.
Yeah.
The web designers will have to shout out that accessibility is an issue, right?
Like, you know, how do you deal with screen readers or whatever?
But yes, this is higher bandwidth storytelling than anything you can possibly generate with code.
Right?
So I think that's the rough idea.
And I'd like to add a little bit of that.
So humans actually have the maximum bandwidth when they are looking at things, look at videos.
And we also have maximum output bandwidth when we're talking.
So in the future, it might be something like we talk to AI models and the AI model responds back with a generative UI.
So that will be the maximum input and output bandwidth to interact with AI models before neural link happens.
And I mean, it's also very custom, right?
Some people are very visual.
Some people are not as visual, right?
They prefer the text, but...
The best thing about generative UI, right, can also be text.
Yes.
There's another project that we wanted to highlight, which is the Neural OS.
Kind of similar idea, but here you're literally simulating an operating system with a video model.
Yes.
And you can play Doom, you can do Firefox.
I find this mildly less impressive, obviously, because it's an OS that I can run.
But here, everything is imagined.
I was, you know, used to the Command W to close the Firefox tab.
It didn't crash.
It's too immersive.
It's too immersive for me.
I wanted to close the tab.
But yes, I can play generated, diffuse.
This is shockingly fast.
Yeah.
Because I remember there was a demo about like maybe one or two years ago.
Someone tried to do the first person shooter with an image model.
There was no consistency.
It was very slow.
But here, realistically, this is Doom.
I mean, I think there's two sides to that, right?
There's like, okay, what is running a game?
The heavy part of it is actually the game engine, all the lighting, all that stuff, the graphics.
This is just kind of video, right?
Like we've solved consistency.
This is still, you know, it looks like a few years old in mid-generation.
There's some temporal consistency, but it's kind of just images stitched together as frame video.
But it's a good visual representation to picture the future you want to see, right?
Like that's what I see in these more so.
This reminds me of how the video models gets better and better.
So in your OS, if you just look at it, it feels like it's just a crappy version of the Windows we could have, right?
But the difference is, so this model is overshitted on...
the existing operating systems, it can generate nothing different than that.
But it's actually also similar to video models.
So when we're training these video models, image models, we train them on internet.
There's no imaginary supernatural stuff on the internet.
But once we train this model, you can prompt the model to generate something supernatural that have never existed in the dataset.
If you train your neural OS or neural computer on the standard screen recordings on the entire internet, the model can imagine a completely new interface to interact with the computer.
Yeah.
This is one of those things that is magical to me.
Usually generalizing auto distribution is bad.
But somehow we have learned some kind of internal world model.
Yes.
That you say, you know, this plus, but it looks like rainbows and butterflies, it'll do it and it'll kind of make sense.
Yeah.
So yeah, that's kind of cool.
Yeah, I don't know if there's any comment more on there.
I do wanted to touch a little bit more on the model architecture stuff, which I think you were getting.
It's really fascinating.
We don't get a chance to talk about this enough.
So one of the papers that we covered, we've covered every annual segment anything release.
And I don't know if you follow, I mean, you're a computer vision guy.
So they did memory attention, which is kind of interesting.
And I always think like anything where you can across the temporal dimension, keep some consistency.
I think it's like very fascinating.
And I don't know if basically like does that, the CV side bleeding into video gen side, I think it's underexplored, right?
Like we talked about it for labeling, but actually you can borrow the architecture itself.
And there's also complete different approaches, right?
You brought up the term world model.
So we went from video model to world model.
There is diffusion, but there's also other approaches that people are doing.
So maybe we get into those after as well.
Yeah, he has a whole definition of world models and stuff.
I feel like we threw a lot at you, whatever you want to comment on.
I think one thing that we should actually comment back on is like, okay, so we were talking about the steps to train image gen to...
video model, one thing we don't see as much of is like, okay, you brought up the Delta in training data, right?
So you won't have as much a video model, might not generalize, but what is the cost of training a large video model?
So we know for LLMs roughly, okay, even like the poolside thing that came out today, right?
It's a Gemma level model trained on roughly 40 trillion tokens at this many H200s over this much time, right?
You can see what is the exact cost of that.
how many GPU hours over how much H200 costs.
So how do we do the backend math of, you know, same thing for video models, image models?
How do you kind of break that down?
I can share some back to the envelope calculation.
So surprisingly, video models is, like the cost is very, is comparable to language models.
And obviously the largest scale is language model, maybe like a medium scale to language models.
I said just storing the videos alone, it costs a lot.
You can maybe look up on AWS or something.
You really like say if you have a billion videos and let's just say like each video, like five megabyte, then you will need like five petabytes to just store those videos.
And also remember we talk about you use a VAE to compress the videos and you also need to store, typically you need to store those continuous feature on also in your storage.
That's also comparable size with the videos themselves.
So just storing these videos and the features is tens of petabytes alone.
And I just looked up the calculation.
Five petabytes on S3 standard is 100k per month.
Okay.
And you need, you know, then like a 10-cell petabytes, 200K.
And even more expensive is you have the ingress and egress through the internet.
You have to just to download those videos.
I believe it's more expensive on AWS than just storing those videos.
And each training runs, you probably need to pull them once.
If you train multiple times, it's even more than that.
So it's like just storing the network, those costs, it's just, I guess it would be a few millions per month to just storing everything, not to mention the GPU costs.
My side tangent, like in there.
Compute rental, like GPU rentals, very efficient.
There's one side, okay, you can be XAI and build your data center.
Should we not just build our storage compute as well?
Of course.
Cloud costs compared to just, you know, storage.
You save so much?
Yeah, exactly.
Especially with like egress and stuff.
So, you know.
That's a good idea.
It also comes to, there are some of its own challenges.
Of course, of course.
Yeah, like people who build the GPU data centers, they might not expect this much storage.
And people build stars.
Typically, they just build it somewhere.
There's just CPUs.
I just looked it up.
AWS only charges for egress, not ingress.
Tier 5 for 5 petabytes is 230k.
Yeah, even more expensive.
But storing is per month, right?
You check in and you cannot check out.
That's so cool.
It's okay.
So there's that side.
Yeah, dear, you know, my backhand math.
Data is larger than you think.
Yeah, my backhand math of GPU hours times GPU costs is also very much, you know, I'm missing some stories.
You're basically like also more IO bound than normal training.
Yes.
Yes.
Because data loading, caching, everything becomes super important.
Yeah.
So in Cosmos, we did a lot of optimizations to make it not IO bound.
Yeah, speaking of the training, actually training the model that GPU costs, if you look up like the open source model Hobbix, these video models are, I think like LTX has 19B parameters.
That's a dense model.
And people are also exploring MOEs.
So it might be like a 20B active and like a 100B total.
So that's similar size as medium-sized LLM models.
And if you look at a number of tokens, we disclose that in Cosmos.
It's also like tens of trillions of tokens on the visual tokens.
So putting this together, the cost of training these video models, it's actually comparable with LLMs, not to mention the...
The infra is slightly different from LLM, so it might be less efficient to train these models.
Do you get the benefits of traditional diffusion speedup?
So for images, there's LCM, LORAS for fine-tuning.
There's a lot of stuff.
Yeah, there's slow matching.
There's a lot of stuff that's been done.
There's some overlap that applies to diffusion on the inference side and stuff?
Yeah, so...
So the difference, the inference side is a completely different story.
I think for the training side, it might be a little bit hard to reduce that cost.
And for the inference side, the biggest gain is from the distillation of these models.
It's called step distillation, slightly different from knowledge distillation in all of them.
So typically for flow matching models, you need like 100 steps or something.
Like a defilution model even need even more like a thousand steps to generate a good image or video.
A step defilution is trying to learn to generate any fewer steps from the model itself.
It's kind of like now you use the full model to generate in 100 steps and then you take a model that only generates 10 steps.
and let that model learn from the perfect one.
Yeah.
Why does this work?
Strong to weak.
It's kind of like strong to weak.
From the modeling perspective, the teacher model is trying to model the image and videos of the internet.
And that distribution is extremely complex.
As a step distilled model is just trying to learn from the teacher.
The teacher is a model and the size is fixed.
The distribution is much simpler than the whole internet.
That's the intuition I have why step distillation can work.
So usually these models serve in productions.
They only run in a few steps.
In Cosmos, I believe we have four steps and eight steps.
If you do some simpler task, like image-to-image translation, it can even run inferior step by one step in Cosmos transfer.
Yeah, I think this is the same intuition that guides a lot of the consistency model work.
I sent you a link for SCM.
I don't know if you covered that.
To me, that was actually one of the most impressive papers I've ever seen from OpenAI.
This is the unifying grand concept of consistency models.
I don't know if you have any comments on this.
So there are a few different approaches.
Oh yeah, here it is.
Two steps versus 20 or 100 steps, whatever.
It's already done.
So there are a few different approaches.
For example, consistency model.
And there are also, actually, we shouldn't forget GAN.
So GAN, actually, that was the OG of step distillation.
It trend just one step to begin with.
So actually a lot of, for example, there's a distribution matching distillation, which uses GAN as one of the laws for distillation.
GAN just tells you, hey, generate an image.
And then it has a discriminator to tell, is this image real or not?
So the model just needs to learn one of the distributions, not the full distribution.
Because in training, the model is asked to reconstruct the ground truth image from the internet, which is extremely hard.
And when you're training GAN, it's a one-step process.
It's just, hey, you generate image.
Does this image look as real as the image from the internet, which is a much simpler task?
And combining a lot of these approaches together, people typically do that, like consistency model and distribution matching.
And again, we can get these few-step models.
Okay, then there's one step I wanted to add, which is audio and video.
Yeah, so Glock Imagine 0.9, I believe it's the first audio-video trend model.
deployed at a large scale.
And that was your first model?
Yeah, that was Grok Imagine's first model.
It's audio-video joint generation.
I think the hard part is the modality alignment.
Because before this joint model, we have text-to-video alignment.
We have this corresponding vision text and video.
Typically, most of the they understand images and videos.
Videos are very rare and they don't understand audio mostly.
And if you look at the audio generation on the OLM side, you can talk to them perfectly fine, but if you ask them to sing a song or something, it typically is not very good.
Also, they don't have music either.
The hard part is that actually audio has two components.
It has like a discrete component, a continuous component.
The discrete component is like there's a language.
So when we speak, it's just a some...
It's an ASR issue.
Yeah.
Yeah.
It's text token with some characteristics, I would say.
I think the speech guys will disagree.
It's like disfencies and then, you know, I say largely.
But the music is completely different.
It's very continuous and you cannot model them like discrete tokens in language models.
This is like the hard part for models.
Not to mention we have to align.
text, video, and audio together.
Yeah.
How?
So significant, some significant challenges are like, so first, like we talk about as the VRMs, they cannot understand, most of them cannot understand audio.
So you have to have some way to do the synthetic data generation for audio.
You have to caption the model and that involves that involve society and human data effort a lot.
And not just surprisingly, most of the RLMs are very bad at recognizing the beat, tone, and the details of music.
They can give some general prediction of which song is this, but it's very hard to describe the details of the music.
Like we mentioned in image generation, like you have to describe image as details as possible so that someone blind can reconstruct that.
So here is like someone deaf can reconstruct how the music sounds like without actually listening to it.
Maybe like you can think of it need to have the...
what they call the subtitles.
You gotta have all the details of the music and the dialogue.
So is the challenge there typically stuff like music and audio or is it just like, is there a baseline?
Okay, there's enough data where we can understand, you know, narration, conversation, but there's nuances in audio that that's where you hit all the data issues or is it just from stage zero you just do it all right?
So one important thing is like the alignment.
So the model has to know like the video and audio, it has to have a time-based alignment, like at which time step the video and the audio token correspond to each other.
We actually don't have this kind of alignment for most of the other modalities.
If you think about like...
text and image, text and video, they are loosely aligned.
So you can have a description of what's going on in the video, but you don't have to exactly, you typically don't have exact description.
Oh, at the time step, one second, like what happened?
It's very coarse.
So what was the ideal time step?
You have to delete it and then it's like four seconds or something.
So that comes down to how you design the model for the model to be aware of as a time modality.
So the model is like a time aware.
And that's something pretty unique if you think about OLMs.
So if you ask OLM to complete a task, say you ask them and they will say, oh, this task will probably take 12 hours to complete.
They come back in one hour, say, I've already spent two days on this and I've exhausted everything.
Yeah, so the OMS themselves, they don't have a sense of time there.
I actually don't think that's just them not having a sense of time.
I think it's somewhat based, right?
Like you tell someone, okay, go work on this feature, go implement this.
There's a general understanding you would have of how long that would take.
without LLMs working at LLM speed, right?
So you think back like two years ago, if I tell you to like build me like a new front end for latent space, have a search bar, have all this, you'll estimate that'll take a few days, right?
So you tell an LLM, go build this.
It'll take me a few days.
But you know, I think it's somewhat grounded as opposed to them not having the best, not saying that they have a great understanding, but I think that example is like, You can see where it comes from.
You're trained on all over the text.
They're trying to estimate what a human would say.
Yes, because that's what the data kind of represents.
It came from the corpus on the internet.
People have an estimate.
Yeah, and not even just in direct training samples, right?
Just your world understanding of tokens of how long stuff takes, right?
Go read a book.
It'll take you a while, right?
Even if you do nothing but read a book, it takes a few days.
So yeah, I'll let my Reddit.
It took me a few hours.
It'll take me a few hours to go through this research.
But this is a tangent.
So I want to, yeah, this is a train of thought I haven't really expressed until now, which is basically like a full world model must also be recursive, meaning that the participant in the world model must also be aware that they have a world model, which is like this whole recursive thing down the line.
But yes, and that the world model can be wrong and that they need to update it and blah, blah, blah.
Yeah, we've argued this on the newsletter as well, that there needs to be sort of recursive or adversarial world models.
Okay, I mean, just, you know, to ask, how do you define world models?
Oh yeah, let's go there.
Yeah, so just for context, you know, we talked about video generation, and then there's a, if you say there's a distinction between world models, what's your definition?
How do you see the two?
Yeah, so disclaimer, I'm not going to debate what is word model.
There are many definitions, so I'll just talk about my definition.
Since I came from the multi-model domain, so mainly talking from video.
So word model is like real-time, interactive, long-horizon videos.
So there are three parts.
So let's talk about them one by one.
So interaction.
So we just look at Facebook and neural computer.
So the interaction part of it.
So word model can allow you to interact with them through keyboard and mouse and maybe also voice.
So these are also modality.
You can interact with the model and the model should respond reasonably.
Second part is real time.
So once, say, you move your mouse, say, the world model generates a game, how fast can that game respond?
So if you're professional CSGO players, they might say, oh, you have to respond in sub 10 million seconds or even less.
So that's not, I guess, most of the...
Oh, 60 FPS.
Let's go.
300 FPS.
500 FPS.
Wait, okay.
Yeah, I didn't do the math, but yeah, okay.
Yeah, 300 FPS, that's a three million second.
So you have to respond within a second.
Most of the video models cannot do that.
But if you have a video model that is, say, like a digital human, the response time might be more generous.
Maybe like, Typically, like for real-time voice interaction, it's like 200 milliseconds.
So that's much more generous.
But even 200 milliseconds is pretty tricky because like, remember we mentioned, you have this temporal compression coming from the VAE.
So if you...
If you don't compress a temporary dimension, your sequence lens is going to explode.
So if you want to have this real time, real timeness in your model, you have to do this on context problem.
And the third part is long horizon.
Because we're not going to just play with video games just like a few seconds.
Most of the video models, only a few seconds.
We're going to play with minutes, hours.
the model have to be able to generate long-form content.
So putting these three together, it's a real-time, long-horizon, interactive videos.
I think the final state will be, for example, like a video version of Playbook where you can interact with a neural computer.
You move your mouse and you click on the generative interface and it will reply to you through pixels generally in real time.
But getting there, it's a very long way to get there.
So one of the first steps at Gorky Imagine where I led a small world model team there was to build video extension.
Video extension...
Ah, it's the first step of interactivity.
Yeah, it's the first step.
You have it here, video editing, yeah.
Yeah, so the first step is because this unlocks long horizon videos.
Typically, for most of the video generation models, you give it a prompt or an image as an initial frame.
You generate videos, that's it.
That's just one time, done.
and some creators would try to use the last frame as a first frame for the second video.
Sometimes it works, but if you do it a few times, it's a quality degree.
It doesn't have that context over the full video.
So the temporal.
Yeah, because you only gave it the last frame, of course, right?
Exactly.
It's actually a pretty fun hack.
Oh, no, he has something better.
Yeah, yeah, yeah.
And for example, like if you...
I remember View 3 has a one-second context of the last video.
It's slightly better than using the last frame, but it has the same problem, similar problems that the quality would degree, like if you extend a few times to like one minute, the video quality would look much worse than the first video.
Second, another problem is that the model doesn't have long range.
knowledge of what's happening before.
Say, if they generate some dialogue to people speaking, their voice might change over some time, especially if the one-second conditioning does not cover the previous context.
So these are the core challenges.
So the Grok Imagine video extension, it has historical...
context of all of the previous generated videos.
It has the context of who is speaking and what objects have appeared and everything.
Having that to generate the next video.
So if we naively do this, you can imagine like just put all of the previous history video tokens into the context.
The context lens will easily explode.
It's actually for video models, that can be like a few million contexts.
I would imagine, contexts, yes.
What's wrong with that?
For example, like in Cosmos, I think just five seconds of video is like a 50K or 60K number of tokens.
So like if you do 50 seconds, that's 500K tokens.
If you do longer than that, easily explode.
This long horizon problem was the first step we were trying to solve world model.
It turns out people love video extension.
A lot of the creators love using video extension to create longer form videos.
This is the part I like that you have an intermediate step towards the final goal.
It's just a straight shot to the...
the final version very much.
Yeah, but I can see you have a strong vision of where we want to end up.
Yeah.
Does it seem like it's an efficiency issue?
Like, okay, we're at a few million tokens context, you know?
If you draw the parallel to language models, we had very short context, 2,000, 8,000, then, you know, you scale it up, 1 million, 10 million.
Sure, there's effective context, you know, but...
At the end of the day, it's just what's it worth?
Like, sure, there's a whole training data side.
In video, it might be slightly easier because we have 100 million token video, right?
Just take a movie with the full context there.
Like, is this efficiency from an inference standpoint that, like, it's expensive, but we know how to solve it?
Or, like, why is this not the approach?
So like my broader point was on your second point of role models, you say it needs to be interactive and live, right?
You should be able to play a game and see the interaction live.
So one thing I see with research is a lot of what you actually...
serve is different than what you build, right?
So we talked about distillation.
You train big model, you distill it, you do quantization, speculative decoding.
We do all this stuff to serve it efficiently.
Should we not just have a solution, like a world model that can interact well, do inference optimization, serve it, distill it, secondary.
So make it real time after you solve it.
So like another parallel is say continual learning, right?
What we need is someone to solve it and show it works inefficiently.
Give it a few years, people will make it efficient.
Same thing with regular attention, right?
It worked over a few years.
People have different forms of attention and we've scaled it to be efficient at log context, you know?
So kind of two things there, right?
One is like, it seems like it works.
You've scaled it.
Can we not just scale it a lot more efficiently?
over time?
Do we need a separate approach if this works?
And same thing with interaction, right?
If we can get it done, like if we can solve some way that it works, you know, we can solve making it more efficient from an inference standpoint later.
Yeah, that's actually a very good point.
So in VDoS, there's actually a lot of redundancies.
So we solve a lot of the pixel redundancy from VAE, but there's more redundancy in long range and long horizon videos.
Say if a character appear in the first clip and then it disappeared, it only reappeared like at the end of the video, you probably don't need the context like in the middle of the generation.
So you only need that character where you need.
So that's why I helped build another feature.
It's a reference video.
Is it here?
Is it the same model release or different one?
It's a different one.
You probably need to search on apps reference to video.
So reference video allow you to upload up to seven images as condition and generate the video save.
I want, it can be characters or objects or even scenes.
So like I want condition on Sean's selfie and holding a blade or whatever.
Yeah, we have a dog.
We put the dog in the thing.
Yeah, you can put them there and the video models will generate the video and copy the context over.
So that can solve a lot of the problems there.
like the long context problem.
It doesn't need to have a very long context, but I feel like it's an intermediate solution.
It's cheating.
Yeah.
Yes, the model should be able to selectively know, like, where should I draw references?
So say if I want to generate a movie, I generate it autoregressively, like 10 seconds at a time or something.
And now this character up here, I can...
look back to where it first appeared and bring that back.
Yeah, this one, I put the references.
Yeah, that's Optimus Einstein.
Myself, Annie.
Oddly enough, I used Grok Search to find it and it pulled your LinkedIn post.
But you know, we found it.
Okay, this is a problem.
This is not your fault, but XAI doesn't communicate all this work that you do very well.
because they just have the model release and then that's it.
But like, actually, these details are very, very good.
As far as I understand, everything you just described is state of the art.
Like, no one else has done it.
Thanks.
Yeah.
A lot of, yeah, I have a lot more.
And then you just put this blog post with the cookies.
I'm like, this is not enough, you know?
But obviously, this is like the high-level numbers that people want to know.
And I wonder, you know, like, part of that is also like, Some labs don't share research into what happens.
No, but this is literally bragging about how good they are, right?
Why would you not say that you are capable of extending with full context?
You know, this is not a secret sauce.
This is like, we did the work.
Like, yeah, I don't know.
Yeah, I guess different labs have slightly different communication styles.
Yeah.
Anyway, if anyone from XAI is listening, we are always happy to help you tell your story.
Yeah, okay.
So you did references.
And I think kind of the point you're making is like, it is sort of like a kludge, right?
Like this is, you can do seven, but what about 100?
Yeah.
Right, then you need a completely different thing.
So I think it's like, this is like a mechanism to like select the context from the history.
And you might not put the entire history into the context.
For example, there's a paper called Frame Pack, which have a heuristic that the latest history, like the last one second, I put the entire history and the history before that, I would compress it and make the video smaller.
So I follow this pattern, this beautiful pattern that the maximum sequence of students is fixed.
So the further you are from the current frame, you have a smaller image.
So this is just a heuristic.
I think it can be more automatic.
The model is aware, like which history part of it can be select.
So this part of the research is actually being actively worked on by a lot of people.
It's also quite interesting.
I feel this is actually, this part of long contacts is a little bit ahead of the LLM part.
So for example, in LLMs, if the contacts keep growing, Let's say if you call a tool and the tool call history is extremely long, that's still in context.
And keep growing, keep growing.
Even if you switch the topic to something else, the whole context was there.
There are some agentic harnesses.
that help you to, say, prune the tool results and prune, like when you query a file, only show like the top 200 lines or something.
Those are very heuristic driven.
For listeners, we did a write-up on the Cloud Code leak where there are eight different kinds of pruning, including like you prune the tool results and all that.
So you can read up on that kind of thing.
Yeah.
I think one breakthrough in continual learning might be like a way to automatically manage its own context.
These are all heuristics and they will be replaced by machine learning.
Yes.
Interestingly, the same thing is being researched in both LMs and video models.
The interesting thing is also like in the paper you showed, it's actually happening at the model level, right?
Compared to like, like with models, sure, we have base attention, but you know, we'll do our own compression, we'll do our own pruning, which is separate from model error.
Eventually, it all just boils in, hopefully.
Yeah.
I think this is a form of attention, but also no sort of reasoning attention.
I feel like that's different than normal attention.
Does that make sense?
Yeah, it's different in the sense that attention, not to mention, set sparse attention aside, like normal attention.
Like UKV.
You have to attend to all of the tokens.
Yes.
So you don't have a...
high-level mechanism to drop which tokens you don't want to attend to.
As humans, the potential span is surprisingly small.
You can only remember 11 digits of a phone number.
But I have feature detection, right?
I can detect, oh, that's a sequence of 1234 in a phone number that is 11 digit.
Very good pattern matters.
But humans' contacts can, like, attention can work because we can dynamically pull in contacts from different places.
The same mechanism, I think, is going to happen for RLMs and video models.
Yeah, RLMs is one of the recent work.
Yeah.
Which is not that crazy, but it's just recursive.
I think it's somewhat inherent in models too, right?
Here's a nice example.
You pull up these, you can read it fine.
But language models are also very good at slope parsing.
You know, you have a...
I throw my typos in there.
It doesn't matter.
Yeah, yeah.
You have a transcript.
You have whatever.
Just throw it in.
And it's very good at parsing through noise.
You know, that may be a brute force.
It can look over and reason over it.
But like, you know, there's parallels to both.
I think it's just really fascinating how you relate the world model stuff to the video generation, which I don't think a lot of people...
hear directly from people like you.
So I think that's really helpful.
Any other work?
Do we cover like video, audio, world models?
Any other stuff in that Omni team, I guess?
Or any other work at XAI you want to talk about?
Seems like everything we see publicly announced.
Oh, cool.
Cookies.
And then there's so much more to it.
There's a lot of that.
Any underrated stuff, you know, just at the time there?
Yeah, show the...
As a culture, it is quite interesting and a bit underrated.
So the culture is three sentences.
Move fast.
Build.
No goal is too ambitious.
And the first principle.
Like, usually the goal set was very ambitious.
It wasn't very, it wasn't possible to achieve when I was first thinking about it.
Like, for example, I could build.
build something in three months.
And was that like, okay, we're starting team, we want image, we want video, do it by this deadline?
Or, you know, how do you work back?
Like, was it just, okay, we have a rough by, you know, this date we want something out?
Or is this like...
That's a very good point.
So it's from first principle of thinking.
If you think about...
People might say like first principle thinking applied more to the physical world than the models.
I would say, for example, like if you think about some limitation, for example, acquiring data, like how fast can we acquire the videos?
And if you think about training the models, like what's the iteration speed for training a model end-to-end and how...
how would adding more GPUs accelerate that timeline?
And maybe if you need human data, like what's the turnaround time for human data to arrive?
If you put all of those together, that is first principle thinking where, oh, you know, like what is a timeline?
What's the minimum number of days that is possible to achieve something?
I think this is a lot of Elon's type of thinking, right?
He's like, I've...
I think he's famous for saying that the only law you can't break is the thoughts of physics, something like that.
Just broadly, you worked a lot with Elon.
Yeah, I guess one benefit is like working at XAI, you got a chance to interact more with Elon.
So I was very fortunate to get a few retreats from him.
And that was quite fun.
He also works very closely with people.
Like people imagine online, like he's very hands-on.
There are two things.
One, so I was actually looking up Elon retweeting you.
I'll pull it up.
He talked about you tweeting that you have a really good voice mode.
For me?
No, no, not him.
Oh, I also did it.
I actually saw...
I would DM you feedback on voice mode because I was like, wow, really good.
And then I'm like, oh, this sucks.
But I don't know, anything you want to talk about, about your voice mode building?
It was a team you worked on as well.
That's actually not a part of the team I worked on.
Yeah, it probably worked on more of the video.
No, but Grok voice, actually, very good.
This is one of those things where, first of all, you can speak at 2X, which is fun, which I listen to 2X, so I like to speak at 2X.
But also, I think, the interruption was better than Gemini.
I don't know how it compares to ChatGPT real-time now, but as far as driving was concerned, having Grok in my Tesla and driving, I think it was a really good experience.
Yeah.
He likes voice mode.
But also, just the crazy reach by you.
50 million viewers are just saying, yes, true.
Yes, true.
Oh my God.
But, you know.
It's pretty cool how fast it came out.
I guess the other thing is the safety aspect of video mode.
Anything interesting to talk about there?
Spicy.
Spicy question.
A lot of the countries where they don't allow generative AI videos without watermarks.
So in all of those countries, Grok Imagine had watermarks.
And a lot of the...
lots of takedowns of the videos were also happening extremely fast.
I mean, it's part of running a social platform, but also it transfers nicely to the Genii side.
Do you have a perspective on SynthID versus other kinds of watermarking?
Yeah, I guess it's going to be harder and harder to detect.
Yeah, these things.
So since ID, one thing is, previously it was only Google, and now a lot of different labs are also adapting it.
A limitation is the technology, the paper was out there, and people can reverse engineer how to get rid of it.
And I think even as it advanced, it's still...
still possible to reverse engineer it.
Yeah.
So if you are interested, you can go onto Reddit and people have taken out the exact, like, I don't know, what do you call it?
Mask or pattern that Google applies.
And then you can apply it onto any Google generated photo and you can reverse out the synth ID.
Yeah.
And it's also harder and harder to just judge by eyes.
I remember like a couple of years ago.
There's like six fingers or something.
It's very obvious.
My current is actually the audio.
I feel like the audio is really lacking.
My way to tell is something is the eye generated.
Outside of like, okay, I think I've seen enough.
I have a decent eye.
The audio matchup, especially of Sora, is not great.
It's all similar style.
But there's...
Those are minor imperfections.
I think the point is that like, actually my closest reference to this is also Ian Goodfellow.
Because I think he did the adversarial GAN thing where it's like, okay, here's a picture of a zebra.
Then you change one pixel and it becomes a panda.
This is like a classic computer vision issue.
Yeah, if you think about how these models were trained, like I mentioned before, GAN was in the training process.
The objective of GAN is the model generates an image.
And the model, there's a judge.
to tell if the image is real or not.
The model is trained to make the image more real.
So as the model becomes more and more advanced, it's going to be harder and harder.
For me personally, now I have to judge by if these videos have logical sense.
If these videos...
Have a world model.
Yeah, yeah, yeah.
No, I also like the audio is too nice, too studio quality.
the lighting is too good, the skin is too clear, you know, basically the lack of imperfections.
Yeah.
Do we have a good way to do reasoning in diffusion?
Like, is that what separates video generators from world models?
Or, you know, we really know how to apply it to other aggressive language models.
Is there a parallel for diffusion, video gen world models?
Like, on that point, right?
He has a thing on video agents.
Yeah, that's a good question.
Yeah, actually, I have a pretty big claim.
The visual intelligence are actually mostly coming from language.
Like these video models, especially from now, since the diffusion model technology is more mature, like every time you see there's some improvement on these models, I would say mostly there's a gain.
comes from language model, not coming from the video model itself, like the video distribution model themselves.
In Cosmos, typically these models, they have two parts.
Like there's a prompt rewriter or the prompt up sampler part.
I think in Cosmos, we use LAMA or we use Mixtro.
The Cosmos video model itself is only 7B, and the language model is a prompt rewriter.
It's bigger than that.
So the prompt rewriter's task is to take user instruction and convert it to extremely detailed description of the video.
So because the video diffusion models, I would describe, they're kind of dumb.
because they take the input instruction literally.
Because in the training process, remember that we have to describe the video as detailed as possible when we are creating the synthetic text pair.
So this model, they take those kind of instructions to generate the videos.
So in...
When you're taking the user instructions, the user instructions are really very simple.
Just say a cat or something.
If you put a cat in the video model, they would take that instruction literally.
They would literally show a cat in maybe a white background because you didn't describe the background.
The cat is not moving because you didn't describe it.
It takes the instruction quite lazily.
It's kind of dumb.
And the prompt rewriter is actually a much bigger model, which is a language model that takes the user instruction and expand it.
So the thinking process you mentioned is from there.
So if you look at like a GPD image, like you generate an image in 30 minutes.
30 minutes is not all like a pixel generation.
A lot of time is spending on thinking.
So prompt rewriting now have evolved to not only just thinking, it can also be an agentic model.
For example, say you wanted to generate the image of today's news.
So it's likely they'll go to fetch today's news online and then process them, digress them, then organize the layout and generate it.
Another thing quite interesting is...
If I'm not mistaken, it's no longer a diffusion model, though, right?
It's autoregressively, or is there still?
There are different approaches.
For example, like Chemnick Omni, since they said it's Omni, I believe it's a single model.
Maybe it's something like, it's a language model with a diffusion head or something.
Like the language model...
do the thinking, do the agentic tool calling, and then it would use the diffusion head to generate the image in the end.
There were also approaches like Cosmos where you have a secondary language model and separate diffusion models.
And there are also like a purely language model, like you discretize the images and then you generate the image as discrete tokens.
So there are different approaches.
I would say one of the claims I've seen for why these approaches struggle is because a lot of the benefits for how we currently learn reasoning with language models is you basically iteratively generate reason, you have your thought, and then you work on that answer, right?
So if you have like omni model and then diffusion head, you can't feed that back in to continue reasoning, right?
So you can't go like text image, text image, you can't reason on the output and then go back to diffusion.
But I guess in the new Gemini Omni, you would be able to as long as you have.
Yeah, I'm not sure if they have that process.
I guess it's definitely possible in the Omni paradigm.
Yeah.
So if you think about like traditional multimodal language model, they would have a VIT encoder that can encode the image.
So if they have a deficient has, they can generate the image and then put that back into the VIT encoder.
encode that and then do the iterative refinement of the result.
Yeah.
I think you have to jointly train the VIT and the diffusion to make that somewhat reasonable because otherwise you're kind of like mismatching or feeding in slop.
Yeah.
I think it depends on the stage of training.
You might be able to freeze it.
But anyway, also just on your earlier...
I wanted to also make explicit.
We do know that Nano Banana and GPT Image are autoregressive language model with diffusion head.
As far as I can tell from your description of Grok Image, it is not.
It is end-to-end.
I cannot ask you how it is.
The way that you described it.
But I think there's different approaches, right?
You started off saying prompt rewriter is a big part of the intelligence.
And even on that, I think everyone should try using an early diffusion model.
If you've used stable diffusion one or whatever, if you've seen the prompts, you know, ultra high-res, 4K, this style, like, oh my God, the first time I tried one, you don't talk to them like language models, right?
Your prompting is very, you know, comma separated.
You're literally talking in the labels that were in the data set, right?
Yeah.
But basically, I'm just trying to make the point that prompt writer and then image is different from autoregressive language model with diffusion head, right?
They're different things.
Yes, they're different.
Just wanted to establish.
I feel like the common part is like the, the image part.
So it's quite surprising that a lot of the improvements came from the language side, the thinking, the tool calling.
So I still remember in Cosmos, I generate a happy sheep.
If there's no rewriting, it looks so CGI.
And after I write it, it looks so beautiful.
I think...
Without any joint training.
Yeah, actually without any joint training.
With rewriting, it's already much better.
A very interesting thing, I guess, will happen is video agents, mostly language models, will call these generative models, either it's a separate model or a diffusion head or whatever, as a tool.
So this model can iteratively...
refine the results or even like generate longer content through a very long chain of thought.
It's actually very similar to how humans create art.
So we don't generate the pixels directly.
We literally draw something.
And I think through this process, like these models not only use diffusion as one of the tools.
It can also use traditional tool.
It can also use image editing tools from Photoshop.
It can use video editor, FFM pack, whatever to take combination of these and the generative AI technology as a set of tool and they can iteratively create a much better video.
for production grade quality.
If you look at existing professional creators, they don't end at generating a video from these models.
They will take this video to their editor and edit here and there.
So much post-production.
Yeah.
And sometimes actually the reason the video is good is not really the video model, it's actually the editing.
And yes, we also are engaged in the same process as well.
Would you love to use a video editing model?
Yeah, actually there's Grok Imagine Agent Beta.
That was the first attempt in that direction.
So I think the process would be similar.
It's just agent mode.
Yeah, you can ask it to maybe generate a one-minute video, which is not possible if you ask the same prompt to video models.
But this model will literally call different tools to do that.
So yeah, this is actually an interesting thing.
So when we first released a video editing model, I see on X some people, try the video editing feature.
It's like, edit this video to be one minute.
Because they didn't understand how video editing works.
Video editing typically is just a removal, add, replace, start transfer, this kind of thing.
But that's actually a valid request under the assumption of video agents.
So these agents should be able to understand these kind of long horizon tasks to be able to easily create a long form video.
I think this is really fascinating because it's kind of taking the same direction as first you have these assisted AI assisted coding kind of like tab completion, GitHub co-pilot.
And from there you gradually evolve to codecs and cloud code where you do things fully automated.
So in Glock Imagine Asian mode, you can still go in there and do stuff by yourself.
Gradually, as the model capability increases, it will be able to do everything fully automated.
Yeah, I like that.
Okay, so it looks like it's still generating.
Also, I did notice the Glock in mid-gen was always very, very fast.
I don't know if this is something you guys benchmarked, but this is just a tangent.
Compared to when I used to use before the latest OpenAI's image gen, and same with Gemini Nano Banana, I would oftentimes use Grof.
It's in the benchmark somewhere.
Imagine API blog post that they have all the speed things.
Mostly combination of distillation plus inference.
Yeah, there are a bunch of things.
We talk about distillation.
And if you have talked about thinking, if you don't have any thinking budget, the model can just think three minutes and then come back to you.
And also like inference, the inference infra team was very talented and they were able to accelerate a hell of a lot of these models.
Yeah.
Yeah.
I mean, you know, my comment on the video agents things, like I'm trying to figure out like when people say video agents, when you initially told me about your bet on video agents or your vision for video agents, I was a little bit disappointed.
I was like, oh, you mean like models are tapped out, now we have to do agents.
But like, I think you have to, right?
The question now is how much model training is it really going to make a difference versus just building a better harness?
Like you said, the models don't have to be jointly trained.
You can just take an off-the-shelf frontier reasoning model, slap it on the harness, give it Grok as a tool.
That's it.
That's your video agent.
Doesn't seem super satisfying.
Obviously, you can co-train and get some more percentage points of performance.
But like, if your central claim that the majority of video or generative media, alpha or whatever, is actually coming from language intelligence and not image diffusion or video diffusion, then that is the future.
Primarily, just wait.
If you pop back at the example, you know, it generated frames.
Sorry to interrupt.
It's been saying like, okay, I'm going to start stitching these frames together.
It's using every fan page.
This is what GPC Image Pro as well is doing, right?
It's also just writing code in the background and then just doing an image pass on the final output.
It feels dissatisfying for the people who want to just train models.
It's interesting, right?
It's also somewhat exciting.
Like you brought up earlier, a lot of the gains don't...
come as much from the video.
Like, I think you can see that in the language model space too, right?
Anthropic, very, very good at coding.
Their multimodal, not the best, right?
They have basic input PDF, but like, you know, there's clearly a disconnect in the quality of their image, video processing, audio processing, yet intelligence, very top tier.
Other labs, Gemini, OpenAI, XAI, you can add modalities, but it's not like they're unlocking crazy capabilities, right?
So.
It's interesting.
Yeah, it's interesting to see that because the video model's capability increase actually comes from language model being more intelligent.
I think video agent, it can unlock more stuff than you might imagine.
So there's a few things.
So one thing is when we are prompting these models, so most of the people were actually not very good at prompting.
Actually, language models have a better sense of how to prompt AI models.
AI models know AI models better.
So if you jointly train these models, maybe as a model, have a better sense of how to prompt each model.
Like a different model might be different.
Another thing is, it might not as simple as just like a generated field clip and slap them together using FFM-Pag.
There might be...
more image and video editing to appear in this process.
Say if you want to exactly add a blob of text, add this time step.
The video models might not get that intention very precisely, but these are possible using these deterministic tools.
The video agents can use all sorts of tools.
So you don't have to put all of the capabilities into the transition model itself.
Yeah, I think that's very true.
No, so for what it's worth, I think you're right.
I think that this will be a big category.
I think probably you are predicting like the next one year in video is going to be all this.
Do you have a time prediction for how when this stuff ramps up?
I mean, they already started.
It's not very good yet.
No, it's so good.
I think the last one's just longer.
It didn't give me a minute.
It gave me 36 seconds.
But, you know, are we feeling it now?
Is there going to be inflection?
Is there any timeline predictions you want to make?
I guess at the end of this year, this is going to be a big hit.
So the inflection point will be there.
And the video is generated by video agents.
can get to production great quality, it can be presented and it can be distributed in ads.
And once that happens, I think the enterprise will have much more budget for Vito models because the agents are inherently more expensive than the...
as a video model themselves, because they do this iterative process.
They generate many, many variations.
Yeah, but once these models have this past this usability threshold, I think it's going to be exponential growth beyond that.
Yeah, I would fund a company right now based on this thing.
So I think you're right.
One thing I'm surprising, I'm reflecting on the whole past hour or so conversation.
I think you're into world models and video generation for video generation's sake.
I think that a lot of other world models people, we've interviewed a lot of them.
Genuine Tuition and Fei Fei Li and all those guys.
And Moon Dream, which I think I told you about.
Moon Lake.
I keep saying Moon Dream.
God damn it.
Moon Lake.
A lot of them actually say like robotics is the end game.
Like embodied robotics.
you want real time, you want interactive, it is to interact with the physical world.
You're not that concerned about it.
I think robotics will be a big part of it for sure.
I guess the process may happen naturally.
So my prediction on robotics is that the problem of physical AI might be solved.
Like, we saw actually need to...
be in the real world.
So it might get solved by a video.
LLM is very strong video capability.
So remember we talked about the real-time interactive long horizon video.
So now these models are just training on screen recordings and computer screens.
Once these models can use computers and understand the future state of computer extremely well, the robots might be one of the tools a very powerful AI can use.
So the powerful AI might just be able to control the physical embodiment naturally.
I see that for sure.
Cool.
I know we are coming up on time.
You left one more spicy topic, which is why you left XAI.
For me, there's a lot of research you want to do that you cannot do as a company.
And also the priorities and objectives for a company typically can change very fast.
It's also the same for XAI.
now is kind of like the time to do some research I want to do, especially more on language model side that I cannot do at XAI.
Oh, okay, yeah.
You're basically leaving, you had this whole transition from computer vision to world models, video generation, to now you're focusing on LLMs.
But it seems like, you know, a lot of you saying focusing on LLMs, you really, in the past hour, described how it all ties together, right?
Yeah.
But I don't know.
What do you mean by focusing on all the lamps?
I realize the fact that the video models, even like in the beginning, the game might come from improvement on diffusion technology.
But this is a point where actually most of the game come from the language models themselves.
It's a huge black pill for anyone who has spent their career in generative media.
I mean, that's an extreme view, right?
You still definitely need a bit of both, right?
Yeah.
There's just, it seems like more pressing, impactful work to do now on language model side.
Do you have any similar predictions?
So you predict the video agents.
I think you'll be right.
On the language side, what are you looking for in the next one year?
I think one thing pretty interesting, I think might be happening soon is the language models will be context aware and manage its own context.
So some, like from the video model side, we've been suffering from, it's a long horizon issue, like we want to generate video longer and longer.
And we've been trying to solve the context lens issues through various ways.
One thing is just brute forcing train longer context lens.
Another is to manage the context better.
I think the same thing in language model is also going to be happening soon.
So for example, like the language models, they're not aware of how long their own context length is.
Once they hit like 80% or something, the automatic context compression is getting triggered.
And the model is not aware of that when it's working.
Maybe it's good for the models to know, oh, I'm approaching like 80% or something.
And something also pretty interesting, like for example, in OpenClaw, like every time you type in something, like a time, the current local time is automatically attached to your message.
So the model actually know what time is it.
So this is making the model timer there.
And also like in tool calling, a lot of the intermediate to call results automatically pruned.
So there's like context removal, context addition, and context compaction.
So all of these are from the harnesses themselves.
From our experience, the heuristic engineering also has the models get absorbed into the models themselves.
I guess that's something very interesting to explore.
So infinite context?
Maybe.
No, but it's interesting, right?
It is in the space of memory and continual learning.
I don't know.
It's also like in the space of agent harness use, right?
He's saying he doesn't want to do it in a harness, right?
No, no.
But models are also being trained on using harnesses, right?
So some of it is, you could say, implicitly leaking in, right?
Part of that post-training of language models is, okay, using it in coding harnesses, in which case, you know, when are sub-agents spawned?
When is compaction going to happen?
It's not explicit.
Like, you know, you have this much token window, which I don't know if you want it to be as that'll change, but it's somewhat leaking in there.
I'm imagining what if the model have access to the whole code of the agent harness itself and be able to modify it to whatever you want.
Say if the agent harness is short enough, you can just put in the context lens, in the system prompts.
And then the model will say, when I want to spawn a future version of myself, I can modify the agent harness.
For example, if the agent harness can be, oh, when I'm reading a long document, I can choose to read the whole thing in chunks and come back, smash the summary together.
Or I can just read the first 200 lines and discard the rest.
And all kinds of choices, if they can be made by the models themselves, it might be very interesting to see that the model can program itself online in test time.
Yeah.
So the self-modifying harness is also part of OpenClaw and Pi, but I think there's a lot more work to do there.
Very cool.
I think part of me is kind of curious, you know, like I think you are a part of Big Lab, right?
And there's this career path of a researcher at a Big Lab, which is you train models, you get more compute, you train better models, you keep going.
And somewhat, I feel like you're opting out of that.
If I were you, I'd be like, oh, I think this is like a bit of a career risk.
You know what I mean?
I don't have any comment apart from like, you're very strongly convicted.
I think that a lot of people in your shoes would not be doing what you did.
Yeah, speaking of my career, if I look back, actually there were a lot of huge transitions.
So 10 years ago, I was doing research with ResNet authors, Xiang Yu, Zhang, and Jensen.
At that time, the research were completely different.
It was mostly configuration like image recognition, object detection, object tracking.
I was also doing neural net compression at that time.
It was quite different from knowledge to solutions these days.
And at that time, I wanted to be a professor and I applied.
When I applied for a PhD, I already had a few first author papers.
at top conferences.
So I confidently applied to the top schools.
But turns out I got rejected by all of the top PhD programs.
So I had to go to the industry.
At that time, I was at Facebook Air Research Fair led by Ian LeCun.
I wanted to talk about VJEPA, but it's different.
Yeah, we can leave it for another time.
Yeah, I switched to At that time, I switched to self-supervised learning.
It was quite different from what I was doing in computer vision.
And after that, it's NVIDIA, Cosmos.
So I realized scaling up was extremely important.
So at NVIDIA, I was mainly focusing on scaling.
So one thing is Cosmos scaling the video distribution models to a few billion parameters.
And another thing is I was working on MOEs.
The Megatron MOEs was the first framework open source to be able to train these MOEs at very large scales, like a hundred billion parameters to even trillion parameters efficiently at like 40% MFU.
And going to switching to XAI was trying to work on even larger compute scale, even further.
And yeah, looking at this trajectory, I actually worked on a lot of different things.
So I feel actually within ML, it's actually easier to switch than you think.
Like a lot of people might have mindset that, oh, I work on...
I work on computer vision.
I always have to work on computer vision and I cannot switch to language.
And from my experience, at least at NVIDIA, I worked on both language model MOEs and also video models.
It's actually not the case of others.
But also the core principles, how to train large models are largely the same.
And yeah, for me, I feel right now the bottleneck for video models is actually the language part, the agent, which is why I want to go to work more on all lamps.
One thing is it's a bit of a challenge.
I don't think it's a huge jump.
Yeah, I mean, kudos to you.
I think you have a lot of strong vision there.
Yeah, I think that was mostly everything that we wanted to cover.
You've been very generous with your time.
And it's really nice that you are able to share all these things now.
We don't have to go through XAI to clear everything.
But also, I think we didn't get you in trouble.
It's a lot of good stuff about XAI.
Compared to what you just see in the releases, right?
You don't realize how many more levels there are to it.
XAI, please do more podcasts.
Anyway, thank you.
But thank you for sharing.
It's been very kind.
And also, like...
I want to hear more from you.
I think you are going to embark on your next phase.
You haven't announced what you're doing next, but clearly you have, you know, more vision and more ambition on this path.
And I think you're basically kind of gradient dissenting to like whatever your final form is.
Thank you.
Yeah.
Yeah.
I'll share more about my next chapter soon.
Okay.
Thank you for having me.
Thanks for coming.
