Introduction
A JEPA-style world model does not predict pixels. It encodes an observation into a latent state and predicts how that latent state evolves under a sequence of actions. Planning with such a model is a search over action sequences : roll the frozen predictor forward from the current latent, measure how far the predicted latents are from the latent of the goal observation, and pick the sequence with the lowest energy . The first few actions are executed, a new observation arrives, and the search is repeated (receding-horizon control).
The task fixes the world models and the energy and asks only for the search. The budget is the number of predicted rollout steps per planning call, which is pinned to what the reference sampling planner uses, so a better planner has to make better use of the same model calls rather than more of them. Three things make this harder than generic black-box optimisation. The energy is non-convex: obstacles create detours where a straight path toward the goal latent is a local minimum. The model is wrong away from its training data, so a search that pushes too hard finds action sequences with a very low predicted energy that do not reach the goal in the real environment. And the action sequence is a trajectory with temporal structure, so independent per-step noise is a poor proposal distribution.
The field offers several families. Random shooting samples many sequences and keeps the best [1]. The cross-entropy method refits a Gaussian to the elite samples over a few iterations, and is the standard planner for latent world models [2]. MPPI averages samples with exponentiated-cost weights [3, 4], and DIAL-MPC anneals that sampling in a diffusion-like schedule [5]. Gradient descent on the actions through the differentiable model and a black-box optimiser portfolio have also been studied in this setting [2], as have parallel stochastic gradient methods [6]. The improved cross-entropy method, iCEM, adds temporally correlated (coloured) noise, a shrinking population, elite reuse across iterations and warm starts across replanning calls [7]. That last method is the one we ended up submitting.
Method
Our planner is iCEM [7] adapted to this interface. Every part of the search is standard iCEM; what we wrote is the budget arithmetic that makes the schedule fit the task's rollout budget exactly, the warm start of both the mean and the kept elites, an explicit choice between the best sample and the mean plan, a projection for bounded actions, and a guard for planning energies that ignore the scale of the latents.
The search
Let be the planning horizon and the action dimension. We keep a per-step Gaussian over the action sequence with mean and standard deviation . At iteration we draw sequences
where projects each per-step action onto an ball when the action space is bounded. We score them with the supplied energy, keep the lowest-cost sequences as elites, and refit with momentum :
The noise is synthesised in the frequency domain. Each rFFT bin gets Gaussian real and imaginary parts scaled by , with the zero-frequency bin set to . The DC bin and, for even , the Nyquist bin are made real and scaled by , and the result is divided by its exact analytic standard deviation so that keeps its meaning whatever the horizon. With most of the power is at low frequencies, so samples are smooth sweeps rather than jitter, which is what a detour around an obstacle needs.
def _colored_noise(self, T, N, A):
if T <= 1:
return torch.randn(T, N, A, device=self.device)
f = torch.fft.rfftfreq(T, device=self.device).clone()
f[0] = 1.0 / T
s = f ** (-self.BETA / 2.0)
# exact std of the synthesised sequence: DC (x sqrt 2), interior bins, Nyquist (x sqrt 2)
v = 2.0 * s[0] ** 2 + 4.0 * (s[1:] ** 2).sum()
if T % 2 == 0:
v = v - 2.0 * s[-1] ** 2
sigma = torch.sqrt(v) / T
sr = torch.randn(N, A, s.shape[0], device=self.device) * s
si = torch.randn(N, A, s.shape[0], device=self.device) * s
si[..., 0] = 0.0
sr[..., 0] = sr[..., 0] * (2 ** 0.5)
if T % 2 == 0:
si[..., -1] = 0.0
sr[..., -1] = sr[..., -1] * (2 ** 0.5)
x = torch.fft.irfft(torch.complex(sr, si), n=T, dim=-1) / sigma
return x.permute(2, 0, 1) # [T, N, A]Fitting the schedule to the budget
The task's budget is a number of predicted rollout steps per planning call, , where and are the reference planner's sample count and iteration count. Since every sequence we score has length , it suffices that the number of scored sequences does not exceed . We fix the number of iterations at 10 and shrink the population geometrically with , never below twice the elite count:
The total charge of one call is the sum of the schedule, the elites carried into the first iteration from the previous call, and one extra rollout of the mean plan:
The constructor searches downward for the largest with , and removes iterations if not even fits. Elites carried between iterations of the same call keep the cost they were scored with and are not re-scored, so they are charged nothing. Sequences are scored in chunks of at most so that the batch never exceeds the reference planner's, which only bounds memory and does not change the number of model calls.
budget = int(num_samples) * int(n_iters)
self.rollout_budget = budget
self.iters = min(self.ICEM_ITERS, max(1, budget))
n0 = 0
while self.iters >= 1 and n0 < 1:
n0 = budget
while n0 > 0 and self._traj_count(n0) > budget:
n0 -= 1
if n0 < 1:
self.iters -= 1
self.n0 = max(1, n0)
self.chunk = max(1, int(num_samples)) # evaluate in batches no larger than the reference N
self.elites = self._elites(self.n0)
self._reset_shift()
def _elites(self, n0):
return max(1, min(self.ELITES, n0 // 2))
def _schedule(self, n0):
k = self._elites(n0)
ns, n = [], n0
for i in range(self.iters):
if i > 0:
n = max(2 * k, int(n / self.GAMMA))
ns.append(n)
return ns, k
def _traj_count(self, n0):
ns, k = self._schedule(n0)
return sum(ns) + int(k * self.REUSE) + int(self.rollout_budget > 1)Warm starts and the final choice
Between replanning calls the executed prefix is gone, so we shift the previous mean by the number of executed steps and repeat its last row to fill the tail. When the horizon has changed since the last call, as it does near the end of an episode, the mean starts again from zero instead. The standard deviation is reset to its initial value. The kept elites are shifted the same way, and their new tail steps are filled with fresh coloured noise around the shifted mean's last action. A fraction 0.3 of the elite count is re-scored in the first iteration, alongside the fresh samples. Everything is reset when the objective changes, which marks a new episode.
T = min(self.horizon, steps_left) if steps_left else self.horizon
std0 = self.cfg["std"]
if self._mean is None or self._mean.shape[0] != T:
mean = torch.zeros(T, self.action_dim, device=self.device)
std = std0 * torch.ones(T, self.action_dim, device=self.device)
prev = None
else:
shift = min(max(1, int(self.num_act_stepped)), T)
std = std0 * torch.ones_like(self._std)
if shift < T:
mean = torch.cat([self._mean[shift:], self._mean[-1:].expand(shift, -1)])
else:
mean = self._mean[-1:].expand(T, -1)
prev = None
if self._kept is not None:
if shift < T:
ke = torch.cat([self._kept[shift:], self._kept[-1:].expand(shift, -1, -1)]).clone()
else:
ke = self._kept[-1:].expand(T, -1, -1).clone()
ke[-shift:] = mean[-1] + std[-1] * self._colored_noise(
shift, ke.shape[1], self.action_dim)
prev = keAfter the last iteration we spend the one reserved rollout on the mean plan itself. If the best sequence ever sampled has a lower cost than the mean plan, we return it; otherwise we return the mean. The best sample can only come from a region that was actually evaluated. The mean of a set of elites can fall between them, and so between two routes; it is returned only when its own measured cost is no higher than the best sample's. If the episode is about to end and the plan has fewer rows than the harness will execute, the last action is repeated. That costs nothing, because the padded rows are never rolled out.
ns, K = self._schedule(self.n0)
n_reuse = int(K * self.REUSE)
best_cost, best = float("inf"), None
it_elites, it_cost = None, None
for i, n in enumerate(ns):
acts = mean.unsqueeze(1) + std.unsqueeze(1) * self._colored_noise(T, n, self.action_dim)
acts = self._project(acts)
if i == 0 and prev is not None and n_reuse > 0:
acts = torch.cat([acts, self._project(prev[:, :n_reuse])], dim=1)
cost = self._cost(acts, z_init)
elif i > 0 and it_elites is not None and n_reuse > 0:
fresh = self._cost(acts, z_init)
acts = torch.cat([acts, it_elites[:, :n_reuse]], dim=1)
cost = torch.cat([fresh, it_cost[:n_reuse]], dim=0)
else:
cost = self._cost(acts, z_init)
j = int(cost.argmin())
if float(cost[j]) < best_cost:
best_cost, best = float(cost[j]), acts[:, j].clone()
idx = torch.topk(-cost, K, dim=0).indices
el, elc = acts[:, idx], cost[idx]
mean = (1.0 - self.ALPHA) * el.mean(dim=1) + self.ALPHA * mean
std = (1.0 - self.ALPHA) * el.std(dim=1, unbiased=el.shape[1] > 1) + self.ALPHA * std
it_elites, it_cost = el, elc
if self.rollout_budget > 1:
mean_cost = float(self._cost(self._project(mean.unsqueeze(1)), z_init)[0])
out = best if best_cost < mean_cost else self._project(mean.unsqueeze(1))[:, 0]
else:
out = best
self._mean, self._std, self._kept = mean, std, it_elites
if out.shape[0] < self.num_act_stepped:
pad = out[-1:].expand(self.num_act_stepped - out.shape[0], -1)
out = torch.cat([out, pad], dim=0)
return PlanningResult(actions=out)A guard for scale-invariant energies
If the planning energy compares directions only (a cosine distance, for example), every latent on the ray through the goal latent is optimal, including latents far from the goal. Our guard tests for this with the supplied energy itself. We rescale the predicted encodings by 1.01 and score them again. If the costs agree within tolerance, the energy ignores scale, and we add a normalised terminal radial error:
For an energy that does depend on scale, such as an or distance, the test fails and the cost is exactly the supplied one, so the search is unchanged action for action.
def _score(self, acts, z_init):
encodings = self.unroll(z_init, acts)
cost = self.objective(encodings, acts)
goal = getattr(self.objective, "goal", None)
if isinstance(encodings, torch.Tensor) and isinstance(goal, torch.Tensor):
flat = encodings.reshape(encodings.shape[0], encodings.shape[1], -1)
target = goal.reshape(1, -1).to(device=flat.device, dtype=flat.dtype)
if flat.shape[-1] == target.shape[-1] and float(target.norm()) > 1e-6:
scaled_cost = self.objective(encodings * 1.01, acts)
if torch.allclose(cost, scaled_cost, rtol=1e-5, atol=1e-6):
radial = (flat.norm(dim=-1) - target.norm()) / target.norm()
cost = cost + radial[-1].square()
return costNot every constant is shared across settings. The initial standard deviation (1.0, or 1.5 for one environment) and an optional action-norm cap for unbounded action spaces (2.45, for that same environment) are looked up by the environment's name. Everything else is shared.
Results
| Method | ① | ② | ③ | ④ | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Success rate ↑ | Success, first world model ↑ | Success rate ↑ | Success, first world model ↑ | Success, second world model ↑ | Success rate ↑ | Success, first world model ↑ | Success, second world model ↑ | Success rate ↑ | Success, first world model ↑ | Success, second world model ↑ | |
| Kimi K3.1 Pro | 0.855 | 0.855 | 0.715 | 0.715 | 0.805 | 0.430 | 0.430 | 0.385 | 0.825 | 0.825 | 0.840 |
| Random-shooting MPC | 0.700 | 0.700 | 0.145 | 0.145 | 0.165 | 0.095 | 0.095 | 0.095 | 0.160 | 0.160 | 0.140 |
| CEM | 0.830 | 0.830 | 0.610 | 0.610 | 0.635 | 0.270 | 0.270 | 0.260 | 0.735 | 0.735 | 0.810 |
| MPPI | 0.840 | 0.840 | 0.635 | 0.635 | 0.660 | 0.375 | 0.375 | 0.375 | 0.460 | 0.460 | 0.685 |
| iCEM | 0.855 | 0.855 | 0.715 | 0.715 | 0.805 | 0.430 | 0.430 | 0.385 | 0.825 | 0.825 | 0.840 |
| DIAL-MPC | 0.870 | 0.870 | 0.215 | 0.215 | 0.215 | 0.075 | 0.075 | 0.080 | 0.235 | 0.235 | 0.290 |
| GD | 0.735 | 0.735 | 0.125 | 0.125 | 0.105 | 0.025 | 0.025 | 0.050 | 0.015 | 0.015 | 0.040 |
| NGOpt | 0.800 | 0.800 | 0.655 | 0.655 | 0.700 | 0.345 | 0.345 | 0.345 | 0.560 | 0.560 | 0.535 |
- ① EB-JEPA Two Rooms · opposite rooms
- ② Push-T · goals 30 steps ahead (DINO-WM and JEPA-WM models)
- ③ Push-T · goals 50 steps ahead, long horizon (DINO-WM and JEPA-WM models)
- ④ Wall · random start/goal (DINO-WM and JEPA-WM models)
Our planner's success rate is identical to the published iCEM baseline's on every setting and for both world models. On TwoRooms we reach 0.855, against 0.870 for the strongest baseline there, DIAL-MPC [5], so on that setting we are below the best published planner. On PushT-30 we reach 0.715 with the first world model and 0.805 with the second; on PushT-50, 0.430 and 0.385; on Wall, 0.825 and 0.840. On those three settings that is the best published value: the best baseline is iCEM [7] at 0.715, iCEM [7] at 0.430 and iCEM [7] at 0.825, and we are level with each.
The gap between iCEM and the other sampling planners on PushT-30, PushT-50 and Wall can be large. On Wall, for example, CEM reaches 0.735 and MPPI 0.460. On PushT-50, random shooting, DIAL-MPC and gradient descent on the actions stay at or below 0.095. That advantage belongs to iCEM [7], not to anything we added. Because every mean we measured equals the iCEM baseline's, the data give no evidence that our budget allocation, warm-started elites, mean-versus-best choice or radial guard helped or hurt on these settings. The radial guard by design does nothing when the energy depends on the scale of the latents. We cannot tell from the published means whether the evaluated energies are of that kind, and the identical numbers are only consistent with that reading.
How we got here
Most of our time went into a planner of our own that we did not submit. The record of that work is more informative than the final file.
- A prefix tree in latent space. The interface exposes a hook that rolls the model forward from planner-supplied latent states, so our first idea was to grow a tree one transition at a time, keep diverse partial paths, and score goal proximity at every depth. Two flaws ended it. When a short goal-reaching prefix was chosen, the executed steps after it were unevaluated padding. And calling the model one step at a time restarted its temporal context, so the tree optimised against dynamics that differed from a full rollout. In our development runs a larger budget made the tree worse, not better.
- A latent quality-diversity archive. We switched to complete rollouts and kept an archive that mixed goal elites with sequences spread out in latent space, to preserve several routes around an obstacle. We added proposals drawn from several spectral bands (later with bandit credit and a guarantee that every band is sampled), a Gaussian trust region bounding the total action energy, a final selection with the exact supplied energy, and warm starts. Our diagnostics had shown that the failures included plans with near-floor predicted cost that ended far from the goal, and the trust region was the first change that consistently reduced those. On one public navigation checkpoint this archive beat iCEM in our development runs (about 0.86 against 0.82 at the full budget and 0.78 against 0.72 at a reduced budget). On the other public model family it lost (0.66 against 0.76 at the reduced budget, 0.86 against 0.90 at the full budget). On an environment with inertial point-mass dynamics, CEM reached 1.00 where the archive reached 0.50 to 0.58.
- Fixes for the archive that did not hold. Several attempts failed in development: neighbourhood smoothing of costs over antithetic pairs (it destroyed valid detours), nearest-neighbour robust final selection, crossover between archive niches, scrambled Sobol proposals, an adaptive diversity schedule, and global, local and elite-Gaussian means as extra candidates. Each one either cost success on another check or did not convert the failures it targeted.
- The switch to iCEM. The steps in which we moved to iCEM are among those the trace did not keep. What survives is the comparison that confirmed it. On two world models we trained ourselves with the public training recipe of the JEPA library [4], iCEM solved 33 of 40 development layouts, against 31 for MPPI and 25 each for CEM and the archive, and won 9 of the 10 layouts where it and the archive disagreed. On the final checkpoints of those two models it solved all 40 fresh layouts, against 39 for CEM and the archive and 38 for MPPI.
- Two late additions. A probe of the interface contract found that near the end of an episode the plan could have fewer rows than the harness executes; we fixed it by repeating the last action, and checked that ordinary plans stayed identical action for action. Then, on a toy problem with a cosine energy, iCEM succeeded only 0.21 of the time, and a diagnostic radial penalty raised that to 0.98. We turned this into the scale-invariance guard and checked that it left the and runs we tested exactly unchanged. Versions that normalised the radial term by the batch's cost scale removed a dependence on the energy's units but lost success in receding-horizon and long-horizon tests, so we kept the unnormalised term.
The numbers in this section are our own development measurements, on public checkpoints, simulators and models we trained ourselves, as recorded during the run.
Limitations
- No measured gain over iCEM. Our means are those of the published iCEM baseline on every setting and for both world models. The submission is best read as a faithful, budget-exact iCEM, and the contribution as the negative result in the previous section: a more elaborate archive planner that won some development comparisons did not hold up across model families and dynamics.
- Below the best baseline on TwoRooms. There we reach 0.855 against 0.870 for DIAL-MPC [5].
- PushT-50 remains hard. Our success there is 0.430 with the first world model and 0.385 with the second, the lowest of the four settings.
- Per-environment constants. The initial standard deviation and the action-norm cap are chosen by environment name, so the planner is not one configuration across settings.
- The radial guard is untested where it matters. It changes behaviour only for scale-invariant energies, and our evidence that it helps comes from toy problems alone. Its strength also depends on the units of the supplied energy, a dependence we measured and chose to keep.
- The development evidence is partial. The steps that led from the archive to iCEM are missing from the trace, and many development comparisons rest on small numbers of episodes.
References
- Anusha Nagabandi, Gregory Kahn, Ronald S. Fearing et al. (2017). Neural Network Dynamics for Model-Based Deep Reinforcement Learning with Model-Free Fine-Tuning.
- Basile Terver, Tsung-Yen Yang, Jean Ponce et al. (2025). What Drives Success in Physical Planning with Joint-Embedding Predictive World Models?. TMLR.
- Grady Williams, Andrew Aldrich, Evangelos Theodorou (2015). Model Predictive Path Integral Control using Covariance Variable Importance Sampling.
- Basile Terver, Randall Balestriero, Megi Dervishi et al. (2026). A Lightweight Library for Energy-Based Joint-Embedding Predictive Architectures. ICLR.
- Haoru Xue, Chaoyi Pan, Zeji Yi et al. (2025). Full-Order Sampling-Based MPC for Torque-Level Locomotion Control via Diffusion-Style Annealing. ICRA.
- Michael Psenka, Michael Rabbat, Aditi Krishnapriyan et al. (2026). Parallel Stochastic Gradient-Based Planning for World Models. ICML.
- Cristina Pinneri, Shambhuraj Sawant, Sebastian Blaes et al. (2020). Sample-efficient Cross-Entropy Method for Real-time Planning. CoRL.
- Gaoyue Zhou, Hengkai Pan, Yann LeCun et al. (2025). DINO-WM: World Models on Pre-trained Visual Features enable Zero-shot Planning. ICML.