Steered Generation via Gradient-Based Optimization on Sparse Query Features
On the map: Mechanistic interpretability → Activation steering methods
Abstract (arXiv)
Latent steering exploits internal representations of Large Language Models (LLMs) to guide generation, yet interventions on dense states can entangle distinct semantic features. In this paper, we investigate attention query activations as a high-fidelity site for precise control, hypothesizing that manipulating the attention mechanism itself offers sharper steerability than general state interventions. We introduce Prototype-Based Sparse Steering, a framework that applies Sparse Autoencoders (SAEs) specifically to query activations, to decompose them into interpretable features, then apply gradient-based optimization during inference to align the sparse representation with class prototypes of target behaviors. To validate this architectural insight, we first analyze the mechanism in Textualized Gridworld, a controlled environment for verifiable planning constraints. We demonstrate that optimizing sparse query features enables effective navigation of rigid planning requirements (i.e., safe vs. short paths), confirming the method's ability to satisfy objective rules. We then demonstrate the framework's versatility by training SAEs on a high-dimensional educational domain, where the framework steers the cognitive complexity of feedback (i.e., Bloom's Taxonomy). Our experiments establish that sparse query representations provide the necessary disentanglement for unified, interpretable control over both logical planning and stylistic nuance.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Activation steering methods, one of 13 directions in Mechanistic interpretability. Builds on 85 of its 106 references that are in the map. First posted on arXiv 21 May 2026.
Builds on
85 of 106 references.
Closest ancestors · 10
Same direction, newest first
- 2025DISCO: Disentangled Communication Steering for Large Language Models20 Sep
- 2025LinEAS: End-to-end Learning of Activation Steering with a Distributional Loss11 Mar
- 2025Personalized Text Generation with Contrastive Activation Steering7 Mar
- 2025Steering Large Language Model Activations in Sparse Spaces28 Feb
- 2025A Unified Understanding and Evaluation of Steering Methods4 Feb
- 2025Interpretable Steering of Large Language Models with Feature Guided Activation Additions17 Jan
- 2024Semantics-Adaptive Activation Intervention for LLMs via Dynamic Steering Vectors16 Oct
- 2024Improving Instruction-Following in Language Models through Activation Steering15 Oct
- 2023Steering Llama 2 via Contrastive Activation Addition9 Dec
- 2022Extracting Latent Steering Vectors from Pretrained Language Models10 May
Other references · 75
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
- 2022Editing Models with Task Arithmeticcited by 1,120
- 2022Toy Models of Superpositioncited by 971
38 more
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
- 2015Sequence Level Training with Recurrent Neural Networkscited by 576
- 2024Scaling and evaluating sparse autoencoderscited by 553
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 441
- 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 435
- 2015Autoencoding beyond pixels using a learned similarity metriccited by 407
- 2024Jumping Ahead: Improving Reconstruction Fidelity with JumpReLU Sparse Autoencoderscited by 300
- 2024Massive Activations in Large Language Modelscited by 294
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
- 2020Understanding the Role of Individual Units in a Deep Neural Networkcited by 255
- 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 245
- 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 243
- 2025AxBench: Steering LLMs? Even Simple Baselines Outperform Sparse Autoencoderscited by 218
- 2013k-Sparse Autoencoderscited by 215
- 2024Improving Dictionary Learning with Gated Sparse Autoencoderscited by 179
- 2020Compositional Explanations of Neuronscited by 172
- 2022The Unreliability of Explanations in Few-shot Prompting for Textual Reasoningcited by 169
- 2019Adaptively Sparse Transformerscited by 155
- 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 141
- 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 129
- 2020A Distributional Approach to Controlled Text Generationcited by 119
- 2021Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factorscited by 108
- 2024The Butterfly Effect of Altering Prompts: How Small Changes and Jailbreaks Affect Large Language Model Performancecited by 100
- 2024Steering Language Model Refusal with Sparse Autoencoderscited by 95
- 2024Improving Steering Vectors by Targeting Sparse Autoencoder Featurescited by 92
- 2023Tell Your Model Where to Attend: Post-hoc Attention Steering for LLMscited by 91
- 2025SAEs Are Good for Steering -- If You Select the Right Featurescited by 78
- 2022Polysemanticity and Capacity in Neural Networkscited by 77
- 2023Word Embeddings Are Steers for Language Modelscited by 70
- 2022Mix and Match: Learning-free Controllable Text Generation using Energy Language Modelscited by 66
- 2021Prompt Waywardness: The Curious Case of Discretized Interpretation of Continuous Promptscited by 64
- 2024Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineeringcited by 63
- 2025Universal Sparse Autoencoders: Interpretable Cross-Model Concept Alignmentcited by 62
- 2025Multi-Attribute Steering of Language Models via Targeted Interventioncited by 46
- 2025I Have Covered All the Bases Here: Interpreting Reasoning Features in Large Language Models via Sparse Autoencoderscited by 45
- 2025FairSteer: Inference Time Debiasing for LLMs with Dynamic Activation Steeringcited by 40
50 most cited of 75 All 75 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Steered Generation via Gradient Descent on Sparse Features
- 2026A Coin Flip Per Token: Bernoulli Sparse Steering of Large Language Models
- 2026MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation
- 2025Beyond Prompt Engineering: Robust Behavior Control in LLMs via Steering Target Atoms
- 2026Minimally Invasive Steering of Language Models
- 2024Steering Large Language Models using Conceptors: Improving Addition-Based Activation Engineering
- 2026Don't Lose Focus: Activation Steering via Key-Orthogonal Projections
- 2026Control Reinforcement Learning: Interpretable Token-Level Steering of LLMs via Sparse Autoencoder Features