Graph Anchors
Preprint · 2026 · Training-Free Latent World-Model Planning

Long-Horizon Planning with Latent World Models via Graph Anchors

Syed Nazmus Sakib1 Abdul Monaf Chowdhury1 Peizhen Li3 Nafiul Haque1 Chandak Chakma1 Md Mehedi Hasan1 Zehong Cao3,* Shifat E. Arman1,2,*
1Department of Robotics and Mechatronics Engineering, University of Dhaka 2Department of Computer Science, University of Oxford 3School of CSIT, Adelaide University
PointMaze-Medium (d = 200)
13% → 85% +72 pts
Contact setting reaches 94%; 95% stitched
PointMaze-Large (d = 400)
8% → 87% +79 pts
Exact same frozen LeWM; 66% stitched
Push-T Contact (d = 150)
5% → 71% +66 pts
Switch cost λ = 3 keeps pushes unbroken
Sparse Graph Efficiency
26.8× 40× nodes
199k nodes in 72.9 MB; 64.6 ms/step vs. NGC
Core Idea

A distant goal misleads the planner; a nearby recorded anchor guides it.

Frozen visual world models already solve short-range tasks reliably. They collapse over long horizons not because imagination fails, but because whole-image latent distance loses directional signal beyond a few moves and prioritizes robot arms over manipulated objects.

  • Zero retraining: Build one sparse graph over the world model's own training frames.
  • Near, continuous targets: Aim the unchanged CEM planner at an orange anchor node a few moves ahead along the shortest path, penalizing episode switches (λ = 3) when contact matters.

Abstract

Latent world models plan in a compact latent space by predicting the outcomes of actions. Their planners judge a plan by the latent distance between its predicted end state and the goal image. We show that this distance fails in two distinct ways. First, it loses directional signal a few steps from the goal, causing distant goals to fail. Second, it weighs the robot arm over the manipulated object, causing manipulation to fail at contact. We measure both failures directly on recorded data by asking whether a lower latent distance corresponds to true progress toward the goal. Across five environments, six visual representations (including raw pixels and V-JEPA 2), and nine Meta-World tasks, this ranking test cleanly separates the two failures, and the graph distance to a goal predicts where closed-loop planning breaks down. Both failures share a single remedy: replacing the distant goal with a nearby target that lies on a recorded trajectory. We realize this principle with Graph Anchors, a training-free planner for frozen latent world models. It builds a sparse graph once over the model's own training frames and aims each planning step at a node a few moves ahead along the shortest path to the goal, keeping paths on recorded transitions wherever contact matters. On goals up to 400 steps away, Graph Anchors raise LeWM's success from 13% to 85% on PointMaze-Medium, from 8% to 87% on PointMaze-Large, and from 5% to 71% on Push-T, where stronger search toward the goal fails and where prior training-free planners break down under missing step horizons, subsampling shortcuts, or fragmented contact.

Key Takeaway: Before running any closed-loop rollout, offline goal graph distance correlates with LeWM's collapse (Spearman ρ = −0.90) and predicts where Graph Anchors deliver large gains (+0.82) versus where short-range planning already suffices (Reacher).

Two Root Failures of Visual Goal Costs

Rather than guessing why long-horizon rollouts fail, we test the latent goal cost directly on recorded frames before running any planner.

Failure 1 · Range

Directional signal vanishes within six graph hops

We measure ρ(h), the probability that a neighbor closer to the goal on a reference route also has a lower latent distance. Across navigation tasks, ρ(h) begins near 0.91–1.00 right next to the goal and drops to near-chance (0.50–0.59) within six hops. Testing six visual representations on identical frames (raw pixels, DINOv2-S, CLIP, SigLIP, video-trained V-JEPA 2, and LeWM) reveals the exact same decay curve, showing short range is inherent to comparing two whole images across corridors and walls.

Failure 2 · Focus

Whole-image distance weighs the arm over the object

Across all nine Meta-World object tasks we test, shifting only the robot hand by 5 cm costs 2.6× to 14× more in whole-image latent distance than leaving only the manipulated object off target, solving 0 of 72 episodes under exact dynamics. Keeping the released goal cost untouched and simply aiming at a recorded demonstration frame 20 steps ahead solves 65 of 72 episodes immediately.

Diagnosis · Closed-Loop Trace 15.3 s · 2× speed

Why distant goals stall: true route distance vs. latent distance

PointMaze-Medium (d = 200, episode 10). Top: camera views with paths for LeWM (left, fails in 400 steps) and Graph Anchors (right, succeeds at step 137). Bottom: true route distance (solid) drops steadily under Graph Anchors, while LeWM's latent distance (dashed) stays flat near its start value until the very last steps.

Diagnosis · 3D Latent Geometry 12.0 s · rotating view

20k recorded PointMaze frames in LeWM's top-3 PCA space

Points are colored by true route distance to the episode goal, with both planner trajectories overlaid. Frames far away behind maze walls sit directly adjacent to frames near the goal, so straight Euclidean latent distance cannot separate progress from dead ends.

Range & focus diagnosis. Local ranking ρ(h) collapses within 6–9 hops across environments and encoders, while Meta-World whole-image distance prioritizes arm pose over the manipulated object.
Universal across six visual representations. Raw pixels, DINOv2, CLIP, SigLIP, V-JEPA 2, and LeWM all lose directional signal at virtually the same hop distance across corridors and walls.

How Graph Anchors Work

Keep the frozen world model and its CEM search untouched. Replace only the distant goal with a nearby recorded anchor node along the shortest route through training frames.

