Download README.md from Mousky/ENGRAM: direct link, hf CLI and curl.
- Browser
- Download file 6.57 kB
-
https://huggingface.co/Mousky/ENGRAM/resolve/main/README.md
- Command line
-
hf download hf://Mousky/ENGRAM/README.md
-
curl -L -o README.md https://huggingface.co/Mousky/ENGRAM/resolve/main/README.md
language:
- en
pipeline_tag: image-to-video
base_model: Wan-AI/Wan2.2-TI2V-5B-Diffusers
tags:
- video-generation
- image-to-video
- camera-control
- world-model
- spatial-memory
ENGRAM: Reliability-Weighted Latent Fusion and
Occlusion-Aware Layered Readout for Video World Models
Chenhao Wu1,*
Zhaolong Su2,*
Yang Liu3,*
Tianrui Su4
Yingguang Yang3
Shang Luo3
Yancheng Chen1
Chongyang Zhang5
Hao Zheng5
Kefu Xu3
Congjing Ran6
Bin Chong3,†
1University of the Chinese Academy of Sciences
2Jilin University
3Peking University
4University of New South Wales
5Fullive-AI
6Wuhan University
*Equal contribution. †Corresponding author.
Abstract
Camera-conditioned video world models aim to generate 3D-consistent videos from a single image along specified camera trajectories. However, set-union updates in latent spatial memory leave repeated observations unconsolidated, while frontmost-only readout limits simultaneous access to stored evidence at different depths.
To address these limitations, we present ENGRAM, a latent spatial memory framework combining reliability-weighted latent fusion and occlusion-aware layered readout. Specifically, recursive fusion integrates geometrically and visually compatible observations in a channel-normalized latent space, consolidating repeated evidence into a shared scene representation. Layered readout exposes multiple depth-ordered latent candidates with their reliability and availability at each target cell. This gives the generator access to information from multiple surfaces as visibility changes. Explicit camera rays provide viewpoint information independently of memory coverage, while geometric consistency constraints guide memory updates.
Memory retrieval uses a single projection at latent resolution, avoiding intermediate RGB rendering and VAE re-encoding. We adapt a pretrained video generator using only 256 training scenes. On 100 RealEstate10K test scenes, ENGRAM improves novel-view-synthesis and closed-loop PSNRs over Spatia by 0.82 and 4.48 dB, respectively. On a 200-case WorldScore evaluation subset, it achieves an average score of 67.78, exceeding Spatia by 3.31 points.
ENGRAM maintains persistent latent spatial memory for camera-controlled exploration and revisits.
Checkpoints
This repository provides both adaptation-stage checkpoints and the supporting inference assets.
| File | Contents | Size |
|---|---|---|
stage1_step_4000.pt |
Stage-1 memory-conditioning side branch | 5.58 GB |
stage2_step_8000.pt |
Final adapted transformer and frozen memory-conditioning side branch | 12.81 GB |
wan_latent_stats.pt |
Latent channel statistics for memory fusion | |
empty-text-bundle.pt |
Empty-text conditioning embedding | |
training/manifest.json |
Training manifest associated with the checkpoints | |
assets.example.json |
Asset-path configuration | |
SHA256SUMS |
SHA256 checksums |
Adaptation uses 256 training scenes and 2,304 windows. Stage 1 trains the side branch for 4,000 updates. Stage 2 freezes the side branch and adapts the full video transformer for 8,000 updates.
Download and use
Authenticate with an account that has access to the repository, then download the files:
pip install -U huggingface_hub
hf auth login
hf download Mousky/ENGRAM --local-dir checkpoints/ENGRAM
Run inference from the ENGRAM source release using run.py. Obtain the upstream Wan2.2-TI2V-5B Diffusers model, MapAnything, and the required Torch cache. Copy assets.example.json to assets.local.json in the downloaded directory and set the external model and evaluation-data paths.
python run.py check-assets \
--assets checkpoints/ENGRAM/assets.local.json \
--for-action infer-re10k
Keep both checkpoints and training/manifest.json in place for the current release loader. Paths in the asset configuration resolve relative to that JSON file. The evaluation recipe uses 33-frame chunks, a 32-frame stride, 40 sampling steps, and CFG 1. Follow the source release README for data preparation and the RealEstate10K and WorldScore inference commands.
License
ENGRAM source code uses the MIT License. The checkpoints adapt Wan2.2; its upstream Apache-2.0 license continues to apply. Upstream models and datasets are obtained separately from their providers.
Citation
@misc{wu2026engram,
title = {{ENGRAM}: Reliability-Weighted Latent Fusion and Occlusion-Aware Layered Readout for Video World Models},
author = {Chenhao Wu and Zhaolong Su and Yang Liu and Tianrui Su and Yingguang Yang and Shang Luo and Yancheng Chen and Chongyang Zhang and Hao Zheng and Kefu Xu and Congjing Ran and Bin Chong},
year = {2026},
eprint = {2611.28136},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.28136}
}