Guiding Giants: Lightweight Controllers for Weighted Activation Steering in LLMs

Read full text
Authors: Amr Hegazy, Mostafa Elhoushi, Amr Alanwar
Cited by: 0

Abstract

Controlling undesirable LLM behaviors typically requires costly fine-tuning, while existing inference-time steering methods lack fine-grained adaptivity.We introduce a lightweight, trainable controller network for adaptive inference-time control.The controller observes intermediate LLM activations to predict a global scaling factor and layerspecific weights, which dynamically modulate a pre-computed "refusal direction" vector.Trained on harmful and benign prompts, the controller learns to apply nuanced, layeraware steering selectively.Experiments on Llama and Mistral models show our method significantly increases refusal rates on safety benchmarks like ToxicChat, outperforming existing approaches without altering the original model parameters.Our implementation is available

Fields of Study & Subjects

Advanced Control Systems Optimization

Publication details

Journal / source
Proceedings of the 6th Workshop on Trustworthy NLP (TrustNLP 2026)
Publisher
Association for Computational Linguistics
Pages
584–599
Publication date
1 January 2026
Language
EN