Manuscript Offprint

arXiv:2611.00427

Spoofing the Latent State: Imperceptible Goal-Image Attacks Derail Planning in LeWorldModel

Kunal Bhosikar, Nicole Meng, Charu Sharma, Yingjie Lao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Kunal Bhosikar¹,³ Nicole Meng² Charu Sharma¹ Yingjie Lao²

¹IIIT Hyderabad ²Tufts University ³Miko

kunal.bhosikar@research.iiit.ac.in, charu.sharma@iiit.ac.in, {ziyi.meng, yingjie.lao}@tufts.edu

Figure

Figure 1. A 4/255 perturbation of the goal image redirects an unchanged world-model planner. The same Push-T episode is planned twice with identical LeWM weights, solver and seed: with the clean goal image (top) and with one perturbed by at most 4/255 per pixel (bottom), visually indistinguishable from it. Dashed outlines mark the true goal pose (blue) and the fake pose the attacker steers the encoder toward (orange): the clean run ends on the former, the attacked run next to the latter (an episode in which the attack succeeds, Sec. G; scenes cropped to the region where the block moves). Right: planning success over 300 episodes; noise of twice the magnitude is harmless.

Abstract

Joint-embedding predictive architectures (JEPAs) have recently emerged as general-purpose visual world models for control. A prominent example is LeWorldModel (LeWM), which trains end-to-end from pixels using an isotropic Gaussian anti-collapse regularizer (SIGReg) and plans by minimizing the squared Euclidean distance between predicted and goal embeddings. In this work, we investigate the test-time robustness of this latent planning interface. Analyzing the learned metric on Push-T, we first find that task-relevant object state heavily dominates latent distance: shifting the block by a single pixel displaces the embedding 3× further than an equivalent agent shift, and swapping the block pose alone accounts for 99% of the distance between scene pairs. However, because this pose information is distributed across a curved, high-dimensional manifold rather than a fixed linear subspace, the encoder cannot be trivially edited post-hoc to isolate or redirect it. We next demonstrate that this geometry is highly vulnerable at test time. A white-box

ℓ∞\ell_\infty perturbation of just ϵ=4/255\epsilon=4/255 applied to a single input frame causes the encoder to register the block at an arbitrary, attacker-chosen pose in 73–95% of scenes without disturbing the encoded agent state. Perturbing either the goal image or the live camera observation drops Push-T planning success from 87% to 32%, whereas uniform random noise at twice the magnitude has negligible impact. This vulnerability persists across all four standard LeWM benchmarks (Push-T, Two-Room, Reacher, and OGBench-Cube). At ϵ=8/255\epsilon=8/255, the attack bridges 82–97% of the squared latent distance to the target embedding in every environment, inducing planning degradation proportional to each task's reliance on the spoofed entity. We also show that evaluating these attacks faithfully requires on-manifold counterfactual targets, as naive off-manifold re-renders can both fabricate and mask failure modes. Because the attack operates purely in pixel space without modifying model weights, standard model-side diagnostics including SIGReg statistics, forward prediction error, and latent "surprise" monitors fail to detect it; goal-image perturbations bypass surprise checks entirely since the planner never predicts the goal state. Together, our findings expose the pixel-to-latent mapping in Gaussian-regularized JEPA planners as a critical attack surface and demonstrate that anti-collapse regularization during training confers no test-time adversarial robustness.

1. Introduction

World models allow agents to plan by predicting how an environment evolves across candidate future trajectories [20, 21]. An increasingly popular approach instantiated these models as Joint-Embedding Predictive Architectures (JEPAs) [2, 26], where an encoder maps observations into a compact latent space and a predictor forecasts subsequent latents conditioned on actions without pixel reconstruction. Because pretrained JEPAs are expensive to train and are now shared as off-the-shelf dynamics backbones [7, 43], their test-time reliability is a practical security concern as much as a benchmark accuracy problem.

LeWorldModel (LeWM) [29] is the first JEPA trained stably end-to-end from raw pixels using only a next-embedding prediction loss and the Sketched-Isotropic-Gaussian Regularizer (SIGReg) [5], which prevents collapse by constraining the latent distribution toward an isotropic Gaussian. At test time, LeWM plans via model-predictive control (MPC) by encoding the current observation and a goal image, rolling the predictor forward under candidate action sequences, and selecting the sequence whose terminal predicted embedding is closest in squared Euclidean distance to the goal. Every control decision thus depends entirely on two encoder passes and a single latent distance metric.

This design exposes a natural vulnerability. Because the planner observes only latent embeddings rather than true physical state, an adversary who subtly perturbs the input pixels to alter the encoded representation can cause the planner to optimize toward an incorrect outcome while leaving the model weights, solver, and goal specification intact [30]. While adversarial examples are well studied for classifiers and generative models [17, 28, 31, 38] and policy networks [24, 27, 42], JEPA planners differ in two key respects. First, the perturbation must act through an intervening optimization loop, reshaping the planner's cost landscape rather than directly perturbing action logits. Second, LeWM is equipped with an isotropic Gaussian regularizer intended to regularize latent geometry and a runtime "surprise" score designed to flag out-of-distribution events [29], inviting the question of whether these components provide built-in adversarial robustness.

We show that neither component protects the planner at test time. We first examine how task-relevant state is represented in LeWM's latent metric on Push-T (Sec. 4). By rendering counterfactual scenes that vary one state factor at a time, we find that block pose dominates latent distance: shift-

ing the block by one pixel displaces the embedding roughly 3× further than an equivalent agent shift, and swapping the block pose alone accounts for 99% of the squared distance between scene pairs. This clarifies the recent finding of Hu et al. [23] that physical state “barely influences” LeWM's latent distance (Spearman 0.13). We show that this low global correlation stems from a ceiling effect, where latent distance correlates strongly with state among nearby scenes (Spearman 0.41 on the closest 5% of pairs) but saturates across distant pairs. Moreover, because block pose is encoded along a curved, distributed manifold whose local tangent rotates with object position, no single linear weight edit can strip or redirect this information, yet an image-specific perturbation easily can.

We leverage this structure to construct a test-time state-spoofing attack (Secs. 5 and 6; Fig. 2). Optimizing a white-box ℓ∞\ell_\infty perturbation of just ϵ=4/255\epsilon=4/255 against the public encoder weights on a single image causes an independent state probe to decode the block at an attacker-chosen pose in 73–95% of scenes, while the decoded agent position shifts by only a few pixels. Applying this perturbation offline to the goal image alone drops Push-T planning success from 87% to 32% (Fig. 1). Perturbing the live camera stream is equally damaging, whereas uniform noise at twice the magnitude has no effect. The attack transfers across all four released LeWM environments (Push-T, Two-Room, Reacher, and OGBench-Cube), where the magnitude of planning failure reflects each task's dependence on the spoofed object, and where on-manifold counterfactual targets prove essential for accurate evaluation (Sec. 6.3).

Because the attack leaves model weights untouched and operates purely on input frames, standard model-side checks including SIGReg statistics, clean prediction loss, and nominal task accuracy pass identically to the unperturbed baseline. While LeWM's surprise monitor can detect isolated perturbed frames, it struggles against temporally consistent spoofing and fails completely against goal-image perturbations, as the forward dynamics model never predicts the goal. To our knowledge, this is the first demonstration that a Gaussian-regularized JEPA planner can be reliably broken by imperceptible, checkpoint-preserving test-time perturbations.

References (40)