Velox: Spatial Memory Makes World Models Efficient

Qiuhong Shen, Shizun Wang, Xinchao WangarXiv 2026

TL;DR

Velox is a training-free attention routing framework that solves the efficiency bottleneck in long-horizon video world models. By using 3D geometry to represent historical frames as "frustum slabs," it allows models to selectively attend only to relevant past regions, achieving a 4.36× attention speedup at 48 chunks while maintaining the consistency of dense attention.

What Problem Does This Paper Address?

Video world models are the engines behind interactive simulations, turning user actions and camera movements into continuous visual rollouts. To keep these rollouts coherent, models must remember what they’ve already generated. Currently, most chunked video diffusion models handle this by maintaining a Key-Value (KV) cache that grows with every new frame.

The problem is a linear slowdown: as the video gets longer, the KV cache gets larger, and the attention mechanism has to process more data. Eventually, generation becomes too slow for interactive use. While some methods try to solve this by retrieving only a few past frames, this "view-level" selection is often too coarse—different parts of a new frame might need to look at entirely different parts of the past to stay consistent.

Three context-management paradigms: Dense history (slow), FOV retrieval (coarse), and Velox (fine-grained routing).

Methods

Velox introduces a spatial memory system that operates at the granularity of token blocks, matching the tiled execution of modern kernels like FlashAttention. Its pipeline consists of several novel components:

  1. Frustum Slab Correspondence: Instead of treating history as a flat list of frames, Velox represents historical token blocks as 3D "frustum slabs"—geometric volumes defined by the camera frustum and a depth interval.
  2. Recency-Priority Multiwarp: To determine where a current block sits in 3D space, Velox forward-warps depth information from the most recent reconstructed frames into the current camera view.
  3. Soft Geometric Fusion: Rather than a "hard" selection that might discard useful semantic information, Velox uses geometric overlap to "boost" the importance of relevant historical blocks. If a region has no geometric coverage (like a newly revealed sky), the system falls back to the model’s original, un-biased attention route.
  4. Global-Aligned Gilbert Order: To keep spatial neighbors close together in memory and ensure efficient sparse attention, Velox organizes tokens using a specific space-filling curve (the Gilbert curve) that remains consistent across chunk boundaries.
  5. Asynchronous Execution: The 3D reconstruction and frustum slab construction run on a separate CUDA stream, allowing the geometry pipeline to work in parallel with the main denoising process on a single H200 GPU.
Figure 2: Velox overview. Velox leaves the pretrained chunked video generator unchanged and re- places dense historical attention with frustum slab routed attention. Historical chunks are summarized by per-block frustum slabs with depth intervals, target query blocks obtain depth through multiwarp, and block routes softly fuse frustum slab overlap with layer-specific model importance before adding temporal and global Gilbert safeguards. Indexed sparse attention then produces the next chunk.

Datasets

The authors evaluated Velox using the WBench navigation split, a comprehensive benchmark for interactive video world models consisting of 158 cases. They compared Velox against:

  • Dense LingBot-Fast-Cam: The full-context baseline.
  • Model-only Block-Sparse: A baseline that uses attention statistics for routing without geometric priors.
  • Various text-driven and camera-controlled baselines (e.g., Wan 2.7, SANA-WM, HY-World 1.5).

Key Insights and Ideas

  • Geometry as a Prior, Not a Rule: A major "aha" moment is the use of soft fusion. By modulating the model's internal attention scores with geometric overlap rather than replacing them, Velox preserves the transformer's ability to find semantic connections that pure geometry might miss.
  • Efficiency through Granularity: By aligning the routing granularity with the block size used in FlashAttention, the authors ensure that the theoretical sparsity actually translates into wall-clock speedups on real hardware.
  • Training-Free Adaptability: Because Velox modifies the inference-time visibility relation rather than the model architecture, it can be dropped into existing pretrained video generators without expensive fine-tuning.

Key Results

Velox demonstrates that you don't need to attend to everything to remember everything.

  • Massive Speedups: At chunk 48 of a rollout, Velox accelerates the attention mechanism by 4.36× and the overall denoising process by 2.43×.
  • Scaling Performance: As shown in the scaling plots, the cost of dense attention grows linearly, while Velox remains nearly flat, making it significantly more scalable for very long videos.
  • High Fidelity: On the WBench benchmark, Velox remains within 0.15 points of the dense baseline's average score and actually improves spatial consistency (from 73.0 to 74.3), proving that targeted attention can reduce visual drift.
Figure 3: Runtime scaling over a 48-chunk rollout. The left plot measures per-call visual-attention latency. The right plot measures per-chunk DiT denoising time while asynchronous geometry construction shares the same H200. Velox increasingly separates from dense FlashAttention as the retained context grows.

Limitations and Future Work

While Velox is highly effective for static backgrounds and camera movement, the authors note some limitations:

  • Geometry Dependency: The system relies on accurate depth estimation and camera poses. If the reconstruction drifts, the routing signal becomes noisy.
  • Dynamic Objects: The current frustum slab approach is optimized for scene geometry. Highly dynamic objects that move independently of the camera may require more sophisticated tracking to be routed correctly.
  • Consistency Trade-offs: While spatial consistency improved, the authors observed a slight decrease in perspective and subject consistency, suggesting that future work should focus on better object-centric routing safeguards.

Summary updated

BibTeX
@misc{shen2026velox,
  author = {Qiuhong Shen and Shizun Wang and Xinchao Wang},
  title = {{Velox: Spatial Memory Makes World Models Efficient}},
  year = {2026},
  eprint = {2610.22311},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.22311},
}
Figure