TL;DR
The "Sense" paradigm introduces a novel training objective for latent world models that replaces complex "anti-collapse" mechanisms with a simple, directed distance metric. By training encoders to predict reachability rather than just next-state embeddings, the model inherently understands irreversible actions (like breaking a cup) and maintains planning accuracy even as goals move further away.
What Problem Does This Paper Address?
In reinforcement learning, "world models" allow agents to simulate the future and plan actions. Modern models often work in a "latent space"—an abstract embedding of an image—rather than predicting raw pixels, which saves computational power.
However, latent models face a fundamental problem: representation collapse. If an encoder maps every different image to the exact same point in space, the prediction error becomes zero, but the model becomes useless. To stop this, researchers usually add "hacks" like target networks or variance penalties. While these stop the collapse, they leave the embedding space "meaningless." Distances between points don't represent how hard it is to get from A to B. Specifically, these models struggle with irreversibility: they can't tell the difference between a cup sliding across a table (reversible) and a cup tipping over and spilling (irreversible).
Methods
The author proposes Sense, a paradigm built on three core components:
- Directed Distance: Instead of standard Euclidean distance (which is symmetric), Sense uses a directed distance: $d(x \to y) = \sum_i \text{ReLU}(y_i - x_i)$. Because of the ReLU, the distance from $x$ to $y$ is different from $y$ to $x$. This asymmetry allows the model to represent "one-way" transitions.
- The Sense Loss: The encoder is trained using a cross-entropy loss where the "positive" target is a state reached later in the same trajectory. This objective naturally pulls reachable states closer and pushes unreachable ones apart, preventing collapse without needing extra penalties.
- Two-Stage Training: Unlike standard models that train the encoder and predictor together (often leading to instability), Sense decouples them. First, the encoder learns a stable map of the environment's reachability. Then, a simple predictor is fitted to these fixed embeddings via plain regression.
Datasets
The paper evaluates Sense on five pixel-based environments:
- Cup: A cup can be pushed (reversible) or tipped over (irreversible).
- Cliff: An agent navigates a grid but can fall off an edge (irreversible).
- Sokoban: Pushing a box into a corner makes it stuck (irreversible).
- Pendulum: A pole that leans too far falls and stays down.
- TwoRoom: A standard navigation benchmark where an agent must move through a door to reach a goal in another room.
Key Insights and Ideas
- Distance as Reachability: In the Sense paradigm, distance is a proxy for the log-density ratio of how often one state leads to another. If $d(x \to y)$ is small, $y$ is easy to reach from $x$.
- The "Height" Analogy: The directed distance can be viewed as a symmetric distance plus a difference in "height" ($h(z) = \sum z_i$). Irreversible transitions essentially move the agent "downhill" into a state from which it cannot climb back up.
- No Predictor in the Loop: By removing the predictor from the encoder's training loop, the authors eliminate the "moving target" problem that plagues many joint-embedding architectures (like JEPA or VICReg).
- Intrinsic Safety: Because the model understands that the distance back from an irreversible state is infinite (or very large), a simple planner will naturally avoid "dangerous" actions without needing an explicit safety reward.
Key Results
- Detecting Danger: Sense identifies irreversible transitions with an AUC between 0.95 and 1.00 across all environments. In contrast, the baseline LeWorldModel performed near chance (0.39 to 0.59).
- Planning Success: On the TwoRoom benchmark, Sense reached the goal in 100% of episodes, outperforming LeWorldModel (91%).
- Long-Range Robustness: As the goal moves further away (up to 40 steps), the failure rates of all baselines skyrocketed (failing 38–76% of the time). Sense maintained a near-zero failure rate in Cup, Cliff, and Sokoban because its embedding space remains informative at long distances.
- Greedy Navigation: In the Cliff environment, Sense successfully navigated around the cliff 87% of the time using only a one-step lookahead, whereas baselines frequently "fell" because their embeddings placed the "dead" state too close to the goal.
Limitations and Future Work
The author notes that the experiments in this paper are relatively small-scale (32x32 and 224x224 images). While the mathematical foundations are solid, the next step is to see if the Sense paradigm scales to high-dimensional video data and complex robotic manipulation tasks. Additionally, while the directed distance captures reachability, it remains to be seen how it handles environments with highly stochastic dynamics where "reachability" is probabilistic rather than binary.
Summary updated