Skip to content

Steering without side effects: Improving post-deployment control of language modelsSteering Without Side Effects: Improving Post-Deployment Control of Language Models

arXiv· arXiv:2406.15518· Asa Cooper Stickland, Alexander Lyzhov, Jacob Pfau, Salsabila Mahdi, Samuel R. Bowman·Indexed by this site · 27 days ago· Originally publishedDefenses
AI summary

The researchers propose the KL-then-steer (KTS) method to reduce the side effects of steering while retaining its benefits, for post-deployment control of language models. Existing approaches first identify potentially problematic inputs and then selectively apply a steering vector, but when the classifier misjudges, steering harms the model's normal performance. KTS first trains the model to minimize the KL divergence between the steered and unsteered models on benign inputs, then applies steering to that model. On Llama-2-chat-7B, the best configuration blocks 44% of jailbreak attacks compared with the original model, while helpfulness on benign requests on MT-Bench is nearly on par with the original model. The paper also shows that the KTS model can be steered to reduce its tendency on TruthfulQA to favor answers suggested by the user. The code is open-sourced on GitHub (https://github.com/AsaCooperStickland/kl-then-steer)。

Related events and news

0 events · 1 news mentions

News that mentions this paper

Read originalarxiv.org