PRISM

PRISM

PRior-guided Imagination Sampling
in world Models

Yuhai Wang1, Jiawei Xia2, Bowen Sun3, Rongxuan Zhou1, Xiao Hu1, Yongliang Shi4, Jing Du3, Yang Ye1,*

1Northeastern University2University of California, Berkeley3University of Florida4Qiyuan Lab*Corresponding author

Reproduce with an AI agent

Paste into Claude Code, Codex, Cursor or another coding agent. It follows AGENTS.md, which lists the expected result of every check.

Reproduce the PRISM results (arXiv 2606.07974) for the PushT task on this machine.
1. Clone https://github.com/YuhaiW/prism-jepa and follow AGENTS.md in the repo root.
2. Before downloading datasets (3-46 GB each) or installing system packages, tell me what and how large, and wait for my OK.
3. Run the quick check first and report a table: task, planner, K, seed, your success rate, expected success rate.
4. Do not change configs, seeds or hyperparameters. If a step fails, report the error and the log path instead of modifying the method code.

13 GB download, 59 GB peak disk; quick check about 3 minutes on one GPU.

+11.8–35.4 pp
success over prior-free MPPI
4 tasks × 3 budgets, 10 seeds
R² 0.613–0.988
one-step action readout
from frozen features
0.51–0.59M
prior-head
parameters
0.048 ms
prior inference
per replan

Planning with physical and action intuition

In JEPA-based world models, predictive representations are typically used to evaluate what an action will do. PRISM measures how much action guidance can be extracted from them. It learns a goal-conditioned action prior from the frozen encoder's current and goal embeddings and integrates the prior into sampling-based model predictive control (MPC) through closed-form Product-of-Gaussians (PoG) fusion. It needs no additional visual encoder, pretrained policy, or language instructions, and accepts different action-head architectures.

Left: a planner samples candidate action sequences from an uninformed distribution between current and goal embeddings. Right: PRISM confines the samples to a region guided by action intuition from the same encoder.
Figure 1. Left: a planner samples candidate action sequences from an uninformed distribution and uses the world model's physical intuition to predict their outcomes. Right: PRISM also extracts action intuition from the same representations to guide sampling.

Abstract

Latent world models learn representations that enable them to predict how actions change the environment—a capability we call physical intuition. We find that these same representations also support action intuition: a lightweight head can learn a goal-conditioned action prior directly from the frozen encoder's features. We introduce PRISM to investigate how action intuition can be extracted from frozen world-model representations and used to guide goal-conditioned planning. The prior's mean and predicted uncertainty guide the search for useful actions, while the world model evaluates their consequences against the goal. Experiments on four simulated control tasks and two real-robot platforms show that a lightweight action head improves planning performance, and that the same fusion interface accepts a diffusion prior over the same frozen features without modification. These results demonstrate the potential of reusing world-model representations to both predict action consequences and guide action selection.

01

Probe the frozen features

An MLP probe predicts the demonstrated action from two frozen embeddings. At a one-step offset it reaches R² = 0.613–0.988 on four tasks. The same probe on a randomly initialized encoder of the same architecture scores R² = 0 in 9 of 12 cells.

02

Learn a lightweight prior

A two-layer MLP maps current and goal embeddings to a diagonal Gaussian over the next action sequence, trained with β-NLL on cached features: 0.59M parameters on Cube, 0.51M on PushT. A diffusion head over the same features plugs into the same fusion interface.

03

Fuse by predicted uncertainty

A closed-form Product of Gaussians combines the prior with the planner's default proposal. As \(s\sigma_p\) grows, the fused proposal approaches the default. When training labels are corrupted, \(\sigma_p\) rises (0.53 → 4.49 on PushT) and success approaches prior-free planning.

Method

PRISM architecture: a frozen JEPA encoder feeds the frozen predictor and cost (physical intuition) and a trained prior head (action intuition); PoG fuses the prior with the planner's exploratory initialization before the MPC loop.
Figure 2. PRISM architecture. The yellow group is outcome prediction, the blue group the action prior; both read the same frozen encoder \(h_\psi\), and only the prior head \(g_\phi\) is trained. Grey marks the planner's default proposal, pink the fused distribution and the action it yields.

