HyperSteer: Activation Steering at Scale with Hypernetworks
By: Jiuding Sun , Sidharth Baskaran , Zhengxuan Wu and more
Potential Business Impact:
Teaches computers to write what you ask.
Steering language models (LMs) by modifying internal activations is a popular approach for controlling text generation. Unsupervised dictionary learning methods, e.g., sparse autoencoders, can be scaled to produce many steering vectors, but lack guarantees on the individual efficacy of each vector and control over the coverage of relevant steering tasks. In contrast, supervised methods for constructing steering vectors are targeted and effective, but require more data collection and training for each additional steering vector produced. In this work, we introduce HyperSteer, a family of hypernetwork-based architectures which are trained end-to-end to generate steering vectors conditioned on the natural language steering prompts and the internals of the steered LM. In our evaluations, we show that scaling HyperSteer with thousands of steering prompts exceeds the performance of state-of-the-art activation steering methods, even on steering prompts never seen during training. Moreover, HyperSteer performs on par with steering-via-prompting.
Similar Papers
ExpertSteer: Intervening in LLMs through Expert Knowledge
Computation and Language
Guides AI to act as you want.
Steering Large Language Model Activations in Sparse Spaces
Machine Learning (CS)
Teaches AI to follow instructions better.
SteerVLM: Robust Model Control through Lightweight Activation Steering for Vision Language Models
CV and Pattern Recognition
Makes AI understand pictures better when you tell it.