Manuscript Offprint
arXiv:2611.00602Editing the Goal: Per-Token SAE Steering and Its Depth Limits in
Editing the Goal: Per-Token SAE Steering and Its Depth Limits in
Rocio Perales Valdes
PAIR Lab, AI Safety Initiative
Georgia Institute of Technology United States
Animesh Garg
PAIR Lab
Georgia Institute of Technology United States
Abstract: Sparse autoencoders (SAEs) have recovered interpretable, causally relevant features in robot foundation models (RFMs) such as [1, 2]. SAE features on individual instruction tokens are less interpretable than timestep-pooled ones [1], and whether they can redirect a robot's goal remains untested. We show that replacing the SAE features of a single goal word with those of an alternative goal word, leaving the instruction text unchanged, steers -LIBERO into completing the alternative task. At layer 0, BatchTopK feature swaps redirect behavior in up to 20/20 rollouts in a scene where random-feature swaps redirect none, with success varying across six scenes in two LIBERO suites and across layers. The effect depends on SAE architecture: word-selected Matryoshka edits largely do not outperform random ones. SAEs are also not required. Adding a fixed difference-in-means vector at twice its natural magnitude redirects 8–10/10 rollouts. Layer-wise activation patching shows that goal-word edits remain effective up to layer 6 for object location and layer 2 for object identity, and up to layer 13 in both cases when patching also covers camera tokens. These results are proof of existence in an RFM in simulation and an initial map of how deep goal-redirecting edits remain effective. Visit doubleblind-sae-pi05.github.io for video rollouts.
Keywords: Sparse Autoencoders, Vision-Language-Action Models, Activation Steering, Mechanistic Interpretability
LIBERO-Spatial, scene 7: "pick up the black bowl on the stove and place it on the plate"
-LIBERO unchanged

Swap top-16 "stove" SAE features for top-16 "cabinet"
Picks up the bowl on the stove (10/10 rollouts)
Picks up the bowl on the cabinet instead (15/20 rollouts)
Swap for 16 random features: rollouts
Figure 1: Swapping one word's SAE features at layer 5 changes the robot's goal in 15/20 rollouts. Both runs see scene 7 and read the same instruction, but they pick different bowls.
Swann et al. [1] find interpretable, causal SAE features in , mostly from activations pooled over each timestep, and Grant et al. [2] find that steering per-token SAE features in 's action expert mostly degrades the policy rather than redirecting it. Whether a single instruction word's SAE features can redirect the goal, and how deep an instruction can be edited, remain open.
In this work, we (i) show that swapping a goal word's per-token SAE features redirects -LIBERO to another instruction's task in up to 20/20 rollouts while preserving success, with feature combinations succeeding where single features fail; (ii) compare feature-selection methods (word-selected and contrastive), SAE architectures (BatchTopK and Matryoshka) and non-SAE baselines (activation patching and difference vectors); and (iii) map how deep instructions stay editable by patching one layer at a time for the goal word, the instruction, and the instruction with the camera tokens.
2 Method
SAEs. We train two SAE architectures on the PaliGemma [8] residual stream of -LIBERO [9, 10], using the openpi checkpoint [11], at layers 0, 5, 11 and 17. "Layer " is the output of PaliGemma block . Each SAE input (row) is either the mean of one camera's 256 image tokens or an individual text token, following the per-token setup of Swann et al. [1]. We train BatchTopK SAEs [12] with the AuxK loss of Gao et al. [13] and the settings of Swann et al. [1], who use per-row TopK at expansion (2,048 latents). We also train Matryoshka SAEs with groups of 64, 64, 128, 256, 512 and 1024 latents, under the intuition that their reduced feature splitting and hierarchical structure [14] would transfer to RFMs. All trained SAEs reconstruct of the variance.
Scene selection. LIBERO policies often ignore the instruction [15, 2]: in LIBERO-Spatial, -LIBERO with no prompt succeeds in 61/100 episodes. We only use scenes where a null prompt leads to successes. In LIBERO-Spatial (10 tasks), the policy must pick the correct one of two black bowls and place it on the plate. Scenes 7 ("on the stove") and 9 ("on the wooden cabinet") form a mirror pair. We use this pair and cross-check the results on LIBERO-Object, where the instructions differ only in the object to be placed in the basket. There we pick four scenes where changing the instruction redirects the policy in 5/5 rollouts. The two suites also let us compare how deep goals stay editable for two classes of instructions (object location vs. object identity).
Steering. Let be the residual stream at the output of block for token under prompt , and be the goal-word tokens of each prompt (one or two per word, e.g. "wooden cabinet"); averages over . All edits target the goal word of , leave the instruction text unchanged, and are reapplied at every policy call.
SAE swap. For each , we encode into codes , set to a target value for every latent in a set to get , and add the change back through the decoder, , keeping the reconstruction error. Due to the SAE rescaling each row to unit norm, we re-encode eight times, bringing the edited codes to within 0.18 of their targets. In the re-encoded rows of word-selected BatchTopK swaps, a median of 46 non-edited latents switch on or off at layer 5 and 397 at layer 0, against 61 and 124 when A's word is replaced by B's. We choose in two ways. Word-selected: for each of and , the 16 latents (or all eligible ones, up to 64) most selective for that word, i.e. with the highest ratio of mean activation on the word, over every instruction containing it, to mean activation on all other text tokens. We skip latents active on more than half of all rows, such as always-on attention-sink latents [16]; 's latents are set to and 's to their mean activation on . Contrastive: the 16 (or 64) latents whose codes at the goal word change most between prompts A and B on the same demonstration frames, with their mean under prompt B.
Difference vector. Following Rimsky et al. [17], we add to the goal-word rows, where is the mean over 256 demonstration frames of task A of , so adds the mean difference itself. Unlike patching, it needs no prompt-B pass at test time.
Activation patching. We set for , with prompt B's states taken from a separate pass on the same frame, and recompute all later blocks. The goal word is patched either once at or at every block from onward. To analyze whether the rest of the instruction and the camera tokens also carry the goal, we patch incrementally, first adding the whole instruction and then the instruction and camera tokens, each set to its own state under prompt B from onward. Tokens before are matched by position and tokens after it from the end of the instruction, so each word has a counterpart even when lengths differ ("stove" vs. "wooden cabinet").
Single-feature ablation. We also remove one latent's decoder direction from every prefix token, camera and text, adapting the all-token intervention of Swann et al. [1].
Success and controls. All conditions in a scene share initial state and seed, and success is awarded if B's task is completed. Each steering experiment also has a control edit: for SAE swaps, the same number of random latents set to the same target values (three draws; with word selection they replace only 's latents, and 's are still set to zero); for the difference vector, random vectors of the same norm (three seeds); for activation patching, an arbitrary non-target word of .
3 Results
Per-token SAEs enable performance-preserving steering. At layer 0, one BatchTopK feature set makes the robot complete prompt B's task in 20/20 rollouts while instructed with prompt A. We call an edit performance-preserving when the edited policy completes B's task about as often as the unedited policy does when instructed with B. Which feature set works best varies by scene and layer (Table 1). Zeroing A's word latents without writing B's redirects at most 1/20 rollouts in the five scenes where the 16-latent layer-0 BatchTopK swap reaches 16/20, and 89% of rollouts in Table 1 that miss B's task complete A's. High random rates (up to 17/20) come mostly from
(a) LIBERO-Spatial (of 20)
| Scene | BatchTopK | Matryoshka | ||
|---|---|---|---|---|
| 16, k | rand. | 16, k | rand. | |
| Layer 0, word-selected | ||||
| 7: stove → cabinet | 20, 8 | 0 | 8, 7 | 0–5 |
| 9: cabinet → stove | 8, 20 | 0 | 19, 8 | 1–15 |
| Layer 0, contrastive | ||||
| 7: stove → cabinet | 0, 5 | 0 | 14, 11 | 3–6 |
| 9: cabinet → stove | 0, 19 | 0 | 20, 20 | 4–7 |
| Layer 5, word-selected | ||||
| 7: stove → cabinet | 15, 11 | 0–2 | 7, 7 | 0–1 |
| 9: cabinet → stove | 4, 2 | 0–1 | 2, 2 | 1–3 |
| Layer 5, contrastive | ||||
| 7: stove → cabinet | 3, 7 | 0 | 0, 5 | 0 |
| 9: cabinet → stove | 6, 18 | 0 | 5, 19 | 0–2 |
(b) LIBERO-Object (of 20)
| Scene | BatchTopK | Matryoshka | ||
|---|---|---|---|---|
| 16, k | rand. | 16, k | rand. | |
| Layer 0, word-selected | ||||
| 0: soup → dressing | 20, 0 | 0–1 | 13, 19 | 0–15 |
| 1: cream cheese → soup | 19, 0 | 5–14 | 13, 8 | 11–13 |
| 4: ketchup → BBQ sauce | 20, 10 | 0–1 | 15, 7 | 4–7 |
| 6: butter → tomato sauce | 16, 19 | 3–4 | 10, 9 | 10–17 |
| Layer 0, contrastive | ||||
| 0: soup → dressing | 0, 10 | 0 | 0, 16 | 0–7 |
| 1: cream cheese → soup | 0, 0 | 0 | 9, 12 | 3–9 |
| 4: ketchup → BBQ sauce | 0, 16 | 0 | 0, 16 | 0–1 |
| 6: butter → tomato sauce | 2, 9 | 0 | 14, 13 | 6–8 |
| Layer 5, word-selected | ||||
| highest over scenes | 3, 4 | 0 | 0, 1 | 0 |
| Layer 5, contrastive | ||||
| highest over scenes | 0, 1 | 0 | 0, 0 | 0 |
Table 1: Rollouts (of 20) that complete prompt B's task after an SAE edit at A's goal word at layer (scene: A's goal B's). 16, k: latents per word; k: all eligible (up to 64) for word selection, 64 for contrastive. rand.: range over three draws of 16 random latents per word. Unedited policy with prompt B completes task B: 20/20 (a), 19–20/20 (b). Bold: 75%.
Matryoshka, whose random layer-0 edits are a median 16–54 times the size of the real word change. Matryoshka SAEs split words less than BatchTopK. At layer 5, we count pairs of latents where each fires on at least half of the instruction tokens the other fires on. Matryoshka has 1,323 such pairs and BatchTopK has 3,853 (0.65 vs. 1.88 per live latent). Contrary to our intuition, this did not help steering. On LIBERO-Object, Matryoshka's word-selected swaps do about as well as random ones.
Single features. Single goal-word features show little causal effect when ablated: of 40 single-feature ablations at layer 0 (the top 8 goal-word features per SAE and scene, plus 8 random), 39 keep the original task's success at . The exception, a BatchTopK "stove"-related feature as active on the camera rows as on the word, drops scene 7 to < 20% but leaves scene 9 at 90%; ablating it only at the camera tokens gives 6/10 and only at the word 9/10.
SAEs are one of many viable tools. Replacing the goal word's state with its state under prompt B leads to task B completion in 10/10 rollouts at layers 0 and 5 in both LIBERO-Spatial scenes. This follows the same-scene injection of Grant et al. [2] but is narrower, substituting only the goal word instead of whole layers. Alternatively, a fixed difference vector, which needs no forward pass with prompt B at test time, succeeds 5–9/10 at and 8–10/10 at . Random vectors, at both and fail to redirect (0/10 success). In language models, too, simple baselines have been shown to match or outperform SAE-based steering [18]. In this case, the SAE adds a per-word swap (Li's text latents [6] are per task) that never runs prompt B on A's frames, which patching does at every policy call and the difference vector has to have done once.
Depth of editability. Our SAEs cover only four layers, so we use raw activation patches to study more cheaply and thoroughly how deep within the PaliGemma layers instructions remain editable (Figure 2). The goal word stays editable (dashed blue) through layer 6 for locations but only through layer 2 for objects; holding the patch from L to 17 (solid blue) and patching the whole instruction (orange) drop off very similarly. Patching the camera tokens as well still transfers the task in both suites up to layer 13 (green). An edit at layer L reaches the action expert only through the keys and values of blocks to 17, so layer-17 edits cannot act, and a patch held from L to 17 equals a KV-cache patch from . SAE swaps work at layer 0, one block past the input embedding, partly at layer 5 (at most 4/20 in LIBERO-Object), and not at layer 11.

