README: clearer wording
Browse files28 unmodified lines293031323334356 unmodified lines42434445464748495051525354555657585960616263646566676811 unmodified lines8081828384858687888990919293949525 unmodified lines12112212312412512612712812913013113213313413513628 unmodified lines<h1 align="center">NoPeWorld heads</h1><p align="center">Trained heads of <b>Non-penetrating World Models</b>: they stop six video world models from walking through walls.</p><!-- arXiv placeholder: replace ARXIV_ID (badge, link and BibTeX) once the identifier is assigned. -->6 unmodified linesInteractive video world models follow every command, even into a wall. **NoPeWorld** adds a head of under 2M parameters to afrozen world model: at every chunk it reads the DiT's own hidden states, predicts whether each candidate motion would penetratean obstacle, and replaces an unsafe command with the safe motion closest to the user's intent. The world model is not changed.Averaged over six world models, this cuts the share of NoPeBench Task 2 videos that violate non-penetration 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 at the bricks"><br><sub>LingBot-World 2.0, <code>W</code> held at the pillar between platforms 9 and 10: the original model walks through the bricks; + NoPeWorld stops at them. Full videos on the <a href="https://nopeworld.github.io">project page</a>.</sub></p>## What a head isAt each chunk the head scores 34 candidate camera motions (the input, a stop, shortened steps and turns of up to 90掳) with asafety probability and an intent score. Candidates whose safety probability reaches 蟿 form the safe set; the input is kept whileit is safe and no safe candidate beats its intent score by more than 未; otherwise the safe candidate with the highest intentscore runs; with no safe candidate, the camera stops.- **collision mode** reads the tokens of the first denoising step of the current chunk;- **prediction mode** reads the commit pass of the previous chunk, so the decision is made before the current chunk is denoised.A head is a learned per-token map from the DiT width to 128, a LayerNorm and two cross-attention blocks (4 heads, width 128)over all tokens of the tapped blocks; nothing is pooled.<p align="center"><img src="https://huggingface.co/PeterDAI/NoPeWorld/resolve/main/assets/method.png" width="100%" alt="NoPeWorld training and inference">11 unmodified lines| `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 selectedon the world model's own validation videos: the lowest regret among the points 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 memorybetween chunks. Every head 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 also on later-start crops of them.## Files```heads/<generator id>/<mode>/head.pt state dict + architecture config + operating pointheads/<generator id>/<mode>/config.json tapped blocks, token grid, T / tau / delta, missed-intervention limit, training size, sha256 of head.ptmanifest.json every file with its size and sha256```25 unmodified lines`nopeworld.head.model.load_head(path, device)` builds the module from `head.pt`.## LicencesEach head reads the hidden states of one world model and is used together with it, so each head follows the licence terms ofits 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 licence 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) |28 unmodified lines293031323334356 unmodified lines4243444546474849505152535455565758596061626364656667686911 unmodified lines8182838485868788899091929394959625 unmodified lines12212312412512612712812913013113213313413513613728 unmodified lines<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><!-- arXiv placeholder: replace ARXIV_ID (badge, link and BibTeX) once the identifier is assigned. -->6 unmodified linesInteractive video world models follow every command, even into a wall. **NoPeWorld** adds a head of under 2M parameters to afrozen world model: at every chunk it reads the DiT's own hidden states, predicts whether each candidate motion would penetratean 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 isAt each chunk the head gives each of 34 candidate camera motions (the input, a stop, shortened steps and turns of up to 90掳) asafety probability and an intent score. Candidates with safety probability at least 蟿 are safe. The input is kept if it is safeand 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 ismade 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, width128) 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">11 unmodified lines| `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 selectedon 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 memorybetween 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 pointheads/<generator id>/<mode>/config.json blocks read, token grid, T / tau / delta, missed-intervention limit, training size, sha256 of head.ptmanifest.json every file with its size and sha256```25 unmodified lines`nopeworld.head.model.load_head(path, device)` builds the module from `head.pt`.## LicensesEach head reads the hidden states of one world model and is used together with it, so each head follows the license terms ofits 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) |
README.md+20-19