Skip to content

World Models on Segmentation Features enable Mask-Guided Planning

Lorenzo Bianchi, Luca Barsellotti, Fabrizio Falchi, Nicola Messina, Fabio Carrara

cs.CV

Abstract

Latent world models typically rely on full RGB goal images to guide trajectory optimization, an assumption that is impractical in real-world scenarios and highly sensitive to task-irrelevant visual shifts. In this work, we show that mask-based visual planning offers a robust and practical alternative, provided the optimization landscape is guided by an informative geometric cost function. By employing distance-aware formulations like Generalized Intersection over Union (gIoU), the planner receives continuous, non-local optimization signals across the scene to drive effective trajectory search. Building on this principle, we introduce SAM-WM, an action-conditioned world model that replaces goal images with language-grounded destination masks. By learning forward dynamics directly over the dense latent representations of a frozen Segment Anything 3 (SAM3) backbone, SAM-WM pairs action-conditioned feature forecasting with promptable mask decoding to evaluate candidate plans under a gIoU objective via the Cross-Entropy Method. Across four diverse navigation, reaching, and manipulation benchmarks, SAM-WM substantially outperforms naive mask-adapted world models baselines, while matching or exceeding privileged RGB-goal models on complex spatial tasks without ever observing a target image. The source code is available at: https://lorebianchi98.github.io/SAM-WM/ .

Create a lesson

Metadata

Comments
17 pages