WEBVTT

00:00:01.290 --> 00:00:02.395
Hi, I'm Lagoon!

00:00:02.395 --> 00:00:07.184
Video models drown in tokens, and softmax attention costs the square of them.

00:00:07.184 --> 00:00:10.131
Here's how SANA-Video 2.0 walks around that wall.

00:00:11.642 --> 00:00:14.567
Keep three of every four attention layers linear.

00:00:14.567 --> 00:00:17.126
Make the fourth a full softmax anchor.

00:00:17.126 --> 00:00:20.416
And carry the anchors' work forward with attention residuals.

00:00:22.342 --> 00:00:27.261
First, a high-compression VAE shrinks the clip thirty-two times on each side,

00:00:27.261 --> 00:00:29.311
and eight times in time.

00:00:29.311 --> 00:00:33.000
Five seconds of 720p becomes about ten thousand tokens.

00:00:33.420 --> 00:00:38.350
A diffusion transformer denoises those tokens, reading the prompt from Gemma through

00:00:38.350 --> 00:00:39.994
cross-attention at every layer.

00:00:40.414 --> 00:00:44.862
With full softmax attention in every layer, doubling the length or resolution

00:00:44.862 --> 00:00:46.715
would quadruple the attention bill.

00:00:48.292 --> 00:00:51.123
Three gated linear layers mix tokens cheaply.

00:00:51.123 --> 00:00:56.785
Each squeezes the past into a fixed-size state, which can't hold every token-to-token interaction.

00:00:57.205 --> 00:01:01.723
So every fourth layer is a gated softmax anchor, restoring the exact

00:01:01.723 --> 00:01:03.605
interactions the linear layers miss.

00:01:04.025 --> 00:01:08.612
Block attention residuals route each finished block's summary into later linear layers,

00:01:08.612 --> 00:01:12.052
so the anchors' refreshed features don't fade with depth.

00:01:13.592 --> 00:01:16.422
The gap widens exactly where video is expensive.

00:01:16.422 --> 00:01:20.667
Against a matched full-softmax model, the forward pass is one point five

00:01:20.667 --> 00:01:24.912
five times faster at five seconds, and three point two at sixty.

00:01:26.142 --> 00:01:30.142
Spend quadratic attention only where it pays: one anchor in four, fed

00:01:30.142 --> 00:01:33.143
by a VAE that keeps the token count modest.

00:01:35.192 --> 00:01:39.044
To recap: compress the clip hard, keep most layers linear, and let

00:01:39.044 --> 00:01:41.933
a few anchors and residuals keep the picture sharp.

00:01:42.353 --> 00:01:44.471
Every source is in the full article.

00:01:44.471 --> 00:01:45.076
I'm Lagoon.

00:01:45.076 --> 00:01:45.379
Bye!