The encoder maps the current and goal observations to \(z_t = h_\psi(o_t)\) and \(z_g = h_\psi(o_g)\). The prior head predicts a diagonal Gaussian \((\mu_p, \sigma_p) = g_\phi([z_t, z_g])\) over \(H\) planning steps of \(B\) actions each (two 512-unit GELU layers, \(\sigma_p = \mathrm{softplus}(r_\phi) + 0.05\), β-NLL loss with β = 0.5). At every replanning step the prior is combined with the planner's default proposal \(\mathcal{N}(\mu_\pi, \mathrm{diag}(\sigma_\pi^2))\), \(\mu_\pi = 0\), by multiplying the two diagonal Gaussians per coordinate:

$$ \sigma^2_{\text{fused}} = (\tau_\pi + \tau_p)^{-1}, \qquad \mu_{\text{fused}} = \sigma^2_{\text{fused}}\,(\tau_\pi\,\mu_\pi + \tau_p\,\mu_p), $$ $$ \tau_\pi = \sigma_\pi^{-2}, \qquad \tau_p = (s\,\sigma_p)^{-2}. $$

The update depends only on \(s\sigma_p/\sigma_\pi\). All results use \(\sigma_\pi = 1.0\) in normalized action space, \(s = 1\) for the MLP head, and a floor of 0.05 on \(\sigma_{\text{fused}}\). MPPI then draws \(K\) candidates from \(\mathcal{N}(\mu, \mathrm{diag}(\sigma^2_{\text{fused}}))\), scores each by \(\lVert f_\theta(z_t, \mathbf{a}) - z_g \rVert_2^2\), and moves the mean to the softmax-weighted average of the \(K_{\text{elite}}\) lowest-cost candidates for \(J\) iterations, holding \(\sigma_{\text{fused}}\) fixed. The controller executes the first action and replans from the next observation.

Three panels: with a confident prior the fused distribution follows the prior; with comparable widths it lies between the two; with an uncertain prior it returns to the planner default.
Figure 3. Uncertainty-weighted action sampling. Grey is the default proposal, blue the action prior, pink their product; the panels vary the prior's precision relative to the planner's. Drawn before the standard-deviation floor is applied.

Interactive: Product-of-Gaussians fusion

Drag the prior mean in the action plane, or use the sliders. The planner default is \(\mathcal{N}(0, 1)\) per coordinate, as in the experiments (\(\sigma_\pi = 1.0\), \(s = 1\)). The fused mean is \(w\,\mu_p\) with prior weight \(w = \tau_p / (\tau_\pi + \tau_p)\). The 64 samples use the same standard-normal draws before and after fusion.

Densities along one coordinate, a1
Action plane, 64 samplesdrag the blue point
Planner default \(\mathcal{N}(0, \sigma_\pi^2)\) Learned prior \(\mathcal{N}(\mu_p, (s\sigma_p)^2)\) Fused proposal (PoG) sample before sample after
prior weight w = τp / (τπ + τp)
fused mean (a1, a2) = w μp
fused std per coordinate

Action prediction from frozen features

A separate two-layer MLP probe (width 512, GELU) predicts \(a_t\) from \([z_t, z_{t+\Delta}]\) for each task and offset \(\Delta \in \{1, 5, 25\}\), trained with MSE on StandardScaler-normalized actions. \(\Delta = 1\) is an inverse-dynamics readout; \(\Delta = 25\) matches the planning-goal offset. \(R^2 = 0\) is the score of always predicting the dataset-mean action.

Initial and goal observations for PushT, Cube, TwoRoom and Reacher.
Figure 4. Simulation tasks. One episode's first and last observation per task; at evaluation the goal is instead drawn 25 environment steps ahead of the start. PushT: 18,685 Diffusion-Policy episodes (99.5% trajectory success). Cube (OGBench cube-single): 10,000 scripted-oracle episodes (100%). TwoRoom: 10,000 episodes from a noisy two-stage heuristic (40.4%). Reacher: 10,000 episodes, none reaching the success criterion. On each task the world model and the action head use the same dataset and the same frozen LeWM encoder.
TaskΔ = 1Δ = 5Δ = 25
Trained LeWM encoder (frozen)
PushT.798 ± .009.751 ± .003.367 ± .010
Cube.739 ± .001.699 ± .001.628 ± .001
TwoRoom.988 ± .000.219 ± .003.087 ± .002
Reacher.613 ± .001.215 ± .001.031 ± .001
Same architecture, re-initialized from scratch (frozen)
PushT.000 ± .000−.000 ± .000.000 ± .001
Cube.090 ± .002.168 ± .002.094 ± .001
TwoRoom.000 ± .000.000 ± .000.002 ± .000
Reacher.000 ± .000.000 ± .000.000 ± .000

