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.

Keywords

Publication details

Journal
Not available
Open access
Green open access

Cite this article

APA 7

Jafari, M., Xue, H., & Salim, F. (2026). MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation. https://omanscience.com/en/articles/metasteer-context-conditioned-nonlinear-steering-via-attention-projection-adaptation

MLA 9

Jafari, Mehdi, et al. "MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation." https://omanscience.com/en/articles/metasteer-context-conditioned-nonlinear-steering-via-attention-projection-adaptation.

Chicago (author–date)

Jafari, Mehdi, Hao Xue, and Flora Salim. 2026. "MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation." https://omanscience.com/en/articles/metasteer-context-conditioned-nonlinear-steering-via-attention-projection-adaptation.

Harvard

Jafari, M., Xue, H. and Salim, F. (2026) 'MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation', Available at: https://omanscience.com/en/articles/metasteer-context-conditioned-nonlinear-steering-via-attention-projection-adaptation.

Vancouver

Jafari M, Xue H, Salim F. MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation. https://omanscience.com/en/articles/metasteer-context-conditioned-nonlinear-steering-via-attention-projection-adaptation

IEEE

M. Jafari, H. Xue, and F. Salim, "MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation," https://omanscience.com/en/articles/metasteer-context-conditioned-nonlinear-steering-via-attention-projection-adaptation.