Non-penetrating World Models

Yuhang Dai, Yinwei Wu, Ziyue Lin, Han Ji, Xingyi YangLearning & Generation Lab, The Hong Kong Polytechnic University

Teaching world models to say NoPe to obstacles.

Raw model
+ NoPeWorld
Wheld 8 s
LingBot-World 2.0 on a station image, W held at the pillar. Left: the raw model opens an arch in the bricks and walks through. Right: with NoPeWorld (collision mode) it stops at the bricks. Same image, prompt and seed on both sides. The raw model goes through in all 3 seeds and NoPeWorld stops in all 3, checked frame by frame. Real outputs at their native 832 px.
74%16%

of generated videos penetrate or erase the obstacle. Averaged over six frozen world models on NoPeBench, before and after NoPeWorld. Task 2 violation rate (the camera penetrates, tunnels through or erases the obstacle; VGGT-Ω evaluator on true Unreal geometry), averaged over six world models: raw model vs. NoPeWorld in collision mode. Bars: one per world model.

<2Mhead parameters. The world model stays frozen.
34motions scored per chunk, before the chunk is drawn.
+1%time in prediction mode. No extra DiT pass. 34 candidates: the input, a stop, shorter steps and turns up to 90°. +1%: +0.7 s on a 53.7 s route, LingBot-World 2.0.
AbstractRead

We study a new problem of preventing object penetration in interactive video world models. To understand how existing models handle this, we introduce NoPeBench, a benchmark that evaluates how world models respond to physical obstacles. Our evaluation reveals that none of the open-source models can reliably prevent such failures.

Surprisingly, however, these models already encode the information needed to predict such violations. We find that the hidden states of diffusion transformers (DiTs) can predict whether a candidate action will penetrate an obstacle. Building on this, we introduce NoPeWorld, a lightweight framework that detects and prevents penetration. Specifically, we train a small prediction head on top of a frozen DiT's hidden states to read out if a candidate action is safe or not. Unsafe actions are then replaced with safe ones that best preserve the original intent.

Despite its simplicity, NoPeWorld substantially reduces the physical violation rate, averaged over six video world models, from 74% to 16%. Remarkably, our method shows zero-shot generalization to open-domain imagery, third-person viewpoints, and moving obstacles. We publicly release our code, the NoPeBench benchmark, and model weights at the links above.

Videocoming soon
01The problem

World models pass through obstacles.

With W+A held into a courtyard wall, five of six world models pass through it and one backs away. Unreal Engine slides along it.

0.00 s
The paper's Fig. 1. Unreal Engine, the ground truth, slides along the wall. Five of six raw world models pass through it; WorldPlay2 backs away. With NoPeWorld every one stops at the wall. Chips are the Task 2 evaluator's verdict on that exact video. Yellow is the evaluator's SAM 2.1 track of the wall, started from Unreal's true mask; it ends once SAM 2 loses the wall (no mask for 0.25 s, or the mask collapsing as a camera enters it), which also happens when a camera slides past or backs away. The chip, not the overlay, is the verdict.
inputUnrealraw+ NoPeWorldobstacle Unreal's true map, sliced at body height (in 3D: the same slice, extruded). Each world model's camera path is reconstructed from its own video by the Task 2 evaluator (VGGT-Ω).
WASD or drag
illustration on the true map, not a model output
01bWhat it should do

Stop or slide. Never pass through.

Red follows your keys, as a raw world model does. Black keeps only the motion the obstacle allows, as a game engine does: it stops head-on and slides when oblique.

v = u − min(0, u·n) n

Collide-and-slide (Baraff, 1989): u the commanded motion, n the wall's normal. Rays: the 34 candidate motions for the next chunk (0.9 m), green when the swept collision disc keeps a 5 cm margin on this map. Thick: the training label, the safe candidate closest to the collide-and-slide response. NoPeWorld has no map: its head learns these labels from Unreal replays and then reads them off the video model's hidden states.

02The insight

The DiT already predicts the contact.

Before a chunk is drawn, the frozen DiT's hidden states already tell which candidate motions would penetrate the obstacle.

The head's real scores on LingBot-World 2.0, chunk by chunk, in step with the video.
LingBot-World 2.0 + NoPeWorld
Press play.
safeunsafechoseninput
Readable before pixels.

One chunk ahead, before those frames are denoised.

In the DiT, not in pixels.

On VAE latents or decoded pixels, the same head barely beats keeping the input.

It knows, but does not act.

The raw model still passes through. NoPeWorld turns the prediction into the action.

03Method

Read the DiT, replace unsafe actions.

Before each chunk, a head with under 2M parameters reads the frozen DiT and scores 34 candidate motions. A safe input is kept; an unsafe one is replaced by the closest safe motion.

The paper's Figure 2. Left, training: Unreal Engine frames pass through the frozen DiT, a head reads its hidden states and predicts a score for every candidate motion; the targets come from sweeping each candidate through Unreal's true top-view map (green arrows safe, red unsafe), and a loss compares the two. Right, inference at chunk k with the W and left-arrow keys held: the frozen model alone runs DiT steps 0 to 3 and goes through the wall; in prediction mode the head reads the DiT states of chunk k minus 1 and keeps or changes the command before chunk k, and the video slides along the wall; in collision mode the head reads step 0 of chunk k, keeps the command or changes it and reruns step 0, then steps 1 to 3 follow, and the video slides along the wall. Full size ↗
Training: every candidate motion is swept through Unreal's true map and labeled; the head learns to predict the labels from the frozen DiT's states.
  1. 1Read. A head with under 2M parameters reads the frozen DiT before the chunk is drawn.
  2. 2Score. It rates 34 candidate motions for safety and intent.
  3. 3Act. Safe: keep the input. Unsafe: take the closest safe motion.
