Towards Steering without Sacrifice: Principled Training of Steering Vectors for Prompt-only Interventions

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Bao, Yuntai, Li, Qinfeng, Yu, Xinyan, Zhang, Xuhong, Su, Ge, Zhang, Wenqi, Yan, Liu, Weng, Haiqin, Yin, Jianwei
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915989054029824
author Bao, Yuntai
Li, Qinfeng
Yu, Xinyan
Zhang, Xuhong
Su, Ge
Zhang, Wenqi
Yan, Liu
Weng, Haiqin
Yin, Jianwei
author_facet Bao, Yuntai
Li, Qinfeng
Yu, Xinyan
Zhang, Xuhong
Su, Ge
Zhang, Wenqi
Yan, Liu
Weng, Haiqin
Yin, Jianwei
contents Recently, steering vectors (SVs) have emerged as an effective and lightweight approach to steer behaviors of large language models (LLMs), among which fine-tuned SVs are more effective than optimization-free ones. However, current approaches to fine-tuned SVs suffer from two limitations. First, they require careful selection of steering factors on a per-SV basis to balance steering effectiveness and generation quality at inference time. Second, they operate as full-sequence SVs (FSSVs), which can sacrifice generation quality regardless of factor selection due to excessive intervention on the model generation process. To address the first limitation, we propose joint training of steering factors and directions, such that post-hoc factor selection is no longer required. Using neural network scaling theory, we find that moderately large initialization sizes and learning rates for steering factors are essential for stability and efficiency of joint training. To tackle the second limitation, we draw inspiration from representation fine-tuning and introduce Prompt-only SV (PrOSV), an SV that intervenes only on a few prompt tokens. Our empirical results show that PrOSV outperforms traditional FSSVs on AxBench when using our joint training scheme. We also find that PrOSV achieves a better tradeoff between general model utility and adversarial robustness than FSSV.
format Preprint
id arxiv_https___arxiv_org_abs_2605_05983
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Towards Steering without Sacrifice: Principled Training of Steering Vectors for Prompt-only Interventions
Bao, Yuntai
Li, Qinfeng
Yu, Xinyan
Zhang, Xuhong
Su, Ge
Zhang, Wenqi
Yan, Liu
Weng, Haiqin
Yin, Jianwei
Machine Learning
Recently, steering vectors (SVs) have emerged as an effective and lightweight approach to steer behaviors of large language models (LLMs), among which fine-tuned SVs are more effective than optimization-free ones. However, current approaches to fine-tuned SVs suffer from two limitations. First, they require careful selection of steering factors on a per-SV basis to balance steering effectiveness and generation quality at inference time. Second, they operate as full-sequence SVs (FSSVs), which can sacrifice generation quality regardless of factor selection due to excessive intervention on the model generation process. To address the first limitation, we propose joint training of steering factors and directions, such that post-hoc factor selection is no longer required. Using neural network scaling theory, we find that moderately large initialization sizes and learning rates for steering factors are essential for stability and efficiency of joint training. To tackle the second limitation, we draw inspiration from representation fine-tuning and introduce Prompt-only SV (PrOSV), an SV that intervenes only on a few prompt tokens. Our empirical results show that PrOSV outperforms traditional FSSVs on AxBench when using our joint training scheme. We also find that PrOSV achieves a better tradeoff between general model utility and adversarial robustness than FSSV.
title Towards Steering without Sacrifice: Principled Training of Steering Vectors for Prompt-only Interventions
topic Machine Learning
url https://arxiv.org/abs/2605.05983