Multi-property Steering of Large Language Models with Dynamic Activation Composition
Abstract
Activation steering methods were shown to be effective in conditioning language model generation by additively intervening over models' intermediate representations. However, the evaluation of these techniques has so far been limited to single conditioning properties and synthetic settings. In this work, we conduct a comprehensive evaluation of various activation steering strategies, highlighting the property-dependent nature of optimal parameters to ensure a robust effect throughout generation. To address this issue, we propose Dynamic Activation Composition, an information-theoretic approach to modulate the steering intensity of one or more properties throughout generation. Our experiments on multi-property steering show that our method successfully maintains high conditioning while minimizing the impact of conditioning on generation fluency.
Community
This work focuses on identifying an optimal strategy for multi-property steering of LLMs to combine language conditioning with stylistic properties like safety and formality. The optimal steering intensity is found to be property-dependent, with a trade-off between steering accuracy and output fluency. A novel approach, Dynamic Activation Composition, is proposed to modulate the steering intensity across generation steps from the expected shift in the LLM predictive distribution, minimizing the impact of the steering procedure on generation fluency while ensuring sufficient conditioning.
Code: https://github.com/DanielSc4/Dynamic-Activation-Composition
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper