cs.CLSep 30, 2026

MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation

Authors: Mehdi Jafari, Hao Xue, Flora Salim

Organizations: School of Computer Science and Engineering, UNSW Sydney, Australia · ARC Centre of Excellence for Automated Decision-Making and Society (ADM+S) · The Hong Kong University of Science and Technology (Guangzhou), China

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.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. COLD-Steer: Steering Large Language Models via In-Context One-step Learning Dynamics

    Mar 6, 2026Kartik Sharma, Rakshit S. TrivediLanguage Model SteeringInference-Time Language Model Alignment

  2. UniSteer: Text-Guided Flow Matching in Activation Space for Versatile LLM Steering

    May 28, 2026Yingdong Shi, Ruiming Zhang, Changming Li +4Flow MatchingLanguage Model Steering