Table I. Probe \(R^2\), mean ± std over three probe seeds {0, 1, 42}; 90/10 episode split, 40,000 held-out windows per fit. Predictability decreases with \(\Delta\): Cube and PushT keep 0.628 and 0.367 at \(\Delta = 25\); TwoRoom and Reacher fall to 0.087 and 0.031. With the re-initialized encoder 9 of 12 cells are 0, and Cube's residual shows no decay in \(\Delta\).

Planning with the extracted prior

Three planners on four tasks at \(K \in \{32, 64, 128\}\) candidates per iteration. Vanilla MPPI starts from zero mean and the default width \(\sigma_\pi\). Warm-start MPPI starts from \(\mu_p\) but keeps \(\sigma_\pi\), discarding \(\sigma_p\). PRISM-MPPI starts from the PoG-fused \((\mu_p, \sigma_p)\).

PushT

success rate, %
K = 32
Vanilla
56.0 ± 5.7
Warm-start
70.6 ± 9.1
PRISM
80.6 ± 5.6
K = 64
Vanilla
58.6 ± 6.2
Warm-start
71.0 ± 5.9
PRISM
82.8 ± 6.9
K = 128
Vanilla
58.8 ± 6.9
Warm-start
68.8 ± 6.8
PRISM
85.4 ± 7.1

Cube

success rate, %
K = 32
Vanilla
47.4 ± 6.3
Warm-start
56.6 ± 10.1
PRISM
82.8 ± 5.5
K = 64
Vanilla
48.0 ± 8.3
Warm-start
57.2 ± 8.0
PRISM
83.0 ± 6.1
K = 128
Vanilla
48.2 ± 7.2
Warm-start
58.8 ± 9.4
PRISM
83.0 ± 4.7

TwoRoom

success rate, %
K = 32
Vanilla
66.0 ± 5.7
Warm-start
74.8 ± 6.3
PRISM
81.8 ± 5.8
K = 64
Vanilla
69.4 ± 7.2
Warm-start
78.2 ± 6.6
PRISM
85.8 ± 4.5
K = 128
Vanilla
73.4 ± 5.7
Warm-start
75.8 ± 3.6
PRISM
86.4 ± 4.2

Reacher

success rate, %
K = 32
Vanilla
48.2 ± 7.0
Warm-start
46.2 ± 6.4
PRISM
60.0 ± 6.9
K = 64
Vanilla
48.2 ± 4.0
Warm-start
48.4 ± 4.5
PRISM
60.4 ± 5.6
K = 128
Vanilla
43.8 ± 8.1
Warm-start
46.8 ± 7.8
PRISM
64.4 ± 5.0
Vanilla MPPI: default proposal Warm-start MPPI: prior mean \(\mu_p\) PRISM-MPPI: PoG-fused \((\mu_p, \sigma_p)\)

Success rate (%), mean ± std over ten evaluation seeds {0, …, 9}, 50 episodes per seed. All planners use a goal offset of 25 environment steps, \(H = 5\), \(B = 5\), \(J = 30\), \(\lambda = 0.5\) and \(K_{\text{elite}} = 30\).

  • PRISM-MPPI has higher mean success than vanilla MPPI in all 12 task–budget settings, by 11.8–35.4 pp, and higher than warm-start MPPI in all 12.
  • PRISM-MPPI at \(K = 32\) exceeds vanilla MPPI at \(K = 128\) on every task: +21.8 pp on PushT, +34.6 on Cube, +8.4 on TwoRoom and +16.2 on Reacher, winning 10/10 paired seeds in each case (\(p \le 1.1\times10^{-3}\)).
  • Rerunning both baselines with \(K_{\text{elite}} = K\) moves every cell by at most 1.4 pp (24 cells, ten paired seeds; pooled +0.09 pp, \(p = 0.63\)).

Analyses

Prior design, training-data corruption, encoder and planner choice, on PushT and Cube.

Table IIExecuting the prior without the planner