Figure 2: Share of rollouts completing B's task after patching at layer (10 per scene, pooled; 20 for dashed blue at , left, and in two scenes, right). Bands: scene range.
4 Conclusion
These results show that per-token SAEs can yield causal features, despite being more challenging to find: swapping one word's features at layer 0 or 5 moves the robot to another instruction's task as well as a plain difference vector. They also map the editability of instructions in RFMs, providing a cutoff, for edits at natural magnitudes, for the layers at which latent goal hijacking is a concern. Edits stay effective up to layer 6 (location) or 2 (object) at the instruction tokens and up to layer 13 across the instruction and camera tokens for one fine-tuned VLA ( ) in simulation.
References
[1] A. Swann, L. McGranahan, H. Buurmeijer, M. Kennedy III, and M. Schwager. Sparse autoencoders reveal interpretable and steerable features in VLA models. arXiv preprint arXiv:2603.19183, 2026.
[2] B. Grant, X. Zhao, and P. Wang. Not all features are created equal: A mechanistic study of vision-language-action models. In ICLR 2026 Workshop on Multimodal Intelligence, 2026.
[3] M. A. Khan, N. Boskov, F. M. Anwar, and M. A. Khan. Controlling vision-language-action policies through sparse latent directions. In Mechanistic Interpretability Workshop at NeurIPS, 2025. URL https://openreview.net/forum?id=wtf3ww1EOL.
[4] B. Häon, K. C. Stocking, I. Chuang, and C. Tomlin. Mechanistic interpretability for steering vision-language-action models. In Proceedings of The 9th Conference on Robot Learning (CoRL), volume 305 of Proceedings of Machine Learning Research, pages 2743–2762. PMLR, 2025.
[5] 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.
[6] Q. Li. VLAs are confined yet capable of generalizing to novel instructions. arXiv preprint arXiv:2505.03500, 2025.
[7] K. Black, N. Brown, D. Driess, A. Esmail, M. Equi, C. Finn, N. Fusai, L. Groom, K. Hausman, B. Ichter, et al. : A vision-language-action flow model for general robot control. In Proceedings of Robotics: Science and Systems (RSS), 2025. doi:10.15607/RSS.2025.XXI.010.
[8] L. Beyer, A. Steiner, A. S. Pinto, A. Kolesnikov, X. Wang, D. Salz, M. Neumann, I. Alabdul-mohsin, M. Tschannen, E. Bugliarello, et al. PaliGemma: A versatile 3B VLM for transfer. arXiv preprint arXiv:2407.07726, 2024.
[9] K. Black, N. Brown, J. Darpinian, K. Dhabalia, D. Driess, A. Esmail, M. R. Equi, C. Finn, N. Fusai, M. Y. Galliker, et al. : a vision-language-action model with open-world generalization. In Proceedings of The 9th Conference on Robot Learning (CoRL), volume 305 of Proceedings of Machine Learning Research, pages 17–40. PMLR, 2025.
[10] B. Liu, Y. Zhu, C. Gao, Y. Feng, Q. Liu, Y. Zhu, and P. Stone. LIBERO: Benchmarking knowledge transfer for lifelong robot learning. In Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track, volume 36, pages 44776–44791, 2023.
[11] Physical Intelligence. openpi. https://github.com/Physical-Intelligence/openpi, 2025.
[12] B. Bussmann, P. Leask, and N. Nanda. BatchTopK sparse autoencoders. In NeurIPS Workshop on Scientific Methods for Understanding Neural Networks, 2024.
[13] L. Gao, T. Dupré la Tour, H. Tillman, G. Goh, R. Troll, A. Radford, I. Sutskever, J. Leike, and J. Wu. Scaling and evaluating sparse autoencoders. In International Conference on Learning Representations (ICLR), 2025.
[14] B. Bussmann, N. Nabeshima, A. Karvonen, and N. Nanda. Learning multi-level features with Matryoshka sparse autoencoders. In International Conference on Machine Learning (ICML), 2025.
[15] 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.
[16] G. Xiao, Y. Tian, B. Chen, S. Han, and M. Lewis. Efficient streaming language models with attention sinks. In International Conference on Learning Representations (ICLR), 2024.
[17] N. Rimsky, N. Gabrieli, J. Schulz, M. Tong, E. Hubinger, and A. Turner. Steering Llama 2 via contrastive activation addition. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL), pages 15504–15522, 2024.
[18] Z. Wu, A. Arora, A. Geiger, Z. Wang, J. Huang, D. Jurafsky, C. D. Manning, and C. Potts. AxBench: Steering LLMs? Even simple baselines outperform sparse autoencoders. In International Conference on Machine Learning (ICML), 2025.