Fine-tuning Compromises LLM Safety
Fine-tuning aligned Large Language Models (LLMs) on a small number of adversarially crafted examples, or even on benign datasets, can compromise their safety alignment, leading to the generation of harmful or inappropriate content. This vulnerability exploits the few-shot learning capabilities of LLMs, allowing attackers to override existing safety mechanisms with minimal effort and cost. Even unintentional fine-tuning with seemingly benign datasets can result in unintended safety degradation.
Evaluated models: GPT-3.5 Turbo, Llama 2 13B Chat, Llama 2 70B Chat+2 more
- GPT-3.5 Turbo
- Llama 2 13B Chat
- Llama 2 70B Chat
- Llama 2 7B Chat
- Llama-1