MBZUAI's Open-Source PAN 2 Simulates 20-Second Action Plans Before Robots Act
The Institute of Foundation Models releases a 29B open world simulator that pairs an LLM with a diffusion model to predict action outcomes.
Takeaways
- IFM released PAN 2, a 29B open-source world model under Apache 2.0 with weights and training code.
- GLP architecture pairs an LLM conceptual reasoner with a latent diffusion perceptual backbone; removing either drops full-plan completion to 0%.
- Scores 84.5% on the new 6D-PI benchmark covering physical consistency and viewpoint invariance.
- Highest full-plan completion at 34.0% with 75.1% step completion on 100 egocentric multi-step tasks.
- Generates up to 20 seconds of 704x1248 video at 24 fps from image plus structured text.
- Paper reports counterfactual simulation beyond training data but flags prompt sensitivity and drift over long horizons.
MBZUAI’s Institute of Foundation Models has released PAN 2, an open-source world model that predicts how a scene could change after a sequence of actions. Given text alone or a starting image plus an action description, it generates up to 20 seconds of video showing a plausible outcome. The technical paper presents the model as a way for agents to inspect simulated consequences before acting.
A world model predicts how an environment changes over time, allowing a planner to test candidate actions without executing them. PAN 2 produces open-loop rollouts, meaning it generates the sequence without receiving corrective observations between steps. That design supports offline planning and evaluation while limiting its ability to recover when a simulated action diverges from the plan.
A plan first, pixels second
PAN 2 separates conceptual reasoning from visual generation. An instruction-following language model converts a plan into a structured, time-grounded description of events, actors, actions, and camera movement. A diffusion model then renders that description as video.
| Component | Implementation | Role |
|---|---|---|
| Conceptual reasoner | Interchangeable instruction-following LLM | Produces a structured caption with timed actions, actor bindings, and camera motion. |
| Text encoder | Frozen Qwen3.5-9B | Maps the structured caption into conditioning features for generation. |
| Perceptual backbone | 29B-parameter MMDiT | Predicts video latents conditioned on the caption and, for image-to-video, the starting frame. |
| Visual encoder and decoder | Wan 2.2 VAE | Encodes the starting image and decodes generated latents into video frames. |
Latents are compressed numerical representations of video rather than finished pixels. PAN 2’s multimodal diffusion transformer, or MMDiT, was trained from scratch on hundreds of millions of videos annotated with the same structured caption format. The diffusion process fills in physical details that the caption leaves unspecified, including liquid motion, object trajectories, and the path of a swinging door.
Ablations show that both reasoning paths contribute to multi-step performance. Removing either the language-model plan or the diffusion-based perceptual model reduces full-plan completion to 0% and sharply lowers step completion.
Plan completion reveals the weak link
The evaluation separates single-action accuracy from multi-step reliability. Its capability set contains 300 single-action cases, comprising 201 image-to-video prompts and 99 text-to-video prompts. The planning set contains 100 egocentric everyday tasks presented in both modes, yielding 200 prompts and 456 individual steps.
| Metric | PAN 2 result | What it measures |
|---|---|---|
| 6D-PI | 84.5% | A report-defined six-axis aggregate covering criteria such as physical consistency and viewpoint invariance. |
| Step completion | 75.1% | The share of individual plan steps completed correctly. |
| Full-plan completion | 34.0% | The share of simulations in which every step succeeds, the highest result among the reported baselines. |
Full-plan success falls quickly as plans grow. Under the simplifying assumption that every step succeeds independently with probability p, an N-step plan succeeds with probability approximately pN. Improvements to per-step reliability therefore produce larger gains on long plans, while correlated errors can make real performance worse than the simple estimate.
Physics and human judgments add cross-checks
- Physics-IQ Verified: Results are normalized so that the variance between two recordings of the same real event equals 100.
- PhyGround: Outputs receive a score on a five-point scale from a Qwen3.8-27B evaluator.
- RBench: The score averages five task categories and four embodiment categories, then multiplies the result by 100.
A blind human study covers 140 prompts and 1,400 pairwise comparisons from 13 reviewers. Reviewers assess action adherence, physical behavior, and world consistency. The paper converts those preferences into Elo scores using a Bradley-Terry model, which estimates rankings from pairwise choices.
The download includes the full generation path
The Apache 2.0 release provides model weights, training code, and inference code through the model page. Its main artifacts and operating parameters include:
- A single 29B latent diffusion checkpoint for text-to-video and image-to-video generation.
- A frozen Qwen3.5-9B text encoder and Wan 2.2 VAE loaded from their respective repositories.
- Video output at 704 × 1248 pixels and 24 frames per second.
- Generation lengths of up to 481 frames, or about 20 seconds.
- BF16 transformer precision.
- A prompt-rewriter skill that converts free-form instructions into the structured captions expected by the diffusion backbone.
- A separate guardrail repository with a request classifier and frame-level safety filter.
Runtime sizing must account for the 29B diffusion backbone, the 9B text encoder, and the VAE. The 29B figure describes the perceptual backbone rather than the complete inference stack.
The documented inference recipe fixes the main sampling parameters, which helps researchers reproduce results and isolate changes during ablations.
| Parameter | Default |
|---|---|
| Sampling steps | 50 |
| Flow shift | 9 |
| Classifier-free guidance | 2.5 at every step |
| Default length | 241 frames, about 10 seconds |
| Maximum length | 481 frames, about 20 seconds |
| Seed | 123 |
| Transformer precision | BF16 |
Classifier-free guidance controls how strongly generation follows the text condition, while flow shift changes the sampler’s noise schedule. Publishing these values makes comparisons between checkpoints, prompts, and reasoning models more controlled.
Rollouts still need an external judge
The authors report that PAN 2 can simulate some conditions absent from its training data, which could support counterfactual planning and synthetic interaction data. The examples outside the training distribution relied on hand-refined captions, so the evidence does not yet establish reliable generalization from unedited prompts.
An agent can use PAN 2 by proposing plans, generating a rollout for each one, and scoring the resulting videos against a goal or physics checker:
best_plan = None
best_score = -inf
for plan in candidate_plans:
caption = reasoner(observation, plan)
video = world_model(caption, start_image)
score = evaluator(video, goal)
if score > best_score:
best_plan = plan
best_score = score
A complete agent still needs external components to propose candidate actions, evaluate generated outcomes, execute commands, and incorporate new observations. PAN 2 supplies the predicted visual consequences within that larger loop.
The report ranks the tested conceptual reasoners by full-plan completion in this order:
Kimi K3 serves as the default reasoner in the technical report. The interface accepts other instruction-following language models, although plan quality and caption structure can change downstream video performance.
Long plans, memory, and hands remain hard
- Incomplete plans: About two-thirds of simulated plans contain at least one failed or omitted step.
- Success-biased evaluation: The quantitative study uses open-loop plans designed to succeed. It does not measure how faithfully the model simulates plans that should fail.
- Prompt sensitivity: Caption wording has a large effect on results, and demonstrations outside the training distribution used manually refined descriptions.
- Appearance drift: Each clip receives at most one starting frame plus text. Long interactions can lose visual identity across clips without a separate perceptual memory.
- Coarse manipulation detail: Text describes actions such as opening a drawer more precisely than exact finger placement, contact points, or grip forces.
- Intermediate-state shortcuts: Generated videos can preserve the broad outcome while violating the sequence of events, such as pasta appearing in a colander before draining finishes.
Open components shorten the experiment loop
Exposing the structured caption creates a concrete debugging point between planning and rendering. Researchers can replace the reasoner, inspect timed actor bindings, compare intended events with generated frames, modify the perceptual model, and rerun a documented sampler under the same conditions.
PAN 2’s current results support research on offline planning, world-model evaluation, and simulated agent learning. Safety-critical robotics would require stronger long-horizon reliability, closed-loop feedback, independent physical validation, and safeguards beyond the bundled request and frame filters.