Skip to content

Do World Models Learn Global Understanding?

Alexander Detkov, Matt Thomson

cs.LG

Abstract

AI systems often feel brittle and fragmented. An LLM may correctly explain a concept but fail to apply it, or follow safety instructions in one context but not another. This suggests a failure to lift local information to global understanding. We frame "understanding" as learning constraints and propagating their consequences. We build learning tasks on monoid worlds, sets of states connected by action transitions, where observed transitions and an unseen constraint jointly determine held-out transitions, so generalization tests whether models infer and propagate global constraints from local transitions. Across attention, recurrent, and state-space architectures, next-state training on observed paths fits the data but fails to propagate non-trivial constraints. Compositional training, which uses identical paths but hides intermediate states, propagates inverse, commutative, and composition constraints at 96% accuracy against under 1% for next-state training. A linear analysis shows how the compositional objective incentivizes a shared, constraint-propagating state representation. Gains hold at scale and in realistic domains: 174M-parameter world models of scanned homes propagate geometric constraints at 66% against 13%, and 4B-14B LLMs finetuned on naturalistic articles propagate composition constraints at 81% against 0%. For control by search, imagination, or representation, compositionally trained world models reach goals optimally via held-out transitions 78% of the time, against 13%. To measure how far constraints propagate, we define proof depth, the fewest inference rounds needed to derive a held-out transition. Accuracy falls from 95% at depth one to 49% at depth two, but longer training paths improve deeper propagation. These results formalize the study of global understanding and show that compositional training promotes information propagation and integration.

Create a lesson

Metadata

Categories
cs.LG, cs.AI
Comments
24 pages, 10 figures