# Poster 29806

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/29806

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello, thank you for coming to this presentation. I'm Bruce, and I'm a junior at the University of Pennsylvania. Today I'll present our work on programming refusal with conditional activation steering. LLMs have shown remarkable capabilities, but precisely controlling their response behavior is challenging. Especially for using weight optimization techniques like fine tuning, it can be difficult to know how exactly we're influencing our model's behavior.
In activation steering directly intervenes in the model's representation instead, making it possible for us to more directly influence the models into doing what we want them to do. The problem here, though, is that activation steering by itself does not enable us to condition a one-to-actuation behaviors. This is problematic for practical applications.
of activation sharing, because for example, you would only want your model to only refuse harmful prompts. The core contribution of this paper is that we expand upon the existing formulation to leverage two types of vectors, a behavior vector and a condition vector. In the paper, we evaluate the feasibility of such an approach and allude to a larger possibility of programmatically controlling a language model's behavior.
Activation steering in a nutshell is a class of methods that intervenes in the information flow within LLMs from layer to layer. To implement activation steering, we usually start by extracting a steering vector. One way of computing this is just by using the average difference in activations between the examples that exhibit a desired behavior and those that don't exhibit the desired behavior.
Second, during inference, the steering vector v is added to the model's hidden states at a chosen layer. Finally, the model completes the object using these artificially modified activations. Concurrently, this means that, for example, you could make a model refuse any instructions when you add a steering vector that reliably induces the refusal behavior.
So on the semantic map to the right, we're using our Pugger dataset as a proxy for harmless instructions and SoraBench dataset as a proxy for harmful instructions. We can observe that occupation steering is essentially blind. It doesn't discriminate between harmless and harmful responses, but ideally we want to control our models to only conditionally refuse a certain set of instructions like asking for adult content for example.
instead of refusing everything. And we show that you can induce this conditional behavioral language models by introducing a second vector into the original formulation. Now under this new formulation, whether or not we would apply the behavior vector is conditioned based on how similar or different the model's activation was to its own projection to the conditional vector C.
A Calisthenic vector can capture behavior concept like refusal, a condition vector can capture the nature of the prompt, and basically what condition the model was put under. Intuitively speaking, during inference time, the similarity time computes the degree to which the condition was met. The dress holding function app.
then determines whether this degree was sufficient enough to trigger the behavior modification or not. What do I mean by the threshold though? This is not just harmful problems and harmless problems passing through a llama model and they record their similarities. You can see that the projection operation is creating a nice separation between the ones that satisfy the condition and those that don't satisfy.
So in a scenario like this, we could choose to intervene in the lower half and only get refusal to harmful prompts while leaving alone the harmless one, which was in the upper half. So basically what happens here is that given the same semantic map of harmful prompts and harmless prompts, the base model initially does not know how to refuse anything.
Now when you do conventional liquid vision steering, the model just indiscriminately refuses all prompts, making the model useless. But what conditional liquid vision steering does is that it sort of gives an eye and make it possible to intervene only in the target condition. So this was the brief summary of our conditional liquid vision steering study.
Instead of the logic research agenda that we're operating with here, it's asking if we could programmatically control language model behaviors. We think that this opens up exciting possibilities for new alignment techniques that are predictive and foreseeable in nature. For more details in the applications, including logical operation with multiple conditions, please check out our paper. We've also released an open source implementation for researchers to experiment with.
Thank you for your time.
