PAN 2: Joint Conceptual and Perceptual Modeling Enables World Simulation and Simulative Reasoning

PAN 2 is a general-purpose world model from the Foundation Model Research Institute at MBZUAI. It takes an optional starting image and a text description of actions as input. First, a large language model writes the next world state into a time-stamped structured description (events, actions, camera movements). Then, a diffusion model with 29B parameters, pre-trained from scratch, generates the corresponding video, up to 20 seconds long. The paper states that both linguistic reasoning and visual reasoning are indispensable; removing either one prevents multi-step plans from being completed fully.

Original Title: PAN 2: Joint Conceptual and Perceptual Modeling Enables World Simulation and Simulative Reasoning

PAN 2 is a general-purpose world model from the Foundation Model Research Institute at MBZUAI. It takes an optional starting image and a text description of actions as input. First, a large language model writes the next world state into a time-stamped structured description (events, actions, camera movements). Then, a diffusion model with 29B parameters, pre-trained from scratch, generates the corresponding video, up to 20 seconds long. The paper states that both linguistic reasoning and visual reasoning are indispensable; removing either one prevents multi-step plans from being completed fully.

Why It Matters Agents can simulate several approaches in video before choosing one; weights, training, and inference code are open-sourced under the Apache license, with integrations for Diffusers and vLLM already available.

Likes 36 · Code Stars 120

Reasons

  • The paper reports a score of 84.5% on the six-dimensional Physical Intelligence test (6D-PI), with a full multi-step plan completion rate of 34.0% and a single-step completion rate of 75.1%. Its full completion rate is the highest among compared models; removing either linguistic or visual reasoning drops the full completion rate to 0.
  • Code and weights are released under Apache-2.0 (Hugging Face IFM/PAN2). The README states support for Diffusers and vLLM, along with training code, inference scripts, and a prompt rewriting skill for Codex / Claude Code.
  • Hugging Face likes 36 and code stars 120 only reflect attention levels.

Usage

  • Run hf download IFM/PAN2 --include "transformer/\*", then use python scripts/convert\_checkpoint.py to-native to convert to the repository format. The text encoders Qwen/Qwen3.5-9B and Wan-AI/Wan2.2-TI2V-5B-Diffusers (using its VAE) must be downloaded separately.
  • Run bash inference/inference.sh \u003cweight_directory\u003e \u003coutput_directory\u003e \[prompt_JSON\]: defaults are 50 steps, CFG 2.5, resolution 704×1248, and 24 fps. Entries with image\_path run as image-to-video generation.
  • Free-text prompts must first be rewritten into structured descriptions: use the pan-prompt-rewriter skill in the repository, or use inference/prompts\_rewritter.py with a local instruction model.
  • You can also use the PAN2 pipeline in Diffusers or deploy via vLLM; official documentation pages are available for each.

Risks

  • The diffusion model has 29B parameters, requiring each inference process to load the entire model. Environment requirements include PyTorch 2.12, CUDA 13.2, and FlashAttention 4. Deployment instructions use H200 as an example, making it difficult to run on personal GPUs.
  • The model card notes that for long plans, about two-thirds have at least one step that fails. The model is sensitive to prompt wording, and appearance drifts between segments.
  • Generated videos may be mistaken for real footage; the authors recommend using the separately released pan2-guardrail to filter inputs and outputs.

Open · Code · Hugging Face Paper Page

Hugging Face Daily Papers

Explore the latest AI Radar updates