Manuscript Offprint

arXiv:2610.36662

SWIM: Learning What Matters from Behaviors for JEPA World Models

Jiaming Hu, Shi Bo, Yan Zheng, Tian Wang, Florian Dubost, Alejandro Mottini, Junze Liu, Arvind Srinivasan, Kai Zhong, Kun Qian, Sharon Gao, Vianne Gao, Houyu Zhang, Qingjun Cui

Abstract

Joint-embedding predictive architectures (JEPAs) enable world models to plan from images by predicting future embeddings. However, their visual prediction objectives do not explicitly incorporate task-relevant state information, so the physical state that determines task progress may not be reliably captured in the latent space. Supervising world models with simulator state can make planning more informative, but it requires deciding which state features matter. Features are typically selected by hand or weighted uniformly, and a uniform weighting gives every standardized state feature equal influence, so redundant coordinates can overcount the same variation, while irrelevant ones can obscure task-relevant differences. To address this limitation, we propose SWIM (State Weighting with Inverse-Dynamics Model), which learns state weights from offline trajectories by predicting recorded actions from current states and observed future displacements. The learned weights quantify each feature's contribution to action prediction and define a weighted state metric for state-supervised training, which we demonstrate by aligning latent and state distances. The inverse-dynamics model is used only during training, so the resulting world model plans from images with no additional planning-time computation. Across five simulated robotic manipulation tasks, SWIM consistently improves planning success over uniform state weighting.

∗^{*}Equal contribution. Correspondence to jh7453@bu.edu. This work was completed while Jiaming Hu and Shi Bo were interns at Unity Technologies.

Contents

1 Introduction 3
2 Related Work 4
3 Preliminaries 5
3.1 Latent-Space Planning with LeWM 5
3.2 SCALE 6
4 SWIM 6
4.1 Learning State-Feature Gates via Inverse Dynamics 6
4.2 Transferring Learned Gates to Latent Geometry 8
4.3 Why Learned Weights Help Planning 8
5 Experiments 9
5.1 Setup 9
5.2 Does Behavioral Weighting Improve Planning? 9
5.3 What Happens When Irrelevant Variables Are Supplied? 10
6 Discussion and Conclusion 11
A Training Details and the Behavioral Objective 14
B Metric Transfer and Interpretation 15
C State-Gate Values Across Tasks 15
D Structured-Distractor Diagnostics 18
E Experimental Details and Planning Protocol 19
F Ablation Studies 19
F.1 Loss-Component Ablations 19
F.2 Gate Penalty and Discrimination Objective 20
F.3 Hinge-Margin and InfoNCE-Temperature Sensitivity 20
F.4 Data Efficiency of Gate Learning 20
G State-Weight Comparison and Planning Proofs 21

References (48)