atlas

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

SCANS: Mitigating the Exaggerated Safety for LLMs via Safety-Conscious Activation Steering

AAAI 2025 · Large language models › Language, safety and interpretability · approach: Safety alignment of LLMs · 5 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 SCANS, a training-free activation steering method that adds/subtracts a refusal steering vector in middle layers, with a hidden-state-transition similarity classifier choosing the direction, to reduce exaggerated safety while keeping safety and capability.

Problem

Safety-aligned LLMs exhibit exaggerated safety, refusing benign queries that share vocabulary with harmful ones, which limits helpfulness; existing fixes are either training-based with poor results on such queries or decoding/prompt-based with added cost.

Approach

Extract refusal steering vectors as the mean activation difference between harmful and benign queries, anchor steering to middle layers via vocabulary projection, and decide steering direction per query by cosine similarity of a hidden-state transition (query vs. query+"Sure") to a harm reference direction.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply SCANS activation steeringaligned LLMs · XSTest (all models)Safe refusal rate: 15.70 -> 7.80Helped
apply SCANS activation steeringaligned LLMs · XSTest (all models)Avg. score: 88.05 -> 92.50Helped
apply SCANS activation steeringaligned LLMs · OKTest (all models)Refusal rate: 22.58 -> 1.75Helped
apply SCANS activation steeringaligned LLMs · AdvBench (all models)Refusal rate: 99.41 -> 99.24No clear effect
apply SCANS to Llama2-7b-chatLlama2-7b-chat · WikiText-2Perplexity: 7.76 -> 9.32Hurt
apply SCANS to Llama2-7b-chatLlama2-7b-chat · MMLUAvg. accuracy: 47.20 -> 40.50Hurt
apply SCANS to Llama2-7b-chatLlama2-7b-chat · XSumROUGE-1: 21.38 -> 20.07Hurt
steer middle rather than latter layers (ablation)SCANS on Llama2-7b-chat · XSTestSafe refusal rate: 12.00 -> 9.20Helped
steer middle rather than latter layers (ablation)SCANS on Llama2-7b-chat · XSTestAvg. score: 91.11 -> 92.00Helped
steer middle rather than latter layers (ablation)SCANS on Llama2-7b-chat · WikiText2Perplexity: 8.15 -> 9.32Hurt
vary steering multiplier alpha from 1.5 to 4.0 (ablation)SCANS on Llama2-7b-chat · XSTestAvg. score: 96.41; 96.85; 97.47; 97.57; 97.76; 97.57Mixed
vary classification threshold from 0.80 to 0.60 (ablation)SCANS on Llama2-7b-chat · XSTestAvg. score: 96.21; 97.67; 92.52; 85.62; 75.57Mixed

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench TruthfulQA XSTest OKTest RepE-Data Malicious MMLU XSum WikiText-2 C4 OR-Bench

Benchmarks: XSTest OKTest RepE-Data AdvBench Malicious TruthfulQA MMLU XSum WikiText-2 C4 OR-Bench

Metrics: refusal rate average safe/unsafe accuracy ROUGE-1/2/L accuracy perplexity precision/recall/F1 inference speed GPU memory

Baselines: Prompt Self-CD SafeDecoding DRO Llama Guard GradSafe GPT-4 OpenAI Moderation API Perspective API

Builds on: mean difference steering representation engineering contrastive decoding (Self-CD) SafeDecoding

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