LongLive: Real-time Interactive Long Video Generation

Shuai Yang, Wei Huang, Ruihang Chu, Yicheng Xiao, Yuyang Zhao, Xianbang Wang, Muyang Li, Enze Xie, Ying-Cong Chen, Yao Lu, Song Han, Yukang Chen

TL;DR

LongLive is a frame-level autoregressive framework that enables real-time, interactive generation of videos up to four minutes long. By combining a novel KV-recache mechanism with "streaming long tuning" and attention sinks, it achieves 20.7 FPS on a single H100 GPU—outperforming state-of-the-art diffusion models in speed by over 40x while maintaining high visual consistency.

LongLive generates interactive long videos in real-time, achieving 20.7 FPS and outperforming baselines in user preference.

What Problem Does This Paper Address?

Generating long videos (minutes, not seconds) is a computational nightmare. Current state-of-the-art diffusion models produce stunning results but are painfully slow because their bidirectional attention mechanisms scale poorly with length. Autoregressive (AR) models are faster thanks to KV caching, but they suffer from two major flaws:

  1. Quality Decay: They are typically trained on short clips. When asked to generate long sequences, "drift" accumulates, and the video eventually dissolves into nonsense.
  2. Interactive Rigidity: Most models take a single static prompt. If a user wants to change the narrative mid-generation (e.g., "now the character starts running"), the model either ignores the new prompt or creates a jarring, discontinuous jump in the visuals.

LongLive aims to bridge this gap, providing a system that is fast enough for real-time interaction and robust enough to handle shifting narratives over long durations.

Methods

The authors introduce three core technical innovations to the standard AR video generation pipeline:

LongLive's attention mechanism featuring a Frame Sink, Short Window Attention, and KV re-caching for smooth prompt transitions.
  • KV-Recache: When a user enters a new prompt mid-stream, the model recomputes the KV cache for the current state using the already generated frames combined with the new prompt. This ensures the next frame respects the visual history (consistency) while immediately pivoting to the new instruction (adherence).
  • Streaming Long Tuning: To solve the "train-short-test-long" mismatch, the authors propose a training strategy that reuses historical KV caches across iterations. This allows the model to learn from long-range dependencies and self-generated (imperfect) history without the massive memory overhead that usually triggers Out-of-Memory (OOM) errors.
  • Short Window Attention + Frame Sink: To keep inference fast, the model only looks at a small window of recent frames. However, to prevent the model from "forgetting" the global context (like what the character looks like), they employ a frame-level attention sink. They permanently keep the tokens from the very first frame in the KV cache, acting as a constant anchor for identity and scene semantics.

Datasets

  • Training: The model was fine-tuned using VidProM, a large-scale dataset of text-to-video prompts. Notably, the authors used a self-supervised approach where a larger teacher model (Wan2.1-T2V-14B) provided the supervision signals.
  • Evaluation:
    • VBench & VBench-Long: Standard benchmarks for video quality and long-term consistency.
  • Interactive Set: The authors curated a custom set of 160 interactive 60-second videos, each featuring six successive prompt switches, to test real-time narrative pivoting.

Key Insights and Ideas

  • The Power of the "Sink": While previous research suggested attention sinks (keeping the first few tokens) didn't help much in video, this paper finds they are highly effective if the model is also trained via streaming long tuning. The sink provides a "global anchor" that prevents the identity of characters or objects from drifting over minutes of footage.
  • Alignment is Everything: The "train-long-test-long" philosophy is crucial. By exposing the model to its own imperfect, generated history during training, it becomes much more resilient to error accumulation during inference.
  • Recaching vs. Clearing: The paper demonstrates that simply clearing the KV cache at a prompt switch causes "visual jumps," while keeping the old cache causes "prompt inertia" (the model ignores the new command). Recomputing the cache with the new prompt is the "Goldilocks" solution for smooth transitions.

Key Results

  • Speed: LongLive sustains 20.7 FPS on a single NVIDIA H100. For context, it is roughly 41x faster than SkyReels-V2.
  • Length: It successfully generates coherent videos up to 240 seconds (4 minutes) on a single GPU.
  • Efficiency: The 1.3B parameter model was fine-tuned for long-video generation in just 32 GPU-days, a relatively modest budget for this scale.
  • Quality: On VBench-Long, LongLive achieved a total score of 83.52, outperforming specialized long-video models like FramePack and Self-Forcing.
  • Quantization: The model supports INT8 quantization, reducing the model size from 2.7GB to 1.4GB with negligible loss in quality.

Limitations and Future Work

  • Base Model Ceiling: Since LongLive is a fine-tuning framework, its ultimate visual quality is capped by the capacity of the underlying base model (Wan2.1-1.3B). It improves stability and interaction but doesn't necessarily "upscale" the raw aesthetic quality of the frames.
  • Self-Supervision Limits: The reliance on synthetic data from a teacher model means it might inherit the teacher's biases or systematic errors. The authors suggest that incorporating high-quality real-world video data in the future could push the "quality ceiling" higher.
  • Prompt Complexity: While it handles narrative switches well, extremely complex or contradictory prompt sequences might still challenge the KV-recache mechanism's ability to maintain perfect continuity.

Summary updated

BibTeX
@inproceedings{yang2026longlive,
  author = {Shuai Yang and Wei Huang and Ruihang Chu and Yicheng Xiao and Yuyang Zhao and Xianbang Wang and Muyang Li and Enze Xie and Ying-Cong Chen and Yao Lu and Song Han and Yukang Chen},
  title = {{LongLive: Real-time Interactive Long Video Generation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=nCAODkpsPJ},
}
Figure