Improving Steering Vectors by Targeting Sparse Autoencoder Features

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Chalnev, Sviatoslav, Siu, Matthew, Conmy, Arthur
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913582324645888
author Chalnev, Sviatoslav
Siu, Matthew
Conmy, Arthur
author_facet Chalnev, Sviatoslav
Siu, Matthew
Conmy, Arthur
contents To control the behavior of language models, steering methods attempt to ensure that outputs of the model satisfy specific pre-defined properties. Adding steering vectors to the model is a promising method of model control that is easier than finetuning, and may be more robust than prompting. However, it can be difficult to anticipate the effects of steering vectors produced by methods such as CAA [Panickssery et al., 2024] or the direct use of SAE latents [Templeton et al., 2024]. In our work, we address this issue by using SAEs to measure the effects of steering vectors, giving us a method that can be used to understand the causal effect of any steering vector intervention. We use this method for measuring causal effects to develop an improved steering method, SAE-Targeted Steering (SAE-TS), which finds steering vectors to target specific SAE features while minimizing unintended side effects. We show that overall, SAE-TS balances steering effects with coherence better than CAA and SAE feature steering, when evaluated on a range of tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2411_02193
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Improving Steering Vectors by Targeting Sparse Autoencoder Features
Chalnev, Sviatoslav
Siu, Matthew
Conmy, Arthur
Machine Learning
Artificial Intelligence
Computation and Language
To control the behavior of language models, steering methods attempt to ensure that outputs of the model satisfy specific pre-defined properties. Adding steering vectors to the model is a promising method of model control that is easier than finetuning, and may be more robust than prompting. However, it can be difficult to anticipate the effects of steering vectors produced by methods such as CAA [Panickssery et al., 2024] or the direct use of SAE latents [Templeton et al., 2024]. In our work, we address this issue by using SAEs to measure the effects of steering vectors, giving us a method that can be used to understand the causal effect of any steering vector intervention. We use this method for measuring causal effects to develop an improved steering method, SAE-Targeted Steering (SAE-TS), which finds steering vectors to target specific SAE features while minimizing unintended side effects. We show that overall, SAE-TS balances steering effects with coherence better than CAA and SAE feature steering, when evaluated on a range of tasks.
title Improving Steering Vectors by Targeting Sparse Autoencoder Features
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2411.02193