Manuscript Offprint
arXiv:2611.08895Localizing and Editing the Goal Representation of a Vision-Language-Action Model
Sudhanshu Srivastava
University of Louisville
sudhanshu.srivastava@louisville.edu
Faisal Aqlan
University of Louisville
Abstract: Operators can state safety constraints for robots as prohibitions such as “do not put the bowl on the stove”. We study whether OpenVLA follows such prohibitions and where it represents the goal it executes. The 10 tasks of LIBERO-Goal share one scene, so we can label the goal that each rollout executes. We combine closed-loop rollouts with activation patching, linear probes, activation steering and runtime monitors. On LIBERO-Goal, negation had no detectable effect on which task OpenVLA executed. The model executed the forbidden task in 79% of negated rollouts and completed 78% of plain tasks. A goal probe gives similar read-outs under “not X” and “X”. Activation patching shows that the first action depends mostly on the instruction tokens before layer 12 and on the last prompt token from layer 16 onward. A fixed steering vector at the instruction tokens at layer 8 redirected 12 of 18 rollouts. Fixed vectors and prefill patches at layers 12 to 20 redirected none of 158. From layer 16, only patches at every decoded action token redirected the robot (15 of 18 rollouts at layer 24). When the instruction changes during a rollout, the layer-32 goal read-out detects non-compliance better than failure detectors, and an external probe on image and instruction features performs comparably. These results support enforcing prohibitions outside the instruction and monitoring goal read-outs against the specification. Goal edits in OpenVLA should act before layer 12 or patch every action token.
Keywords: Vision-language-action models, robot safety, interpretability, activation patching, runtime monitoring
1 Introduction
People use language to specify and correct robot tasks, and vision-language-action models (VLAs) [1, 2, 3] take this language directly as input. Many safety requirements are prohibitions. An operator may forbid contact with a hazardous object or entry into a restricted zone. Such an instruction names no goal. It removes behaviors from the set that the robot may execute, so a robot that executes an excluded behavior violates a safety constraint. Audits show that VLAs under-use language [4, 5, 6]. A VLA whose actions do not change under a negation or a correction can competently execute a task that the operator excluded. This is an embodied instance of goal misgeneralization [7, 8]. Runtime monitors for VLAs predict whether the instructed task will fail [9, 10, 11, 12, 13, 14, 15]. They are not designed to flag a robot that competently performs a forbidden task. We ask where OpenVLA [2] encodes its goal and whether this representation can be edited. We also test whether goal read-outs help runtime oversight. In LIBERO-Goal [16], 10 tasks share one scene, so the instruction alone selects the goal. We evaluate all 10 goal predicates at every step to label the executed goal of each rollout.
Contributions. In this simulated scene, negation had no detectable effect on which task OpenVLA executed. We locate the goal, show where it can be edited and compare goal read-outs with failure detectors as monitors.
SPAIS Workshop at the 10th Conference on Robot Learning (CoRL 2026), Austin, Texas, USA.
3 Method
Executed goals and specifications. Task of LIBERO-Goal is defined by a symbolic goal predicate . For a rollout of OpenVLA , the executed goal is . Here is the first step from which holds for steps or until the episode ends. A rollout that reaches no goal is a stall (). An instruction defines an allowed set within . The instruction “do ” gives , and “do not ” gives . A redirect at step sets to the allowed set of the new instruction.
Goal read-outs and monitor. Let be the Llama-2 residual stream after layer at the decision token. This last prompt token emits the first action token at step . A goal probe is an L2-regularized multinomial logistic regression on standardized activations projected onto 256 principal components. Each step of a nominal rollout is labeled with the eventual of that rollout. The specification-aware score is . We debounce it over steps as and compare with a level- split-conformal threshold from held-out compliant nominal rollouts. Because is non-decreasing, an alarm within the first steps occurs if and only if . The false-alarm rate over this window is then at most for compliant rollouts that are exchangeable with the calibration rollouts [29]. Redirect windows start at , so the bound does not apply to them.
Patching and steering. For a frame of task and an instruction of equal token length, we overwrite the residual stream after layer at a group of positions with its value under on the same frame. The groups are the instruction tokens where and differ, the remaining template tokens, and the decision token. We report the normalized logit difference of the first action token, [26], and the transfer of each greedy-decoded action dimension. A prefill patch acts once before decoding. A decode-stream patch also overwrites every decoded action token with values from the -run on the same action prefix. Fixed-vector steering adds -scaled vectors computed from other episodes. Class means [35, 36] and counterfactual means of over the same frames are added at the decision token and at every decoded token. Position-wise counterfactual means are computed for each action position under a teacher-forced prefix and added at that position. Instruction-span vectors are per-position counterfactual means over the instruction tokens at layer 8.
4 Experiments
Setup. We use OpenVLA-7B fine-tuned on LIBERO-Goal with the official preprocessing and greedy decoding. Its nominal success rate of 78% (95% CI [73, 82]) is near the published 79.2% [2]. The nominal condition has 352 rollouts over the 10 tasks. The negation condition has 120 rollouts with 5 phrasings of the prohibition. Each negated instruction forbids one whole task, and these tasks are benign stand-ins for prohibited behaviors. The redirect condition has 285 rollouts over 6 task pairs that share an object. Over 10 random splits, monitors are fit on a stratified 60% of the nominal rollouts and calibrated on the remaining compliant ones. They are scored steps after the start or after . Monitor CIs come from cluster bootstraps over the 12 ordered task pairs, and
(a) Goal localization by patching

