LGJul 17, 2024

Analyzing the Generalization and Reliability of Steering Vectors

arXiv:2407.12404v892 citationsh-index: 11Has Code
Originality Incremental advance
AI Analysis

This work addresses the problem of ensuring reliable and scalable control over language models for researchers and practitioners, highlighting incremental technical difficulties in applying steering vectors.

The paper investigates the reliability and generalization of steering vectors for adjusting language model behavior, finding substantial limitations including high variability across inputs and brittleness to prompt changes, which challenge their widespread use.

Steering vectors (SVs) have been proposed as an effective approach to adjust language model behaviour at inference time by intervening on intermediate model activations. They have shown promise in terms of improving both capabilities and model alignment. However, the reliability and generalisation properties of this approach are unknown. In this work, we rigorously investigate these properties, and show that steering vectors have substantial limitations both in- and out-of-distribution. In-distribution, steerability is highly variable across different inputs. Depending on the concept, spurious biases can substantially contribute to how effective steering is for each input, presenting a challenge for the widespread use of steering vectors. Out-of-distribution, while steering vectors often generalise well, for several concepts they are brittle to reasonable changes in the prompt, resulting in them failing to generalise well. Overall, our findings show that while steering can work well in the right circumstances, there remain technical difficulties of applying steering vectors to guide models' behaviour at scale. Our code is available at https://github.com/dtch1997/steering-bench

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes