|
Download README.md from PeterDAI/NoPeWorld: direct link, hf CLI and curl.
- Browser
- Download file 7.86 kB
-
https://huggingface.co/PeterDAI/NoPeWorld/resolve/main/README.md
- Command line
-
hf download hf://PeterDAI/NoPeWorld/README.md
-
curl -L -o README.md https://huggingface.co/PeterDAI/NoPeWorld/resolve/main/README.md
7.86 kB
| license: other | |
| license_name: base-model-terms | |
| library_name: pytorch | |
| pipeline_tag: image-to-video | |
| tags: | |
| - video-world-model | |
| - world-model | |
| - collision | |
| - safety | |
| - non-penetration | |
| - diffusion-transformer | |
| datasets: | |
| - PeterDAI/NoPeBench | |
| base_model: | |
| - robbyant/lingbot-world-v2-14b-causal-fast | |
| - tencent/HY-WorldPlay | |
| - Echo-Team/Echo-WM | |
| - AlayaLab/Evoke-Turbo | |
| - aejion/WorldPlay2-Fast | |
| - tencent/Hy-Nomas | |
| base_model_relation: adapter | |
| <p align="center"> | |
| <img src="https://huggingface.co/PeterDAI/NoPeWorld/resolve/main/assets/logo.png" width="84" alt="NoPeWorld logo"> | |
| </p> | |
| <h1 align="center">NoPeWorld heads</h1> | |
| <p align="center"> | |
| The trained NoPeWorld heads from <b>Non-penetrating World Models</b>. They stop six video world models from walking through walls. | |
| </p> | |
| <p align="center"> | |
| <a href="https://arxiv.org/abs/2611.27963"><img src="https://img.shields.io/badge/arXiv-2611.27963-b31b1b?logo=arxiv&logoColor=white" alt="arXiv"></a> | |
| <a href="https://nopeworld.github.io"><img src="https://img.shields.io/badge/Project-Page-2e8b4f" alt="Project page"></a> | |
| <a href="https://github.com/yuhangdai427/NoPeWorld"><img src="https://img.shields.io/badge/GitHub-Code-181717?logo=github" alt="Code"></a> | |
| <a href="https://huggingface.co/datasets/PeterDAI/NoPeBench"><img src="https://img.shields.io/badge/Data-NoPeBench-ffd21e?logo=huggingface&logoColor=black" alt="Data"></a> | |
| </p> | |
| Interactive video world models follow every command, even into a wall. **NoPeWorld** adds a head of under 2M parameters to a | |
| frozen world model: at every chunk it reads the DiT's own hidden states, predicts whether each candidate motion would penetrate | |
| an obstacle, and replaces an unsafe command with the safe motion closest to the user's intent. | |
| Averaged over six world models, this cuts the share of NoPeBench Task 2 videos that pass through or erase an obstacle from 74% to 16%. | |
| <p align="center"> | |
| <img src="https://huggingface.co/PeterDAI/NoPeWorld/resolve/main/assets/teaser.gif" width="600" alt="LingBot-World 2.0 with W held at a brick pillar. The original model walks through it; with NoPeWorld, it stops."> | |
| <br> | |
| <sub>LingBot-World 2.0 walks through walls. With NoPeWorld, it stops at the wall. Full videos on the <a href="https://nopeworld.github.io">project page</a>.</sub> | |
| </p> | |
| ## What a head is | |
| At each chunk the head gives each of 34 candidate camera motions (the input, a stop, shortened steps and turns of up to 90掳) a | |
| safety probability and an intent score. Candidates with safety probability at least 蟿 are safe. The input is kept if it is safe | |
| and no safe candidate beats its intent score by more than 未. Otherwise the safe candidate with the highest intent score runs. | |
| If no candidate is safe, the camera stops. | |
| - **collision mode** reads the tokens of the first denoising step of the current chunk; | |
| - **prediction mode** reads the previous chunk's states from the pass that writes it into the model's memory, so the decision is | |
| made before the current chunk is denoised and needs no extra DiT pass. | |
| A head is a learned per-token projection from the DiT width to 128, a LayerNorm, and two cross-attention blocks (4 heads, width | |
| 128) over all tokens of the blocks it reads, with no pooling. | |
| <p align="center"> | |
| <img src="https://huggingface.co/PeterDAI/NoPeWorld/resolve/main/assets/method.png" width="100%" alt="NoPeWorld training and inference"> | |
| </p> | |
| ## Heads | |
| | generator id | world model | collision: blocks 路 params | prediction: blocks 路 params | T, 蟿, 未 (collision) | T, 蟿, 未 (prediction) | | |
| |---|---|---|---|---|---| | |
| | `lingbot_world_2` | LingBot-World 2.0 | 30, 38, 39 路 1.72M | 30 路 1.74M | .82, .85, .030 | .906, .85, .010 | | |
| | `hy_worldplay` | HY-WorldPlay | 27 路 0.95M | 33 路 0.97M | .743, .80, .150 | .82, .80, .000 | | |
| | `echo_wm` | Echo-WM | 42 路 0.95M | 30 路 0.97M | .906, .85, .000 | 1.00, .90, .020 | | |
| | `evoke_turbo` | Evoke-Turbo | 20 路 1.07M | none | .82, .80, .100 | none | | |
| | `worldplay2` | WorldPlay2 | 30 路 1.72M | 20 路 1.74M | .82, .95, .030 | .82, .95, .075 | | |
| | `hy_nomas` | Hy-Nomas | 33 路 0.70M | 33 路 0.71M | .906, .85, .000 | .906, .85, .000 | | |
| T is the temperature of the safety probability, 蟿 the safety threshold and 未 the keep margin. Each operating point was selected | |
| on the world model's own validation videos: the point with the lowest regret among those whose missed-intervention rate is at most 0.10 | |
| (0.05 for Echo-WM's collision head and both WorldPlay2 heads). Evoke-Turbo has no prediction head because it keeps no memory | |
| between chunks. All heads were trained on the same 729 training videos (44 Unreal Engine scenes, first person, static obstacles); | |
| the HY-WorldPlay, Echo-WM, Evoke-Turbo and WorldPlay2 heads were also trained on later-start crops of them. | |
| ## Files | |
| ``` | |
| heads/<generator id>/<mode>/head.pt state dict + architecture config + operating point | |
| heads/<generator id>/<mode>/config.json blocks read, token grid, T / tau / delta, missed-intervention limit, training size, sha256 of head.pt | |
| manifest.json every file with its size and sha256 | |
| ``` | |
| `LAYOUT.md` lists the keys of `head.pt` and `config.json`. | |
| ## Use | |
| The world models are not included: download each from its own release and point `NOPE_GENERATORS` at them | |
| ([world models](https://github.com/yuhangdai427/NoPeWorld/blob/main/docs/WORLD_MODELS.md)). | |
| ```bash | |
| git clone https://github.com/yuhangdai427/NoPeWorld && cd NoPeWorld && pip install -e . | |
| nopebench-download --what weights # this repository into ./weights (NOPE_WEIGHTS) | |
| nopebench-download --what data --tasks task2 # NoPeBench Task 2 routes into ./data (NOPE_DATA) | |
| nopeworld-infer --generator lingbot_world_2 --method nopeworld_collision --task task2 \ | |
| --out runs/lingbot_world_2/collision | |
| ``` | |
| Or load a head directly: | |
| ```python | |
| from huggingface_hub import snapshot_download | |
| import torch | |
| root = snapshot_download(repo_id="PeterDAI/NoPeWorld", local_dir="weights") | |
| head = torch.load(f"{root}/heads/hy_worldplay/collision/head.pt", map_location="cpu", weights_only=True) | |
| print(head["config"]["layers"], head["selection"]) | |
| ``` | |
| `nopeworld.head.model.load_head(path, device)` builds the module from `head.pt`. | |
| ## Licenses | |
| Each head reads the hidden states of one world model and is used together with it, so each head follows the license terms of | |
| its base model: | |
| | generator id | terms | | |
| |---|---| | |
| | `lingbot_world_2` | LingBot-World 2.0: CC BY-NC-SA 4.0 (non-commercial, share-alike) | | |
| | `hy_worldplay` | Tencent HY-WorldPlay Community License Agreement. As written in its License.txt: "THIS LICENSE AGREEMENT DOES NOT APPLY IN THE EUROPEAN UNION, UNITED KINGDOM AND SOUTH KOREA AND IS EXPRESSLY LIMITED TO THE TERRITORY" | | |
| | `hy_nomas` | built on HunyuanVideo-1.5; the same Tencent community license terms apply, including the territory restriction | | |
| | `echo_wm` | the terms of the Echo-WM repository | | |
| | `evoke_turbo` | the terms of the Evoke-Turbo repository | | |
| | `worldplay2` | the terms of the WorldPlay2 repository (and of its Wan2.2 base) | | |
| The code (NoPeWorld repository) is released under Apache-2.0. The training data are renders of UnrealZoo scenes; see the | |
| NoPeBench dataset card. | |
| ## Citation | |
| ```bibtex | |
| @misc{dai2026nopeworld, | |
| title = {Non-penetrating World Models}, | |
| author = {Yuhang Dai and Yinwei Wu and Ziyue Lin and Han Ji and Xingyi Yang}, | |
| year = {2026}, | |
| eprint = {2611.27963}, | |
| archivePrefix = {arXiv}, | |
| primaryClass = {cs.CV}, | |
| url = {https://arxiv.org/abs/2611.27963} | |
| } | |
| ``` | |
| ## Acknowledgements | |
| The heads read the frozen states of LingBot-World 2.0 (Robbyant), HY-WorldPlay and Hy-Nomas (Tencent Hunyuan), Echo-WM (JD Open | |
| Source), Evoke-Turbo (AlayaLab) and WorldPlay2. We thank their authors for releasing them, and Microsoft Azure for supporting this | |
| work. | |