Code LLMs Generate Parametric World-Model Programs

VisualPatchWorld converts visual observations into scene graphs and asks a code LLM for a family of parameterized programs. Their constants are fitted using recorded traces, while held-out rollout errors determine which candidate performs best.

Code LLMs Generate Parametric World-Model Programs

Key points

  • Visual observations are first represented as structured scene graphs.
  • A single LLM prompt produces multiple parameterized executable programs.
  • Numerical calibration and held-out rollout errors are used to evaluate the candidates.

Context

The work aims to bridge the gap between neural world models, which often learn dynamics implicitly from pixels, and simulators, whose rules are specified manually. Its pipeline combines structured visual processing, code generation, parameter estimation, and empirical rollout validation.

What this means for you

Directly applicable

Developers can apply the pipeline as a blueprint for building executable world models with separate visual processing, parameter fitting, and rollout evaluation.

Who benefits: Developers prototyping agents, simulators, or planning components can benefit from a repeatable method for generating and evaluating executable dynamics.

Share article:

Does a report affect your system?

Send the link to the report and two sentences about your system. You get an assessment of whether action is needed and what the fix looks like.