Pretraining Frame Preservation in Autoregressive Video Memory Compression
Lvmin Zhang, Shengqu Cai, Muyang Li, Chong Zeng, Beijia Lu, Anyi Rao, Song Han, Gordon Wetzstein, Maneesh Agrawala
TL;DR
The paper tackles the problem of sustaining long-range temporal coherence in autoregressive video generation by reducing the history context to a compact, detail-rich memory. It introduces PFP, a pretraining scheme for a memory compression model that is optimized to retrieve high-frequency frame details at arbitrary times within a long video history, compressing 20+ seconds into about 5k latent context. The approach first pretrains the compressor with a frame-retrieval objective across randomized frame indices, then finetunes it as a history memory encoder for diffusion-based autoregressive video generation (e.g., DiT Wan/HunyuanVideo) using LoRA adapters. Extensive ablations, qualitative analyses, and quantitative metrics (PSNR, SSIM, LPIPS, VBench) demonstrate that the pretrained encoder improves temporal consistency and frame fidelity, enabling long-horizon video generation with substantially reduced context cost. The work offers pretrained components and design insights for practical long-form video synthesis and editing, balancing context length and quality through explicit retrieval-focused pretraining.
Abstract
We present PFP, a neural network structure to compress long videos into short contexts, with an explicit pretraining objective to preserve the high-frequency details of single frames at arbitrary temporal positions. The baseline model can compress a 20-second video into a context at about 5k length, where random frames can be retrieved with perceptually preserved appearances. Such pretrained models can be directly fine-tuned as memory encoders for autoregressive video models, enabling long history memory with low context cost and relatively low fidelity loss. We evaluate the framework with ablative settings and discuss the trade-offs of possible neural architecture designs.
