Paper Reading AI Learner

Self Forcing: Bridging the Train-Test Gap in Autoregressive Video Diffusion

2025-06-09 17:59:55
Xun Huang, Zhengqi Li, Guande He, Mingyuan Zhou, Eli Shechtman

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

PDF

https://arxiv.org/pdf/2506.08009.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot