Hippocampus of AI
← Architecture

Technical Writeups

Why Your World Model Thinks Walls Are Optional

Technical Writeups 2026-10-29

And how Kuration SDK fixes that.

DIAMOND's CS:GO world model blurring out on contact with solid objects (car, crates, wall)

Siri Reddy

A world model only learns the physics that show up consistently in its training data. Every frame where a player's forward key press produces less motion than it should — because a wall, a door, or a crate was quietly in the way — teaches the model that it can't walk through solid objects. Here's how Kuration SDK flags those frames for amplification using just telemetry and map geometry.

When playing DIAMOND's CS:GO version, we noticed that the diffusion world model blurs out whenever you walk into a wall or other solid object. This is an example of how real, competitive gameplay (what DIAMOND trained on) is different from testing behavior: if you're trying to win a match, you generally don't run head-first into walls, but if you're testing out a new model, you would. We realized we needed to upsample the collisions that were present in the TeaPearce CS:GO dataset to handle collisions in testing. There are some collision events that occur regularly in real gameplay that we can take advantage of, like taking cover behind corners and sliding against walls.

How it works

  1. We learn what a player's movement should look like when unobstructed.

  2. We flag incidents where actual movement differs from expected unobstructed movement.

  3. We analyze those incidents against a map file: is the difference in velocity normal due to a nearby solid object? For the TeaPearce CS:GO dataset dataset, we used this map file.

A sample of collisions found in the TeaPearce CS:GO dataset dataset by kuration-sdk/collision

Because the check runs on telemetry and map geometry, not pixels, it doesn't care whether the colliding surface was ever on-screen. A wall behind the player, a crate in a blind spot, anything the camera never happened to point at gets caught exactly the same way a head-on collision does. That matters if what you're building is trying to reconstruct the map faithfully rather than just focus on what the camera is seeing at any given time. The below snippet illustrates how collision detection can be implemented using the Kuration SDK.

import kuration
from kuration.gameplay.collision import (fit_ramp_models, load_directional_arrays, save_ramp_models)

npy_paths = [...] # TeaPearce dust2 .npy recordings
# learn the unobstructed-movement curve from real recordings
sources = [load_directional_arrays(p) for p in npy_paths]
models = fit_ramp_models([(s["btn_mask"], s["velocity"], s["hp"], s["weapon"]) for s in sources])

save_ramp_models(models, "ramp_models.json")

# flag ticks where actual velocity falls short of the model, toward a nearby wall
analyzer = kuration.get_analyzer(
"aintropy/collision-directional",
map_for_source={p: "de_dust2" for p in npy_paths},
map_registry={"de_dust2": ["/path/to/de_dust2.bsp"]},
ramp_models_path="ramp_models.json",
)
for path, arrays in zip(npy_paths, sources):
analyzer.process_source(path, **arrays)

# one row per tick: collision flag, residual, distance to wall

records = analyzer.to_records()