PRISM — TwoRoom
LeWM world model and PRISM prior head for TwoRoom: 2-D navigation through a door between two rooms (2-D actions). These are the weights behind the TwoRoom results in the paper (Fig. 5).
Paper · Project page · Code
Files
| File | Contents |
|---|---|
lewm_object.ckpt |
LeWM world model (frozen JEPA encoder + predictor), the upstream quentinll/lewm-tworooms weights converted with convert_hf_checkpoint.py |
prior_head_tworoom.pt |
PRISM prior head: MLP with two 512-unit GELU layers, 0.51M parameters, β-NLL (β = 0.5), σ floor 0.05, trained on frozen features with the last frame of each episode as goal |
jepa.py, module.py, prior_head.py |
classes needed to load the two checkpoints |
requirements.txt |
tested package versions |
Results
Success rate (%), mean ± std over ten seeds, 50 episodes per seed; goal 25 environment steps ahead, H = 5, B = 5, J = 30, K_elite = 30, prior scale s = 1.
| Planner | K = 32 | K = 64 | K = 128 |
|---|---|---|---|
| Vanilla MPPI | 66.0 ± 5.7 | 69.4 ± 7.2 | 73.4 ± 5.7 |
| Warm-start MPPI | 74.8 ± 6.3 | 78.2 ± 6.6 | 75.8 ± 3.6 |
| PRISM-MPPI | 81.8 ± 5.8 | 85.8 ± 4.5 | 86.4 ± 4.2 |
Usage
git clone https://github.com/YuhaiW/prism-jepa.git && cd prism-jepa
uv venv --python 3.10 && source .venv/bin/activate
uv pip install torch==2.8.0 torchvision==0.23.0 --index-url https://download.pytorch.org/whl/cu128
uv pip install -r requirements.txt
export STABLEWM_HOME=$HOME/.stable-wm
bash scripts/download.sh tworoom # dataset → $STABLEWM_HOME/tworoom.h5, this repo's files → $STABLEWM_HOME/tworooms/ and checkpoints/
bash scripts/test.sh tworoom # vanilla, warm-start and PRISM MPPI at K = 32, 64, 128
Citation
@misc{wang2026prism,
title = {PRISM: PRior-guided Imagination Sampling in world Models},
author = {Yuhai Wang and Jiawei Xia and Bowen Sun and Rongxuan Zhou and Xiao Hu and Yongliang Shi and Jing Du and Yang Ye},
year = {2026},
eprint = {2606.07974},
archivePrefix = {arXiv},
primaryClass = {cs.RO},
url = {https://arxiv.org/abs/2606.07974},
}
MIT License. The world model and its code come from LeWM.