WorldKV: Efficient World Memory with World Retrieval and Compression
Summary
WorldKV is a novel, training-free framework designed to enable efficient, persistent world memory in autoregressive video diffusion models, addressing the challenge of maintaining consistent content when revisiting viewpoints. While full KV-cache attention ensures consistency, its linear memory footprint and attention cost hinder real-time performance, and sliding window inference sacrifices long-term consistency for throughput. WorldKV introduces two key components: World Retrieval, which stores evicted KV-cache chunks in GPU/CPU memory and selectively reinserts scene-relevant chunks into the attention window based on camera/action correspondence without re-encoding; and World Compression, which prunes redundant tokens within each chunk using key-key similarity to an anchor frame, effectively halving storage per chunk. Evaluated on Matrix-Game-2.0 and LingBot-World-Fast, WorldKV achieves memory fidelity matching or exceeding full-KV methods at approximately 2x the throughput, demonstrating competitive performance against memory-trained baselines without requiring any fine-tuning.
Key takeaway
For Machine Learning Engineers developing autoregressive video diffusion models that require persistent world consistency, WorldKV offers a compelling training-free solution. You can achieve roughly 2x throughput and maintain high memory fidelity by integrating its World Retrieval and World Compression components. This framework allows you to overcome the memory and computational constraints of full KV-cache attention, enabling real-time, consistent world generation without extensive fine-tuning. Consider evaluating WorldKV to enhance the long-term consistency and efficiency of your generative models.
Key insights
WorldKV uses retrieval and compression to maintain persistent world memory in video diffusion models efficiently.
Principles
- Evicted memory chunks can be selectively retrieved.
- Redundant tokens within memory chunks are compressible.
- Camera/action correspondence guides memory retrieval.
Method
WorldKV stores evicted KV-cache chunks, retrieves relevant ones via camera/action, and prunes redundant tokens using key-key similarity to an anchor frame.
In practice
- Achieve 2x throughput for persistent world generation.
- Maintain high memory fidelity without fine-tuning.
- Reduce KV-cache storage by 50% per chunk.
Topics
- Video Diffusion Models
- KV-Cache Optimization
- World Generation
- Memory Compression
- Real-time Inference
- Computer Vision
Best for: Research Scientist, AI Scientist, Machine Learning Engineer, Computer Vision Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Computer Vision and Pattern Recognition.