scimeatlas

Research map / Large language models / Language, safety and interpretability

The Art of Defending: A Systematic Evaluation and Analysis of LLM Defense Strategies on Safety and Over-Defensiveness

ACL 2024Large language models › Language, safety and interpretabilityapproach: Safety alignment of LLMsopen problems in this approach102 citations (OpenAlex)

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
5improved
2no clear effect
5hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add safety instruction to prompt (ablation)LLaMA-2-chat 7B · SODE unsafeURUP (%): 21 -> 7.9Improved
add safety instruction to prompt (ablation)LLaMA-2-chat 7B · SODE safeARSP (%): 0.4 -> 2.3Hurt
add in-context exemplars of both safe and unsafe prompts (N=2) (ablation)LLaMA, Vicuna, Orca 7B · SODEURUP and ARSPImproved
use exemplars of only unsafe prompts (ablation)LLaMA-2-chat 7B · SODE safeARSPHurt
increase number of exemplars (ablation)LLaMA-2-chat 7B · SODEURUP and ARSPNo clear effect
combine exemplars with safety instruction (Exemp + Inst) (ablation)exemplars alone · SODEURUPImproved
add contextual knowledge retrieved by Bing search (ablation)LLaMA-2-chat 7B · SODE unsafeURUP (%): 21 -> 28.9Hurt
add contextual knowledge (ablation)Vicuna and Orca · SODE unsafeURUPNo clear effect
add safety instruction on top of contextual knowledge (Know + Inst) (ablation)Know strategy · SODE unsafeURUPImproved
add self-safety check of input or output (ablation)LLaMA, Vicuna, Orca · SODE safeARSPHurt
add 500 unsafe prompts with safe responses to Alpaca instruction tuning (ablation)LLaMA-2 7B · SODE unsafeURUP (%): 50.9 -> 4.2Improved
add many more unsafe examples to instruction tuning (ablation)LLaMA-2 7B · SODE safeARSPHurt

Open problems in safety alignment of LLMs

How can LLM safety be shown to hold across languages, multi-turn use and models beyond small open ones?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy