Research
GEMS: Generation and Experience Memory for Subgoal-Guided Long-Horizon World Model Planning
Visual world models work well when the goal is close: the model predicts what each candidate action sequence would lead to, and the planner picks the sequence whose predicted outcome looks most like…
- arXiv
- 2611.25134 · Preprint · not peer-reviewed
- Published
- 2026-11-18
- Authors
- Yangchen Zhao, Ali Payani, Caiwen Ding
In plain words
Visual world models work well when the goal is close: the model predicts what each candidate action sequence would lead to, and the planner picks the sequence whose predicted outcome looks most like the goal. Over long horizons this breaks down, because small prediction errors compound across a long rollout and because "looks similar to a distant goal" is a weak signal for comparing candidate outcomes.
AI summary
Overview
Research area: Robot learning and model-based control — specifically goal-conditioned planning with visual latent world models, subgoal generation, and experience-based (non-parametric) memory for long-horizon tasks.
Technical level: Advanced. The paper assumes familiarity with latent world models, goal-conditioned planning, the cross-entropy method (CEM), Transformer decoders, and benchmark suites such as OGBench, Push-T, and Meta-World.
Scope (one sentence): GEMS is a planning method that pairs a learned, time-aware subgoal generator with a memory of real experienced latent states, using a distance-based gate to decide which of the two serves as the target that a frozen world model plans toward, evaluated across six tasks spanning manipulation, navigation, and reaching.
What This Paper Is About
Visual world models work well when the goal is close: the model predicts what each candidate action sequence would lead to, and the planner picks the sequence whose predicted outcome looks most like the goal. Over long horizons this breaks down, because small prediction errors compound across a long rollout and because "looks similar to a distant goal" is a weak signal for comparing candidate outcomes. GEMS addresses this by breaking a long task into short segments, each aimed at an intermediate subgoal that is generated by a learned model but then snapped to a real state from previously experienced trajectories when a close one exists.
Key Contributions
-
Temporally structured subgoal generation. The generator receives two separate time signals — the steps remaining to the goal and the offset to the next subgoal — encoded through separate projections rather than a jointly normalized vector, and it predicts a residual around an anchor interpolated between the current latent and the goal latent by the ratio of those two times. Time therefore shapes both the input and the starting point of the prediction.
-
Generation-guided experience memory. A non-parametric Latent Experience Memory (LEM) stores the encoded latents of every state in the training trajectories. The generated subgoal is used as the query key into this memory, which supplies a real observed state as a concrete planning reference.
-
Selective memory grounding via a distance gate. A threshold λ on the distance between the generated proposal and its nearest memory entry decides whether planning targets the memory state or keeps the generated one, so memory is used only where the data actually cover the proposal. λ is chosen per task on validation episodes from four candidates: 0 (never use memory), ∞ (always use memory), the median nearest-neighbor distance, and the median generator error.
-
Empirical evaluation across six tasks with a frozen encoder and world model, showing gains on long-horizon manipulation along with ablations isolating the anchor, the separate time encoding, and the memory.
Main Findings
- Best success on all four manipulation tasks: 92.8% on Cube, 68.4% on Push-T, 17.7% on Cube-double, and 54.1% on Meta-World, which is 24.0, 7.3, 16.9, and 22.2 percentage points above the strongest competing method on each task. On Cube-double, all other methods stay below 1%.
- Near-saturation tasks are not hurt: 98.0% on TwoRoom and 94.7% on Reacher, within 1.3 points of the best method on each. Averaged over the six tasks, GEMS reaches 71.0% versus 59.2% for the strongest baseline.
- Advantage grows with horizon: on Push-T, GEMS matches SAGE at H = 25 (both 94.0%) and leads all baselines at every longer horizon, reaching 68.4% at H = 150 versus 61.1% for SAGE, 37.8% for Metro-WM, and 4.7% for Flat LeWM. On Cube at H = 25, GEMS is 97.3% against 98.0% for SAGE and 98.7% for LeFlow; from H = 50 onward it leads and stays above 80%, hitting 92.8% at H = 150 versus 69.0% for SAGE and 17.8% for Flat LeWM, a drop of only 4.5 points across the whole range.
- Baselines degrade sharply with distance: Flat LeWM falls from 90.0% to 4.7% on Push-T across the horizon sweep, and LeFlow from 98.7% to 29.8% on Cube.
- It closes most of the gap to expert subgoals on Cube: the expert reference (planning toward the expert's own frame 15 steps later) reaches 94.0%, 35.6%, and 79.3% on Cube, Cube-double, and Meta-World; GEMS closes 97.7%, 49.8%, and 68.2% of the gap from Flat LeWM, versus 68.6%, 2.2%, and 40.2% for the best baseline on each task.
- Gains concentrate on grasping: when the cube is already held at the start, GEMS and the best baseline are both near-perfect (100.0% and 98.3%); when it must first be grasped, GEMS reaches 87.9% while no baseline exceeds 48.4%. On the 24 hardest grasp-first queries whose goal holds the cube mid-air, GEMS reaches 54.2% versus 38.9% without memory and at most 33.3% for any baseline.
- Memory prevents subgoals from skipping the grasp: a probe reading cube position from a latent finds the cube already lifted in 15.5% of generated subgoals where it is still on the table 15 steps later; after memory replacement this drops to 3.2%, close to the probe's own 1.3% error on real future frames.
- Generation and memory are complementary, not redundant: with memories of equal size, the memory frame places the Cube cube within 1 cm of the expert while the generated subgoal is 4–5 cm off; on Cube-double the memory frame misplaces one cube by 26–32 cm while the generated subgoal keeps both within 3 cm. Over all validation subgoals the memory frame is closer in 69% of Cube cases and the generated subgoal is closer in 77% of Cube-double cases. Querying the memory with the expert's true future frame gives a best case of 0.6 cm on Cube versus 2.7 cm on Cube-double, indicating a data-coverage limit rather than a lookup failure.
- Both design choices matter in ablation: interpolation is the most reliable anchor (92.8 on Cube, 68.4 on Push-T, 98.0 on TwoRoom, 94.7 on Reacher) while the fixed final-goal and current-state anchors fall up to 4.0 and 4.6 points behind. Separate time encoding without memory adds 20.1, 7.3, and 4.6 points on Cube, Push-T, and Meta-World; adding memory then adds 5.1, 2.0, and 7.9 points on Cube, Reacher, and Meta-World; combined they improve over the "neither" variant by more than 25 points on Cube and 12 points on Meta-World.
Methodology in Plain English
The encoder and the world model are taken off the shelf and frozen (LeWM in all cases except H-JEPA, which uses its own released weights). Only two small components are trained: a subgoal generator and an action prior that seeds the optimizer.
At each planning step the generator is asked: what will the scene's latent look like 15 steps from now? It answers in three moves. It embeds "steps left to the goal" and "steps to the next subgoal" through two separate small networks, so the model can tell how much of the task remains apart from how much to do now. It then places an anchor on the straight line between the current latent and the goal latent, positioned by the fraction of remaining time the next segment covers. Finally a Transformer decoder predicts only the correction from that anchor to the subgoal, rather than reconstructing the whole scene.
That proposal is then looked up against a memory containing the encoded latents of every state in the training trajectories. If the nearest stored state lies within a threshold, the real state replaces the proposal as the planning target; otherwise the proposal is kept. The threshold is chosen on validation data from four candidates, using whichever gives the most validation successes.
CEM then searches action sequences with the frozen world model, scoring each candidate by the squared distance between its predicted latent and the target, starting from candidates proposed by the action prior. The agent executes the resulting 15 actions, observes the new state, and replans. Once the remaining horizon is no more than 15 steps, it plans directly toward the goal latent until success or the step budget runs out.
Why This Matters
The work shows that a frozen world model, without any fine-tuning, can be made substantially better at long-horizon tasks by improving only where it is pointed — the intermediate target — rather than the dynamics model itself. It also gives a clean answer to a live debate in the subgoal literature: generated subgoals are flexible but can hallucinate object positions and timing, while memory is grounded but limited by coverage. GEMS treats these as complementary and hands the decision to a per-task, validation-tuned distance threshold, with evidence that each source wins in a different regime.
Real-world applications:
- Warehouse and fulfillment picking, where the hard part is often the grasp (as in the Cube grasp-first analysis) rather than transport to the bin.
- Home robots doing multi-stage chores such as clearing a tabletop, where the target location is far in state space and the intermediate object configurations matter.
- Mobile manipulation and indoor navigation, where a robot must sequence traversing a room and then manipulating an object, matching the TwoRoom-style decomposition.
- Industrial assembly and insertion, where precise geometry (the Push-T style contact task) benefits from grounding targets in real observed configurations rather than regressed estimates.
Industry relevance: because the encoder and world model stay frozen and the memory is built once without training, the approach is an add-on to an existing world model rather than a retraining effort. That is attractive for teams that already have a pretrained dynamics model deployed and want better long-horizon behavior without recomputing model weights.
Future Directions
- Removing the per-task threshold tuning. λ is currently selected per task from four candidates using validation episodes; a learned or adaptive gate that sets itself online is an obvious next step.
- Scaling the memory to coverage-poor regimes. On Cube-double, even querying the memory with the expert's true future frame leaves a 2.7 cm error for the worse cube, which the authors attribute to two cubes spanning far more configurations than one. How memory should be organized or augmented when coverage is inherently sparse is unresolved.
- Beyond the frozen-model constraint. Whether adapting the world model or encoder alongside the generator would help, or whether the gains reported here are exactly what a frozen model can deliver, is not tested.
- Transfer beyond the benchmark settings. The evaluation uses 15-step subgoal segments and CEM with 300 candidates, 30 iterations, and 30 elites; how sensitive results are to the segment length and planner budget, and how the method behaves on physical hardware, is not reported in this paper.
Target Audience
Robotics and reinforcement learning researchers working on model-based planning, hierarchical control, and goal-conditioned policies, particularly those using latent world models and CEM-based action search. It is also useful for practitioners who already have a pretrained world model and want to extend it to longer tasks without retraining, and for students who want a clear example of combining learned and non-parametric components with a validation-tuned switch between them. Readers without background in latent dynamics models and sampling-based planning will find the method sections demanding.
Authors’ abstract
Visual world models enable effective short-horizon goal-conditioned planning, such as reaching nearby targets and pushing objects over short distances, by predicting candidate action outcomes and comparing their representations with a goal representation. However, extending this approach to long-horizon tasks is challenging: prediction errors accumulate over extended rollouts, while latent-space similarity to distant goals provides limited guidance for ranking candidate…
The full abstract on arXivRelated papers
- PILOT: Guiding Long-Horizon World-Model Planning for Robot Manipulation with Visual Subgoals and Policy Priors 2026-10-09 · cs.RO · Key terms of the title in common
- Learning and Verifying Progress: Closed-Loop Agentic Planning with Progress-Enhanced Execution for Long-Horizon Vision-Language Navigation 2026-11-16 · cs.RO · Key terms of the title in common
- Time-to-Goal: Learned Temporal Metrics for Long-Horizon Planning with JEPA World Models 2026-11-04 · cs.RO · Key terms of the title in common
- Robocasa-Mem: Benchmarking Environment and Process Memory in Long-Horizon Mobile Manipulation 2026-11-04 · cs.RO · Key terms of the title in common
- MOST: Memory of Object States and Task Progress for Long-Horizon Mobile Manipulation 2026-10-31 · cs.RO · Key terms of the title in common