TRANSCRIPT 🔗
WEBVTT
1
00:00:00.080 --> 00:00:12.620
[on-hold music] Okay. We're here in the studio with Eden Ha, uh, most recently of xAI. Welcome. Yeah. Thank you. Glad being here. We're also here with Vibhu.
2
00:00:12.780 --> 00:00:22.700
Uh, you were first coming to us or joining the latent space world because you were working on Kosmos at NVIDIA, and you did a- Yeah... great paper. We loved it. Uh, you presented it as well, so thank you for doing that.
3
00:00:23.120 --> 00:00:33.200
Yep. I've actually, I also presented the MoEs- Yes. Yes... yeah, twice [chuckles] at latent space. Yeah. Yeah. How did you actually hear about us? Did we reach out to you? Is that how it worked?
4
00:00:33.560 --> 00:00:39.020
No, actually, I-- the, the community. Like I, I realized, oh, there is this online community- Yeah...
5
00:00:39.280 --> 00:00:52.080
that people talk about AI and also learn, learn from each other through papers e-every, every week through the Paperclip. It, it's very nice. Yeah. I learned a lot. Uh, I think three years nonstop.
6
00:00:52.120 --> 00:00:58.880
We haven't stopped even on Christmas and New Year's. So ma-many weeks I want to stop, [laughing] but it keeps going. [laughing] No, that was good.
7
00:00:58.980 --> 00:01:07.900
I think you had posted that you worked on a paper, and I was like, "Oh, very cool. We have Paperclip presented." Yeah, yeah. But I might have reached out to you after. Yeah, y-y-- because it's an amateur club, right?
8
00:01:08.060 --> 00:01:18.020
Yeah, yeah. Uh, so it's very un-unusual and-- but we have sometimes paper authors come by and, and actually explain the paper. Today we just did, uh, the poolside paper, which was apparently very good.
9
00:01:18.300 --> 00:01:25.460
Came out yesterday. Yes. Uh, pretty interesting, right? Fully open. They talk about everything, systems. So it's a good one. We'll, we'll recommend- Yes... people to read it.
10
00:01:26.020 --> 00:01:34.160
Bring us up to speed on your transition to xAI, 'cause I actually don't even know when you joined. Uh, just like tell the, tell the story about the sort of transition.
11
00:01:34.760 --> 00:01:39.520
Before xAI, I was working on Kosmos world model as an-- at NVIDIA.
12
00:01:40.280 --> 00:01:53.360
So Kosmos is a, it's a giant video foundation models that can-- that aims to simulate the world and for-- it serves as a foundation of-- for all of the roboticists to build on top of.
13
00:01:54.140 --> 00:02:05.600
There, once I built the Kosmos one, I realized as a thing also has a scaling law similar to language model. We need to scale, scale up the video models further.
14
00:02:06.540 --> 00:02:19.880
Uh, that's, that's why I realized I need to move to somewhere with much more compute resources. That's how I- Than NVIDIA? [laughing] The GPU rich came themselves. [laughing] Yeah. Yeah.
15
00:02:19.940 --> 00:02:30.160
And timeline-wise, when was Kosmo? It was pretty early, right? It was open world model, open paper, everything. Yeah. It was like, uh, end of twenty twenty-four. End of twenty twenty-four. Yeah.
16
00:02:30.320 --> 00:02:42.000
Then at, at mid twenty twenty-five, I moved to xAI. At that time, I, I joined about the time when xAI was about to build video models and in multi-model models.
17
00:02:42.540 --> 00:02:54.640
There were no, no infra, no data, and no model, and it just as a few engineers, we, we built it in three months and released the first model, Grok Imagine zero point nine.
18
00:02:55.780 --> 00:03:03.300
And since then, I, I keep working on video models and move more from pre-training and to post-training of the video models.
19
00:03:03.400 --> 00:03:12.720
For example, like a reference to videos, kind of like the cameo feature and, uh, video extensions. And, uh, and, uh,
20
00:03:13.740 --> 00:03:27.920
before I left, I, I work on a world model, leading a small team to, to focus on the real-time long horizon video generation. Can you give like a rough roadmap of like, okay, you're on a brand new team.
21
00:03:28.480 --> 00:03:38.240
Grok previously was only text, or they partnered with BFL for- Mm-hmm... uh, their, their image gen stuff. What do you-- what, what are the building blocks, right? You have compute. Data you can procure somewhere.
22
00:03:38.320 --> 00:03:46.200
Like just like, you know, what, what are like 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.
23
00:03:46.620 --> 00:03:56.100
You guys had to go through getting the data too, right? So- Yeah... you shipped it pretty fast, but yeah, I would- Yeah, three months is like- From everything... actually like very surprisingly fast. [laughing] Yeah.
24
00:03:56.200 --> 00:04:09.540
One thing I say like thanks to my experience at NVIDIA, 'cause first time when we were building Kosmos together, we built it, uh, for about a year. So, so this is like the second time I do it.
25
00:04:10.080 --> 00:04:23.480
Roughly, roughly have an idea like what to do. I say the most important thing is, is the talent. Everyone, everyone were very strong and clever, ve-very close with each other towards a common goal.
26
00:04:24.300 --> 00:04:34.400
So that speed up things a lot. So you reduce the communication bandwidth among people, and everyone can, can work towards the same goal.
27
00:04:34.520 --> 00:04:46.740
It's, it's like every day there's not that much meetings on the calendar, like maybe like a, like a, a sync a day, and after that is, it's just all building. It was pretty fun at that time.
28
00:04:47.780 --> 00:05:03.940
And another thing is that xAI has very strong foundations of like data, data inference, model inference, and the, the supporting there can, can help the model develop a lot.
29
00:05:04.720 --> 00:05:17.220
When I look at like training models, I don't... Uh, so actually the, the top important thing is like how many, uh, how many iterations can you do like per, per day?
30
Load full transcript
00:05:17.640 --> 00:05:23.000
Uh, and the, the more iteration can you do, you can, you can train the model much faster.
31
00:05:23.700 --> 00:05:34.540
So if you have very strong infra and you, you have a lot of compute, you can, you can train these models in very short period of time. That can
32
00:05:35.560 --> 00:05:47.480
give you a, a much larger buffer to, uh, for errors, and it also gives you the opportunity to spot more bugs. Uh- Yeah. What, what is an iteration?
33
00:05:47.600 --> 00:06:01.300
Is it like a, a few hundred steps or what, what are you- Let's say just the train-training the model, like from acquire new data and maybe design new algorithms and train, train a new model, maybe at smaller scale or- Yeah.
34
00:06:01.440 --> 00:06:10.660
So cycle time for like any hyperparam that you're searching. Yeah. Cycle time and tune- Yeah. Yeah... to like eval this model. Is this model better than my previous iteration? Yeah.
35
00:06:11.040 --> 00:06:22.484
So- So it's like before you, someone had already set this up that you can iterate very quickly. Yeah. I think the, the foundation there is, is extremely good for Developing and research, research models.
36
00:06:23.624 --> 00:06:33.184
And often I find is, is it kind of boring, but like a lot of the improvements does not come from new algorithms.
37
00:06:33.304 --> 00:06:46.964
It comes from finding small bugs here and there in the data pipeline, in the, in the model training pipeline. Those give, those give the biggest boost to the model quality. [laughing] It's interesting, right?
38
00:06:47.024 --> 00:06:55.004
So you say it's like small team, less communication bandwidth, but also a lot of quality is like find little bugs. It seems counterintuitive, right?
39
00:06:55.044 --> 00:07:04.184
You have a lot of people, you can iron out more of those, but it's interesting to see the other side, right? Yeah. Yeah. I also wonder, have you-- do you try using LLMs to look for bugs? Like, I don't know.
40
00:07:04.264 --> 00:07:17.004
[chuckles] I remember at that time it was mid two thousand and twenty-five, so it's the, the coding model wasn't quite there yet. I remem- I remember like December two thousand and twenty-five, it was extremely good.
41
00:07:17.724 --> 00:07:27.644
Yeah, I've been, I've been using it at that time. It's, it's helpful. Uh, sometimes it, it produce codes that are kind of difficult to maintain.
42
00:07:27.724 --> 00:07:42.724
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 LLM itself couldn't figure out what's, what's wrong and how to improve on top of it.
43
00:07:43.264 --> 00:07:56.804
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, help us implement stuff much faster.
44
00:07:57.624 --> 00:08:12.444
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 and then or write a new algorithm, it might take a few weeks.
45
00:08:13.124 --> 00:08:23.904
And during that period of time, you don't-- you might not have experiments to run. But now you, you can build that thing within a few hours, then you can immediately train a model.
46
00:08:24.984 --> 00:08:36.904
Now you have to have enough compute to, [chuckles] to try all of the ideas. So compute might be the bottleneck of iterating speed again. Mm-hmm. Mm-hmm. Yeah.
47
00:08:37.364 --> 00:08:48.124
Um, yeah, I, I actually honestly, I think it's like 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."
48
00:08:48.164 --> 00:08:58.804
[chuckles] I mean, there's also the stress of your eating thousands of GPUs per hour, which is very expensive. And, you know, compute can go to other researchers. You got the daddy Elon to- You got daddy Elon.
49
00:08:58.824 --> 00:09:11.264
[laughing] Yes. It was- But you know, there's still finite amount of compute. Like, you want to use it, you want to use it well, you want more of it. That was quite stressful indeed. Yeah, I think one, one thing is
50
00:09:12.284 --> 00:09:28.024
the-- with coding models now, like a lot of these jobs can be automated, which is much better. A second, it's a, it's a marathon, so you, you gotta maintain good health and, uh, [chuckles] a regular schedule.
51
00:09:28.044 --> 00:09:38.484
It's, it's hard to hear that when you shift from zero to nothing in two months. [laughing] Yeah. I mean, and I, I think obviously the, the culture at xAI is very famously a, a, you know, people, people work very hard.
52
00:09:39.124 --> 00:09:48.164
Um, o-o-one thing I, I, I did want to dive into, you know, in our-- in the notes that you, that you sent ahead of time, uh, you had specific comments about the cost of VideoGen training.
53
00:09:48.724 --> 00:09:56.604
Uh, presumably this is on the Colossus-1, right? Uh, the, the three hundred megawatt cluster. And whatever you want to share on that. I think there's, there's three things we're talking about, right?
54
00:09:56.644 --> 00:10:07.264
So there's VideoGen, there's also the ImageGen model that you put out. Do you wanna like complete the, okay, so zero to one, you have a few months. Just what are the stages of create in- Oh, yeah, maybe I got distracted.
55
00:10:07.304 --> 00:10:15.164
Sorry. [laughing] Um, and then, you know, from there, there's VideoGen, there's AudioGen. Would love to get into those next. But what is that first few months like?
56
00:10:15.224 --> 00:10:23.964
So small team, a lot of bugs, iterations, but like, you know, what, what does it look like? Do we take something off the shelf? Do we just get data compute? What's, what's the few months like?
57
00:10:24.004 --> 00:10:38.184
How do you go to state-of-the-art ImageGen model? How do you
just start? Yeah. I cannot comment specifically how exactly I did, but it's, it's a quite standard process. I can draw, draw some, uh, ex-examples from Cosmos.
58
00:10:38.804 --> 00:10:46.264
So mainly it's like, uh, building, building a video model, you actually need to build a image model first.
59
00:10:46.984 --> 00:10:58.484
And building, building these two models, the data you need is a hundred percent synthetic pair of language and image or language to video.
60
00:10:59.084 --> 00:11:05.184
Because on the, on the internet, actually the, the videos don't naturally associate with text.
61
00:11:05.564 --> 00:11:16.304
So you can say, oh, like on YouTube, you have the title and you have the description and the comments of, of a video, but usually they're not relevant to, to the video itself.
62
00:11:16.964 --> 00:11:30.264
And say maybe like the video is a natural scene of mountains or something, and the title is, uh, like, uh, I'm so happy today. [laughing] So they have n- they have no, no correlation at all.
63
00:11:30.924 --> 00:11:48.064
So the first step is to, you have to generate synthetic pair of language with the videos. So you gather videos from the internet, and you, you use a VLM to caption the videos. So that part,
64
00:11:49.004 --> 00:11:56.744
here's a question, like how do you, how do you gather VLM to begin with? So like if there's no- You fuse the model, right?
65
00:11:56.824 --> 00:12:04.464
Like- Say if there's no like VLM exists, like how do you generate the, the text to the beginning, right? It's, it's impossible. I see.
66
00:12:05.044 --> 00:12:11.724
In the beginning, it's like you ask human to describe the, the video as, as detailed as possible.
67
00:12:12.556 --> 00:12:25.456
For example, you ask them to describe everything, like all, all objects, all characters, and all interaction and dialogues in the, in the videos. 'Cause that's in the protocol of Cosmos labeling.
68
00:12:25.876 --> 00:12:43.356
We require the, uh, 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 like from, from their head.
69
00:12:43.656 --> 00:12:51.076
Video or image? You're talking about images. Video or image, either, either one of them. Okay. This was pretty common when we went from like, uh, clip and DALL-E, right? Yes.
70
00:12:51.096 --> 00:12:57.296
They're both training on really detailed captioning of images. So same- Yes... is applied to video, but instead- Yes, same applied...
71
00:12:57.296 --> 00:13:04.336
of using multimodal model to pass in video or images and write rich descriptions, you can also... [laughs] I mean- Yes...
72
00:13:04.396 --> 00:13:14.616
I, I think that's the traditional perspective of supervised, uh, or, you know, very highly human-created thing. I feel like there's a unlock with unsupervised, right?
73
00:13:14.816 --> 00:13:25.076
Where like you, you have enough to bootstrap that you can just throw common corpus on it or, you know, whatever. Uh, like u- unsupervised vision and language pairing, right?
74
00:13:25.136 --> 00:13:37.036
Like where you just have, uh, uh, interspersed image and text, and it just learns. To me, that is the VLM breakthrough that is different from the clip, different from the, the, the, the pre-LM era. Yeah, yeah.
75
00:13:37.096 --> 00:13:42.996
It's interesting to see that you kind of need both data. Yes. For example, for the- You need it to bootstrap it up, yeah...
76
00:13:43.116 --> 00:13:55.736
yeah, for the generative model training, there's also usually like a small percentage of unlabeled data. So, so the model is instructed to generate a video without any text instruction.
77
00:13:56.496 --> 00:14:12.296
That, that can also help the model generalize. So after, after this stage of generation set appear, so, uh, one, uh, one important common step is to train a compressor or a tokenizer of the image or videos.
78
00:14:13.236 --> 00:14:26.816
So because, uh, if you train-- If you can technically, theoretically train image or video models on pure pixels, but the, the problem is that the, it's, it's a lot of tokens.
79
00:14:27.156 --> 00:14:36.316
So like one, one image, like, uh, it's 1,000 by 1,000, it's like one million tokens, one million pixels. It's impossible to train transformer on that.
80
00:14:37.136 --> 00:14:47.856
So it's, uh, 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. [laughs] Exactly.
81
00:14:48.316 --> 00:14:58.656
But, uh, basically, you're talking about vocabulary science. Yeah, so, so vocab. And so like what is, what is imp-- Like a million is impossible? In generative models, the, the vocab is continuous.
82
00:14:58.856 --> 00:15:10.556
It's a continuous space. We can think about like you map an image to a vector. It's a, it's a fixed length vector. It's like, uh, sixteen or forty-eight, something like that.
83
00:15:11.256 --> 00:15:23.896
And then you, you map that vector back to, to the image space. And the, the mapping is, uh, has-- The mapping is patch-based. So you say you have a sixteen by sixteen patch- Yeah...
84
00:15:23.916 --> 00:15:36.236
and you match-- you map that patch of pixels into this- Yeah... latent space. We've covered this a lot, the vision transformer. This is like VAEs, uh- Yeah, VAEs... you, you basically compress your input.
85
00:15:36.316 --> 00:15:44.876
You do your generation, your reasoning, all that generation in smaller dimension, and then you project back out. Yeah. VAE is a form compression, but I think the- Yeah...
86
00:15:44.896 --> 00:15:55.636
the, for me, the patching thing is from VIT, right? Yeah. You, you can make those. Literally the, the, yeah, the, the paper is titled like sixteen by sixteen is all you need. Uh, something like that. [laughs] Um- Yeah...
87
00:15:55.636 --> 00:16:05.616
a-and then I think also,
uh, people make a lot of comparisons with this kind of patching with convolutions. Yes, yes. Which is you're, you're kind of re- reconstructing the old paradigm with the new. Yeah.
88
00:16:05.656 --> 00:16:13.896
Actually, in VAEs, there are, there are both convolution networks and transformers. You c- you can actually do both. Yeah.
89
00:16:14.556 --> 00:16:22.296
After this VAE, so you, what you've got is you've got latent space tokens, and you've got the, the language tokens.
90
00:16:23.036 --> 00:16:37.796
So now the training, training of the diffusion transformer, usually generative models use diffusion transformers. It is actually quite standard. It's, it's very similar to how you train, uh, language transformer models.
91
00:16:38.256 --> 00:16:53.156
It's not that much difference. It's just the tokens, the, 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.
92
00:16:53.676 --> 00:17:04.776
So you, you add, you add random noise to the visual tokens, and then you train the model to remove those noise to, to generate the clean tokens.
93
00:17:05.436 --> 00:17:20.636
Any inference, the model can iteratively remove noise from one hundred percent noise. Yeah. And then there's also, uh, to speed things along on the tech, tech tree of diffusion, there's CFG, like, uh- Yes...
94
00:17:20.656 --> 00:17:24.756
and then there's, there's also, I guess, latent diffusion that, you know, is, is someone in there.
95
00:17:25.156 --> 00:17:32.136
I think, uh, somewhere along the line, uh, obviously like Stability and all these other guys, uh, pioneered a lot of this like, um, architecture.
96
00:17:32.636 --> 00:17:47.916
I don't know if you want to get into that or just, or do the, the video side. Up to you. After you train such model, such image model, the reason it's a, it's a foundation for video models is that image, image models are
97
00:17:48.856 --> 00:17:57.996
cheaper to train, and they have much denser connection between language and text. So, uh, sorry, language and images.
98
00:17:58.636 --> 00:18:21.556
For example, you, you train a billion, you train on a billion images, and there's a mapping from, from the text to, to the image, and the cost to train the same, like the, a billion, a billion text to a billion videos, that, that's much more expensive because videos Naturally have more tokens than images.
99
00:18:22.456 --> 00:18:30.016
Because the diffusion models, their understanding of, uh, language purely come from this, this mapping.
100
00:18:30.456 --> 00:18:44.616
So if you don't have enough mapping, so if you only train on like, uh, ten million videos or something, there-- you might not see enough language tokens in your training, so your model does not understand human intention enough.
101
00:18:45.256 --> 00:18:55.096
So that's why you, you really-- you train-- you first train this image diffusion models, and then you bootstrap the
video model from there. One thing I did want to
102
00:18:56.036 --> 00:19:04.816
ask, because I-- actually, I think you're, you're the first per-- video model person I've ever talked to, I think. Uh, we, we've, we've like, talked to Luma and, and all those folks.
103
00:19:05.596 --> 00:19:13.616
There, 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 re-save the whole frame, right?
104
00:19:14.116 --> 00:19:23.936
Um, but I think MP4 compression or something else like that. Mm-hmm. Uh, is it tempting to use that? Or as far as I can tell, everyone just treats it as, "No, we would just generate every frame."
105
00:19:24.496 --> 00:19:39.616
Is that roughly the state-of-the-art? There are a few different approaches. Let's say first, like, you, you want to just directly use MP4 compression and use, use that as the tokens for the transformers to train, right?
106
00:19:40.536 --> 00:19:57.276
So people actually have tried that, but the, the main challenge is the latent space for the MP4 tokens were not, were not very comprehensible for the models. It's, it's extremely hard to train on that.
107
00:19:58.176 --> 00:20:10.016
And there's a-- So that's why they created VAEs, which creates more continuous, uh, latent space, so the models can understand the latent space and learn from it much easier.
108
00:20:10.776 --> 00:20:15.516
Even within the VAEs, there are different difficulties of the latent space.
109
00:20:15.676 --> 00:20:32.336
So you, you can imagine something the, the simplest, the most naive VAE is like you, 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 VAEs, right?
110
00:20:33.116 --> 00:20:43.996
But that latent space is extremely hard for- [chuckles]... models to train on top of. That, that's why there are some debate on, like, how do you compress the, the tokens.
111
00:20:44.396 --> 00:20:57.876
So, so you mentioned, like, you can compress frame by frame. Also, you can compress, uh, the temporal dimension. Yes. The difference is if you compress the temporal dimension, you, you get a much higher compression rate.
112
00:20:58.556 --> 00:21:09.316
Because there, there's temporal redundancy between frames, because, uh, this frame and the last frame, likely they are mostly similar, so there's only some small difference.
113
00:21:10.236 --> 00:21:24.056
Uh, for example, like, uh, I think in 1.2.1 VAE, they have like a eight-by-eight-by-four compression rate. So the, the four temporal tokens are compressed into, into one tokens.
114
00:21:24.476 --> 00:21:37.036
That can save a lot of-- save, 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.
115
00:21:37.676 --> 00:21:46.636
That being said, the benefit of the frame-- per frame compression, we might come back
to this later, is, uh, real-timeness and interactivity.
116
00:21:47.156 --> 00:21:58.776
'Cause if you, if you stream the output of the model, uh, frame by frame, you can-- the model can respond to any user request immediately.
117
00:21:59.276 --> 00:22:11.976
So if you have like a temporal four, uh, four compression, four times compression, then- It might be laggy... yeah, there, there's a lag there in nature. So you're very pilled on this.
118
00:22:12.076 --> 00:22:21.976
Uh, let's just go ahead and bring it up 'cause, like, 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?
119
00:22:22.296 --> 00:22:33.056
What is Flipbook? Flipbook is, is kind of like a web brow- web browser. You can see, like, it has the web bro- browser UI on top.
120
00:22:33.516 --> 00:22:49.676
The difference is all of the UIs are generated by generative image model in real time, and anything here are, are fake. But you can, you can explore inside this wor- this imaginary world.
121
00:22:50.216 --> 00:22:53.976
Say, like we-- here we have engineering the Great Pyramid.
122
00:22:54.676 --> 00:23:13.816
Like, the, 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, uh, some of the description here, and the model will generate a new page, new subpage describing the details we want to know about.
123
00:23:14.376 --> 00:23:24.856
So it's basically kind of we're playing a video, uh, but it's pausing for our next interaction, and then it just plays the next thing based on our interaction. Yeah. Which is kind of cool. [chuckles] Yes.
124
00:23:24.876 --> 00:23:32.596
[chuckles] Yeah, and you kind of decide your story. So this was, you know, how do you make a pyramid? Uh, levering technique seemed interesting, right?
125
00:23:33.036 --> 00:23:40.596
It shows how do you take-- Okay, I want to know what is this- The demo, the demo tweet had more animation between frames. I think it's just skipping, uh- Oh, it's just skipping a lot of frames.
126
00:23:40.636 --> 00:23:50.356
Yeah, they also have a video mode- It takes a lot. There's a lot of people... but, uh, I guess a lot of people are using it. Yes, yes, yes. So it's not available. There's a live video stream. We can try, um... Yeah.
127
00:23:50.916 --> 00:23:58.696
So, so this is an example of the kind of future that you see at the extreme. We don't-- We're obviously not in it today. Yeah. But in a world where inference is completely free- Yeah...
128
00:23:59.336 --> 00:24:10.476
this is better than generating code and text? Yeah. So- [laughs]... this is, this is a final state of where Viva will be at for word model, I think.
129
00:24:11.136 --> 00:24:25.984
Imagine, imagine internet doesn't exist, and then you'd type in google.com. Like, what should, where should-- what should a model show you? Um, the model can
imagine something, and this is what the model imagine.
130
00:24:26.404 --> 00:24:37.784
And these web pages, they completely do not exist. So I think as the inference costs come down, we are going to have generative UI for everything.
131
00:24:38.644 --> 00:24:51.704
If you think about how the coding model works, so they, they write code for a web page, and they render the code might be con-converted into binary, and the binary render the pixels on the screen.
132
00:24:52.564 --> 00:25:04.104
So we-- in machine learning, every time we have some breakthrough, obviously it's, it's more intuit. So why don't we have like user instruction to the pixel directly?
133
00:25:04.584 --> 00:25:19.244
So the generative UI will be user intention to, to the pixels directly. And say like even if I want email, let's say everyone, everyone have the same interface, but I want, I want it slightly different.
134
00:25:19.744 --> 00:25:29.584
I want the email to show, show to me like a TikTok, so I can swipe left and right for the emails. And or maybe you want something else. We can have completely different things.
135
00:25:30.104 --> 00:25:39.264
Or like I have-- I'm looking at, uh, Instagram stories, and I don't like the Like button. I always may click it. And, uh, [chuckles] I'll generate the UI without it.
136
00:25:39.724 --> 00:25:53.204
So it's going to be a revolutionary replacement of the interface. So in the future, we might have much more powerful LLMs and coding models running behind the scene.
137
00:25:53.744 --> 00:26:05.464
And in the, in the front-end, the diffusion model will actually be the front-end to show stuff to you. That's how I imagine it. Yeah. Diffusion front-end, deterministic back-end. Yes. Something like that.
138
00:26:06.124 --> 00:26:16.824
I find that very expensive, but, uh, you know... I find it interesting you called LLMs writing code on the back end deterministic, but okay. [laughing] Yeah, you write it once- Compare, compare- And then you execute.
139
00:26:17.344 --> 00:26:33.164
If you think about the cost, say-- let's say H100 costs one dollar per hour. And if you use this eight hours a, a day and thirty days, so, um, every month you're paying this two forty, you, you'll actually not,
140
00:26:34.084 --> 00:26:38.044
not want to pay for that. That's even more expensive than Cloud Code Max.
141
00:26:38.764 --> 00:26:49.924
But i-if you think about the, the compute costs come down like two times every year, and I think that the future will likely arrive like- It's every year, right?
142
00:26:50.224 --> 00:26:57.944
Com-compute cost comes down, compute gets faster, model gets smarter- More efficient...model gets smaller. Yeah. I don't know why you say two times, because I think it's like 100 times.
143
00:26:58.604 --> 00:27:09.684
In language models, it is roughly one hundred to a thousand times every twelve to eighteen months, uh, for the same given level of LMSys, uh, ELO. That, that's a net of everything, right?
144
00:27:09.784 --> 00:27:19.304
That's model performance alongside compute. So different than just compute costs come down. But, um, you know, a very interesting future. Yeah.
145
00:27:19.584 --> 00:27:26.564
Um- So the, the web designers will have to [chuckles] shout out that accessibility is an issue, right? Like- Yeah. [chuckles]...how do you deal with screen readers or whatever.
146
00:27:26.904 --> 00:27:33.704
But yes, uh, this is higher bandwidth storytelling than anything you can possibly generate with code, right? So I think that's the, the rough idea.
147
00:27:34.584 --> 00:27:47.564
And I'd like to add a little bit that so human naturally have the maximum bandwidth when, when we are looking at things, look at videos, and, and we also have maximum output bandwidth when, when we are talking.
148
00:27:48.484 --> 00:27:57.004
So in the future, it might be something like we, we talk to AI models and the AI model responds back with a generative UI.
149
00:27:57.344 --> 00:28:08.304
So that, that would 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?
150
00:28:08.384 --> 00:28:17.024
Some people are very visual, some people are not as visual, right? They prefer the text. But the best thing about generative UI, right, it can also be text. Yes.
151
00:28:17.444 --> 00:28:27.584
There's another project that we wa-wanted to highlight, which is the Neural OS. Kind of similar idea, but here you're literally operating-- uh, uh, simulating an operating system with a video model. Yes.
152
00:28:27.744 --> 00:28:39.164
Um, and you can play Doom, you can do Firefox. Uh, I find this like mildly less impressive, obviously because it's an OS that I can run. [laughing] But here everything is imagined.
153
00:28:39.984 --> 00:28:49.224
Um- I, I was, you know, used to the Command+W to close the Firefox tab. [laughing] It didn't crash. That's why I said- It's too, too immersive. It's too immersive for me. Too immersive. I wanted to close the tab.
154
00:28:49.564 --> 00:28:57.144
But yes- Yeah...I can play generated diffusion. You know, this is shockingly fast. Yeah. Because I, I remember there was a demo about like maybe one to two years ago.
155
00:28:57.564 --> 00:29:09.284
Someone tried to do the first-person shooter with a image model. There was no consistency, it was very slow. But here it looks like realistically it's-- this is Doom. I mean, I think there's two sides to that, right?
156
00:29:09.344 --> 00:29:20.604
There's like, okay, one 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.
157
00:29:20.904 --> 00:29:29.804
This is still-- you know, it looks like a few years old image generation. There's some temporal consistency, but it's, it's kind of just images stitched together as frame video.
158
00:29:29.884 --> 00:29:43.964
But
it, it's a good visual representation to pi- to picture the future you want to see, right? Like that's, that's what I see in these more so. This reminds me of how, how the video models gets better and better.
159
00:29:44.424 --> 00:29:54.484
So Neural OS is kind of-- if you just look at it, it feels like it's just a, a, a crappy version of the, like the, the Windows we could have, right?
160
00:29:55.184 --> 00:30:10.684
And but, but the difference is, so the model-- this model is overfitted on the, the existing operating systems. It, it can generate nothing different than that. But it's actually also similar to video models.
161
00:30:10.744 --> 00:30:20.224
So when we're training these video model, image model, we train them on internet. There's no imaginary supernatural stuff on the internet.
162
00:30:20.324 --> 00:30:27.944
But once we train this model, you can prompt the model to generate something supernatural that have never existed- Yeah...in the data set.
163
00:30:28.604 --> 00:30:43.960
So if you train your Neural OS or neural computer on the standard Screen recordings on the entire internet. The model can imagine completely new interface to, to interact with the computer. Yeah.
164
00:30:44.540 --> 00:30:54.620
This is one of those things that is magical to me. Uh, usually generalizing out of distribution is bad, but somehow we have learned some kind of internal world model- Yes...
165
00:30:55.160 --> 00:31:06.260
that you say, you know, this plus-- but it looks like rainbows and butterflies, it'll do it and it will m- kind of make sense. Yeah. [laughing] So yeah, that's kind of cool.
166
00:31:06.760 --> 00:31:14.760
Yeah, I, I don't know if there's any comment more, more on there. I, I, I do, I do wanted to, I did wanted to touch a little bit more on the model architecture stuff, which I think you were getting.
167
00:31:14.900 --> 00:31:23.660
It's, like, really fascinating. We, we don't get a chance to talk about this enough. So one of the papers that we covered, we've covered every annual, uh, segment anything release.
168
00:31:24.320 --> 00:31:29.780
Uh, and I don't know if you follow-- I mean, you're a computer vision guy, so- Yeah, I know... you, you know. So they, they did memory attention, which is kind of interesting.
169
00:31:30.460 --> 00:31:37.560
And I always think, like, anything where you can, across the temporal dimension, keep some consistency, um, I think it's, like, very fascinating.
170
00:31:37.700 --> 00:31:49.660
And I don't know if-- basically, like, does that-- the CV side bleeding into video gen side, I think is underexplored, right? Like, we talk about it for labeling, but actually you can borrow the architecture itself.
171
00:31:50.300 --> 00:31:57.860
And there's, there's also complete different approaches, right? Like, you, you brought up the term world model, so we went from video model to world model.
172
00:31:58.280 --> 00:32:06.440
There is diffusion, but there's also other approaches that people are doing. So maybe we get into those after as well, you know? Yeah, yeah. He has a whole definition of world models- Okay... and stuff.
173
00:32:07.040 --> 00:32:09.140
I, I feel like we threw a lot at you. Whatever you want to comment on.
174
00:32:09.180 --> 00:32:18.560
[laughing] I, 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.
175
00:32:19.060 --> 00:32:30.080
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?
176
00:32:30.160 --> 00:32:41.580
So we know for LLMs roughly, okay, uh, even like the poolside thing that came out today, right? It's a Gemma level model trained on roughly forty trillion tokens at this many H200s over this much time, right?
177
00:32:41.620 --> 00:32:52.900
You can see what is the exact cost of that. So how many GPU hours over how much H200 costs? So how, how do we do the back-end math of, you know- Mm-hmm... same thing for video models, image models.
178
00:32:52.960 --> 00:33:05.780
How do you, how do you kind of break that down? I can share some back-of-the-envelope calculation. So surprisingly, video models is-- like, the, the cost is very-- is comparable to language models.
179
00:33:06.260 --> 00:33:20.700
And obviously the largest scale is language model, maybe like a medium scale to language models. I said just storing the videos alone, it, it costs a lot. You can, you can maybe look up on AWS or something. Hmm.
180
00:33:20.940 --> 00:33:33.660
You really, like, say if you have a billion videos, and let's say, let's just say like each video, like five megabyte, then you need like, uh, five petabyte to just store those videos.
181
00:33:34.420 --> 00:33:46.500
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, uh, in-- also in your storage.
182
00:33:46.700 --> 00:33:59.920
That's also comparable size with the videos themselves. So just storing, storing these videos and the features is, is tens of petabytes alone. And, uh- I, I just, I just looked up the calculation.
183
00:34:00.000 --> 00:34:08.720
Five petabytes on S3 Standard is one hundred K per month. Okay. [chuckles] And- It's comparable... and you need- And- And then like a ten petabyte is two hundred K.
184
00:34:09.520 --> 00:34:16.140
And even more expensive is you have the ingress and egress. Oh, yeah. [laughing] Like you-- through the, the internet.
185
00:34:16.200 --> 00:34:28.560
You have to just to download those videos, I believe it's, it's more expensive on AWS than just storing those videos. Storing, yeah. And each training runs, you probably need to pull them once.
186
00:34:29.340 --> 00:34:32.060
If you train multiple times, it's, it's even more than that.
187
00:34:32.100
--> 00:34:44.280
So, so it's like just storing, storing the network, those costs is, is just, uh, I guess it would be a few, a few millions per month to just storing everything, not to mention the GPU cost.
188
00:34:44.300 --> 00:34:53.920
[laughing] And- Okay, my, my side tangent, like, you know- Yeah... the compute rental, like GPU rental is very efficient. There's one side, okay, you can be XAI and build your data center.
189
00:34:54.480 --> 00:35:03.480
Should we not just build our, like, storage compute as well? Like- Of course... cloud cost compared to just, you know- You save so much... store. Yeah, exactly. Yeah. Especially with like egress and stuff. So, you know.
190
00:35:04.020 --> 00:35:17.260
That's a good idea, but it also comes, comes to-- there, 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, uh, uh, storage.
191
00:35:18.060 --> 00:35:30.560
And yeah, people build storage, typically they just build it somewhere with just CPUs. I just looked it up. Five-- uh, AWS only charges for egress, not ingress. Tier five for five petabytes is two hundred and thirty K.
192
00:35:30.880 --> 00:35:40.720
[laughing] yeah. Even more expensive than the storage. But storing is per month, right? You check in, then you cannot check out. Uh, so [laughing] it's so cool. It's okay. So, so there's that side.
193
00:35:41.080 --> 00:35:49.880
So, so the TLDR, you know, my, my backhand math- Data, data is larger than you think. Yes. Yeah. My backhand math of GPU hours times GPU cost is also very much, you know, I'm missing some storage.
194
00:35:49.920 --> 00:36:00.160
You're also-- you're basically like also more IO bound than normal training. Yes. Yes. 'Cause like data loading, so caching everything, it becomes super important. Yeah.
195
00:36:00.360 --> 00:36:08.120
So in Cosmos, we did a lot of optimizations to make it not IO bound, so, um, yeah.
196
00:36:08.360 --> 00:36:22.160
Uh, speaking of the training, actually training the model, the GPU cost, if you look up like the-- so open source model, how big these video models are, I think like LTX has nineteen B parameters. That's a dense model.
197
00:36:22.880 --> 00:36:38.060
And people are also exploring, uh, MoEs, so it might be like a twenty B active and, uh, like a hun- hundreds B, uh, total. So that's, that's even-- that's similar size as medium-sized LLM models.
198
00:36:38.740 --> 00:36:48.300
And if you, if you look at number of tokens- Uh, we disclose that in Cosmos. It's also like tens of trillions of tokens on the visual tokens.
199
00:36:48.880 --> 00:36:55.900
So putting this together, the cost of, like, training these video models, it's actually comparable with LLMs.
200
00:36:56.000 --> 00:37:09.100
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 speed-up? So- Mm-hmm...
201
00:37:09.240 --> 00:37:18.040
for, you know, images, there's LCM, LoRAs for, um, you know, fine-tuning. There's, there's a lot of stuff that's been- Flow matching. Yeah, there's flow matching. There's a lot of stuff that's been done.
202
00:37:18.520 --> 00:37:28.780
Uh, i- there's some overlap that applies to diffusion on the inference side and stuff or? Yeah, so, so the difference-- the inference side is a completely different story. Yeah.
203
00:37:28.820 --> 00:37:41.640
I think for the training side, it might be a little bit hard to reduce that cost. And for, for the inference side, the biggest gain is from the distillation of these models.
204
00:37:41.740 --> 00:37:54.160
You, you can-- It's called s-step distillation, slightly different from knowledge distillation in LLMs. So you-- Typically, for flow matching models, you need, like, a hundred steps or something.
205
00:37:54.300 --> 00:38:08.100
Like a diffusion model even need, need even more, like a thousand steps to, to generate a good image or video. A step distillation is try to learn to generate fewer step from the model itself.
206
00:38:08.680 --> 00:38:24.500
It's kind of like now we-- you use the full model to generate in a hundred steps, and then you, you take a model that only generate ten steps and let that model to learn from the perfect one. Yeah.
207
00:38:25.260 --> 00:38:30.940
Uh, why this, this work- Strong to weak seemingly. It is. It's kind of- Distillation... kind of like strong to weak.
208
00:38:31.500 --> 00:38:44.940
I guess the-- from the modeling perspective, the strong model-- the teacher model is trying to model the image and videos of inter-internet, and that distribution is extremely complex.
209
00:38:45.600 --> 00:38:56.480
But the step distilled model is just trying to learn from the teacher. The teacher is, is a model, and the size is fixed, as the distribution is much simpler than the whole internet.
210
00:38:57.040 --> 00:39:11.420
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, in Cosmos, I believe we have, we have like four-step and eight-step.
211
00:39:12.060 --> 00:39:22.700
If you do some simpler task, like, uh, image-to-image translation, it can even run in fewer step, like one step in, in Cosmos Transfer. Yeah.
212
00:39:22.780 --> 00:39:30.760
Uh, I think this is the same intuition that guides a lot of the consistency model work. I, I sent you a, a link for, uh, SCM. I don't know if you- Yeah... uh, covered that.
213
00:39:30.920 --> 00:39:38.980
To me, that was actually one of, like, the most impressive papers I've ever seen from OpenAI. Mm-hmm. That like, uh, this is the unifying grand concept of consistency models.
214
00:39:39.460 --> 00:39:50.000
I don't know if you have any comments on this. [chuckles] So, so there are, there are a few different approaches, like, uh- Oh, yeah. Yeah. Here it is. Yeah. Two steps versus twenty or, or a
hundred steps, whatever.
215
00:39:50.620 --> 00:40:01.680
It's already done. [chuckles] So there are, there are a few different approaches, for example, consistency model, and there are also-- Actually, we, we shouldn't forget GAN. Yeah.
216
00:40:01.720 --> 00:40:11.580
So GAN-- Actually, that, that was, uh, that was the OG of- OG... the step distillation, 'cause it, it trained just one step to begin with.
217
00:40:12.280 --> 00:40:25.780
So actually, a lot of, uh-- For example, there's a distribution matching distillation which use, which uses GAN, um, as, like, as one of the laws for distillation.
218
00:40:26.520 --> 00:40:37.220
It-- GAN just tells you, "Hey, like, generate an image," and then it has a discriminator to, to tell, is this image real or not?
219
00:40:37.880 --> 00:40:43.120
So the model, the model just need to learn one of the distribution, not, not the full distribution.
220
00:40:43.180 --> 00:40:59.280
Because in training, the model is asked to reconstruct the ground truth image from the internet, which is extremely hard. And in-- When you're training GAN, it's a one-step process. It's just a, "Hey, you generate image.
221
00:40:59.560 --> 00:41:06.860
Does this image look, look as real as the, the image from the internet?" Which is a much simpler task.
222
00:41:07.820 --> 00:41:21.740
And, yeah, combining a lot of these approaches together, people typically do that, like consistency model and distribution matching and, and GAN, and we can get these few step models. Okay.
223
00:41:21.980 --> 00:41:27.080
Then there's one step I wanted to add, which is audio- Yes. [chuckles] Yeah... and video. Yeah. So,
224
00:41:28.040 --> 00:41:44.460
uh, Grok Imagine zero point nine, I, I believe it's, uh, is a first, uh, first audio video transmodel deployed at a large scale. So- And that was your first model? Yes, that was, uh, Grok Imagine's first model.
225
00:41:44.760 --> 00:42:00.080
It's, it's audio video, uh, transgeneration. I think the, the hard part is, like, the, the modality alignment, 'cause before this transmodel, like, we have, we have text to video alignment.
226
00:42:00.380 --> 00:42:14.580
We, we have this, uh, correspondence using text and video. Typically, mo-most of the VLMs, they, they understand images and videos. Video's very rare, and they, they don't understand audio mostly.
227
00:42:15.580 --> 00:42:27.680
And if you look at the audio generation on the LM 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.
228
00:42:28.300 --> 00:42:40.416
Also, they don't have, they don't have music either. Mm. The hard part is that- Uh, actually audio has two component. It has like a, a discrete component, a continuous component.
229
00:42:40.896 --> 00:42:53.456
The discrete component is like the, the language. Ah. So when we speak, i-it's just, uh, some- It's a ASR issue, yeah. Yeah. It's, it's text token with some characteristics, I, I would say.
230
00:42:53.516 --> 00:43:02.456
[laughs] But, uh, but music- I think the speech guys would disagree with this, like disfluencies and then, you know- There's-... tones you can get- Yeah. Well, I, I say largely.
231
00:43:02.456 --> 00:43:13.316
[laughs] The, the mu-- but the music is completely different. It's, it's very continuous, and you cannot model them like discrete tokens in language models.
232
00:43:14.016 --> 00:43:27.056
Uh, this, this is like the, the hard part for, for models is, uh, not to mention we have to align text, video, and audio together. Yeah. So- How?
233
00:43:27.176 --> 00:43:39.276
[laughs] So significant-- uh, some significant challenges are like-- So, so first, like we, we talk about as the VLMs, they, they cannot understand... Uh, most of them cannot understand audio. Yeah.
234
00:43:39.316 --> 00:43:53.896
So you have to have some way to, to do the synthetic data generation for, for audio. You have to caption the model, and that involve, that involve synthetic data and human data effort a lot.
235
00:43:54.516 --> 00:44:09.976
Uh, s- And not just surprisingly, most of the LLMs are very bad at recognizing, um, like the, the beat, tone, and the details of the- Mm-hmm... of music. They, they can, they can give some general,
236
00:44:10.896 --> 00:44:18.376
uh, general prediction of which song is this, but it's very hard to describe the details of, of the music.
237
00:44:19.276 --> 00:44:32.376
Um, like we mentioned in image generation, like you have to describe image as detailed as possible so that someone blind can reconstruct that. So here is like someone- Deaf...
238
00:44:32.436 --> 00:44:49.736
someone deaf can reconstruct how the music sounds like without, without actually listening to it. Maybe like, uh, you, you can think of it, it need to have, have the-- or, or they call the, the script. Subtitles, yeah.
239
00:44:49.916 --> 00:45:01.096
You gotta have, have all the details of, of the music, uh, and the dialogue. So i-is the challenge there typically stuff like music and audio, or is it just... Like is there a baseline?
240
00:45:01.176 --> 00:45:14.316
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 state zero, you just do it all right?
241
00:45:15.056 --> 00:45:17.916
So one important thing is like the alignment.
242
00:45:18.056 --> 00:45:32.996
So the model, the model has to know like the video and audio, the, uh, it has to have a time-based alignment, like at which time step the video and the audio token correspond to each other.
243
00:45:33.896 --> 00:45:46.596
But we actually don't have this kind of alignment for, for, for most of the other modalities. If, if you think about like text, text and image, text and video, they are loosely aligned.
244
00:45:47.036 --> 00:46:01.296
So you can, you can have a description of what's going on in the video, but you don't have to exactly, uh, you typically don't have exact description or at, at, uh, time step one second- Yeah...
245
00:46:01.316 --> 00:46:09.316
like what happened- It's very-... at time two second what happened... coarse. Yeah. Yeah. So what, what was the ideal time step? You have to oblate it, and then it's like four seconds or something?
246
00:46:09.936 --> 00:46:25.956
So that comes down to how you design the model- Yeah... to, for the model to, to be aware of as a time, the time modality. So the model is like a time aware. And that's something pretty unique if you think about LLMs.
247
00:46:26.836 --> 00:46:42.076
So if you ask LLM to complete a task, say they, uh, you ask them a-and they would say, "Oh, this task, task will probably take twelve hours to complete," and they, they, they come back in one hour, say- Yeah...
248
00:46:42.076 --> 00:46:52.536
"I've already spent two days on this- [laughs]... and I've exhausted everything." Yeah, so, so the LLMs them-themselves, they, they don't have a, a sense of time there.
249
00:46:53.015 --> 00:47:02.056
I actually don't think that's just them not having a sense of time. I think it's somewhat based, right? Mm-hmm. Like you tell someone, "Okay, go work on this feature.
250
00:47:02.416 --> 00:47:09.676
Go implement this," there's a general understanding you would have of how long that would take without LLMs working at LLM speed, right?
251
00:47:10.056 --> 00:47:19.636
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 it'll take a few days, right? Yeah.
252
00:47:19.676 --> 00:47:23.516
So you tell an LLM, "Go build this." It'll take me a few days.
253
00:47:23.896 --> 00:47:34.256
But you know, uh, 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, right?
254
00:47:34.296 --> 00:47:42.476
You're trained on all over the text. They're, they're trying to estimate what a human would say. Yes, because that's what the, that's what the data kind of represents. It's not them- It came from the- Yes...
255
00:47:42.496 --> 00:47:53.196
corpus on the internet. People have a estimate- Yeah... of how much time. And not, not even just in direct like training samples, right? Just your world understanding of tokens of how long stuff takes, right?
256
00:47:53.476 --> 00:48:01.356
Go read a book. It'll take you a while, right? Yeah, yeah. Even if you do nothing but read a book, it takes a few days. So yeah, LLM, I read it, it took me a few hours. Yeah.
257
00:48:01.416 --> 00:48:06.576
It'll take me a few hours to go through this research. But this is a tangent. Somewhat a, somewhat a, uh-- Yeah. Yeah.
258
00:48:06.596 --> 00:48:16.296
This is a train of thought I haven't really expressed until now is, 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.
259
00:48:16.956 --> 00:48:27.236
Uh, [laughs] which is like this whole recursive thing down the, down the line. Um, but yes, uh, and, and, and that the world model can be wrong, and then they need to update it and blah, blah, blah. Yeah.
260
00:48:27.396 --> 00:48:38.576
We, we've, uh, argued this on the, uh, newsletter as well, that there needs to be sort of recursive or adversarial world models. Okay. Yeah. I mean, just, you know, to ask, how do you define world model? Oh, yeah.
261
00:48:38.636 --> 00:48:40.196
Let's go there. [laughs] Yeah.
262
00:48:40.416 --> 00:48:53.446
So- So just for context, you know, we talked about, uh, video generation, and then there's a-- if you say there's a distinction between world models, um, what's your, what's your definition? How do you see the two? Yeah.
263
00:48:53.566 --> 00:49:02.266
So, so disclaimer, I'm not going to debate, like, what is world model. Yeah. Like, there, there are many definitions, so I'll just talk about my definition.
264
00:49:02.766 --> 00:49:18.226
Since I, I came from the multi-model, multi-model domain, so mainly talking from video. So world model is like real-time interactive long horizon videos. So there, there are three parts, like...
265
00:49:18.786 --> 00:49:28.546
So we-- let's talk about them one by one. So the-- so interaction, so we just, we just look at Facebook and n-neural computer.
266
00:49:29.046 --> 00:49:39.686
So the interaction part of it, so you-- a world model can allow you to interact with them through keyboard, mouse, and maybe also voice.
267
00:49:40.426 --> 00:49:50.006
So these, these all is-- all is a modality you can, you can interact with, with the model, and the model should respond reasonably. Second part is real-time.
268
00:49:50.866 --> 00:50:00.046
So once you, once, say, you, you move your mouse, like, if, say, the, the world model generate a game, like, how, how fast can the game respond?
269
00:50:00.866 --> 00:50:15.226
So i-if you're like professional CS:GO players- [laughs] -my, my say, oh, you have to respond- He's beginner... within sub, sub ten milliseconds or- Yeah... even less. So that's not... I guess most of the- No, sixty FPS.
270
00:50:15.366 --> 00:50:25.666
Let's go. [laughs] Oh, three hundred FPS. [laughs] Oh, five hundred FPS. [laughs] Wait. Uh, okay, yeah. I didn't do the math, but yeah, okay. Uh- Yeah, three hundred FPS, that's a three millisecond.
271
00:50:26.126 --> 00:50:32.466
So you have to respond- Oh, shit. Okay, yeah... within a millisecond. Right, right, right, right. Most of the video models cannot do that. Yeah.
272
00:50:33.126 --> 00:50:42.746
And, uh, but if you, say, if you have a video model that is, say, like a digital human, the, the response time might be more generous.
273
00:50:42.846 --> 00:50:51.966
Maybe like, typically, like, for real-time voice interaction, it's like two hundred millisecond. So that's, uh, uh, that's much more generous.
274
00:50:52.546 --> 00:51:07.646
But even two hundred millisecond is pretty, uh, it is pretty tricky, 'cause like, remember we mentioned you have this, uh, temporal compression coming from the VAE. So if you,
275
00:51:08.606 --> 00:51:21.026
if you don't compress the temporal dimension, your sequence length is going to explode. So if you want to have this real-time, real-timeness in your model, you have to do is one context problem.
276
00:51:21.746 --> 00:51:37.266
And the third part is, is long horizon, 'cause we-- if you're not going to just play with, uh, video games just, uh, like, a, a few seconds, most video models only a few seconds. We're going to play with minutes, hours.
277
00:51:37.966 --> 00:51:49.266
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.
278
00:51:49.906 --> 00:52:01.266
I think the, the final state will be, for example, like a, a video, a video version of Playbook, where you can, you can interact with a, a neural computer.
279
00:52:01.386 --> 00:52:15.826
You, you move your mouse, and you, you click on the generative interface, and it will reply to you through, through pixels- Mm-hmm... generating in real-time. But getting there, it's, it's a very long way to get there.
280
00:52:16.606 --> 00:52:32.186
So one of the first step, uh, at Grok Imagine, where I, I led a small world model team there, was, was to build video extension. So, uh, video extension- Ah, it's the first step of interactivity. Yeah.
281
00:52:32.226 --> 00:52:42.826
It's, it's the first step. Yeah. Ah. So it's the, the first step- You have it here, video editing, yeah. Yeah. Yeah. So the, the first step is because, uh, this unlocks long horizon videos.
282
00:52:43.306 --> 00:52:54.686
Typically, for most of the video generation models, you, you give it a prompt or an image as an initial frame. You generate video, that's it. That's just, uh, one time, done.
283
00:52:55.306 --> 00:53:08.226
And some, some creators would try to, like, use the last frame as a first frame for the second video. It can-- sometimes it works, but if you do it a few times, it, it says a quality would decrease.
284
00:53:09.026 --> 00:53:18.306
And- It doesn't have that context- Yeah... over the full video, so the temporal- Yeah, exactly. Yeah, 'cause you only gave it the last frame, of course, right? Yeah. Exactly. And- Like, it's actually a pretty fun hack.
285
00:53:18.706 --> 00:53:30.866
Like, if you've seen like- Oh, no, he's saying something better. Yeah, yeah, yeah. And for example, like a view, uh, I remember view three has like, uh, a one-second context of the, the last video.
286
00:53:31.426 --> 00:53:44.126
It is slightly better than using the last frame, but it has the same problem-- similar problem that it, uh, the quality would decrease, like, if you extend a few times to, like, one minute.
287
00:53:44.406 --> 00:53:55.726
The, the video quality would look much worse than the first video. Second, an-another problem is that the model doesn't have long-range knowledge of, like, what's happening before.
288
00:53:55.906 --> 00:54:11.626
Say, if they generate some dialogue, uh, some, two people speaking, and their voice might change, uh, over, over some time, especially if the one-second conditioning, it does not cover the previous context.
289
00:54:12.626 --> 00:54:25.586
So these, these are the core challenges. So the Grok Imagine video extension, it has hi-historical context of all of the previous generated videos. Mm.
290
00:54:26.326 --> 00:54:37.466
It can-- Uh, it has, it has a context of, uh, who is speaking and what, what objects have appeared and everything, having that to generate the next video.
291
00:54:38.286 --> 00:54:49.826
So if we naively do this, you, you can imagine, like, just, uh, put all of the previous history video tokens into the context. The context lens will easily explode.
292
00:54:50.646 --> 00:54:59.334
Especially for, for video models, that, that can be like a few, a few million context, I would imagine- [laughs]... context lens. Yes. Let's run with that. Yeah.
293
00:54:59.374 --> 00:55:15.094
Yeah, for example, like in Cosmos, I think just five seconds of video is like a fifty, fifty K or sixty K number of tokens. So like, if you do, if you do fifty second, that's a five-- five hundred K tokens.
294
00:55:15.554 --> 00:55:30.793
If you, you do longer than that, easily explode. This long horizon, uh, problem was the first step we were trying to solve world model. It turns out people, yeah, people love video extension.
295
00:55:30.914 --> 00:55:36.454
Like a lot, a lot of the creators love using video extension to create longer form videos.
296
00:55:37.254 --> 00:55:48.694
This is the part I, I like that you have a, you have an intermediate step toward the, the final goal- Mm-hmm...instead of just a straight, straight shot to the, the final version very much. Yeah.
297
00:55:48.794 --> 00:55:57.694
But I can see you have a strong vision of where we wanna end up. Yeah. Does it seem like it's an efficiency issue? Like, okay, we're at a few million tokens context, you know.
298
00:55:58.234 --> 00:56:05.814
If you draw the parallel to language models, we had very short context, two thousand, eight thousand, then, you know, you scale it up one million, ten million.
299
00:56:06.354 --> 00:56:14.054
Uh, sure, there's effective context, um, 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.
300
00:56:14.454 --> 00:56:21.534
In video, it might be slightly easier 'cause we have a hundred million token video, right? Just take a movie with the full context there.
301
00:56:21.594 --> 00:56:30.454
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?
302
00:56:30.894 --> 00:56:39.734
So like- Mm...my broader point was on your second point of world models, you say it needs to be interactive and live, right? You should be able to play a game and see the interaction live.
303
00:56:40.154 --> 00:56:48.334
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.
304
00:56:48.694 --> 00:57:00.054
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,
305
00:57:01.154 --> 00:57:10.934
do inference optimization, serve it, distill it secondary, so make it real time after you solve it? So like, uh, another parallel is say, continual learning, right?
306
00:57:11.834 --> 00:57:21.354
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.
307
00:57:21.794 --> 00:57:34.814
Over a few years, people have different forms of attention, and we've scaled it to be efficient at long context, you know? So kind of two things there, right? One is like, it seems like it works. You've scaled it.
308
00:57:35.294 --> 00:57:42.854
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?
309
00:57:43.334 --> 00:57:56.114
Um, 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
310
00:57:57.034 --> 00:58:09.594
in videos, there's actually a lot of redundancies. So we, we solve a lot of the pixel redundancy from VAE, but there's more redundancy in long, long range and long horizon videos.
311
00:58:10.154 --> 00:58:25.134
Say, if, if a character appear in the first clip, and then it disappeared, it only reappear, like, uh, at the end of the video, you probably don't need the, the context, like, i-in the middle of the generation.
312
00:58:25.594 --> 00:58:39.554
So you, you only need that character, uh, where, where you need. So that's why, uh, I helped build another feature. It's a reference video. Is it here? Um, is it the same, same model release or different one?
313
00:58:39.934 --> 00:58:53.614
It's a different one. Okay. You probably need to search on X- I'll find it...reference to video. Okay. So reference video allow you to, like, upload up to seven images as condition and generate the video.
314
00:58:53.714 --> 00:59:08.354
Say, like, I want-- It, it can, it can be characters or objects or even scenes. Say like I, I want, I want condition on, uh, Shawn's selfie and holding, holding a blade- Yeah, we have a dog...or whatever.
315
00:59:08.354 --> 00:59:16.854
We put the dog in the thing. Yeah. Yeah, you can put them there and the video models will generate the, the video
from and copies the context over.
316
00:59:17.814 --> 00:59:29.714
So that can solve a lot of the problems there, like the, the long context problem. It doesn't need to have a very long context, but it's-- I feel like it's an intermediate solution. The model- It's cheating. Yeah.
317
00:59:30.014 --> 00:59:37.674
Yes, the model should be able to, like, selectively know, like, where, where should I draw- Yeah, yeah...the references.
318
00:59:37.774 --> 00:59:51.954
So say if I want to generate a movie, I generate it autoregressive, like a ten second at a time or something. And now this character appear, I can look back to where it first appear and, uh, bring that back.
319
00:59:52.674 --> 01:00:08.894
Yeah, this one I, I put the references. Yeah, that's, uh, Optimus, Einstein [laughing] myself, Annie. Oddly enough, I, I used Grok Search to find it, and it pulled your LinkedIn post. But yeah- Oh...we found it.
320
01:00:08.934 --> 01:00:19.194
Interesting. [laughing] But- Okay, this is a problem. This is not your fault, but like XAI doesn't communicate all this work that you do very well because they just have the model release and then that's it.
321
01:00:19.314 --> 01:00:30.554
But like, actually, these details are very, very good. Thanks. As far as I understand, everything you just described is state-of-the-art, like no one else has done it. Thanks. Yeah. [laughing] A lot...
322
01:00:30.794 --> 01:00:37.194
Yeah, I, I have a lot more- And then, and then you just put this blog post with the cookies. I'm like, this is not enough, you know? [laughing] Yeah.
323
01:00:37.934 --> 01:00:41.114
Uh, but I, obviously this is like the high level numbers that people wanna know.
324
01:00:41.794 --> 01:00:49.774
But no, okay, so- And I wonder, you know, like part of that is also like, uh, some, some labs don't share research, research into what happens.
325
01:00:50.314 --> 01:00:59.654
And if you- No, but this is literally bragging about how good they are, right? [chuckles] Like, why would you not say that you are capable of extending with full context? You know, this is not a secret sauce.
326
01:00:59.674 --> 01:01:10.162
This is like, we did the work. Like, yeah, I don't know. Yeah. I guess, uh, different labs have slightly different communication styles. Yeah. Anyway, if anyone from XAI is listening- [laughs]...
327
01:01:10.382 --> 01:01:19.302
we, we are always h-happy to help you tell your story. Yeah, okay, so y-you did references, and I think, I, I think kind of the, the point here you're making is like, th-it is sort of like a kludge, right?
328
01:01:19.362 --> 01:01:25.542
Like, this is-- you can do seven, but what about 100? Yeah. Right? Then you need a completely different thing.
329
01:01:26.162 --> 01:01:36.642
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.
330
01:01:37.422 --> 01:01:47.862
Uh, 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, the entire history, and
331
01:01:48.782 --> 01:02:01.602
the history before that, I would, uh, compress it and makes the video smaller. So they follow this pattern, th-this build overall pattern that the maximum sequence length is fixed.
332
01:02:01.962 --> 01:02:16.002
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- Yeah... like which, which history part of it can be select.
333
01:02:16.402 --> 01:02:31.162
So this part of the research is actually being actively, uh, worked on by a lot of people. It's also quite interesting. I feel this is actually, this part of long context is a little bit ahead of the LLM part. Mm.
334
01:02:31.242 --> 01:02:45.482
So for example, like in, in LLMs, if you-- so contexts keep growing. Let's say if you, you call tool and the tool call history is extremely long, that's still in context, and, and keep growing, keep growing.
335
01:02:45.602 --> 01:02:50.362
Even if you switch the topic to something else, the whole con-context was there.
336
01:02:50.902 --> 01:03:04.962
There, there are some agentic harnesses that help you to, say, prune the tool results and, uh, prune, like when you, when you query a file, only show like the top 200 lines or something.
337
01:03:05.482 --> 01:03:12.602
But tho-those are very heuristic-driven. For listeners, we did a write-up on the cloud code, uh, leak- Mm-hmm...
338
01:03:12.622 --> 01:03:18.062
where there are eight different kinds of pruning, uh, including like you prune the tool results and all that. So you can, you can read up on that kind of thing. Yeah.
339
01:03:18.602 --> 01:03:31.222
I think, uh, uh, one breakthrough in continual learning might be like a way to automatically, uh- Yeah... manage its own context. These are all heuristics, and they will be replaced by machine learning. Yes.
340
01:03:31.862 --> 01:03:41.742
Interestingly- The-... the same thing is being researched in both LLMs and video models. The, the interesting thing is also, like in the paper you showed, it's actually happening at the model level, right?
341
01:03:41.842 --> 01:03:52.142
Compared to like language 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. Yeah. Eventually, it all just boils in, hopefully.
342
01:03:52.522 --> 01:04:04.022
Yeah. Yeah. Yeah, I, I think this is a form of like attention, uh, but like also know sort of reasoning attention. I, I- Mm.... feel like that's different than normal attention. Mm-hmm. Does that, does that make sense?
343
01:04:04.642 --> 01:04:16.962
Yeah, yeah. It's, it's different in the sense that attention, not to mention, uh, set sparse attention aside, like normal attention- Like UKV, yeah... you, you have to attend to all of the tokens. Yes.
344
01:04:17.122 --> 01:04:28.802
So you, you don't have a high-level mechanism to, to drop which tokens do-- you don't want to attend to. As humans, humans' attention span is surprisingly small. Yes.
345
01:04:28.922 --> 01:04:39.482
You, you can only remember 11 digit of a phone number. But I have feature detection, right? I can detect, oh, that's a sequence of one, two, three, four in a phone number that is 11 digit. Yeah.
346
01:04:39.522 --> 01:04:50.282
Very good pattern matchers. Yeah. But humans' context can-- like attention can work because we can dynamically pull in, uh, context from, from different places.
347
01:04:50.882 --> 01:05:03.622
The same mechanism, uh, I think is going to happen for LLMs and video models. I think- Yeah. RLMs is recent-- is, is on, is on the recent work- Yeah... is there, which is not that, uh, crazy, but it's just recursive.
348
01:05:03.642 --> 01:05:13.562
[laughs] I think it's somewhat inherent in models too, right? Like you- Here's a nice example here... you pull up these, you can read it fine, but, uh, language models are also very good at slop parsing.
349
01:05:14.122 --> 01:05:22.782
Uh, you know, you have a trans- Yeah. I throw my typos in there, it doesn't matter. Yeah, yeah. You have a, you have a transcript, you have whatever, just throw it in and it's very good at parsing through noise.
350
01:05:23.382 --> 01:05:31.142
Um, m-- you know, that may be a brute force. It can look over a reason over it, but like, you know, there's, there's parallels to both.
351
01:05:31.622 --> 01:05:40.542
I think it's just really fascinating how you relate the world models stuff to the video generation, which I don't think a lot of people hear directly, uh, from people like, like you. So I think that's really helpful.
352
01:05:41.062 --> 01:05:52.342
Any other work? Do we cover like video, audio, uh, world models, uh, any other stuff in that omni team, I guess? Or any other work at XAI you want to talk about?
353
01:05:52.642 --> 01:06:03.402
Seems like everything we see publicly announced, "Oh, cool. Cookies." And then there's so much more to it. There's a lot of depth. Any underrated stuff, you know, just at the time there? Yeah.
354
01:06:03.442 --> 01:06:20.362
I feel the, as a culture, it is quite interesting and a bit underrated. So, so the culture is, the culture is, is th- is three sentences: move fast, build... no goal is too ambitious, and the first principle.
355
01:06:20.922 --> 01:06:31.782
Like early, the, the goal set wa-was very ambitious. It wasn't very-- it wasn't, it wasn't possible to, to achieve when, when I, when I was thinking, first thinking about it.
356
01:06:31.842 --> 01:06:46.282
Like, for example, like build, build something in, 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?
357
01:06:46.362 --> 01:06:56.482
Like, was it just, "Okay, we have a rough by, you know, this date we want
something out," or is this like- Yeah. That's a very good point. So it's from first principle thinking. Mm.
358
01:06:56.522 --> 01:07:05.162
If you think about, people might say that first principle thinking applied more to the physical world than the, the models.
359
01:07:05.982 --> 01:07:18.750
Uh, I would say, for example, like if you think about Some limitation, for example, acquiring data, like how, how fast can we acquire the videos? And if, if you think about
360
01:07:19.670 --> 01:07:30.770
training the models, like, uh, what's the iteration speed for training a model end-to-end? And how, how would adding more GPUs accelerate that timeline?
361
01:07:31.570 --> 01:07:46.850
And maybe if you need human data, like what's the turnaround time for, for human data to arrive? If you put all of those together, that is first principle thinking where, oh, you know, like what is the timeline?
362
01:07:47.250 --> 01:07:54.690
What's the minimum number of days that is possible to achieve something? I think there's a-- this is a lot of Elon's type of thinking, right?
363
01:07:54.810 --> 01:08:05.090
He's like-- I, I think he's famous for saying that the only law you can't break is the laws of physics. Yeah. Something like that. Yeah. Just broadly, you, you worked a lot with Elon. Yeah.
364
01:08:05.410 --> 01:08:23.250
I, I guess one benefit is like, uh, working at xAI, you got a chance to interact more with Elon. So, so I, I was very fortunate [chuckles] to get a few retweets from him. And that, that was quite fun.
365
01:08:23.510 --> 01:08:41.270
And, uh, he, he also worked very closely, uh, with, with people. Uh, like, like people imagine online, like he, he's very hands-on. There are two things. Um, one-- So I was actually looking up, uh, Elon retweeting you.
366
01:08:41.730 --> 01:08:50.090
I'll pull it up. Uh, he talked about you, you tweeting that you have a really good voice mode. I don't know- Oh, me? No, no, no. Him, him, him. Oh, I also did it. But anyway. I actually...
367
01:08:50.190 --> 01:09:00.590
So I would DM you feedback on voice mode because I was like, "Wow, really good." And then I'm like, "Oh, this sucks." But, um, I don't know. Anything you want to talk about, about your voice mode, building it?
368
01:09:00.630 --> 01:09:11.450
Was it a team you worked on as well? Oh, that, that's actually not part of the, the team I worked on. Yeah. Okay. He probably worked on more of the- Okay... video. No, uh, but Grok Voice actually- Grok Voice...
369
01:09:11.470 --> 01:09:19.310
like very good. I- this is one of those things where like, uh, first of all, you can speak at 2X, which is fun. Yes. [chuckles] Uh, which I listen to 2X, so I like to speak at 2X.
370
01:09:19.370 --> 01:09:23.110
But also I think like the interruption was better than Gemini.
371
01:09:23.830 --> 01:09:32.970
Uh, I don't know how it compares to ChatGPT real time now, but like, you know, as far as like driving was concerned, like having Grok in my Tesla and
like driving, I think it was like-- it's a really good experience.
372
01:09:33.750 --> 01:09:45.190
Yeah. Yeah. He likes voice mode. But also, um- [laughing]... just the [laughing] crazy reach by Elon- Fifty million viewers are just saying, "Yes, true." That's true. Um- Oh my God...
373
01:09:45.410 --> 01:09:58.410
but, uh, you know, it's, 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? So- Ah, spicy. Spicy question.
374
01:09:58.810 --> 01:10:14.110
A lot of the countries where they, they don't allow like a ge-generative data, generative AI, uh, videos without watermarks. So in all of the-- those countries, uh, Grok Imagine had watermarks.
375
01:10:14.670 --> 01:10:28.590
And a lot of the, a lot of the takedowns of, of the videos were also happening extremely fast. I mean, it's, it's part of running a social platform, but also- Yeah... it, it transfers nicely to the GenAI side.
376
01:10:29.090 --> 01:10:46.170
Do you have a perspective on SynthID versus other kinds of watermarking? Yeah. I guess it's going to be... Yeah, it's going to be harder and harder to, to detect, uh, yeah, these things. So SynthID, one thing is,
377
01:10:47.090 --> 01:10:57.590
uh, previously it was only Google, and now, now like a lot of different labs- Yeah, OpenAI adopted it... are also adapting it. Yeah. As-- A limitation is like the, the technology...
378
01:10:58.370 --> 01:11:13.690
The s-- the paper was out there, and people can reverse engineer like how to get rid of it. Yes. And it's-- I, I think even a-as it advance, it's, it's still, still possible to reverse engineer it. Yeah.
379
01:11:13.770 --> 01:11:20.770
Uh, so if you are interested, you can go onto Reddit and people have taken out the exact like, uh, I don't know, what do you call it? Mask or- Yeah...
380
01:11:21.310 --> 01:11:35.290
pattern that Google applies, and then you can apply it onto any Google-generated photo, and you can reverse out the SynthID. [chuckles] Yeah. [laughing] And it's, it's also harder and harder to just judge by eyes.
381
01:11:35.550 --> 01:11:46.470
I remember like a couple years ago, there was like a six fingers or, or something. Yeah. Yeah. It's very obvious. My, my current is actually the audio. I feel like the audio is really lacking.
382
01:11:47.010 --> 01:11:57.470
Uh, my way to tell if something is AI-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- I see.
383
01:11:57.910 --> 01:12:01.370
You know, those are minor imperfections. Yeah, yeah. I think the, the point is that like...
384
01:12:01.530 --> 01:12:07.470
Actually, my closest reference to this is also Ian Goodfellow, because I think he did like the adversarial GAN thing where like- Mm-hmm...
385
01:12:07.590 --> 01:12:16.050
it's like, okay, here's a picture of a zebra, then you like change one pixel and it becomes a panda. [chuckles] Right? This is like a classic computer vision issue. Yeah.
386
01:12:16.110 --> 01:12:28.010
If you think about how, how these models were, were trained, like I, uh, like I mentioned before, like GAN was in the training process. The objective of GAN is
387
01:12:28.970 --> 01:12:40.530
you-- is the model generates an image, and the model, there's a judge to tell like if the image is real or not. The model is trained to make the image more real.
388
01:12:41.290 --> 01:12:55.990
So a-as the model become more and more advanced, it's going to be harder and harder. For me personally, now I have to judge by i-if the-- these videos have logical sense. Mm. Is this, this video- Have a world model.
389
01:12:56.210 --> 01:13:06.710
Yeah, yeah, yeah. [chuckles] No, I, I also like it-- the, the, the audio is too nice, like too stu- too studio quality. The lighting is too good. The skin is too clear.
390
01:13:07.050 --> 01:13:14.330
You know, the-- basically, the lack of imperfections. Yeah. Do we have a good way to do reasoning in diffusion?
391
01:13:14.390 --> 01:13:27.498
Like is that what separates video generators from world models or in, you know- We really know how to apply it to- Mm-hmm... other regressive language models. Is there a parallel for diffusion video gen world models?
392
01:13:27.558 --> 01:13:38.438
Like- Yeah... on that point, right, is- He, he has a thing on video agents. Yeah, that's a good question. Yeah, actually, I have a, I have a pretty big claim. The,
393
01:13:39.478 --> 01:13:52.998
uh, the intell-- the visual intelligence are actually mostly coming from language. Like, these video models, especially from now, since the diffusion model technology is more mature, the...
394
01:13:53.418 --> 01:14:00.658
Like, every time you see there, there is some improvement on these models, I, I would say mostly the, the, again,
395
01:14:01.758 --> 01:14:14.918
comes from language model, not, not coming from the, the vid- the video model itself, like the, the video distribution models themselves. In Cosmos, that could be typically the... These models, they, they have two parts.
396
01:14:15.078 --> 01:14:22.198
Like, there's a, there's a prompt rewriter or the prompt up sampler part. I think in, uh,
397
01:14:23.218 --> 01:14:39.478
in Cosmos, we use Llama or we use Mix, Mixtro, and the Cosmos video model itself is only seven B, and the model, the language model is a prompt rewriter. It's, it's bigger than that.
398
01:14:40.118 --> 01:14:49.358
So the prompt rewriter's task is to take, take user instruction and convert it to extremely detailed description of the video.
399
01:14:50.098 --> 01:15:04.658
So because the video, the visual, the video distribution models, I would describe, they, they're kind of dumb because they, they take the input instruction literally.
400
01:15:05.158 --> 01:15:16.438
Because in the training process, remember that we have to describe the video as, as detailed
as possible when we're creating the, the synthetic, uh, text pair.
401
01:15:17.298 --> 01:15:32.638
So this model, they take those kind of instruction to generate the videos. So in-- when you're taking the user instructions, the user instruction usually are simple. Just say a cat or something. If you put a cat in,
402
01:15:33.618 --> 01:15:43.838
in the video model, they would take that instruction literally. They, they would literally show a cat, uh, a cat in maybe a white background because you didn't describe the background.
403
01:15:44.198 --> 01:15:55.238
The cat is not moving because you didn't describe it. It, it takes the instruction quite literally. It's kinda, it's kinda dumb. The, the prompt rewriter is actually a much bigger model.
404
01:15:55.318 --> 01:16:07.658
It's a language model that takes, uh, the user instruction and expand it. So the thinking process you mentioned, uh, is from there. So i-if you,
405
01:16:08.738 --> 01:16:20.298
if you look at like GPT image, like you generate a image in three minutes. Three minute is, is not all like a pixel generation. A lot of time is spending on thinking. Prompt writing. Mm.
406
01:16:20.718 --> 01:16:36.978
So, so prompt re-rewriting now have evolved to, like, not only just as thinking, it, it can, it can also be a, a agent, a agentic model. For example, say you want, you wanted to generate the image of today's news.
407
01:16:37.478 --> 01:16:49.258
So the-- So it's likely they'll go to fetch today's news online and then, like, process and digest them, then organize the layout and generate it.
408
01:16:50.058 --> 01:17:03.578
Another thing quite interesting is, um- If I'm not mistaken, these are-- it's no longer a diffusion model though, right? It's autoregressively... Or is there still- There are different approaches.
409
01:17:04.238 --> 01:17:16.398
For example, like, uh, Gemini Omni. Since they said- Yeah... it's Omni, I believe it's a, it's a single model. Maybe it's something like, uh, it's a language model with a diffusion head or something.
410
01:17:16.538 --> 01:17:26.218
Like, the language model do the thinking, do the agentic tool calling, and then it would, uh, use the diffusion head to generate the image in the end.
411
01:17:26.878 --> 01:17:36.237
There, there were also approaches like Cosmos, where you, you have a separate language model and separate diffusion models. And there, there were also like a purely language model.
412
01:17:36.318 --> 01:17:43.438
Like you, you discretize the images and then you generate the image as discrete tokens. So there are different approaches.
413
01:17:44.058 --> 01:17:59.498
I would say like- One of, 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?
414
01:17:59.558 --> 01:18:10.058
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- Mm-hmm...
415
01:18:10.078 --> 01:18:18.398
and then go back to diffusion. But I guess in the new Gemini Omni, you would be able to, as long as you have diffusion. Yeah. I'm not sure if- But-... they have that process.
416
01:18:18.518 --> 01:18:31.258
I guess it's definitely possible in the Omni paradigm. Yeah. So if you think about like traditional multi-model language model, they would have a VIT- Mm-hmm... encoder that can encode the image.
417
01:18:31.818 --> 01:18:44.558
So if they have a diffusion head, they can generate the image and then put that back into the VIT encoder, encode that, and then do, do the iterative refinement if the result... Yeah.
418
01:18:44.758 --> 01:18:55.058
I think you have to jointly train the VIT and the diffusion to m-m-make that somewhat reasonable, 'cause otherwise- Yeah... you're kind of like, uh, mismatching or feeding in slop. [laughing] Yeah.
419
01:18:55.138 --> 01:19:03.018
I think it depends on- Yeah... the stage of training. You might be able to freeze it. But anyway, also just on your earlier- Wait. Uh, I, I wanted to also- Yeah.... make explicit.
420
01:19:03.498 --> 01:19:13.678
We do know that NanoBanana and GPT image are autoregressive, uh, language model with diffusion head. Mm-hmm. Uh, as far as I can tell from your description of Groq image, it is not. It is, it is end-to-end.
421
01:19:14.458 --> 01:19:21.098
I, I cannot- You cannot comment on that... comment on that. [chuckles] Yeah, yeah. Well, the way that you described it. Uh, but, yeah, yeah, I, I think there's, there's different approaches, right? Like- Yeah...
422
01:19:21.438 --> 01:19:28.618
you started off saying prompt rewriting is, like, the-- a big part of the intelligence- And, and even on that, I think everyone should try using an early diffusion model.
423
01:19:28.678 --> 01:19:35.638
If you've used Stable Diffusion one or whatever, if you've seen the prompts like, uh, you know, ultra-high res, four K- [chuckles]...
424
01:19:35.678 --> 01:19:45.338
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, uh, you know, comma separated- It's literally talking in the labels that were- Yeah...
425
01:19:45.378 --> 01:19:54.758
in the data set, right? Yeah. But, but basically, like, I'm just trying to make the point that prompt re-writer and then image is different from autoregressive language model- Yeah... with diffusion hit. Right?
426
01:19:54.978 --> 01:20:03.638
They're different things. Yes, they're different. Yeah, yeah. Just wanted to establish. I'd say, like, the, the common part is, like, the, the image part.
427
01:20:04.098 --> 01:20:20.438
So, so it's, it's quite surprising that, like, a lot of the improvement came from the- Language side... the thinking- Yeah... the, the tool calling. So, so I still remember, like, in Cosmos, I, I generated a happy sheep.
428
01:20:20.778 --> 01:20:33.518
I think it-- if, if it's already rewriting, it's-- it looks so, uh, CGI, and after rewrite it, it looks, it, it looks so beautiful. [chuckles] I, I think- Without any joint training.
429
01:20:34.098 --> 01:20:38.818
Yeah, actually, without any joint training. Uh, it's-- with rewriting, it's already much better.
430
01:20:39.718 --> 01:20:53.978
See, a very interesting thing, I guess what happened is the video agents, mostly language models, will call these, uh, generative model. Either it's a separate model or a diffusion head or whatever as tool.
431
01:20:54.858 --> 01:21:08.458
So this model can iteratively refine the results or, or even, like, generate longer content through a very long train of thought. It's actually very similar to how human create art.
432
01:21:09.058 --> 01:21:16.878
So, so we don't, we don't generate the pixels directly. We, we literally draw something on... And
433
01:21:17.778 --> 01:21:33.818
I think through this process, like, the-- these models not only use diffusion, uh, diffusion as one of the tool, it can also use traditional tool. It can also use, uh, image editing tools from Photoshop.
434
01:21:34.118 --> 01:21:55.158
It can use, uh, video, video editor, FFmpeg, whatever, to c- take combination of these and the generative AI technology as a, as a set of tool, and they can, they can iteratively create a, a better, a much better, uh, video for, for production-grade quality.
435
01:21:55.978 --> 01:22:11.638
If you look at existing, uh, professional creators, they don't, they don't end at, uh, generating a video from, from, from these models. They would take this video to, to their editor and edit here and there.
436
01:22:11.818 --> 01:22:20.838
So much post-production- Yeah... uh, in... And sometimes actually, like, the, the reason the video is good is not really the video model, it's actually the editing. [chuckles] Yeah.
437
01:22:21.618 --> 01:22:32.578
And yes, we also are engaged in the same process as why would you love to use a video editing model? Yeah. Actually, there's the Grok, Grok Imagine Agent beta.
438
01:22:32.838 --> 01:22:46.258
That, that was the, that was the first attempt in that direction. Yeah. So I, I think the, like, the process would be similar to like- Oh, there's just agent mode. Yeah. Yeah.
439
01:22:46.298 --> 01:22:59.558
You can, you can ask it to- There's no blog post for it... maybe generate a, a one-minute, uh, video, like, which, which is not possible i-if you ask the same prompt to video models.
440
01:23:00.038 --> 01:23:09.558
But this model will ca- literally call different tools to do that. So yeah, this is actually an interesting thing. So when, when we first released the,
441
01:23:10.518 --> 01:23:25.298
a video editing model, like, uh, I see on X some, some people try the video editing feature with like, "Edit this video to be one minute." Uh, 'cause
they didn't understand how video editing work. Video editing- Yes...
442
01:23:25.318 --> 01:23:36.138
typically is just a removal, add, replace, style transfer, this kind of thing. But that's actually a valid request under the assumption of video agents.
443
01:23:37.038 --> 01:23:45.538
So these agents should be able to understand these kind of, uh, long horizon tasks to be able to easily, uh, create a long-form video.
444
01:23:46.758 --> 01:23:57.758
I think this is, uh, this is really fascinating 'cause it, it's kinda take-- it's taking the same, uh, same direction as first you have these, uh,
445
01:23:58.698 --> 01:24:12.618
uh, assisted-- uh, AI-assisted coding, kind of like tab completion, uh, GitHub Copilot. And from there, you gradually evolve to Codex and Cloud Code, where you do things fully automated.
446
01:24:13.518 --> 01:24:30.298
So in, in agent, in Grok Imagine agent mode, you can, you can still go in there and do, do stuff by yourself. But gradually, as, as the model capability increase, it will be able to do everything fully automated. Yeah.
447
01:24:30.718 --> 01:24:39.518
Um, I, I like that. That's good. Okay. So it looks like it's still generating. Also, I, I did notice the Grok Image Gen was always very, very fast.
448
01:24:39.998 --> 01:24:44.418
I don't know if this is something you guys benchmarked, but, like, this is just a tangent. Compared to- Mm-hmm...
449
01:24:44.618 --> 01:24:56.618
uh, what I used to use before the latest OpenAI's Image Gen, and same with Gemini Nano Banana, I would oftentimes use Grok- Yeah... just for the speed. It's, it's in the benchmark somewhere. There's, uh- It's-...
450
01:24:56.678 --> 01:25:06.818
in the Imagine API blog post that they have all the, the speed things. Yeah. Uh, it mostly combination of distillation plus inference. Yeah. There, there are a bunch of things.
451
01:25:06.898 --> 01:25:17.298
Like, we, we talk about distillation, and if you talk about thinking, if you don't have any thinking budget, the model can just think three minutes and then come back to you.
452
01:25:18.058 --> 01:25:27.510
And also, like, inference- The inference infra team was very talented and they were, they were able to accelerate a hell lot of these models. Yeah.
453
01:25:28.030 --> 01:25:40.350
Yeah, I mean, you know, my comment on the, on the video agents things, like I'm trying to figure out, like when people say video agents, when you initially told me about vi- your bet on video agents or your, your vision for video agents, I was a little bit disappointed.
454
01:25:41.010 --> 01:25:45.750
I was like, "Ah, you mean like models are tapped out, now we have to do agents?" But like, I think you have to, right?
455
01:25:46.690 --> 01:25:58.170
The question now is how much model training is, is it really going to ma-make a difference versus just building a better harness? Like you said- Mm... uh, the models don't have to be jointly trained.
456
01:25:58.830 --> 01:26:09.950
Uh, you can just take an off-the-shelf frontier reasoning model, slap it on a harness, give it Grok as a tool. That's it. That's your video agent. Doesn't seem super satisfying.
457
01:26:10.110 --> 01:26:14.530
Obviously, you can co-train and, and get some more percentage points of per-performance.
458
01:26:14.610 --> 01:26:30.330
But like if your central claim that the majority of video or generative media, uh, alpha or whatever is actually coming from language intelligence and not, um, image diffusion or video diffusion, then that is the future.
459
01:26:30.750 --> 01:26:37.910
I mean, it's pretty cool- Primarily just weight... if you, if you, if you pop back at the example, you know, it, it generated frames, sorry to interrupt, you know- Yeah...
460
01:26:37.930 --> 01:26:46.070
it's been saying like, "Okay, I'm going to start stitching these frames together." So- It's using FFmpeg, using code... yeah, like this is what GPT Image Pro as well is doing, right? Mm-hmm.
461
01:26:46.070 --> 01:26:54.270
Like this is also just writing code in the background and then just- Stitching... doing an image pass on the final output. It feels dissatisfying for the people who want to just train models.
462
01:26:54.290 --> 01:27:03.350
[laughs] It, it's interesting, right? Like, it's, it's also somewhat exciting. Like you brought up earlier, a lot of the gains don't come as much from the video.
463
01:27:03.430 --> 01:27:11.970
Like I think you can see that in the language model space too, right? Anthropic, very, very good at coding. They're multi-modal, not the best, right?
464
01:27:12.050 --> 01:27:23.310
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.
465
01:27:23.730 --> 01:27:32.090
Other labs, Gemini, OpenAI, xAI, you can add modalities, but it's not like they're unlocking crazy capabilities, right? So it's interesting.
466
01:27:32.590 --> 01:27:41.710
Yeah, it's interesting to see that like the, the video models' capability increase actually come from language model being more intelligent.
467
01:27:42.370 --> 01:27:51.010
I, I think video agent, like it, it can unlock more stuff than my- you might imagine. So there, there's a few things.
468
01:27:51.050 --> 01:28:03.830
So one thing is when we are prompting these models, so most of the people were actually not very good at prompting. Mm. Actually, language models have a better sense of how to prompt- Yeah... AI models.
469
01:28:04.350 --> 01:28:16.550
AI models know AI models better. So if you jointly train these models, maybe the, the model have a better sense of, uh, how to prompt each model. Like a different, different model- Of course... might be different.
470
01:28:17.190 --> 01:28:34.230
Another thing is it might not as simple as just, uh, like generate a few clips and slap them together using FFmpeg. Like you might-- there might be more like image and video editing tool
appear in this process.
471
01:28:34.730 --> 01:28:52.170
Say, if you want to exactly add a, add a blob of text at this timestamp, the videos model-- video models might not get the intention very precisely. Mm. But these, these are possible using these deterministic tools.
472
01:28:52.710 --> 01:29:06.290
The long-- The, the video agents can use all, all sorts of tools, so you don't have to put all of the capabilities into the generation model itself. Yeah. I, I think that's very true.
473
01:29:06.710 --> 01:29:17.690
Um, no, so, 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.
474
01:29:18.250 --> 01:29:27.510
Do you have a time, time prediction for how when this stuff ramps up? Like- I mean, they already started. [laughs] Is, you know- It's not very good yet. [laughs] Are we so-- No, it's so, it's so good.
475
01:29:27.590 --> 01:29:34.850
I think the last one's just longer. [laughs] Yeah. Uh, it didn't give me a minute. Last thirty-six. It gave me thirty-six seconds. But, you know, are we feeling it now? Is there going to be inflection?
476
01:29:34.910 --> 01:29:42.710
Is there any timeline predictions you want to make? I guess by the end of this year is, this is going to be a big hit.
477
01:29:43.290 --> 01:30:00.370
So the, the inflection point will be where, um, the, the videos generated by video agents can get to like production grade quality, so it, it can be presented and it can be, it can be distributed in, in ads.
478
01:30:01.310 --> 01:30:19.430
And when-once that happen, I think the enterprise will have much more budget for video models because the agents are in-inherently more expensive than, than the, than the video models themselves, because they do this iterative process.
479
01:30:19.490 --> 01:30:34.590
They, they generate many, many variations. Yeah, but once, once these models have this, pass this usability threshold, I think it's, it's going to be a exponential growth beyond that.
480
01:30:35.010 --> 01:30:45.230
Yeah, I would, uh, fund a company right now based on this, uh, this thing. [laughs] Um, so I think you're right. One thing I'm, I'm surprising, I'm reflecting on the whole like past hour or so of conversation.
481
01:30:45.970 --> 01:30:49.890
You are-- I think you're into world models and video generation for video generation's sake.
482
01:30:50.330 --> 01:31:01.170
I think that a lot of other world models people, we've interviewed a lot of them, uh, general intuition and Fei-Fei Li and all, all those guys and, and Moondream, which I, I think I told you about. Uh, Moonlake. Lake.
483
01:31:01.390 --> 01:31:13.170
I keep saying Moondream. Goddammit. Moonlake. A lot of them actually say like robotics is the end game. Like embodied robotics, like you want real-time, you want interactive. It is to interact with the physical world.
484
01:31:13.430 --> 01:31:25.118
You're not that concerned about it. I think robotics will be a, uh, will be a big part of it for sure. Mm. I guess the, the process may happen naturally.
485
01:31:25.958 --> 01:31:38.858
So, so my prediction on robotics is that the problem of physical AI might be solved, like without actually need to- Be in the real world... need to be in the real world.
486
01:31:39.418 --> 01:31:55.098
So it might, it might get solved by a video-- A LLM is very strong video capability. So, so remember we talk about the, the real-time interactive long horizon video.
487
01:31:55.698 --> 01:32:03.218
Once these models-- So, so now these models are just training, training on like screen recordings and computer screens.
488
01:32:03.918 --> 01:32:19.358
Once these models can use computers and understand the future state of computer extremely well, the robots might be, might be one of the, one of the tools, like, a, a very powerful AI can, can use.
489
01:32:19.918 --> 01:32:32.738
So the powerful AI might just, uh, be able to control the physical embodiment naturally. I see that for sure. Cool. I, I know, I know we are coming up on time.
490
01:32:33.138 --> 01:32:47.738
Uh, you had-- you left one more spicy topic, which is why you left xAI. For me, um, there's, there's a lot of, a lot of research you want to do, but you cannot do at, as a company.
491
01:32:48.418 --> 01:32:59.378
And also like the, the priorities and, and objective the-- of a company typically can, can change very fast. It is-- It's also the same for xAI.
492
01:32:59.718 --> 01:33:13.958
So, so now it's kind of like the, the time so there is some research I, I want to do, especially more on language model side- Yeah... like I, I cannot do at xAI. Oh, uh, okay, yeah. So you're, you're basically leaving...
493
01:33:14.338 --> 01:33:21.998
You're, you're-- You had this whole transition from computer vision to world models, video generation, uh, to now, now you're like focusing on LLMs.
494
01:33:22.238 --> 01:33:32.298
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? Like- Yeah. But I don't know. What, what do you mean by focusing on LLMs?
495
01:33:32.358 --> 01:33:50.738
Is there- I realize the fact that the, 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, uh, come from the language models themselves.
496
01:33:50.758 --> 01:34:01.238
It's a huge black pill for [laughing] anyone who has like spent their career in like generative, uh, media. I mean, uh, it-- that's an extreme view, right? The-- You still definitely need a bit of both, right? Yeah.
497
01:34:01.318 --> 01:34:12.198
There's just, uh, it seems like more pressing, impactful work to do now on language model side. Do you have any similar predictions? Uh, you-- So you predict the video agents, and I think you will be right.
498
01:34:12.598 -->
01:34:15.338
Uh, on the language side, what are you looking for in the next one year?
499
01:34:16.038 --> 01:34:30.298
I think one thing pretty, pretty interesting I, I think might be happening soon is the, the language models will be like context-aware and manage its own context. Yeah. So some--
500
01:34:31.218 --> 01:34:44.138
Like, from, from the video model side, we, we've been suffering from the long horizon issue, like we want to generate video longer and longer, and we've been trying to solve the context length issues through various ways.
501
01:34:45.038 --> 01:34:57.798
One, one thing is just brute-forcing train longer context lengths. Another is to manage the context better. I, I think the same thing in language model is also going to be happening soon.
502
01:34:58.258 --> 01:35:10.478
So for example, like the language models, they, they're not aware of how long their own context length is. Once they hit like eighty percent or something, the automatic context compression is getting triggered.
503
01:35:11.158 --> 01:35:23.718
And, and the model, uh, is not aware of that when it's working. And some-- Maybe it's good for the models to, to know, "Oh, I'm, I'm approaching like eighty percent," or something.
504
01:35:24.398 --> 01:35:37.598
And so-something also pretty interesting, like for example, in OpenClau, like you-- every time you type in something, like, uh, a times-- uh, the current local time is automatically attached to your message.
505
01:35:37.778 --> 01:35:49.638
So the model actually know what time is it. So this is making the, the model time-aware. And also like i-in tool calling the-- a lot of the intermediate tool call results automatically prune.
506
01:35:50.158 --> 01:36:00.358
So there's like context removal, context addition, and, uh, context compaction. So all of these are from the harnesses themselves.
507
01:36:00.798 --> 01:36:14.998
But from our experience, the heuristic engineering also helps the models get this absorbed into the models themselves. Uh, I guess that's something very interesting to explore. So infinite context? Maybe.
508
01:36:15.078 --> 01:36:24.678
[laughing] No, but it's, it's interesting, right? Um, you- It is in the space of memory and continual learning and- I don't know. It's also like in the space of agent harness use, right?
509
01:36:25.098 --> 01:36:38.458
You're seeing- No, he's saying he doesn't want to do it in a harness, right? No, no. But models are also being trained on uni-- using harnesses, right? Yeah. So some of it is, you could say, implicitly leaking in, right?
510
01:36:39.018 --> 01:36:48.598
Um, you know, 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 gonna happen?
511
01:36:49.078 --> 01:36:57.958
Uh, it, 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, it's somewhat leaking in there.
512
01:36:58.418 --> 01:37:08.358
I'm imagining, what if the model have access to the whole-- the, the code of the agent harness itself and be able to modify it to whatever you want.
513
01:37:08.898 --> 01:37:22.138
Say, if the agent harness is short enough, you can just put in the context lengths i-in the system prompt, and then the model will say, "When, when I want to spawn a future version of myself, I can modify the agent harness."
514
01:37:22.838 --> 01:37:51.906
For example, if I-- the agent harness can be, oh, when I'm reading A long document, I can choose to read the whole thing in chunks and, uh, come back, uh, smash the summary together, or I, I can just read the first, uh, first two hundred lines and, uh, discard the rest, and all, all kind of choices if they can be made by the models themselves.
515
01:37:52.506 --> 01:38:03.146
It might be very interesting to, to see that the model can, like, uh, program... The model can program itself online in test time. Yeah.
516
01:38:03.226 --> 01:38:13.346
Uh, so the, the self-modifying harness is also part of, uh, OpenClang Py, but I, I think there's a lot more work to do there. Very cool. I think part of me is kind of curious.
517
01:38:13.686 --> 01:38:16.506
You know, like, I, I think you are part of Big Lab, right?
518
01:38:16.866 --> 01:38:29.186
And there's this career path of a researcher at a Big Lab, which is you are-- you train models, you get more compute, you train better models, and you keep going. And somewhat, I feel like you're opting out of that.
519
01:38:30.146 --> 01:38:39.986
And if I were you, I would be like, "Oh, I think this is, like, a bit of a career risk." You know what I mean? Mm-hmm. Mm-hmm. I, I don't have any comment a-apart from, like, you're very strongly convicted.
520
01:38:40.126 --> 01:38:52.106
I think that a lot of people in your shoes would not be doing what you did. Yeah. Speaking of my career, if I, I look back, actually, there, there were, there were a lot of huge transitions.
521
01:38:52.326 --> 01:39:03.726
So, so ten years ago, I was, I was doing research with the ResNet authors, uh, Xiangyu Zhang and Jian Sun. Yeah, at that time, the, the research were completely different.
522
01:39:03.826 --> 01:39:15.106
It was like, uh, m-mostly computation, like image recognition, object detection, object tracking. Uh, I w- I was also doing neural net compression at that time.
523
01:39:15.246 --> 01:39:25.726
It, it was quite different from knowledge dissolutions these days. And at that time, I, I was-- uh, I wanted to be a professor, and I, I applied.
524
01:39:26.286 --> 01:39:41.446
When I applied for a PhD, I already had a few first author papers at top conferences, so I, I confidently applied at the top schools. It turns out I, I got rejected by [laughs] all of the- [laughs]... top PhD programs.
525
01:39:42.086 --> 01:39:54.206
So I had to, uh, I had to go to the industry. At that time, I was at Facebook AI Research FAIR, led by
Yann LeCun. I, I wanted to talk about VJeppa, but it's different. Yeah. I know.
526
01:39:54.506 --> 01:40:08.306
Yeah, we can leave it for another time. [laughs] Uh, yeah, I switched to-- at that time, I switched to self-surprised learning. It was, it was quite different from what I was doing in computation. Yeah. And,
527
01:40:09.326 --> 01:40:25.406
and after that is NVIDIA Cosmos. So I realized scaling up was extremely important. So at NVIDIA, I, I was mainly focusing on scaling. So one thing is Cosmos scaling the video distribution models to,
528
01:40:26.346 --> 01:40:32.506
to a few billion parameters. And another thing is, uh, I was working on MoEs.
529
01:40:32.866 --> 01:40:50.486
The, the Megatron MoEs was the first, uh, was, was the first framework open source to be able to train these MoEs at very large scales, like, uh, hundred billions parameters to even trillions parameters efficiently at, like, forty percent MFU.
530
01:40:51.626 --> 01:41:03.946
And going to-- switching to xAI was trying to work on even larger compute scale even further. And
531
01:41:04.946 --> 01:41:21.526
yeah, looking, looking at this trajectory, I actually worked, worked on a lot of different things. So I feel actually within, within ML, it's actually easier to switch than, than you think.
532
01:41:22.026 --> 01:41:38.546
Like, a, 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 but, but from my experience, at least at,
533
01:41:39.626 --> 01:41:53.606
at NVIDIA, I worked on both language model MoEs and also video models. It's, it's actually not the case. A lot of, a lot of the core principles how to train large models are, are largely the same. And
534
01:41:54.566 --> 01:42:10.666
yeah, for, for me, I feel right now the, the bottleneck, uh, for, for video models is actually the language part- Mm-hmm... the, the agent, which w- which is why I want to go to work more on LLMs.
535
01:42:11.346 --> 01:42:21.426
One thing is it's, it's a bit of a challenge. I don't think it's a huge, uh, jump, so. Yeah. I mean, kudos to you. I think you have a lot of, uh, strong vision there.
536
01:42:21.946 --> 01:42:31.246
Yeah, I think that was mostly everything that we wanted to cover. You've been very generous with your time, and I, I, you know, it's really nice that you are able to share all these things now.
537
01:42:31.526 --> 01:42:36.946
We don't have to go through xAI to, to clear everything. [laughs] Uh, but also we- Well, you know- I think we, we, we didn't get you in trouble.
538
01:42:37.006 --> 01:42:48.366
[laughs] 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. [laughs] Uh, anyway. Thank you.
539
01:42:48.426 --> 01:42:55.926
Yeah. Yeah, but thank, thank you for, uh, sharing. It's been very kind. And, and also, like, I wanna hear more from you. I think you are going to embark on your, your next phase.
540
01:42:55.986 --> 01:43:08.006
You haven't announced what you're doing next, but clearly you have, you know, uh, more vision and more ambition on, on this path, and I think you're, you're basically kind of gradient descending to, like, whatever your final form is.
541
01:43:08.686 --> 01:43:25.506
Thank you. Yeah. Yeah. I'll, I'll share more a-about my next chapter soon. Okay. Thank you for having me. Thanks for coming. [outro jingle]