TL;DR
Current video world models treat environments as static canvases, causing moving objects to warp, freeze, or vanish entirely when they temporarily leave the camera's field of view. To solve this, the authors introduce Hybrid Memory, a paradigm that requires models to simultaneously archive static backgrounds and track dynamic subjects out-of-frame. They provide HM-World, a massive 59K-clip dataset featuring complex exit-and-re-entry events, and HyDRA, a novel spatiotemporal retrieval-attention architecture that successfully maintains subject identity and motion continuity.
What Problem Does This Paper Address?
Imagine a video generation model simulating a busy street. A pedestrian walks off-screen to the left, the camera pans right, and then pans back left. Ideally, the pedestrian should reappear, continuing their walk naturally. However, state-of-the-art video world models frequently fail at this task. Because their memory mechanisms treat the world like a static canvas, they lose track of dynamic objects once they are out of sight. When the camera returns, the subject is often rendered as a distorted phantom, a frozen statue, or disappears completely.
This paper tackles the challenge of Hybrid Memory: the ability of a generative model to simultaneously maintain spatial consistency for static backgrounds and motion continuity for dynamic subjects during out-of-view intervals. Achieving this requires the model to independently untangle camera ego-motion from a subject's independent trajectory, mentally simulate unseen movements in latent space, and isolate dynamic cues from entangled background features.
Methods
The authors propose HyDRA (Hybrid Dynamic Retrieval Attention), a specialized memory architecture built on top of a full-sequence video diffusion model (specifically, Wan2.1-T2V-1.3B).
HyDRA introduces two core components to replace standard 3D self-attention layers:
- Memory Tokenizer: Instead of performing retrieval directly on raw, uncoupled latent representations—which lacks the expressiveness to capture complex motion—HyDRA uses a 3D-convolution-based tokenizer. By processing spatial and temporal dimensions simultaneously, it compresses raw memory latents into dense, motion-aware tokens, expanding the spatiotemporal receptive field.
- Dynamic Retrieval Attention: To avoid flooding the model with irrelevant context and inflating computational costs, the authors implement a query-key (QK) retrieval mechanism. The target latents are projected into queries, and the memory tokens are projected into keys and values. The model computes a spatiotemporal affinity metric via an element-wise product across spatial dimensions and uses a Top-K selection strategy to retrieve only the most relevant tokens. To maintain local denoising stability, the queries' own local temporal window is forcefully concatenated with the retrieved tokens.
Additionally, camera trajectories (rotation matrices and translation vectors) are explicitly flattened and injected into the Diffusion Transformer (DiT) blocks via an MLP encoder to provide precise spatial control.
Datasets
Because natural videos with unoccluded exit-and-re-entry events are incredibly rare, the authors built a custom dataset from scratch:
- HM-World: The first large-scale video dataset dedicated to hybrid memory research, containing 59,225 high-fidelity video clips rendered in Unreal Engine 5.
The dataset deliberately decouples camera trajectories from subject movements across 17 distinct scenes, 49 subjects (humans and animals), 10 subject motion paths, and 28 types of camera trajectories. It includes comprehensive annotations for camera poses, 3D subject poses, and precise exit/entry timestamps.
As shown in the dataset comparison below, HM-World uniquely combines dynamic subjects, movable cameras, and explicit exit-entry events at a massive scale:
Key Insights and Ideas
- Mental Trajectory Simulation: The core philosophy of Hybrid Memory is that a world model must do more than just remember what an object looks like; it must predict its unseen trajectory while out of view so it re-enters the frame at a physically plausible location.
- The Power of 3D Convolutions for Memory: The authors discovered that 1D or 2D tokenization drops crucial long-duration motion information. Utilizing 3D convolutions within the memory tokenizer proved essential for capturing the spatiotemporal interaction needed for accurate retrieval.
- Dynamic vs. Static Retrieval: Traditional methods like Context-as-Memory rely on Field-of-View (FOV) overlap, which uses static 3D geometric calculations. HyDRA's dynamic affinity method computes feature-level correlations on the fly, allowing the model to adaptively select different tokens at different timesteps and DiT layers.
Key Results
The authors evaluated HyDRA against strong baselines, including DFoT and Context-as-Memory, as well as a zero-shot evaluation against the commercial model WorldPlay.
To evaluate dynamic objects specifically, they introduced a new metric called Dynamic Subject Consistency (DSC). They used YOLOv11 to crop subject regions, extracted semantic features using a pretrained CLIP model, and calculated feature similarities against both the ground truth ($DSC_{GT}$) and historical context ($DSC_{ctx}$).
- Quantitative Superiority: HyDRA achieved a PSNR of 20.357 (up from the baseline's 18.696) and an SSIM of 0.606 (up from 0.517). It also achieved the highest consistency scores, with a $DSC_{ctx}$ of 0.827 and a $DSC_{GT}$ of 0.849.
- Commercial Comparison: HyDRA outperformed WorldPlay across all metrics, notably beating it by a wide margin of 5.502 in PSNR.
- Qualitative Performance: While baseline models suffered from severe subject distortion or caused the subject to completely vanish upon re-entry, HyDRA successfully maintained both the subject's visual identity and motion coherence.
Limitations and Future Work
Despite its strong performance, the authors note that HyDRA's generation quality tends to degrade in highly complex scenarios. Specifically, the model struggles when a scene involves three or more independent subjects or experiences severe, prolonged occlusions.
For future work, the team plans to explore more robust memory architectures capable of handling intricate multi-subject dynamics and scale the approach to unconstrained, real-world environments beyond synthetic datasets.
Summary updated