Preprint
Reinforcement Learning

World-Time Compute with Verified Code World Models

September 1, 2026

0

Citations

0

Influential Citations

—

Venue

2026

Year

Abstract

… Our world models are therefore the second species, Code World Models (CWMs): the transition is an explicit, human-readable program over that symbolic state, synthesized by an LLM …

Analysis

Why This Paper Matters

World models are central to model-based reinforcement learning, yet most modern approaches represent environment dynamics as opaque neural networks. This opacity makes it difficult to verify, debug, or reason about what an agent has actually learned about its environment. The paper introduces Code World Models (CWMs), which replace neural transition functions with explicit, human-readable programs over symbolic state, synthesized by a large language model. This reframing matters because it shifts world models from a statistical approximation paradigm toward a program synthesis paradigm, where the learned dynamics can be inspected, edited, and formally verified.

The framing of CWMs as a "second species" of world model is conceptually significant. Rather than treating the transition function as a black-box function approximator, the paper treats it as a piece of software. This has implications for safety, alignment, and scientific understanding of learned agents: if the world model is code, it can be audited line by line, tested against edge cases, and potentially proven correct with respect to a specification. For practitioners building agents in high-stakes domains, this is a meaningful departure from the status quo.

Technical Contributions

  • Code World Models (CWMs): A new class of world models in which the transition function is an explicit program over symbolic state, rather than a neural network.
  • LLM-based synthesis: The transition programs are synthesized by a large language model, leveraging code generation capabilities to produce human-readable dynamics.
  • Symbolic state representation: The world model operates over symbolic state, making the dynamics interpretable and amenable to formal analysis.
  • World-time compute framing: The paper situates CWMs within a broader notion of world-time compute, suggesting a computational paradigm for planning and reasoning with verified code models.
  • Verifiability as a design goal: By making the world model a program, the approach enables verification of learned dynamics, a property largely absent from neural world models.

Results

The abstract does not report concrete metrics, benchmark comparisons, or experimental results. As a result, the empirical effectiveness of CWMs relative to neural world models remains unclear from the available text. The paper's contribution at this stage appears primarily conceptual and methodological, introducing the CWM framework and the LLM-based synthesis procedure. Practitioners should look to the full paper for quantitative evaluations on standard reinforcement learning benchmarks, sample efficiency comparisons, and verification case studies.

Significance

If successful, verified code world models could reshape how the reinforcement learning community builds and trusts model-based agents. Interpretable, verifiable dynamics would support safer deployment in robotics, healthcare, and autonomous systems, where understanding failure modes is critical. The approach also connects reinforcement learning to program synthesis and formal methods, opening avenues for hybrid systems that combine neural perception with symbolic, code-based reasoning. However, the reliance on LLM synthesis raises open questions about reliability, coverage of rare transitions, and scalability to high-dimensional or continuous environments. The broader impact will depend on whether code world models can match the flexibility of neural approaches while delivering on their promise of transparency and verification.