atlas

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

Controlling Large Language Models Through Concept Activation Vectors

AAAI 2025 · Large language models › Language, safety and interpretability · approach: Task vectors and steering · 4 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 GCAV, a lightweight activation-engineering framework that trains logistic-regression concept activation vectors from contrastive prompts and steers LLM activations with per-sample closed-form strengths to control toxicity, sentiment, topic and style without fine-tuning.

Problem

Controlled LLM generation is costly (fine-tuning) or coarse (prompting, decoding interventions), and existing activation steering uses fixed steering strengths that do not adapt to each input.

Approach

Train a concept activation vector (CAV) per concept from contrastive prompts via a logistic-regression classifier on layer activations, then add the vector to chosen layers with a closed-form, per-sample steering strength that just meets a target concept probability, including joint multi-concept steering via a constrained optimization.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use GCAV-Output instead of Arithmetictoxicity reduction on Llama-2-7b-chat · toxicity_toxictoxicity: 0.1625 -> 0.0879Helped
Use GCAV-Output instead of Arithmetictoxicity reduction on Llama-2-7b-chat · toxicity_randomtoxicity: 0.0816 -> 0.0622Helped
Train CAVs from filtered outputs rather than concept-related input prompts (ablation)GCAV toxicity reduction on Llama-2-7b-chat · toxicity_toxictoxicity: 0.1231 -> 0.0879Helped
Train CAVs from filtered outputs rather than concept-related input prompts (ablation)GCAV toxicity reduction on Llama-2-7b-chat · toxicity_randomtoxicity: 0.0666 -> 0.0622Helped
Train CAVs from filtered outputs rather than concept-related input prompts (ablation)GCAV toxicity reduction on Llama-2-7b · toxicity_toxictoxicity: 0.3494 -> 0.3962Hurt
Train CAVs from filtered outputs rather than concept-related input prompts (ablation)GCAV toxicity reduction on Llama-2-7b · toxicity_randomtoxicity: 0.1005 -> 0.0998Helped
Use GCAV-Output instead of POSPROMPTsentiment control on Llama-2-7b-chat · IMDB sentiment controlSuccess: 0.5280 -> 0.5566Helped
Use GCAV-Output instead of Arithmeticsentiment control on Llama-2-7b · IMDB sentiment controlSuccess: 0.4960 -> 0.4830Hurt

Surprising findings

Limitations

Experimental setup

Datasets: RealToxicityPrompts IMDB movie reviews GPT-4o-generated contrastive prompts

Benchmarks: RealToxicityPrompts (toxicity_toxic, toxicity_random) IMDB sentiment continuation

Metrics: Toxicity (Perspective API) perplexity fluency control success rate topic strength formality accuracy

Baselines: BASE POSPROMPT Arithmetic ActAdd

Builds on: Concept Activation Vectors (TCAV) ActAdd Arithmetic decoding

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