Abstract
We introduce Self Forcing, a novel training paradigm for autoregressive video diffusion models. It addresses the longstanding issue of exposure bias, where models trained on ground-truth context must generate sequences conditioned on their own imperfect outputs during inference. Unlike prior methods that denoise future frames based on ground-truth context frames, Self Forcing conditions each frame's generation on previously self-generated outputs by performing autoregressive rollout with key-value (KV) caching during training. This strategy enables supervision through a holistic loss at the video level that directly evaluates the quality of the entire generated sequence, rather than relying solely on traditional frame-wise objectives. To ensure training efficiency, we employ a few-step diffusion model along with a stochastic gradient truncation strategy, effectively balancing computational cost and performance. We further introduce a rolling KV cache mechanism that enables efficient autoregressive video extrapolation. Extensive experiments demonstrate that our approach achieves real-time streaming video generation with sub-second latency on a single GPU, while matching or even surpassing the generation quality of significantly slower and non-causal diffusion models. Project website: this http URL
Abstract (translated)
我们介绍了Self Forcing,这是一种用于自回归视频扩散模型的新型训练范式。它解决了长期以来存在的暴露偏差问题,在该问题中,经过真实上下文数据训练的模型在推理时必须根据其不完美的输出生成序列。与以往基于真实上下文帧来去噪未来帧的方法不同,Self Forcing使每个帧的生成依赖于之前自动生成的输出,并通过训练过程中的键值(KV)缓存进行自回归展开。这种策略使得可以通过视频级别的整体损失对整个生成序列的质量直接评估,而不完全依赖传统的逐帧目标。 为了确保训练效率,我们采用了一种几步扩散模型并结合了随机梯度截断策略,有效地平衡了计算成本和性能。此外,我们还引入了一个滚动KV缓存机制,以实现高效的自回归视频外推。 广泛的实验表明,我们的方法能够在单个GPU上实现实时流式传输视频生成,并且延迟时间小于一秒,在生成质量方面可以与速度明显更慢、非因果的扩散模型相匹配甚至超越。项目网站:[这个链接](http://this http URL)
URL
https://arxiv.org/abs/2506.08009