atlas

Research map / Large language models / Language, safety and interpretability

Programming Refusal with Conditional Activation Steering

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Mechanistic analysis of attention and representations · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Conditional Activation Steering (CAST), which uses condition vectors to gate when a refusal behavior vector is added to hidden states, enabling selective refusal without weight updates.

Problem

Existing activation steering methods alter LLM behavior indiscriminately (e.g., refusal vectors refuse harmless prompts too), limiting use in settings needing selective responses such as content moderation or domain-specific assistants.

Approach

Extract a condition vector from contrastive prompts (via PCA on mean-centered hidden states) and apply the behavior (refusal) vector only when the cosine similarity between the hidden state and the tanh-projected condition vector passes a grid-searched threshold, with logical composition of multiple conditions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add a harmful-prompt condition to refusal activation steering (ablation)Qwen 1.5 1.8B · Sorry-Bench harmful promptsrefusal rate: 100.00% -> 90.67%Mixed
Add a harmful-prompt condition to refusal activation steering (ablation)Qwen 1.5 1.8B · Alpaca harmless promptsrefusal rate: 96.40% -> 2.20%Helped
Add a harmful-prompt condition to refusal activation steering (ablation)Danube 3 Chat · Sorry-Bench harmful promptsrefusal rate: 77.11% -> 69.78%Mixed
Add a harmful-prompt condition to refusal activation steering (ablation)Danube 3 Chat · Alpaca harmless promptsrefusal rate: 46.00% -> 1.80%Helped
Add a harmful-prompt condition to refusal activation steering (ablation)OLMo SFT · Sorry-Bench harmful promptsrefusal rate: 93.33% -> 86.22%Mixed
Add a harmful-prompt condition to refusal activation steering (ablation)OLMo SFT · Alpaca harmless promptsrefusal rate: 89.60% -> 6.00%Helped
Add a harmful-prompt condition to refusal activation steering (ablation)Zephyr Beta · Sorry-Bench harmful promptsrefusal rate: 99.33% -> 88.22%Mixed
Add a harmful-prompt condition to refusal activation steering (ablation)Zephyr Beta · Alpaca harmless promptsrefusal rate: 94.80% -> 6.80%Helped
Add a harmful-prompt condition to refusal activation steering (ablation)Hermes 2 Pro · Sorry-Bench harmful promptsrefusal rate: 98.00% -> 83.33%Mixed
Add a harmful-prompt condition to refusal activation steering (ablation)Hermes 2 Pro · Alpaca harmless promptsrefusal rate: 91.80% -> 2.40%Helped
Add a harmful-prompt condition to refusal activation steering (ablation)Qwen 1.5 32B · Sorry-Bench harmful promptsrefusal rate: 84.44% -> 86.67%Helped
Add a harmful-prompt condition to refusal activation steering (ablation)Qwen 1.5 32B · Alpaca harmless promptsrefusal rate: 80.60% -> 3.20%Helped

Surprising findings

Limitations

Experimental setup

Datasets: Alpaca Sorry-Bench

Benchmarks: Sorry-Bench Alpaca

Metrics: refusal rate on harmful prompts refusal rate on harmless prompts F1 for threshold selection

Baselines: Activation steering (ActAdd-style refusal vector) Prompting baseline

Builds on: ActAdd Representation engineering Refusal direction

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy