Dynamically Scaled Activation Steering

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ferrando, Alex, Suau, Xavier, Gonzàlez, Jordi, Rodriguez, Pau
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908690854969344
author Ferrando, Alex
Suau, Xavier
Gonzàlez, Jordi
Rodriguez, Pau
author_facet Ferrando, Alex
Suau, Xavier
Gonzàlez, Jordi
Rodriguez, Pau
contents Activation steering has emerged as a powerful method for guiding the behavior of generative models towards desired outcomes such as toxicity mitigation. However, most existing methods apply interventions uniformly across all inputs, degrading model performance when steering is unnecessary. We introduce Dynamically Scaled Activation Steering (DSAS), a method-agnostic steering framework that decouples when to steer from how to steer. DSAS adaptively modulates the strength of existing steering transformations across layers and inputs, intervening strongly only when undesired behavior is detected. At generation time, DSAS computes context-dependent scaling factors that selectively adjust the strength of any steering method. We also show how DSAS can be jointly optimized end-to-end together with the steering function. When combined with existing steering methods, DSAS consistently improves the Pareto front with respect to steering alone, achieving a better trade-off between toxicity mitigation and utility preservation. We further demonstrate DSAS's generality by applying it to a text-to-image diffusion model, showing how adaptive steering allows the modulation of specific concepts. Finally, DSAS introduces minimal computational overhead while improving interpretability, pinpointing which tokens require steering and by how much.
format Preprint
id arxiv_https___arxiv_org_abs_2512_03661
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Dynamically Scaled Activation Steering
Ferrando, Alex
Suau, Xavier
Gonzàlez, Jordi
Rodriguez, Pau
Machine Learning
Artificial Intelligence
Activation steering has emerged as a powerful method for guiding the behavior of generative models towards desired outcomes such as toxicity mitigation. However, most existing methods apply interventions uniformly across all inputs, degrading model performance when steering is unnecessary. We introduce Dynamically Scaled Activation Steering (DSAS), a method-agnostic steering framework that decouples when to steer from how to steer. DSAS adaptively modulates the strength of existing steering transformations across layers and inputs, intervening strongly only when undesired behavior is detected. At generation time, DSAS computes context-dependent scaling factors that selectively adjust the strength of any steering method. We also show how DSAS can be jointly optimized end-to-end together with the steering function. When combined with existing steering methods, DSAS consistently improves the Pareto front with respect to steering alone, achieving a better trade-off between toxicity mitigation and utility preservation. We further demonstrate DSAS's generality by applying it to a text-to-image diffusion model, showing how adaptive steering allows the modulation of specific concepts. Finally, DSAS introduces minimal computational overhead while improving interpretability, pinpointing which tokens require steering and by how much.
title Dynamically Scaled Activation Steering
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2512.03661