paper-with-me

Papers

Steering Without Side Effects: Improving Post-Deployment Control of Language Models

2024-06-21 · Asa Cooper Stickland, Alexander Lyzhov, Jacob Pfau, Salsabila Mahdi, Samuel R. Bowman

Language models (LMs) have been shown to behave unexpectedly post-deployment. For example, new jailbreaks continually arise, allowing model misuse, despite extensive red-teaming and adversarial training from developers. Given most model queries are unproblematic and frequent retraining results in unstable user experience, methods for mitigation of worst-case behavior should be targeted. One such method is classifying inputs as potentially problematic, then selectively applying steering vectors on these problematic inputs, i.e. adding particular vectors to model hidden states. However, steering vectors can also negatively affect model performance, which will be an issue on cases where the classifier was incorrect. We present KL-then-steer (KTS), a technique that decreases the side effects of steering while retaining its benefits, by first training a model to minimize Kullback-Leibler (KL) divergence between a steered and unsteered model on benign inputs, then steering the model that has undergone this training. Our best method prevents 44% of jailbreak attacks compared to the original Llama-2-chat-7B model while maintaining helpfulness (as measured by MT-Bench) on benign requests almost on par with the original LM. To demonstrate the generality and transferability of our method beyond jailbreaks, we show that our KTS model can be steered to reduce bias towards user-suggested answers on TruthfulQA. Code is available: https://github.com/AsaCooperStickland/kl-then-steer.

📄 PDF Abstract BibTeX arXiv:2406.15518

Code (1)

asacooperstickland/kl-then-steer 공식 구현 pytorch

Tasks

Red TeamingTruthfulQA

Similar Papers 제목 키워드 기반

Improving Steering Vectors by Targeting Sparse Autoencoder Features

2024-11-04 · Sviatoslav Chalnev, Matthew Siu, Arthur Conmy

To control the behavior of language models, steering methods attempt to ensure that outputs of the model satisfy specific pre-defined properties. Adding steering vectors to the model is a promising method of model contro…

Understanding and Mitigating Dataset Corruption in LLM Steering

2026-03-03 · Cullen Anderson, Narmeen Oozeer, Foad Namjoo, Remy Ogasawara 외 arxiv

Contrastive steering has been shown as a simple and effective method to adjust the generative behavior of LLMs at inference time. It uses examples of prompt responses with and without a trait to identify a direction in a…

Towards Understanding Steering Strength

2026-02-02 · Magamed Taimeskhanov, Samuel Vaiter, Damien Garreau arxiv

A popular approach to post-training control of large language models (LLMs) is the steering of intermediate latent representations. Namely, identify a well-chosen direction depending on the task at hand and perturbs repr…

Steering Externalities: Benign Activation Steering Unintentionally Increases Jailbreak Risk for Large Language Models

2026-02-03 · Chen Xiong, Zhiyuan He, Pin-Yu Chen, Ching-Yun Ko 외 arxiv

Activation steering is a practical post-training model alignment technique to enhance the utility of Large Language Models (LLMs). Prior to deploying a model as a service, developers can steer a pre-trained model toward …

Pre-Intervention Prediction of Sparse Autoencoder Steering Side Effects

2026-06-06 · Evan Duan arxiv

Sparse autoencoder (SAE) features are increasingly used to steer language models, but feature steering is rarely clean: the same intervention can behave inconsistently across contexts and perturb unrelated features. We i…