Multi-property Steering of Large Language Models with Dynamic Activation Composition

Daniel Scalena, Gabriele Sarti, Malvina Nissim
6/25/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: DanielSc4/Dynamic-Activation-Composition (14 stars, last commit 2024-11-22).

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.

View on arXivView PDF

Code Implementations(1)

Materials for "Multi-property Steering of Large Language Models with Dynamic Activation Composition"

141Python, Jupyter NotebookJun 21, 20241 years ago

Similar Papers

Cite this paper

@article{scalena2024multiproperty,
  title  = {Multi-property Steering of Large Language Models with Dynamic Activation Composition},
  author = {Daniel Scalena and Gabriele Sarti and Malvina Nissim},
  year   = {2024},
  eprint = {2406.17563},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.17563v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17563.svg)](https://codeofpaper.com/paper/2406.17563)

Discussion