Minimally Invasive Steering of Language Models
Taha Entesari, Jingyu Zhang, Daniel Khashabi, Mahyar Fazlyab
Abstract
Test-time alignment adapts large language models (LLMs) to runtime objectives without updating model parameters. Pre-logit steering offers a lightweight approach by optimizing additive interventions to the hidden states of a frozen LLM, but excessive steering can distort output distributions and degrade generation quality. We propose Minimally Invasive Steering Vector Optimization (MISVO), which improves reward while controlling deviation from the reference policy. Rather than penalizing the Euclidean norm of steering vectors, we derive a quadratic regularizer from the local Kullback--Leibler (KL) geometry of the induced token distributions. The resulting Fisher-information penalty captures the distributional sensitivity of steering directions and admits an analytic gradient computed through matrix--vector products with the frozen language-model head. We further derive an exact decomposition of the sequence-level KL gradient and establish explicit, non-asymptotic bounds on the approximation errors, including the omitted trajectory-dependent score-function term. These results show that the frozen Fisher regularizer gradient approximates the full sequence-level KL gradient to first order in the steering magnitude. Across preference and code-generation tasks on four LLMs spanning approximately 1B--14B parameters, MISVO achieves the highest mean best-so-far reward in six of seven model--task settings, while maintaining diversity and coherence scores comparable to Best-of-.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- 40th Conference on Neural Information Processing Systems (NeurIPS 2026)
Related papers
Attention Manifolds: Steering or Blocking Language Models by Editing Learned B-Spline Surfaces
Shared title terminologycs.LGNaveen Mysore
CONMAN: Steering LLM Agent Actions via Contrastive World Model Manipulation
Shared title terminologycs.LGHaoyu He, Fengqing Jiang, Radha Poovendran et al.
LinearSpec: Drafting from the Target's Memory for Long-Context Speculative Decoding in Hybrid Vision-Language Models
Shared title terminologycs.LGHaiyu Wang, Sai Qian Zhang, Steven Li
Predicting End-to-End Fine-Tuning Time for Generative Language Models
Shared title terminologycs.LGBreno Beleza, Felipe Lima, Isis Carvalho et al.
Looking Back to Forget: Self-Anchored Unlearning Along the Generation Trajectory of Diffusion Language Models
Shared title terminologycs.LGRuihao Pan, Suhang Wang
BitState: Language Modeling with Binary Parameters and Discrete States
Shared title terminologycs.LGShiguang Wu, Quanming Yao