Beyond Linear Steering: Unified Multi-Attribute Control for Language Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Oozeer, Narmeen, Marks, Luke, Jain, Shreyans, Barez, Fazl, Abdullah, Amirali
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914443971002368
author Oozeer, Narmeen
Marks, Luke
Jain, Shreyans
Barez, Fazl
Abdullah, Amirali
author_facet Oozeer, Narmeen
Marks, Luke
Jain, Shreyans
Barez, Fazl
Abdullah, Amirali
contents Controlling multiple behavioral attributes in large language models (LLMs) at inference time is a challenging problem due to interference between attributes and the limitations of linear steering methods, which assume additive behavior in activation space and require per-attribute tuning. We introduce K-Steering, a unified and flexible approach that trains a single non-linear multi-label classifier on hidden activations and computes intervention directions via gradients at inference time. This avoids linearity assumptions, removes the need for storing and tuning separate attribute vectors, and allows dynamic composition of behaviors without retraining. To evaluate our method, we propose two new benchmarks, ToneBank and DebateMix, targeting compositional behavioral control. Empirical results across 3 model families, validated by both activation-based classifiers and LLM-based judges, demonstrate that K-Steering outperforms strong baselines in accurately steering multiple behaviors.
format Preprint
id arxiv_https___arxiv_org_abs_2505_24535
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Beyond Linear Steering: Unified Multi-Attribute Control for Language Models
Oozeer, Narmeen
Marks, Luke
Jain, Shreyans
Barez, Fazl
Abdullah, Amirali
Machine Learning
Artificial Intelligence
Computation and Language
Controlling multiple behavioral attributes in large language models (LLMs) at inference time is a challenging problem due to interference between attributes and the limitations of linear steering methods, which assume additive behavior in activation space and require per-attribute tuning. We introduce K-Steering, a unified and flexible approach that trains a single non-linear multi-label classifier on hidden activations and computes intervention directions via gradients at inference time. This avoids linearity assumptions, removes the need for storing and tuning separate attribute vectors, and allows dynamic composition of behaviors without retraining. To evaluate our method, we propose two new benchmarks, ToneBank and DebateMix, targeting compositional behavioral control. Empirical results across 3 model families, validated by both activation-based classifiers and LLM-based judges, demonstrate that K-Steering outperforms strong baselines in accurately steering multiple behaviors.
title Beyond Linear Steering: Unified Multi-Attribute Control for Language Models
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2505.24535