atlas

Research map / Large language models / Reasoning and chain of thought

Semantics-Adaptive Activation Intervention for LLMs via Dynamic Steering Vectors

ICLR 2025 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 3 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 SADI, a training-free activation intervention that masks top-K contrastive-difference elements (heads, neurons, or hidden states) and scales them by the input's own activations at inference, so the steering direction adapts to each input.

Problem

Activation intervention methods use a fixed steering vector for all inputs, which can misalign with the semantics of individual inputs and hurt task performance, especially when the mismatch is large.

Approach

Build a binary mask from top-K mean activation differences between positive and negative contrastive pairs, then at inference scale the masked elements of each input's own activations (A' = A + δ(A ⊙ M)) instead of adding a fixed mean-difference vector, making the intervention input-dependent.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use SADI-Head instead of CAALLaMA2-7b-chat · StoryClozeaccuracy: 79.75 vs 74.65Helped
use SADI-Head instead of the baselineLLaMA2-7b-chat · TruthfulQA generationTrue×Info: 76.58 vs 66.50Helped
use SADI-Neuron instead of the baselineLLaMA2-7b-chat · ToxiGentoxicity: 17.14 vs 49.71Helped
use SADI-Head instead of the baselineLLaMA2-7b-chat · COPAaccuracy: 78.80 vs 70.80Helped
use SADI-Hidden instead of the baselineLLaMA2-7b-chat · TruthfulQA generationTrue×Info: 25.38 vs 66.50Hurt
select top elements by activation difference rather than random elements (ablation)SADI-Head · COPAaccuracy: 72.40 -> 78.80Helped
select top elements by activation difference rather than random elements (ablation)SADI-Head · StoryClozeaccuracy: 71.87 -> 79.75Helped
select top elements by activation difference rather than random elements (ablation)SADI-Head · Winograndeaccuracy: 52.88 -> 53.04Helped
select top elements by activation difference rather than random elements (ablation)SADI-Head · SST2accuracy: 91.48 -> 92.20Helped
select top elements by activation difference rather than random elements (ablation)SADI-Head · TriviaQAEM: 42.90 -> 44.00Helped
use input-adaptive steering rather than a fixed steering vector (ablation)SADI-Head · COPAaccuracy: 71.20 -> 78.80Helped
use input-adaptive steering rather than a fixed steering vector (ablation)SADI-Head · StoryClozeaccuracy: 69.42 -> 79.75Helped

Surprising findings

Limitations

Experimental setup

Datasets: COPA StoryCloze NLI MMLU SST2 SST5 BoolQ Winogrande TriviaQA TruthfulQA ToxiGen RealToxicityPrompts

Benchmarks: COPA StoryCloze NLI MMLU SST2 SST5 BoolQ Winogrande TriviaQA TruthfulQA ToxiGen XCOPA

Metrics: accuracy exact match multiple-choice accuracy (MC1/MC2/MC3) truthful and informative judge scores toxicity (HateBERT classifier)

Baselines: ITI CAA SFT baseline (no intervention)

Builds on: Inference-Time Intervention Contrastive Activation Addition linear representation hypothesis

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