atlas

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

Uncovering Safety Risks of Large Language Models through Concept Activation Vector

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Jailbreak elicitation and risk · 2 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 SCAV, a concept-activation-vector safety classifier on LLM embeddings that yields closed-form embedding-level perturbations and guides AutoDAN-based prompt attacks, achieving high attack success on LLaMA-2, GPT-4 and seven open LLMs.

Problem

Existing jailbreak attacks on LLMs rely on heuristic embedding perturbations and heuristic target responses, yielding suboptimal attack success, low response quality, and costly hyperparameter grid search.

Approach

Model the LLM's safety concept with a linear classifier (concept activation vector) on intermediate embeddings; the classifier gives a closed-form minimal-norm perturbation along its normal vector with automatic layer selection, and its malicious probability serves as the attack objective for prompt search with AutoDAN.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use SCAV embedding-level attacks instead of the strongest baselineLLaMA-2-7B-Chat · Advbench and StrongREJECTASR-useful: +6 / +4Helped
use SCAV embedding-level attacks instead of the strongest baselineLLaMA-2-13B-Chat · Advbench and StrongREJECTASR-useful: +12 / +4Helped
use SCAV prompt-level attacks instead of the strongest baselineLLaMA-2-7B-Chat · Advbench and StrongREJECTASR-useful: +30 / +24Helped
use SCAV prompt-level attacks instead of the strongest baselineLLaMA-2-13B-Chat · Advbench and StrongREJECTASR-useful: +14 / +30Helped
automatically select perturbation hyperparameters rather than manually choosing them (ablation)SCAV embedding-level attack · reported attack settingsASR-useful: 2%~10%Helped
automatically select perturbation hyperparameters rather than manually choosing them (ablation)SCAV embedding-level attack · reported attack settingsLanguage flaws: up to 20%Helped
add L2 regularization instead of L1 regularization (ablation)SCAV classifier · Advbench, LLaMA-2-7B-ChatASR-keyword: 0 -> 100Helped
vary the L2 regularization coefficient from λ=0.5 to λ=2 (ablation)SCAV classifier · Advbench, LLaMA-2-7B-ChatASR-keyword: 100 -> 98No clear effect
vary P0 and P1 across the reported settings (ablation)SCAV embedding-level attack · Advbench, LLaMA-2-7B-ChatASR-keyword: 98 to 100No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench HarmfulQA StrongREJECT

Benchmarks: AdvBench StrongREJECT AdvExtent

Metrics: ASR-keyword ASR-answer ASR-useful language flaws harmfulness score

Baselines: DeepInception AutoDAN GCG RepE JRE Soft prompt

Builds on: Concept Activation Vector AutoDAN RepE GCG

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