Two modes added time per route The paper's Table 5, on LingBot-World 2.0: 49 routes, 7 decisions each; the raw model takes 53.7 s per route. Percentages are of that raw route.
Collision mode+9.9 s +18%

Reads step 0 of chunk k; reruns only step 0 when it changes the input.

Prediction mode+0.7 s +1%

Reads the states of chunk k−1: no extra DiT pass.

External depth+14.7 s +27%

The baseline: decodes every chunk and runs a depth network (DA3) on it.

04NoPeBench

NoPeBench: does it stop at the wall?

100 routes into solid obstacles, 50 open paths where stopping would be wrong, and 131 open-domain images, in three tasks.

Task 1

Evaluates whether the model corrects unsafe actions while preserving safe ones.

Task 2

Evaluates whether generated videos avoid obstacles while preserving intended motion.

Task 3

Evaluates whether the model avoids static and moving obstacles in unseen scenes.

Every route, every verdict

All 150 Task 2 routes with the evaluator's verdict for every world model and method. All 150 Task 2 routes, unfiltered: the evaluator's verdict for every world model and method (VGGT-Ω, rule v3.1), the true map and every reconstructed camera path. Task 1 runs on the same 100 collision routes, teacher-forced on Unreal's history, in 32 held-out scenes. Clips here are small previews (raw and collision mode; open paths: collision mode). A path whose history part misses the true history by more than 15 cm is not drawn, as in the paper's figures (226 of 3,400).

Click a route to play its videos.

Route

Paused
0.00 s

inputUnrealrawext. depthCollPred
Task 1

Decision on the true history

1Input → output

Hand-off frame of a CourtYard routeW+A
True history Unreal's real continuation, replayed by teacher forcing, with the held command
World model
+ method
Every chunk on the world model's own chunk grid
keep a*k = ukchange a*k ≠ uk
Output the motion a*k the method would send, at every chunk

4One real example

CourtYard · a plastered building wall · W+A · LingBot-World 2.0 + NoPeWorld (Coll)

safe candidateunsafe candidateinput and its swept dischead's choiceUnreal's pathobstacle

Candidates colored by the label rule on Unreal's map, computed in this page. The head's choices come from the closed-loop run. Chunk 1 sees only true frames. Chunk 2 follows one generated chunk.

2What is tested

Whether a method keeps safe commands and corrects unsafe ones, free of generation drift. Every candidate is labeled on Unreal's occupancy map as in training: a disc of r = 0.25 m swept along it must keep a margin m = 5 cm.

100 collision routes in 32 held-out UnrealZoo scenes.

3How it is scored

Label of candidate i
Pi = Φ((gi − m) / 0.03 m),  Ai = exp(−εi2 / 2s2),  s = 0.5,  Ri = Pi·Ai

gi is the swept clearance. εi is the distance from Unreal's collide-and-slide response to the input. The 34 candidates are the input c0 = uk, a stop, shortened steps and turns up to 90°.

Missed ↓

Share of unsafe inputs (P0 < 0.5) that are kept.

False ↓

Share of safe inputs that are changed.

Decision score ↑
100 · (1 − regret),  regret = maxi Ri − Rc

c is the chosen motion. The score is 100 at the reward-optimal motion.

The raw model misses 100% and changes 0%. Scores are compared within each world model: a label looks one chunk ahead, so it depends on the chunk length.

05Results

Fewer violations, more intent kept.

The best Safe-Intent Score and Overall on all five pose-driven world models. External depth, which can only stop, violates less on four of them but cannot slide.

The main table of the paper, on six frozen world models. External depth keeps violations low by stopping, which gives up the slide.

Task 1: the decision on the true history

Share of decisions, 100 routes. The raw model misses every unsafe input and changes no safe one.

Open paths: does it stop for nothing?

Share of the 50 open-path videos that neither stop early nor go back.

06Task 2 · Comparisons

NoPeWorld responds like the engine.

Task 2 routes: Unreal, the raw model, external depth and NoPeWorld on one route and one clock. Scrub, step with ← →, slow it down.

Ground truth, the raw model, the external-depth guard and NoPeWorld on the same route, the same seed and the same history.
0.00 s · f0
inputUnrealrawext. depthNoPeWorld
07Zero-shot

It transfers without retraining.

Trained only on first-person walks through static Unreal scenes, the heads cut violations on open-domain images, in third person and around moving obstacles.

16 examples from the paper's figure; the scores are in Results. The 16 pairs of the paper's Task 3 figure: one world model per column, chosen where at least three judges flag the raw model and at most one flags NoPeWorld. The scores over all 131 images are in Results. Yellow: SAM 2.1 tracking of the obstacle named by the case, started from the paper's outline on the input image and drawn until first lost. The number after each verdict is how many of the four VLM judges agree.
08Cite

BibTeX