(b) Negation and the goal read-out
Figure 1: Localization of the goal and the effect of negation. (a) Normalized logit difference when one group is patched (medians and quartiles, 159 frames). (b) Goal read-out under four instructions on 120 held-out frames, and the balanced accuracy of a detector for “not”.
Table 1: Monitor results 60 steps after the start or the redirect. TPR and FA are flag rates on violating and compliant rollouts at the threshold (held-out nominal FA 0.09). Within-pair AUROC covers the 10 ordered pairs with both outcomes. The starred baseline uses privileged simulator state.
| Monitor | Redirect not followed (n=180) vs. followed (n=99) | Negation | |||||
|---|---|---|---|---|---|---|---|
| AUROC [95% CI] | within-pair AUROC [95% CI] | wrong-goal AUROC (n=17) | TPR | FA | TPR (n=95) | FA (n=25) | |
| Pair+time prior | 0.96 | 0.76 [0.63,0.87] | - | - | - | - | - |
| Goal probe, layer 32 | 0.94 [0.88,0.98] | 0.88 [0.81,0.95] | 0.96 | 0.88 | 0.13 | 1.00 | 1.00 |
| Vision+text (DINOv2) | 0.92 [0.84,0.97] | 0.87 [0.78,0.94] | 0.93 | 0.85 | 0.13 | 1.00 | 1.00 |
| Object poses* (linear) | 0.90 [0.83,0.93] | 0.79 [0.66,0.87] | 0.98 | 0.81 | 0.11 | 0.89 | 0.80 |
| Success probe | 0.87 [0.78,0.94] | 0.74 [0.63,0.87] | 0.75 | 0.46 | 0.08 | 0.07 | 0.00 |
| Goal probe, layer 4 | 0.81 [0.69,0.93] | 0.67 [0.55,0.81] | 0.71 | 0.49 | 0.09 | 1.00 | 1.00 |
| Action entropy | 0.77 [0.66,0.85] | 0.59 [0.49,0.68] | 0.67 | 0.39 | 0.07 | 0.21 | 0.19 |
CIs for rates are Wilson intervals. The baselines include action-token entropy, a layer-32 success probe, and a vision+text probe on DINOv2 [37] frame features with a bag-of-words encoding of the active instruction. The pair+time prior uses the non-compliance rate of the task pair at each and ranks rollouts by within a pair. A linear probe on privileged object and end-effector poses is the last baseline. Most closed-loop edits use 3 other task pairs in both directions and 3 initial states. Appendix A gives the exceptions and other details.
Behavior under negation and redirects. Under negated instructions, OpenVLA executed the forbidden task in 95/120 rollouts (79%, 95% CI [71, 85]), and the other 25 rollouts stalled. On matched tasks and initial states, the forbidden task was executed in 76/92 cases and the plain instruction succeeded in 81/92 cases (McNemar ). A prohibition stated in the instruction gave no detectable protection in this scene. Redirects were followed in 35% of rollouts. Of the 285 redirect rollouts, 163 stalled and 23 completed a wrong goal. Compliance depended strongly on the task pair (follow counts 0/24 to 24/24) and decreased for later redirects.
Localization of the goal. Patching shows an abrupt transition between layers 12 and 16 (Figure 1a). The instruction tokens determine the first action at layer 8 (), about two thirds of it at layer 12 (0.69) and little of it from layer 16 onward (0.18). The decision token determines almost none of it at layer 8 (0.04) and most of it from layer 16 onward (0.77). On frames of task X, another task's instruction reduces the read-out to at most 0.05 (Figure 1b). A linear detector separates "not" from equally short neutral insertions with balanced accuracy 1.00 at layer 4, 0.87 at layer 16 and 0.76 at layer 28. Under "X", "not X" and "please X", stays at or above 0.73 through layer 28, so "not" does not suppress the read-out.
Editing the goal. Before the transition, a fixed vector can change the goal (Figure 2a). Instruction-span vectors at layer 8 transfer every action dimension offline (at least 0.90). In closed loop they made the robot execute the other task in 12/18 rollouts (67%, 95% CI [44, 84]). After the transition,
(a) Per-dimension effect of edits

