Compositional Activation Steering Across Languages and Behaviors with Contextual Gates
Daniil Gurgurov, Akansh Maurya, Josef van Genabith, Simon Ostermann, Hitomi Yanaka
Abstract
Activation steering has emerged as an effective and precise way to influence the behaviours of language models. However, composing multiple steering directions to control several behaviours simultaneously remains challenging, particularly in multilingual settings and with training-free steering vectors. We address this challenge with contextual steering, jointly training gates that adapt the strength of fixed steering directions to the current hidden state and interactions between interventions. Across a broad range of languages, behavioural attributes, and models, our approach outperforms constant-strength steering and four strong baselines, including prompting. It also better preserves general knowledge and keeps the model's internal computation closer to that of the prompted model. Our analysis further shows how jointly trained gates adapt their contributions during composition, explaining the mechanisms underlying effective compositional steering.
Create a lesson
Related papers
Single-Coordinate Activation Steering for Controllable Social Stance in Language Models
Shared title terminologycs.CLNaman Chawla, Chhavi Dhiman
How to get the best and fairest performance out of your ASR system using activation steering
Shared title terminologycs.CLFelix Herron, Alex Colagrande, Solange Rossato et al.
Diffusion Language Models Change Speed Across Tasks and Languages
Shared title terminologycs.CLMohsen Fayyaz, Ali Modarressi, Daniel Israel et al.
Aligning Cultural Behaviors in Arabic Language Models via Preferences
Shared title terminologycs.CLJunhong Liang, Daniil Orel, Saeed Almheiri et al.
One Head Away from Language Confusion: Single Attention Heads Across Model Families
Shared title terminologycs.CLJiwon Jeong, Anjelo Jann Laroza, Chaewoon Yoon et al.
PV-Decoding: Progressive Verification Decoding with Decode Gating for Diffusion Language Models
Shared title terminologycs.CLRenxi Liu, Yiming Li, Shengyin Sun et al.