Activation Steering for Aligned Open-ended Generation without Sacrificing Coherence

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Herbster, Niklas, Zborowski, Martin, Tosato, Alberto, Gidel, Gauthier, Tosato, Tommaso
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914461446569984
author Herbster, Niklas
Zborowski, Martin
Tosato, Alberto
Gidel, Gauthier
Tosato, Tommaso
author_facet Herbster, Niklas
Zborowski, Martin
Tosato, Alberto
Gidel, Gauthier
Tosato, Tommaso
contents Alignment in LLMs is more brittle than commonly assumed: misalignment can be triggered by adversarial prompts, benign fine-tuning, emergent misalignment, and goal misgeneralization. Recent evidence suggests that some misalignment behaviors are encoded as linear structure in activation space, making it tractable via steering, while safety alignment has been shown to govern the first few output tokens primarily, leaving subsequent generation unguarded. These findings motivate activation steering as a lightweight runtime defense that continuously corrects misaligned activations throughout generation. We evaluate three methods: Steer-With-Fixed-Coeff (SwFC), which applies uniform additive steering, and two novel projection-aware methods, Steer-to-Target-Projection (StTP) and Steer-to-Mirror-Projection (StMP), that use a logistic regression decision boundary to selectively intervene only on tokens whose activations fall below distributional thresholds. Using malicious system prompts as a controlled proxy for misalignment, we evaluate under two threat models (dishonesty and dismissiveness) and two architectures (Llama-3.3-70B-Instruct, Qwen3-32B). All methods substantially recover target traits (honesty and compassion) while preserving coherence. StTP and StMP better maintain general capabilities (MMLU, MT-Bench, AlpacaEval) and produce less repetition in multi-turn conversations.
format Preprint
id arxiv_https___arxiv_org_abs_2604_08169
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Activation Steering for Aligned Open-ended Generation without Sacrificing Coherence
Herbster, Niklas
Zborowski, Martin
Tosato, Alberto
Gidel, Gauthier
Tosato, Tommaso
Artificial Intelligence
Alignment in LLMs is more brittle than commonly assumed: misalignment can be triggered by adversarial prompts, benign fine-tuning, emergent misalignment, and goal misgeneralization. Recent evidence suggests that some misalignment behaviors are encoded as linear structure in activation space, making it tractable via steering, while safety alignment has been shown to govern the first few output tokens primarily, leaving subsequent generation unguarded. These findings motivate activation steering as a lightweight runtime defense that continuously corrects misaligned activations throughout generation. We evaluate three methods: Steer-With-Fixed-Coeff (SwFC), which applies uniform additive steering, and two novel projection-aware methods, Steer-to-Target-Projection (StTP) and Steer-to-Mirror-Projection (StMP), that use a logistic regression decision boundary to selectively intervene only on tokens whose activations fall below distributional thresholds. Using malicious system prompts as a controlled proxy for misalignment, we evaluate under two threat models (dishonesty and dismissiveness) and two architectures (Llama-3.3-70B-Instruct, Qwen3-32B). All methods substantially recover target traits (honesty and compassion) while preserving coherence. StTP and StMP better maintain general capabilities (MMLU, MT-Bench, AlpacaEval) and produce less repetition in multi-turn conversations.
title Activation Steering for Aligned Open-ended Generation without Sacrificing Coherence
topic Artificial Intelligence
url https://arxiv.org/abs/2604.08169