Three training-free steps over a frozen world model. Building the 199k-node PointMaze-Medium graph takes 51 s once offline; each cached Dijkstra query runs in 84–93 ms on CPU with 64.6 ms GPU planning overhead per decision.
01 · SPARSE GRAPH

Full-dataset 1-block frame graph

Encode every 5th frame of the world model's own training data once. Add directed temporal edges (weight 1) along each episode and cross-episode k-NN bridges only within the fixed 1-block distance threshold τ, indexing 199k nodes in 72.9 MB with 0.00% sparse-data shortcuts.

02 · SHORTEST-PATH ANCHOR

Span K & contact switch cost λ

Attach the current observation and goal image, run cached Dijkstra, and select the node K moves ahead. Navigation uses K = 6, λ = 1. Where object contact matters, the contact setting (K = 2, λ = 3) penalizes episode switches, cutting Push-T switches 4.2× and keeping continuous pushes intact.

03 · PASS-THROUGH MPC

Closest-approach CEM execution

Score each imagined CEM rollout by its minimum latent distance to the active anchor along the horizon rather than only its final step, and execute up to that closest approach so the agent passes smoothly through anchors without stalling.

Interactive Video Gallery

Unaltered environment camera rollouts recorded from evaluation logs (15 fps synchronized, identical starts & goals). Episodes are chosen by fixed selection rules, including transparent failure cases and Reacher control runs.

What the planner aims at in real time: Overlaid from logged evaluation traces showing the path so far, the goal (star, or green T on Push-T), and the active anchor (diamond on mazes; blue block pose outline on Push-T).

PointMaze-Medium · d = 200 86 s

Episodes 1, 2, 3 with live anchor diamond

In all three episodes, Graph Anchors navigate around maze corridors to the goal while direct LeWM stalls. The orange anchor steps smoothly ahead every 25 steps.

Two-Room · d = 75 36 s

Episodes 4, 18, 7 with live doorway anchor

LeWM gets trapped against the dividing wall while Graph Anchors place intermediate targets cleanly through the doorway and straight to the goal star.

Push-T Contact · d = 150 66 s

Episodes 2, 21, 33 with blue anchor block outline

Contact setting (K = 2, λ = 3; trace run 29/50 vs. LeWM 1/50). The blue outline tracks the active recorded T-block pose step by step until handoff to the green goal.

Results & Head-to-Head Planner Comparison

Evaluated across five environments, offline GCRL baselines, world models, and training-free planners (AP, NGC, Metro-WM) on identical frozen checkpoints, pairs, and 2d budgets.

Method Push-T 150 Two-Room 75 PM-M 200 PM-M Stitch. PM-L 400 PM-L Stitch. Reacher 150
LeWM 5 ±4 31 ±3 13 ±2 39 ±10 8 ±0 5 ±1 60 ±6
LeWM + min-over-plan 9 ±1 62 ±10 12 ±5 41 ±4 26 ±6 17 ±1 77 ±5
PLDM 0 ±0 50 ±6 3 ±3 28 ±4 1 ±1 2 ±0 15 ±1
GCIVL 0 ±0 81 ±2 0† 16 ±0 1 ±1 3 ±1 0 ±1
GCIQL 0 ±0 37 ±4 1 ±1 12 ±3 3 ±1 3 ±1 0 ±0
HILP 0 ±0 87 ±3 1 ±1 18 ±0 9 ±1 10 ±6 0 ±0
Graph Anchors (navigation, K=6, λ=1) 30 ±3 93 ±1 85 ±6 95 ±4 87 ±1 66 ±6 68 ±4
Graph Anchors (contact, K=2, λ=3) 71 ±3 100 ±0 94 ±5 91 ±4 13 ±6 9 ±5 54 ±11

Success rate (%, mean ± std across 50-pair seeds, budget 2d, 400 for stitched maze goals). Best in red, second underlined; †single seed.

Distance scaling across four benchmarks. Direct goal-aimed planning collapses as goal offset d grows; Graph Anchors hold steady across all horizons up to d = 400.
Why AP, NGC, and Metro-WM break down. Quantifying Push-T route continuity, the O(N2) GPU scaling wall, AP's sensitivity to mis-specified step count d, and Metro-WM's per-task (h, H) fragility.
Visual anatomy on real encoded datasets. Zero shortcuts on 1% PointMaze data, clean cross-wall stitching, and unbroken Push-T trajectories (1 switch vs. 17 in Metro-WM and 217 px teleports in NGC).
Why each component is needed. Nearby targets drive the maze jump, closest-approach execution lifts Two-Room, and the switch penalty λ = 3 is decisive for Push-T contact.
Scarce & imperfect data suffice. Reaches 63% with 1% of episodes, 90% on random play, 87% on an unseen PointMaze-Large dataset, and 65% under mid-episode kidnapping.

Citation

If you build on our diagnosis, benchmarks, or Graph Anchors planner, please cite our paper.

BibTeX
@article{sakib2026graphanchors,
  title   = {Long-Horizon Planning with Latent World Models via Graph Anchors},
  author  = {Sakib, Syed Nazmus and Chowdhury, Abdul Monaf and Li, Peizhen and Haque, Nafiul and Chakma, Chandak and Hasan, Md Mehedi and Cao, Zehong and Arman, Shifat E.},
  journal = {arXiv preprint},
  year    = {2026},
  url     = {https://syed-nazmus-sakib.github.io/graph-anchors/}
}