(b) Detection of non-compliance
Figure 2: Editing and monitoring the goal. (a) Offline transfer of each action dimension toward the other goal. L is the layer, and counts are redirected closed-loop rollouts. (b) AUROC for redirect non-compliance (cluster-bootstrap CIs) and the pair+time prior (dashed).
a prefill patch of the decision token at layer 16 transfers 0.95 of the first dimension and at most 0.04 of the other five. The later action tokens can still attend to the unedited instruction tokens. In closed loop these patches redirected 0/18 rollouts at the decision token and 0/18 at all text positions. No fixed vector applied at layers 12 to 20 redirected a rollout. Class means at layers 12 to 20 gave 0/68, counterfactual means gave 0/18 at and 0/18 at , and position-wise means gave 0/18. After the transition, only the decode-stream patch transfers more than half of every dimension offline (at least 0.62 at layer 16 and 0.81 at layer 24). In closed loop it redirected 7/18 rollouts at layer 16 (39%, 95% CI [20, 61]) and 15/18 at layer 24 (83%, 95% CI [61, 94]).
Monitoring. Failure detectors that do not use the specification seldom flag forbidden executions. Entropy flags 0.21 of these rollouts (Table 1). Goal read-outs flag all 95 executions and also all 25 negated rollouts that stalled (FA 1.00). They reflect the goal named in the instruction, so they perform no better than a keyword rule for “not”. Redirects are more informative (Figure 2b). The in-sample pair+time prior reaches a pooled AUROC of 0.96. Within a pair, the layer-32 read-out reaches AUROC 0.88 (95% CI [0.81, 0.95]). Its paired differences from the success probe and entropy are +0.13 (95% CI [+0.04, +0.25]) and +0.29 (95% CI [+0.17, +0.41]). Against the pair+time prior (0.76), the difference is +0.13 (95% CI [-0.01, +0.26]). On followed redirects, the false-alarm rate is 0.13 at . The external vision+text probe performs comparably to the layer-32 probe. Their within-pair difference is +0.02 (95% CI [-0.02, +0.06]), so internal access adds no detectable gain.
5 Implications for Robot Safety and Limitations
In this scene, a negated instruction did not impose a safety constraint on OpenVLA, and failure detectors seldom flagged the forbidden executions. A system built on such a model should enforce prohibitions outside the instruction. Under negation, our goal monitors were no better than a keyword rule. The redirect results support a monitor that compares goal read-outs with the specification, and the external probe indicates that such a monitor may not need model internals. For steering methods on autoregressive VLAs, the results suggest that an edit must act before the transition (layers 12 to 16 in OpenVLA) or patch every decoded action token.
Limitations. We study one VLA in one simulated scene with benign whole-task prohibitions and simulator goal labels. Most closed-loop edits use only 18 rollouts from 3 task pairs, so a count of 0/18 allows an edit success rate of up to 18% (95% CI). Tests on other VLAs and on real robots are needed before these results can inform deployment.
References
[1] A. Brohan, N. Brown, J. Carbajal, Y. Chebotar, X. Chen, K. Choromanski, T. Ding, D. Driess, et al. RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Control. arXiv preprint arXiv:2307.15818, 2023.
[2] M. J. Kim, K. Pertsch, S. Karamcheti, T. Xiao, A. Balakrishna, S. Nair, R. Rafailov, E. Foster, et al. OpenVLA: An Open-Source Vision-Language-Action Model. arXiv preprint arXiv:2406.09246, 2024.
[3] K. Black, N. Brown, D. Driess, A. Esmail, M. Equi, C. Finn, N. Fusai, L. Groom, et al. : A Vision-Language-Action Flow Model for General Robot Control. arXiv preprint arXiv:2410.24164, 2024.
[4] X. Zhou, Y. Xu, G. Tie, Y. Chen, G. Zhang, D. Chu, P. Zhou, and L. Sun. LIBERO-PRO: Towards Robust and Fair Evaluation of Vision-Language-Action Models Beyond Memorization. arXiv preprint arXiv:2510.03827, 2025.
[5] S. Fei, S. Wang, J. Shi, Z. Dai, J. Cai, P. Qian, L. Ji, X. He, et al. LIBERO-Plus: In-depth Robustness Analysis of Vision-Language-Action Models. arXiv preprint arXiv:2510.13626, 2025.
[6] Y. Fang, Y. Feng, D. Jing, J. Liu, Y. Yang, Z. Wei, D. Szafir, and M. Ding. When Vision Overrides Language: Evaluating and Mitigating Counterfactual Failures in VLAs. arXiv preprint arXiv:2602.17659, 2026.
[7] L. Langosco, J. Koch, L. Sharkey, J. Pfau, L. Orseau, and D. Krueger. Goal Misgeneralization in Deep Reinforcement Learning. arXiv preprint arXiv:2105.14111, 2021.
[8] R. Shah, V. Varma, R. Kumar, M. Phuong, V. Krakovna, J. Uesato, and Z. Kenton. Goal Misgeneralization: Why Correct Specifications Aren't Enough For Correct Goals. arXiv preprint arXiv:2210.01790, 2022.
[9] C. Agia, R. Sinha, J. Yang, Z. Cao, R. Antonova, M. Pavone, and J. Bohg. Unpacking Failure Modes of Generative Policies: Runtime Monitoring of Consistency and Progress. arXiv preprint arXiv:2410.04640, 2024.
[10] C. Xu, T. K. Nguyen, E. Dixon, C. Rodriguez, P. Miller, R. Lee, P. Shah, R. Ambrus, et al. Can We Detect Failures Without Failure Data? Uncertainty-Aware Runtime Failure Detection for Imitation Learning Policies. arXiv preprint arXiv:2503.08558, 2025.
[11] Q. Gu, Y. Ju, S. Sun, I. Gilitschenski, H. Nishimura, M. Itkina, and F. Shkurti. SAFE: Multi-task Failure Detection for Vision-Language-Action Models. arXiv preprint arXiv:2506.09937, 2025.
[12] S. Park, W. Li, C. Oh, S. Yeh, Z. Kira, M. Hagenow, and S. Li. Hide-and-Seek in Trajectories: Discovering Failure Signals for VLA Runtime Monitoring. arXiv preprint arXiv:2605.30834, 2026.
[13] B. Huang, X. Li, X. Wang, L. Mi, Z. Hao, W. Wang, H. Wu, K. Li, et al. ActProbe: Action-Space Probe for Early Failure Detection of Generative Robot Policies. arXiv preprint arXiv:2606.08508, 2026.
[14] F. Seligmann, E. Gospodinov, E. U. Dincer, and G. Neumann. VLA-FAIL: Efficient Task Failure Detection for Finetuned Vision-Language-Action Models. arXiv preprint arXiv:2606.21386, 2026.
[15] H. Rajaprakash, A. Prajapati, R. Xue, A. Anwar, and J. Thomason. SAFECAST: Robust Failure Detection for VLA Policies with Contrast-Set Training and Calibration. arXiv preprint arXiv:2608.04246, 2026.
[16] B. Liu, Y. Zhu, C. Gao, Y. Feng, Q. Liu, Y. Zhu, and P. Stone. LIBERO: Benchmarking Knowledge Transfer for Lifelong Robot Learning. arXiv preprint arXiv:2306.03310, 2023.
[17] H. Lu, H. Li, P. S. Shahani, S. Herbers, and M. Scheutz. Probing a Vision-Language-Action Model for Symbolic States and Integration into a Cognitive Architecture. arXiv preprint arXiv:2502.04558, 2025.
[18] M. Molinari, L. Nevali, S. Navani, and O. G. Younis. Emergent World Representations in OpenVLA. arXiv preprint arXiv:2509.24559, 2025.
[19] J. Zhang, J. Nie, J. Lao, W. Cheng, C. Liu, J. Jiang, and S. Huang. What Frozen VLAs Already Know About Success: A Probing Study of Value-Like Structure in Foundation Robot Policies. arXiv preprint arXiv:2605.28527, 2026.
[20] A. Bhardwaj, E. W. Duan, P. Dan, W.-C. Ma, and P. Culbertson. Decoding Task Progress from VLA Representations. arXiv preprint arXiv:2608.13474, 2026.
[21] B. Häon, K. Stocking, I. Chuang, and C. Tomlin. Mechanistic Interpretability for Steering Vision-Language-Action Models. arXiv preprint arXiv:2509.00328, 2025.
[22] H. Buurmeijer, C. A. Alonso, A. Swann, and M. Pavone. Observing and Controlling Features in Vision-Language-Action Models. arXiv preprint arXiv:2603.05487, 2026.
[23] A. Swann, L. McGranahan, H. Buurmeijer, M. Kennedy, and M. Schwager. Sparse Autoencoders Reveal Interpretable and Steerable Features in VLA Models. arXiv preprint arXiv:2603.19183, 2026.
[24] H. Shi, X. Ren, Y. Zhang, Q. Zhang, J. Hu, H. Shan, H. Dong, J. Lu, et al. VLA-Trace: Diagnosing Vision-Language-Action Models through Representation and Behavior Tracing. arXiv preprint arXiv:2605.30117, 2026.
[25] K. Meng, D. Bau, A. Andonian, and Y. Belinkov. Locating and Editing Factual Associations in GPT. arXiv preprint arXiv:2202.05262, 2022.
[26] K. Wang, A. Variengien, A. Conmy, B. Shlegeris, and J. Steinhardt. Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small. arXiv preprint arXiv:2211.00593, 2022.
[27] M. Geva, J. Bastings, K. Filippova, and A. Globerson. Dissecting Recall of Factual Associations in Auto-Regressive Language Models. arXiv preprint arXiv:2304.14767, 2023.
[28] Z. Zhang, S. Yadav, F. Han, and E. Shutova. Cross-modal Information Flow in Multimodal Large Language Models. arXiv preprint arXiv:2411.18620, 2024.
[29] A. N. Angelopoulos and S. Bates. A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantification. arXiv preprint arXiv:2107.07511, 2021.
[30] A. Z. Ren, A. Dixit, A. Bodrova, S. Singh, S. Tu, N. Brown, P. Xu, L. Takayama, et al. Robots That Ask For Help: Uncertainty Alignment for Large Language Model Planners. arXiv preprint arXiv:2307.01928, 2023.
[31] R. J. Tibshirani, R. F. Barber, E. J. Candès, and A. Ramdas. Conformal Prediction Under Covariate Shift. arXiv preprint arXiv:1904.06019, 2019.
[32] A. Robey, Z. Ravichandran, V. Kumar, H. Hassani, and G. J. Pappas. Jailbreaking LLM-Controlled Robots. arXiv preprint arXiv:2410.13691, 2024.
[33] G. Puthumanailam, V. Dongre, P. Thangeda, H. Nayyeri, D. Hakkani-Tür, and M. Ornik. Trajectory-Level Redirection Attacks on Vision-Language-Action Models. arXiv preprint arXiv:2606.12978, 2026.
[34] A. Iranmanesh and P. Liu. Not What You Asked For: Typographic Attacks in Household Robot Manipulation. arXiv preprint arXiv:2605.18593, 2026.
[35] A. M. Turner, L. Thiergart, G. Leech, D. Udell, J. J. Vazquez, U. Mini, and M. MacDiarmid. Steering Language Models With Activation Engineering. arXiv preprint arXiv:2308.10248, 2023.
[36] S. Marks and M. Tegmark. The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasets. arXiv preprint arXiv:2310.06824, 2023.
[37] M. Oquab, T. Darcet, T. Moutakanni, H. Vo, M. Szafraniec, V. Khalidov, P. Fernandez, D. Haziza, et al. DINOv2: Learning Robust Visual Features without Supervision. arXiv preprint arXiv:2304.07193, 2023.
A Experimental Details
Conditions. The negation phrases were “not”, “do not”, “don’t”, “never” and “you must not”. OpenVLA executed the forbidden task in 27/30, 27/30, 12/20, 13/20 and 16/20 rollouts with these phrases. On the 92 matched cases, negation changed the execution rate by -5 percentage points (Newcombe 95% CI [-14, +3]). Each negated instruction forbids a whole task. We did not test a prohibition that restricts how a task is done. The checkpoint was fine-tuned on the 10 LIBERO-Goal instructions, and none of them contains a negation. Each redirect pair is switched in both directions at or at 50, 70 or 85% of the median duration of the source task. All 79 nominal failures were stalls. Redirect outcomes cluster by task pair, and the wrong-goal set is small. Another 24 rollouts use novel compositions. In 5 of these 24 rollouts, OpenVLA executed a similar training task. For instance, it placed the bowl on the stove when the instruction named the cream cheese.
Episodes and scoring. Non-nominal episodes end when the task named in the first instruction succeeds or once another goal has held for 20 steps. As in the nominal protocol, the monitor analyses truncate episodes at the first goal step and exclude the 6 redirects that end within 10 steps of . These 6 rollouts completed the original task, so Table 1 has 17 of the 23 wrong-goal completions. On these 17 rollouts, the layer-32 and vision+text read-outs reach an AUROC of 0.96 and 0.93. The failure detectors reach 0.75 (success probe) and 0.67 (entropy). Under negation, the success probe flags predicted success of the forbidden task. The pair+time prior uses non-compliance rates computed on the rollouts it scores. A prior with the rate of the task pair alone reaches a pooled AUROC of 0.91 in-sample and 0.87 leave-one-out. The in-sample version is constant within a pair, so its within-pair AUROC is 0.50. The layer-32 monitor has a TPR of 0.88 on redirects that were not followed and a false-alarm rate of 0.13 on followed ones. Paired within-pair differences use the scores of the first split and 10,000 bootstrap resamples of the ordered pairs. Wilson intervals treat rollouts as independent.
Interventions and probes. Patching uses frames at steps 5, 20 and 40 from the 5 task pairs with instructions of equal length. Per-dimension medians use frames with . At layer 32 the model returns the normalized final state. The probes use the unnormalized block output recorded in rollouts, so Figure 1 stops at layer 30 for patching and at layer 28 for the read-outs. Most closed-loop edits use the initial states 45, 46 and 47, and their steering vectors come from nominal rollouts with initial states below 40. The class-mean runs use 4 ordered pairs from the redirect condition. At layer 12 they add the class mean at the decision token and at every decoded token with on the initial states 45, 46 and 47 (36 rollouts). These class means average the first 40 steps of all successful nominal rollouts, including those at the test initial states. At layers 16 and 20 they add per-position class means over the prompt positions after the instruction with on the initial states 45 and 46 (32 rollouts). Patching the instruction tokens at layer 8 redirected 12/18 closed-loop rollouts. Offline, position-wise means transferred 0.47 to 1.00 per dimension at . No closed-loop rollout with these vectors reached the other goal. Goal probes and the success probe use 256 components and inverse regularization strength . The vision+text and object-pose probes use 128 and 64 components with and . The object-pose probe uses the end-effector pose and the positions of the 4 movable objects. It has no object orientations and no drawer or stove states. All experiments ran on one RTX A6000. The code, plans, episode summaries and analysis outputs are available at https://github.com/sudsho/vla-goal-representation and archived on Zenodo (DOI 10.5281/zenodo.23871372).