TaskMean onlyPRISM-MPPI, K = 32
PushT28.2 ± 5.980.6 ± 5.6
Cube68.0 ± 5.682.8 ± 5.5
TwoRoom75.6 ± 4.481.8 ± 5.8
Reacher7.0 ± 4.360.0 ± 6.9

SR (%), ten seeds. Executing \(\mu_p\) directly, with no candidates sampled, reaches 7.0–75.6% and is below PRISM-MPPI on all four tasks.

Table IVPoG against a PiJEPA-style initialization

PriorRulePushTCube
CleanPiJEPA-style77.0 ± 4.581.2 ± 6.4
CleanPoG80.6 ± 5.682.8 ± 5.5
WeakPiJEPA-style45.0 ± 7.251.8 ± 3.9
WeakPoG62.0 ± 5.451.8 ± 6.0

SR (%) at K = 32, ten seeds, same MLP head. PiJEPA-style replaces the default proposal with the prior's clamped mean and std (\(\sigma_{\max} = \sigma_\pi\)); PoG multiplies the two. Weak retrains the head on 50% corrupted demonstrations. The one substantial gap is the weak prior on PushT: +17.0 pp, 10/10 seed wins. Cube's weak cell is a tie. With a diffusion prior in place of the head, the PoG margin is +0.4 to +5.0 pp, within seed noise.

Table IIICost and performance of action priors

PriorParams (M)Train (min)Infer (ms)PushTCube
None0––56.0 ± 5.747.4 ± 6.3
MLP head0.51–0.590.4–3.10.04880.6 ± 5.682.8 ± 5.5
Diffusion head18.52390–9293.6 ± 3.699.8 ± 0.6

SR (%) at K = 32, ten seeds, 50 episodes each; same world model, planner and PoG rule. The diffusion head is a conditional UNet1D on the same frozen embeddings; its prior mean and std come from 16 DDIM samples of 10 denoising steps each. It uses goals 25 steps ahead while the MLP uses terminal frames, so this comparison does not isolate head architecture. The diffusion head reaches higher success; the MLP uses 31–36× fewer parameters and less training and inference time. Times are on one RTX 5090 and exclude world-model pretraining and feature caching; inference is prior generation per replan. End-to-end planning latency on Cube at K = 128 is 210.1 ± 1.2 ms for vanilla MPPI, 210.7 ± 2.2 ms for mean-only initialization and 211.6 ± 4.8 ms for PRISM.

Table VIIIncreased uncertainty reduces reliance on corrupted priors

PushTCube
εσpval MSESRσpval MSESR
0%0.530.7385.40.600.6183.0
25%1.960.7972.00.960.6852.7
50%3.081.0766.71.180.7752.7
75%3.901.5666.01.330.9050.7
100%4.492.1660.71.511.0446.7
no prior——58.8——48.2

For a fraction ε of training episodes the action labels are replaced with uniform random samples within the action bounds and the head is retrained; the world model and planner are fixed. σp is the head's mean predicted standard deviation on held-out data. SR at K = 128 over three seeds, except the ε = 0 and no-prior rows (ten seeds). As σp rises, PoG lowers the prior's weight in the fused proposal. With all labels corrupted, success is 60.7% on PushT and 46.7% on Cube, close to the prior-free 58.8% and 48.2%; the seed sets differ, so the agreement is approximate.

Table VEncoder ablation

PushTCube
MethodPrior paramsK = 32K = 64K = 128K = 32K = 64K = 128
Vanilla MPPI (DINOv2-based)04 ± 23 ± 25 ± 145 ± 449 ± 641 ± 3
PRISM-MPPI (DINOv2-based)0.51–0.59M13 ± 610 ± 715 ± 557 ± 765 ± 567 ± 3
Vanilla MPPI (LeWM)059 ± 561 ± 757 ± 646 ± 244 ± 544 ± 4
PRISM-MPPI (LeWM)0.51–0.59M82 ± 486 ± 689 ± 479 ± 278 ± 379 ± 6

SR (%), three seeds {0, 1, 42}. The DINOv2-based world model is our own implementation, inspired by DINO-WM: frozen DINOv2-base in place of LeWM's ViT-tiny, with a learnable 768 → 192 projector, the LeWM predictor and the same training recipe. PRISM keeps a +6 to +18 pp lift over vanilla MPPI in 5 of 6 cells (one-sided paired t). The comparison is within-encoder: absolute levels differ between the two encoders.

