mlsanityData to 7 Oct 2026

Steered Generation via Gradient Descent on Sparse Features

arXiv 2502.18644 ↗First posted 25 Feb 2025cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) encode a diverse range of linguistic features within their latent representations, which can be harnessed to steer their output toward specific target characteristics. In this paper, we modify the internal structure of LLMs by training sparse autoencoders to learn a sparse representation of the query embedding, allowing precise control over the model's attention distribution. We demonstrate that manipulating this sparse representation effectively transforms the output toward different stylistic and cognitive targets. Specifically, in an educational setting, we show that the cognitive complexity of LLM-generated feedback can be systematically adjusted by modifying the encoded query representation at a specific layer. To achieve this, we guide the learned sparse embedding toward the representation of samples from the desired cognitive complexity level, using gradient-based optimization in the latent space.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 37 of its 65 references that are in the map. First posted on arXiv 25 Feb 2025.

Builds on

37 of 65 references.

References · 37

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  4. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  5. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  6. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
  7. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
  8. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
  9. 2022Toy Models of Superpositioncited by 928
  10. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  11. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
  12. 2015Sequence Level Training with Recurrent Neural Networkscited by 568
25 more
  1. 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
  2. 2015Autoencoding beyond pixels using a learned similarity metriccited by 407
  3. 2024Jumping Ahead: Improving Reconstruction Fidelity with JumpReLU Sparse Autoencoderscited by 283
  4. 2020Understanding the Role of Individual Units in a Deep Neural Networkcited by 254
  5. 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 241
  6. 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 240
  7. 2013k-Sparse Autoencoderscited by 209
  8. 2020Compositional Explanations of Neuronscited by 172
  9. 2024Improving Dictionary Learning with Gated Sparse Autoencoderscited by 171
  10. 2022The Unreliability of Explanations in Few-shot Prompting for Textual Reasoningcited by 169
  11. 2019Adaptively Sparse Transformerscited by 154
  12. 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 140
  13. 2023Machine Learning for Synthetic Data Generation: A Reviewcited by 118
  14. 2020A Distributional Approach to Controlled Text Generationcited by 117
  15. 2021Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factorscited by 106
  16. 2024The Butterfly Effect of Altering Prompts: How Small Changes and Jailbreaks Affect Large Language Model Performancecited by 97
  17. 2024Improving Steering Vectors by Targeting Sparse Autoencoder Featurescited by 86
  18. 2023Word Embeddings Are Steers for Language Modelscited by 70
  19. 2022Mix and Match: Learning-free Controllable Text Generation using Energy Language Modelscited by 66
  20. 2021Prompt Waywardness: The Curious Case of Discretized Interpretation of Continuous Promptscited by 64
  21. 2024Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineeringcited by 60
  22. 2024Controllable Text Generation for Large Language Models: A Surveycited by 55
  23. 2017Trainable Greedy Decoding for Neural Machine Translationcited by 23
  24. 2014Zero-bias autoencoders and the benefits of co-adapting featurescited by 15
  25. 2021Syntax Matters! Syntax-Controlled in Text Style Transfercited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.