Skip to content
AI.info

Research

Video DeltaNet: A Video-Native Hybrid Attention for Livestream Video Generation

Overview Research area: Efficient generative modeling — specifically attention architecture and inference optimization for video diffusion transformers. Technical level: Advanced. The paper assumes fa

Video DeltaNet: A Video-Native Hybrid Attention for Livestream Video Generation
arXiv
2609.20744
Published
2026-09-17
Authors
Haocheng Xi, Yiming Xie, Hexu Zhao, Yiwen Zhang, Michael Liu, Thomas Creavin, Kurt Keutzer, Xiuyu Li, Zhaoyang Lv, Chenfeng Xu, Haiwen Feng

AI summary

Overview

  • Research area: Efficient generative modeling — specifically attention architecture and inference optimization for video diffusion transformers.
  • Technical level: Advanced. The paper assumes familiarity with transformer attention, linear/recurrent attention (DeltaNet family), and diffusion distillation; the practical results are accessible without that background.
  • Scope: The paper designs a hybrid attention layer that replaces most quadratic Softmax attention in a pretrained video diffusion model with a frame-wise linear recurrence, then demonstrates that the converted model matches the original's quality while running roughly 14.5× faster end to end.

What This Paper Is About

Video diffusion models must repeatedly attend over very long sequences of spatiotemporal tokens during denoising, and this attention dominates runtime — in the authors' profiling of MiniMax H3, Softmax attention accounts for more than 85% of denoiser time. Linear attention would make that cost grow only linearly with sequence length, but naively swapping it in degrades generation quality because a fixed-size memory state cannot preserve all the fine-grained token interactions that dense attention provides. The paper's goal is to close that quality gap with a video-native hybrid attention design, so that a pretrained model can be converted to a much faster attention scheme rather than retrained from scratch.

Key Contributions

  1. A hybrid video attention architecture. Video DeltaNet (VDN) splits video-to-video attention by temporal role: exact Softmax attention over a local sliding window plus global "boundary anchors" (the first and last latent frames, connected in both row and column directions), and bidirectional linear memory for everything distant. Each branch gets its own content-dependent sigmoid gate, its own output projection, and (for the linear branch) RMS normalization of the readout.

  2. A frame-wise delta operator. Video Delta Attention (VDA) extends the delta rule from single tokens to whole latent frames. Instead of accumulating independent per-token corrections, it solves a joint least-squares objective over all spatial tokens in a frame, yielding the closed form S_t = (S̄_t + B_t)(I + A_t)^{-1}. The paper proves the resulting inherited-state transition is non-expansive (||M_t||_2 ≤ 1), so it needs no frame-size key scaling to remain stable.

  3. A complete adaptation recipe for pretrained video models. A three-stage process (per-layer alignment → end-to-end alignment → LoRA co-adaptation) inserts the new linear pathway into a frozen Softmax backbone, followed by DMD2-style few-step distillation from 50 down to 8 denoising steps — all without training a new foundation model.

  4. An optimized serving stack. Fused Triton kernels for VDA preparation, statistics, gathering, and epilogue; chunk-wise bidirectional scans; a single-kernel blocked Gauss–Jordan inverse for the (I + A_t)^{-1} per frame; MXFP8 for wide GEMMs; and SGLang integration with head-sharded parallel inference.

Main Findings

  • Quality parity at 8 steps. Eight-step VDN-H3 matches or slightly exceeds 50-step Dense H3 across five no-reference quality metrics (differences from +0.06 to +1.00), while the four-step FastH3 baseline trails Dense H3 by 2.70–12.74 points.
  • Motion is preserved. RAFT mean flow magnitude is 11.71 pixels for VDN-H3 versus 11.55 for Dense H3; FastH3 drops to 9.19.
  • Conditioning fidelity holds. For first–last-frame-to-video, VDN-H3 stays close to Dense H3 (0.18 dB PSNR, 0.007 SSIM, 0.011 LPIPS gaps), whereas FastH3 loses 1.26 dB PSNR and 0.048 SSIM.
  • Large end-to-end speedup. On a 14.3-second, 768p workload, eight-step VDN-H3 completes DiT denoising in 6.70 s on eight B200 GPUs — a 14.5× reduction versus the 50-step dense baseline at the same GPU count (12.5 s on eight H200s).
  • Backbone speedup before distillation. At 50 NFEs, the hybrid backbone alone is 2.6× faster on one B200 (16.0 → 6.2 s) and 3.2× faster on one H200 (35.35 → 11.16 s).
  • Speedup grows with video length. As sequences scale from 42 to 102 latent frames, Softmax attention density falls from 42.1% to 20.0%, and whole-backbone speedup rises from 1.7× to 2.6× on B200 and 2.0× to 4.0× (attention-only) on H200 — the expected consequence of linear versus quadratic scaling.
  • Kernel optimizations matter substantially. VDA-Prep drops from 18.0 to 1.6 ms on H200; the fused small-matrix inverse replaces a multi-kernel Cholesky path for a 4.6–5.0× gain; chunk-wise scans become effective after head sharding (4.6 → 1.1 ms with seven heads per rank).
  • Additive frame writes are unstable without correction. The paper shows that batched independent per-token updates use the factor I − A_t, whose eigenvalues leave [−1, 1] once λ_max(A_t) > 2; SANA-WM avoids this with 1/√U key scaling, while VDA's inverse form is non-expansive by construction and adapts to key geometry instead of a fixed scale.

Methodology in Plain English

