Learning to Theorize the World from Observation
Doojin Baek (KAIST), Gyubin Lee (KAIST), Junyeob Baek, Hosung Lee, Sungjin Ahn
Overview
Modern machine learning approaches to world modeling—such as Dreamer or JEPA (Joint-Embedding Predictive Architecture)—predominantly define understanding through future prediction, whether in observation space or latent space. The underlying assumption has long been that a model understands its environment if it can accurately forecast the next frame or state. However, this talk argues that prediction is merely a means to an end, not understanding itself. Drawing inspiration from cognitive science and Fodor’s language of thought hypothesis, the speakers propose a paradigm shift: world models should be theory-building systems rather than simple predictors.

Key moments
- 0:00 Introduction: Prediction vs. Theorization in World Models
- 2:00 Theories as Programs: Core Inspiration and Definition
- 4:00 Learning to Theorize Framework and Transferability Metric
- 6:00 NEO: The Neural Theorizer Architecture and Execution
- 8:00 Inductive Biases: MDL Principle and State Grounding
- 9:00 Grid World and Pixel Space Empirical Results
- 12:00 Conclusion and Future Directions
- 12:30 Audience Q&A on Prediction and Theorization
Learning to Theorize the World from Observation
Speakers: Doojin Baek (KAIST); Gyubin Lee (KAIST); Junyeob Baek; Hosung Lee; Sungjin Ahn
Conference: ICML
YouTube: https://slideslive.com/39083765
Overview
Modern machine learning approaches to world modeling—such as Dreamer or JEPA (Joint-Embedding Predictive Architecture)—predominantly define understanding through future prediction, whether in observation space or latent space. The underlying assumption has long been that a model understands its environment if it can accurately forecast the next frame or state. However, this talk argues that prediction is merely a means to an end, not understanding itself. Drawing inspiration from cognitive science and Fodor’s language of thought hypothesis, the speakers propose a paradigm shift: world models should be theory-building systems rather than simple predictors.
To operationalize this, the authors introduce the world theory model framework, which constructs explicit, explanatory, program-like theories from raw, non-textual sensory inputs without relying on action labels, text descriptions, or program annotations. The core realization of this approach is NEO (Neural Theorizer), a probabilistic latent variable model that infers and executes discrete latent programs to explain state transitions. By shifting the objective from memorizing input-output trajectories to discovering reusable primitives and composing them into transferable programs, this work opens new pathways for robust out-of-distribution generalization in machine learning systems.
Background
▶ Watch: Introduction: Prediction vs. Theorization in World Models (0:00)
The prevailing methodology in model-based reinforcement learning and representation learning equates environment comprehension with predictive accuracy. While predictive world models excel at short-term forecasting, they frequently struggle with out-of-distribution (OOD) generalization because they learn statistical correlations rather than underlying causal mechanisms. In contrast, human cognition—particularly in infants—operates through theory-building long before formal language acquisition. Humans construct structured, compositional mental models of physics, agency, and spatial dynamics that allow them to reason about novel scenarios instantly.
In the systems and ML literature, capturing this capability has traditionally required heavily supervised program synthesis, symbolic AI approaches, or text-grounded code generation models. These methods typically depend on explicit symbolic traces or domain-specific languages (DSLs) provided by humans. Bridging the gap between raw, continuous sensory observations and discrete, symbolic program structures without supervision remains a central challenge. This talk addresses this gap by asking whether an artificial neural network can independently discover an instructional primitive set and compose them into explicit programs purely from observation pairs.
Key Findings
▶ Watch: Learning to Theorize Framework and Transferability Metric (4:00)
The central contribution of this research is the formalization of the learning to theorize framework and its realization via NEO. Rather than evaluating models purely on in-distribution prediction loss, the authors establish transferability as the primary metric for a good theory. A transferable theory can be decontextualized from its training pair and successfully applied to novel inputs, indicating that it has captured a reusable mechanism rather than merely memorizing trajectories.
Evaluating NEO on a newly introduced observation to theory induction benchmark reveals striking advantages over conventional predictive baselines:
- Compositional OOD Generalization: When tested on compositional out-of-distribution tasks, baseline models degrade significantly, whereas NEO maintains over 93% accuracy.
- Length Generalization: On tasks requiring longer chains of program execution, NEO preserves approximately 85% performance where standard architectures collapse.
- Multi-step and Pixel-Space Scaling: The framework successfully discovers abstract multiplicative primitives for arithmetic factorization tasks and handles raw pixel-space phenomena by automatically isolating spatial operations like brightness adjustment and masking.
- Test-time Search: Because the inferred theories are explicitly executable, NEO supports test-time search over candidate program traces, allowing the system to simulate and select the explanation that best fits observed dynamics.
Technical Deep Dive
▶ Watch: Inductive Biases: MDL Principle and State Grounding (8:00)
The technical heart of NEO is formulated as a probabilistic latent variable model that treats theory induction as inferring a hidden program $\tau$ and its execution trace, optimized via the ELBO (Evidence Lower Bound) on the likelihood of the output observation $Y$ given the input observation $X$.
The sequential execution pipeline operates as follows:
- Observation Encoding: An encoder maps raw observations into continuous latent states.
- Theory Programming: A theory programmer module selects discrete instruction primitives from a learned codebook. These primitives function as an emergent instruction set (analogous to operations like rotate, paint, or move down).
- State Transition: A shared executor applies the chosen primitive to update the latent state iteratively.
- Decoding: The final execution trace is decoded back into observation space to reconstruct $Y$.
To prevent the model from learning degenerate or overly fragmented representations, NEO relies on two crucial inductive biases:
- Minimum Description Length (MDL) Principle: The model is penalized for overly complex explanations, favoring shorter programs that still successfully reconstruct the target observation. This prevents over-decomposition and encourages the discovery of highly reusable primitives.
- State Grounding: To ensure that intermediate latent representations remain physically and semantically valid rather than relying on uninterpretable shortcuts, each execution step is forced through a decode-encode cycle back onto the encoder's latent manifold.
The discrete instruction primitives are implemented using VQ-VAE (Vector Quantized-Variational AutoEncoder) codebooks, where individual code meanings emerge entirely from their functional contribution to state transitions across diverse visual and spatial tasks.
Experimental Setup & Results
▶ Watch: Grid World and Pixel Space Empirical Results (9:00)
The evaluation uses a custom-built observation to theory induction benchmark designed to test primitive discovery, composition, and recomposition under controlled observation pairs ($X, Y$). The benchmark systematically varies coverage of ground truth primitives, withholding certain instructions during training to test whether the model can discover them when encountered in novel combinations.
Across grid-world domains and pixel-space environments, baseline architectures (such as standard feed-forward predictors or unstructured latent dynamics models) fail catastrophically when evaluated on unseen compositions or extended sequence lengths, dropping near zero on transferability metrics. NEO demonstrates robust resilience, retaining high fidelity on compositional OOD splits. Furthermore, ablation studies confirm that removing the MDL penalty causes the model to over-decompose simple phenomena into idiosyncratic, non-transferable micro-primitives, while removing state grounding introduces invalid intermediate states that break multi-step program execution.
Practical Implications
▶ Watch: Audience Q&A on Prediction and Theorization (12:30)
For model builders and infrastructure teams, this work signals a potential shift away from brute-force scale as the sole solution to world modeling. While large predictive models demand massive token and compute budgets to memorize transition statistics, explicitly structured, theory-building architectures offer superior sample efficiency and generalization on out-of-distribution tasks.
However, practical deployment comes with notable tradeoffs:
- Discrete Codebook Optimization: Training architectures with discrete VQ-VAE codebooks introduces optimization instabilities, such as codebook collapse, requiring careful tuning.
- Search Overhead: While test-time search over executable programs enhances accuracy, it incurs higher inference latency compared to single-forward-pass predictors like JEPA.
- Scope Limitations: As noted by the speakers, the current proof-of-concept operates on relatively small primitive sets and controlled environments, meaning scaling this paradigm to complex, high-dimensional real-world video remains an open engineering challenge.
Key Takeaways
- Prediction vs. Understanding: Accurate future prediction is a byproduct of understanding, not its definition; true world models must act as theory-building systems.
- Theories as Programs: Framing internal world theories as executable, compositional programs (inspired by Fodor’s language of thought) enables robust generalization.
- Unsupervised Primitive Discovery: NEO successfully discovers discrete, reusable instruction primitives from raw observation pairs without relying on text, action labels, or program annotations.
- Inductive Biases Matter: Combining the Minimum Description Length principle with strict state grounding prevents over-decomposition and ensures valid execution traces.
- Superior OOD Transferability: NEO maintains high performance on compositional and length generalization tasks where conventional predictive baselines collapse.
About the Speaker(s)
- Doojin Baek (KAIST): Researcher at KAIST presenting work on learning world models from observation.
- Gyubin Lee (KAIST): Researcher at KAIST presenting work on learning world models from observation.
Co-authors: Junyeob Baek, Hosung Lee, Sungjin Ahn.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026