MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation
Abstract
Steering large language models typically relies on linear, context-independent interventions in activation space, an assumption that recent work has challenged and that can induce an information bottleneck when a fixed representation must encode many behavioral distinctions. We introduce MetaSteer, a method that learns nonlinear interventions with context-dependent effects and applies them to attention projection matrices, producing activation effects that vary with the input context by construction and requiring no linear concept-geometry assumption. Framed as preference-based optimization, MetaSteer is trained once on a pooled preference corpus and transferred zero-shot to unseen concepts and out-of-distribution contexts. We find that, despite using low-rank adapters, MetaSteer induces structured, context-dependent changes in hidden-state trajectories while partially preserving aspects of their local trajectory dynamics, including velocity and curvature. We evaluate MetaSteer on three controlled text-generation benchmarks and three agentic settings across multiple model families and scales. MetaSteer matches or outperforms strong task-specific steering baselines on most aggregate comparisons in the zero-shot regime. Across the evaluated settings, stronger text-generation steering is associated with stronger agentic steering performance. We further discuss geometric trajectory effects, capability retention, and safety considerations raised by transferable steering.
Create a lesson
Metadata
- Comments
- Preprint. Code and pretrained model checkpoints will be released shortly
Related papers
Predicting Steering Vectors and Adapter Weights for Few-Shot Author-Style Transfer
Shared title terminologycs.CLLeonard Popp, Danni Liu, Supriti Sinhamahapatra et al.
Scaling Parameter and Context in Attention: Native Sparse Attention from Mixture-of-Head
Shared title terminologycs.CLZizhuo Fu, Runsheng Wang, Meng Li
Lightweight Reasoning Transfer via Chain-of-Thought Vector Projection
Shared title terminologycs.CLYulin Qi, Shuo Xu, Shuxia Lin et al.
DiCALM: Converting Autoregressive Convolution-Attention Language Models into Discrete Diffusion Language Models
Shared title terminologycs.CLPhong Le, Ngoc-Quan Pham, Dat Quoc Nguyen
NORMCRAFT: Cultural Norm Generation for Context-Aware Language Model Alignment
Shared title terminologycs.CLTangyuan Zhang, Zhuang Li, Fatemeh Shiri et al.
Sparse-to-Sparse Feature Learning for Cross-Layer Analysis and Steering
Shared title terminologycs.CLMasahiro Kaneko, Ayana Niwa, Timothy Baldwin