WorldKV: Efficient World Memory with World Retrieval and Compression

Jung Yi, Minjae Kim, Paul Hyunbin Cho, Wooseok Jang, Sangdoo Yun, Seungryong KimarXiv 2026

TL;DR

WorldKV is a training-free framework that equips autoregressive video diffusion models with efficient, long-term "world memory" without breaking real-time constraints or triggering out-of-memory errors. By pairing a camera/action-driven KV-cache retrieval mechanism with a key-similarity token compression strategy, it matches or exceeds full-history memory fidelity at double the inference throughput—all without any fine-tuning.

What Problem Does This Paper Address?

Interactive world models (used in gaming, embodied AI, and robotics simulations) generate real-time video streams conditioned on user actions or camera movements. To create a truly immersive, persistent world, these models must exhibit spatial and temporal consistency: if a user leaves a room and returns later, the room should look exactly as it was left.

Currently, developers face a frustrating trade-off:

  1. Full KV-Cache Attention: Retaining the entire history of Key-Value (KV) caches ensures perfect consistency, but memory footprints and attention costs explode linearly with time. This quickly triggers Out-of-Memory (OOM) errors and tanks frame rates.
  2. Sliding-Window Inference: Evicting older frames keeps the model running in real-time but completely wipes its long-term memory. When a user backtracks, the model drifts and hallucinates entirely new layouts.
Figure 1: Emergent memory from attending Full KV cache: We empirically observed that, even though Matrix-Game-2.0 [6] was trained only on short clips, the model can use the KV cache as long-term visual context/memory.

Methods

WorldKV operates entirely at inference time on top of standard sliding-window architectures using two complementary, training-free components:

  • World Retrieval: Instead of discarding KV-cache chunks evicted from the active sliding window, WorldKV stores them in memory. Each chunk is indexed by the camera pose or cumulative action state at its time of creation. When a user revisits an area, the system calculates spatial distances to find the most relevant historical chunks and inserts them natively back into the active attention window without any re-encoding.
  • World Compression: Adjacent video frames share massive amounts of visual information, leading to near-duplicate KV caches. WorldKV designates the first frame of a chunk as a spatial "anchor" and computes the Key-Key cosine similarity between it and subsequent frames. Tokens with high similarity (redundant data) are pruned, while low-similarity tokens (representing newly revealed or dynamic elements) are preserved. This effectively halves the storage size of each chunk, allowing the model to cache twice as much history under a fixed memory budget.

Datasets

The authors evaluated WorldKV across two open-source world models of different scales: Matrix-Game-2.0 (a 1.3B parameter model trained on short clips) and LingBot-World-Fast (a 14B parameter model distilled for long-video generation).

To evaluate long-term consistency, they introduced a new benchmark consisting of 60 scene-trajectory pairs spanning diverse visual domains (indoor, outdoor, urban, and natural environments). The trajectories were manually designed to include complex navigation patterns like repetitive revisits and forward-backward traversals, ensuring at least one explicit loop-closure event per scene.

Key Insights and Ideas

  • Emergent World Memory: A fascinating finding is that the KV cache inherently acts as a long-term visual memory, even in models like Matrix-Game-2.0 that were never explicitly trained on long video sequences.
  • Attention Sparsity: Visualizing the model's internal attention maps revealed a clear "view-correspondence" pattern. The model naturally ignores irrelevant history and concentrates its attention weights on past KV chunks that spatially overlap with the current viewpoint.
  • The "Less is More" Effect: Surprisingly, selectively retrieving and compressing the KV cache can actually outperform full-history attention. In long rollouts, full attention suffers from "attention dilution" (getting distracted by redundant tokens) and compounding errors from out-of-distribution generations. Cleaning up the context window provides a sharper, more accurate memory signal.

Key Results

  • Throughput & Memory Stability: On the 14B LingBot-World-Fast model, full KV attention causes frame rates to plummet from ~8.8 FPS to 3.6 FPS over a one-minute rollout, rapidly entering the OOM zone. WorldKV maintains a stable, near-real-time throughput (~7.7 FPS on B200) while keeping the active GPU memory footprint flat.
  • Fidelity Gains: WorldKV significantly outperforms standard sliding-window baselines across all image quality metrics (LPIPS, PSNR, SSIM, FID). On Matrix-Game-2.0, it even beats full KV attention, lowering the FID score from 124.91 to 93.56.
  • Competitive with Memory-Trained Baselines: Despite requiring zero fine-tuning or architectural modifications, WorldKV achieves results competitive with or superior to dedicated, memory-trained architectures like WorldPlay and Yume-1.5.

Limitations and Future Work

  • Bounded by the Base Model: Because WorldKV is an inference-time management framework that sits on top of a frozen backbone, it cannot fix inherent generation flaws or artifacts native to the underlying pretrained world model.
  • Host-Device Transfer Latency: To prevent GPU VRAM exhaustion, historical chunks can be offloaded to CPU memory. However, the latency of transferring these chunks back to the GPU during retrieval currently prevents true real-time generation. Optimizing this host-device transfer bottleneck is a primary target for future engineering work.

Summary updated

BibTeX
@misc{yi2026worldkv,
  author = {Jung Yi and Minjae Kim and Paul Hyunbin Cho and Wooseok Jang and Sangdoo Yun and Seungryong Kim},
  title = {{WorldKV: Efficient World Memory with World Retrieval and Compression}},
  year = {2026},
  eprint = {2605.22718},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.22718},
}

Loading related content...

Figure