Memorize When Needed: Decoupled Memory Control for Spatially Consistent Long-Horizon Video Generation
Yanjun Guo, Zhengqiang ZHANG, Pengfei Wang, Xinyue Liang, Zhiyuan Ma, Lei Zhang
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Video Understanding & Generation › Video Diffusion Memory and Control · Type: new method · Keywords: spatially consistent video generation, memory control, long-horizon video, cross-attention, gating mechanism
Areas: Memory › Long-horizon memory › Video generation memory; Generative Models (Diffusion & Flows) › Video Generation › Memory for Video Generation; Computer Vision & 3D › Dynamic Visual Generation › Video Generation
Summary
Decoupled Memory Control introduces a separate memory branch and gating mechanism to improve spatial consistency and generative capacity in long-horizon video generation while reducing training costs.
Explained to a 5-year-old
The paper helps computers make long videos that stay consistent, like the same objects stay in the same place. It separates remembering (memory) from drawing new frames, so the memory only helps when it matters. A small memory branch learns where things were before and uses it to keep the video coherent. When the camera moves to new areas, a gating mechanism decides whether to use the memory. This makes the videos better and uses less training data.
Explained to a 5-year-old, longer
The goal is to make videos that stay consistent over long periods, so objects don't jump around unexpectedly. Existing methods mix remembering what happened with drawing new frames, which can cause problems. This paper splits remembering from drawing into two separate parts. One part is a lightweight memory branch that learns from past frames to know where things should be. It uses a hybrid memory representation that captures both time and space information. For each new frame, a cross-attention mechanism looks at the most relevant past information. The memory is injected into the generation model only when it helps keep spatial consistency. When the camera moves to new areas, a gating mechanism decides whether to use the memory. If there is no useful historical reference, the memory is turned off, allowing fresh generation. This approach reduces training costs because the memory branch is small and independent. Experiments show the videos look better and stay more consistent than before. Overall, the method makes long-horizon video generation more reliable and data-efficient.
For a technical reader
The paper addresses the challenge of generating long videos where objects remain spatially consistent as the camera moves. It proposes a decoupled architecture that separates a lightweight memory module from the main generation model. The memory module learns spatial cues from previous frames using a hybrid representation and cross-attention, and a camera-aware gate controls when this memory is applied. This design reduces training overhead and improves both visual quality and consistency compared to existing end-to-end approaches. The result is a more efficient and reliable video generation pipeline suitable for applications needing coherent long-duration visual content.
Problem
Spatially consistent long-horizon video generation is challenging because existing methods entangle memory modeling with generation, causing inconsistent content on scene revisits and reduced ability to explore novel regions.
Method
The approach employs a lightweight independent memory branch that learns spatial consistency from past frames using a hybrid memory representation and per-frame cross-attention, and uses a camera-aware gating mechanism to condition generation only when relevant historical information exists.
Results
The approach shows state-of-the-art visual quality and spatial consistency while being highly data-efficient.
Contributions
It introduces a decoupled framework that separates memory conditioning from generation, a hybrid memory representation, per-frame cross-attention for spatial conditioning, and a camera-aware gating mechanism to control memory usage.
Practical relevance
The method enables more efficient and coherent video generation for applications requiring long, consistent visual narratives.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction