TL;DR
KEEPSAKE is a training-free memory controller that enables long-horizon video generation to remain consistent by dynamically evicting redundant frames. By reassessing the "relational value" of stored observations through a pose-appearance graph, it achieves a 35% improvement in video quality while using less than 1% of the storage required by full-history approaches.
What Problem Does This Paper Address?
In camera-controlled video generation, maintaining "scene consistency" is the holy grail. If you generate a video of a house, fly the camera away, and then fly back, the house should look exactly the same. To do this, models use spatial memory—a bank of previously generated frames they can "look at" to stay on track.
Current systems face a dilemma:
- Full-history approaches keep every single frame. This leads to unbounded storage costs and massive retrieval latencies. Worse, if the model generates a "glitchy" frame, that frame stays in memory forever, potentially poisoning future generations.
- Selective-construction approaches pick keyframes to keep once and never look back. However, the value of a memory is dynamic. A frame that was unique at the start of a video might become redundant once the camera spends more time in that area.
The authors identify that the value of a stored observation is relational: it depends on what other alternatives are currently available in the memory bank.
Methods
KEEPSAKE is an online, plug-and-play controller that manages a fixed-capacity memory budget (e.g., only 32 frames). It inserts itself into the generation loop without requiring any retraining of the underlying video model.
The core mechanism involves:
- Pose-Appearance Graph: Every time a new chunk of video is generated, KEEPSAKE pools the new frames with the existing memory. It builds a graph where nodes are frames and edges represent similarity. This similarity combines camera pose proximity (is the camera in a similar spot?) and visual appearance (do the frames actually look alike, using DINOv2 descriptors?).
- Retention Priority: Each frame is assigned a score based on how many "strong substitutes" it has in the bank and how closely its best alternative matches it.
- Dynamic Eviction: Frames with many substitutes are deemed redundant and evicted until the memory budget is met. Crucially, this reassessment happens at every step, allowing the model to "forget" old frames that have been superseded by better, more recent observations of the same area.
Datasets
The authors evaluated KEEPSAKE across two primary settings:
- MemCam: Tested on the Context-as-Memory dataset, featuring complex 3D trajectories.
- WorldMem: Tested on a Minecraft world-simulation dataset.
- Long-Horizon Stress Tests: They specifically looked at 60-second and 180-second trajectories to see how the memory holds up over extended periods.
Key Insights and Ideas
- Relational Value vs. Intrinsic Value: A frame isn't "important" just because it's old or high-quality; it's important if it provides information that no other frame in the current bank provides.
- Memory as a Retrieval Filter: Surprisingly, keeping fewer frames can lead to better quality. By evicting low-fidelity or redundant frames, KEEPSAKE ensures the retriever only picks from a high-quality "greatest hits" collection, reducing the chance of the model being confused by "view mismatch" (see Figure 1c).
- Training-Free Utility: Because it modifies only the memory update rule, it can be added to existing state-of-the-art video generators (like Wan2.1) immediately.
Key Results
KEEPSAKE demonstrates that "less is more" in spatial memory:
- Massive Compression: On 180-second trajectories, KEEPSAKE retained only 32 frames out of a possible 5,397, yet outperformed the full-history version.
- Quality Boost: It reduced Fréchet Video Distance (FVD)—a key metric for video realism—by 35.1% compared to unbounded memory.
- Speedup: By capping the memory, CPU lookup time dropped from 3,781.9 ms per query to just 43.8 ms, a nearly 90x speedup in retrieval overhead.
Limitations and Future Work
- Prospective Policy Risks: KEEPSAKE makes eviction decisions based on the current memory bank. In an interactive setting, it's possible to evict a frame that might have been useful for a future camera movement that hasn't happened yet.
- Hyperparameter Sensitivity: The balance between pose and appearance ($\alpha$) and the redundancy thresholds are currently fixed. Future work could explore making these parameters adaptive based on the scene's visual complexity.
- Retriever Bottlenecks: While KEEPSAKE improves the pool of candidates, it still relies on the host model's original retrieval rule. Co-optimizing the retention policy and the retrieval rule could yield even better consistency.
Summary updated