The core idea is that not all attention is equally important. Nearby frames need precise, token-to-token matching to get texture, object edges, and short-term motion right. Distant frames mostly need to preserve global things like who is in the shot, the scene layout, and overall appearance. So the authors keep exact Softmax attention where it matters — inside a local window aligned to the video tokenizer's natural 5-latent-frame chunk (giving a 15-frame window) — and hand the rest off to a compact memory.

That memory is a pair of recurrent states, one scanning forward and one scanning backward through the clip. Because the two scans cover disjoint regions, their readouts can simply be added without any frame being counted twice. The prompt text is folded in as an initial state of S_T/2 in each direction, so the sum contributes the text exactly once. Boundary anchors (the first and last latent frames, fully connected) give the Softmax branch explicit global reference points from both ends of the clip.

The distinctive technical move is how memory is written. Standard delta-rule linear attention updates one token at a time, which suits autoregressive language models but is awkward for video, where all patches of a frame are available at once and any imposed patch order is arbitrary. If you just add each patch's correction independently from the same stale state, patches pointing in similar key directions can fight each other or amplify the memory. VDA instead treats the frame as a single optimization problem — find the state that stays close to the decayed memory while simultaneously fitting all of the frame's key–value associations — and solves it in closed form via a d_k × d_k matrix inverse. This couples overlapping writes together and, as the authors prove, cannot amplify whatever memory was inherited from earlier frames.

Because dropping a random linear branch into a pretrained model disrupts it, adaptation is staged: first each linear branch is fitted alone against frozen activations (200 steps), then all branches are trained together end to end (500 steps), then LoRA adapters on Q/K/V/output projections co-adapt alongside the new pathway (2,000 steps). Only after that does distillation compress 50 denoising steps into 8. Finally, the inference path is rewritten with fused kernels, chunk-level scans, a register-resident matrix inverse, and low-precision GEMMs.

Why This Matters

Impact on research. The paper argues that efficiency upgrades for large video diffusion models do not require pretraining a new foundation model — a pretrained dense backbone can be surgically converted. It also makes a structural point about recurrence in video: the natural unit of memory update is a frame, not a token, and treating a frame's correlated writes jointly (rather than additively) yields both better quality behavior and provable stability. This is a transferable insight for other video, 3D, and multimodal diffusion backbones.

Real-world applications:

  • Livestream and interactive video generation — the latency budget implied by 6.70 s for a 14.3-second clip on eight B200s is what makes near-real-time or streaming synthesis plausible rather than offline batch only.
  • Image-to-video and first–last-frame-to-video production tools, where the measured endpoint fidelity means the provided conditioning frames are still respected.
  • Long-form content pipelines — advertising, episodic content, or social media video, where cost per generated second is the binding constraint.
  • Video editing and dubbing workflows, since the model retains audio and text conditioning through the untouched Softmax path.

Industry relevance. The reported breakdown separates architectural gain (2.6×) from step distillation (6.3×) from distributed inference (7.4×), which is exactly the accounting a serving team needs to decide where to invest. The release includes weights, a GitHub repository, and a blog, and the integration with SGLang plus MXFP8 support signals a deployment-oriented rather than purely academic contribution.

Future Directions

  • Extending the linear pathway beyond video-to-video attention. The current design deliberately keeps Softmax for any interaction involving text or audio, leaving open whether cross-modal attention can also be made linear.
  • Pushing below eight denoising steps and toward true streaming. Whether the hybrid holds up at four NFEs, or under autoregressive chunk-by-chunk generation for genuinely live streams, is unresolved.
  • Generalization to other DiT backbones and modalities. The recipe is demonstrated only on MiniMax H3; how much of the staged alignment procedure transfers to other pretrained video or image models is an open empirical question.
  • Tuning the fixed structural hyperparameters. Window radius, chunk size, anchor count, and the linear branch's learning-rate multiplier were set as release defaults; adaptive or learned allocation between the Softmax and linear branches is a natural extension, as is tighter theory connecting the per-frame stability bound to full-network behavior (the proof covers inherited state at fixed frame inputs only).

Target Audience

Researchers and engineers working on efficient generative models — particularly video diffusion systems, long-context attention, and linear/recurrent attention architectures. It will be most valuable to practitioners who need to deploy video generation at low latency or low serving cost and are weighing architectural conversion against training new models, and to attention researchers interested in how token-wise recurrent mechanisms need to be redesigned for the frame-structured, bidirectional setting of video. Readers without a background in attention variants or diffusion distillation will find the high-level argument accessible but the derivations dense.

Authors’ abstract

Video diffusion models repeatedly process long spatiotemporal token sequences during denoising, making attention a major computational bottleneck. Linear attention offers an appealing alternative and has been widely adopted in recent large language models, but directly applying it to video models often fails to preserve the fine-grained interactions required for high-quality generation. We present Video DeltaNet (VDN), which combines local Softmax attention with bidirectional linear memory for long-range video context. Its linear branch introduces Video Delta Attention (VDA), which updates memory once per frame by jointly incorporating its spatial tokens. Separate output projections and learnable gates calibrate the two branches, while a staged teacher-alignment recipe progressively introduces the new pathway into pretrained models. We instantiate VDN on MiniMax H3, applying the hybrid to video-to-video interactions while retaining Softmax for interactions involving text or audio. With eight-step distillation and an optimized SGLang serving stack, VDN-H3 completes DiT denoising for a 14.3-second, 768p video in 6.70 seconds on eight NVIDIA B200 GPUs, corresponding to a 14.5x speedup over the 50-step dense H3 baseline on the same GPU count.

Read the original paper