arXiv Open Access 2024

Surgical, Cheap, and Flexible: Mitigating False Refusal in Language Models via Single Vector Ablation

Xinpeng Wang Chengzhi Hu Paul Röttger Barbara Plank
Lihat Sumber

Abstrak

Training a language model to be both helpful and harmless requires careful calibration of refusal behaviours: Models should refuse to follow malicious instructions or give harmful advice (e.g."how do I kill someone?"), but they should not refuse safe requests, even if they superficially resemble unsafe ones (e.g. "how do I kill a Python process?"). Avoiding such false refusal, as prior work has shown, is challenging even for highly-capable language models. In this paper, we propose a simple and surgical method for mitigating false refusal in language models via single vector ablation. For a given model, we extract a false refusal vector and show that ablating this vector reduces false refusal rate while preserving the model's safety and general capabilities. We also show that our approach can be used for fine-grained calibration of model safety. Our approach is training-free and model-agnostic, making it useful for mitigating the problem of false refusal in current and future language models.

Topik & Kata Kunci

Penulis (4)

X

Xinpeng Wang

C

Chengzhi Hu

P

Paul Röttger

B

Barbara Plank

Format Sitasi

Wang, X., Hu, C., Röttger, P., Plank, B. (2024). Surgical, Cheap, and Flexible: Mitigating False Refusal in Language Models via Single Vector Ablation. https://arxiv.org/abs/2410.03415

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2024
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