Reference Forcing: Long Video Generation with Region-Guided Drift Correction
Sheng Zhao, Haitian Zheng, Weikai Lin, Junjie Zhao, Yuhao Zhu
Abstract
Long video generation should keep the subject and background consistent while supporting rich, natural motion. However, autoregressive models are often distilled with distribution matching distillation (DMD) over short windows, which does not train them to keep this consistency over long ranges. As a result, the subject and background can drift over time. Methods that manage the key-value (KV) cache retain or retrieve history to reduce drift. Yet this history may itself have drifted. We propose Reference Forcing, which uses the initial frames as an appearance reference. We first build a teacher that uses attention masks to force each region of a new frame to attend to the same region in the initial frames. The teacher finds these regions with off-the-shelf segmentation models. We then distill this behavior into a separate attention path of the student, which needs no external models at inference. We further introduce value correction, which corrects drifted values in the KV cache toward the matching values of drift-free initial frames. Experiments show that Reference Forcing achieves state-of-the-art subject and background consistency among long-video methods on different base models, and its advantage grows with video length. Ablations show both components are needed to gain consistency without losing motion. More visualizations and code are available at https://zhaosheng-thu.github.io/reference-force/
Create a lesson
Related papers
PCRG: Training-Free Pruning and Caching of Reference Tokens for Video Generation
Shared title terminology · Siyuan Wang, Haoran Li, Yi Yue et al.
REEL: Brain-Guided Video Generation and Selection by Reranking Encoder Embeddings with Linear Decoding from fMRI data
Shared title terminology · Fabrizio Spera, Tommaso Boccato, Moein Khajehnejad et al.
MoHA: Model-Conditioned Harness Adaptation for Long-Video Agents
Shared title terminology · Jianghan Chao, Wenhui Tan, Hang Su et al.
When Visually Rich Documents Meet Multi-Vector Retrieval for Region-level Retrieval-Augmented Generation
Shared title terminology · Xu Yuan, Liangbo Ning, Yujuan Ding et al.
Fix Where It Fails: Root-Cause-Guided Agentic Harness Optimization for Scene Graph Generation
Shared title terminology · Jee Eun Kim, Donghyeon Choi, Sangjune An et al.
VMSA: Video Memory Skill Agent for Long Video Understanding
Shared title terminology · Changin Choi, Jungwon Park, Jungmin Ko et al.