Safety-Tuned LLaMAs: Lessons from Improving the Safety of Large Language Models that Follow InstructionsSafety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructions
The researchers found that instruction tuning that emphasizes only helpfulness while ignoring harmlessness makes large language models highly unsafe, and that multiple popular instruction-tuned models exhibit this problem. The paper proposes that when fine-tuning models such as LLaMA, adding only 3% safety samples (a few hundred demonstrations) can substantially improve safety, without significantly reducing model capability or helpfulness as measured on standard benchmarks. However, the authors also found exaggerated safety behavior: excessive safety tuning causes the model to refuse prompts that are entirely harmless and merely superficially resemble unsafe requests. Overall results show a trade-off between training a model to be helpful and training it to be safe.