Table VIThe same prior under CEM

TaskKNo priorMean onlyPoG
PushT3212.7 ± 8.141.3 ± 3.125.3 ± 3.1
PushT6480.7 ± 8.188.7 ± 6.184.0 ± 7.2
PushT12890.7 ± 6.192.7 ± 5.892.7 ± 2.3
Cube3253.3 ± 6.460.7 ± 1.268.7 ± 7.0
Cube6459.3 ± 8.374.7 ± 2.379.3 ± 6.4
Cube12861.3 ± 4.676.0 ± 4.082.7 ± 5.0

SR (%), three seeds {0, 1, 42}. CEM refits mean and covariance each iteration. PoG initialization beats prior-free CEM at every budget on both tasks, and beats mean-only initialization on Cube at every budget. On PushT mean-only is higher at K = 32 and 64 and equal at K = 128; sweeping the initial std floor over {0.05, 0.10, 0.20, 1.0} gives 24.0–25.3% at K = 32.

Figure 6Sensitivity to the prior scale

Success rate against prior scale s on Cube and PushT; success peaks near s between 0.3 and 1 and falls to the vanilla level for large s.

SR against \(s\) (log axis) at K = 128, mean ± std over three seeds. Dashed: vanilla MPPI; dotted: mean-only execution. Success peaks around \(s = 0.3\) to 1. At \(s = 10^4\) it is 43% vs 44% prior-free on Cube and 59% vs 57% on PushT; in that limit the two planners are the same algorithm.

Qualitative comparisons

Same episode, start state and sample budget. Each clip shows Vanilla MPPI (left), PRISM-MPPI (middle) and the goal (right). The clips are episodes in which vanilla MPPI fails and PRISM-MPPI succeeds.

Real-robot evaluation

T-block pushing with a Franka Research 3 (FR3) and cube manipulation with an ARX X5. Each platform uses one third-person RGB camera and a world model trained on task-specific teleoperation data. Planning with and without the learned prior was compared over 40 trials per condition, interleaved in randomized order, with \(s = 1\).

14/40vs10/40
Franka FR3 PushT, PRISM vs prior-free
18/40vs12/40
ARX X5 cube, PRISM vs prior-free

The direction matches simulation. More trials are needed to establish the size and reliability of the gains.

Keyframes of one successful PRISM-MPPI episode on the Franka PushT task (top) and the ARX X5 cube task (bottom).
Figure 7. Real-robot rollouts. Keyframes (left → right) of one successful PRISM-MPPI episode per platform. Top: Franka PushT. Bottom: ARX X5 cube manipulation.
Setups
Franka FR3 PushT setup; a red circle marks the tripod-mounted RealSense D455.

Franka FR3 + PushT. RealSense D455, Meta Quest 3 teleoperation, RTX 5080 for planning. 411 episodes (93,728 frames at 10 Hz): 200 target-completion episodes and 211 ending at arbitrary positions. The world model uses all 411, the action head the 200 target-completion episodes. Cartesian-impedance control of planar end-effector displacements; K = 300, J = 30, H = 3, B = 5 (1.5 s lookahead), replanning every 0.5 s.

ARX X5 arm on an Agilex Mobile ALOHA platform; a red circle marks the tripod-mounted RealSense D435i.

ARX X5 + cube. Agilex Mobile ALOHA platform, RealSense D435i, joystick teleoperation, RTX 4090; 201 episodes. The red circle marks the tripod-mounted RealSense, the planner's only RGB sensor; neither platform uses a wrist or egocentric camera.

Rollout videos

Limitations

  • Action predictability weakens for distant goals, and inaccurate, overconfident priors can impair planning.
  • The utility of uncertainty-guided sampling depends on the task and the quality of the learned prior.
  • PoG may discard multimodal structure in the prior.
  • Real-robot results use 40 trials per condition and require broader validation.

BibTeX

@misc{wang2026prism,
  title         = {PRISM: PRior-guided Imagination Sampling in world Models},
  author        = {Yuhai Wang and Jiawei Xia and Bowen Sun and Rongxuan Zhou and Xiao Hu and Yongliang Shi and Jing Du and Yang Ye},
  year          = {2026},
  eprint        = {2606.07974},
  archivePrefix = {arXiv},
  primaryClass  = {cs.RO},
  url           = {https://arxiv.org/abs/2606.07974},
}