scimeatlas

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

SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding

Zhangchen Xu, Fengqing Jiang, Luyao Niu, Jinyuan Jia, Bill Yuchen Lin, Radha Poovendran

ACL 2024Large language models › Language, safety and interpretabilityapproach: Jailbreak attacks and defensesopen problems in this approach408 citations (OpenAlex)

University of Washington · Pennsylvania State University · Allen Institute for AI

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

14measured effects
3improved
4no clear effect
7hurt

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.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add SafeDecodingVicuna-7B · DeepInceptionASR: 100% -> 0%Improved
add SafeDecodingLlama2-7B-chat · GCGASR: 32% -> 0%Improved
add SafeDecodingVicuna-7B · MT-Benchscore: 6.70 -> 6.63No clear effect
add SafeDecodingLlama2-7B-chat · MT-Benchscore: 6.38 -> 6.07Hurt
add SafeDecodingVicuna-7B · Just-Evalhelpfulness: 4.247 -> 4.072Hurt
add Self-ExaminationLlama2-7B-chat · MT-Benchscore: 6.38 -> 1.31Hurt
add SafeDecodingLlama2-7B-chat · ATGRtime ratio: 1.03xNo clear effect
use expert model alone instead of SafeDecoding (ablation)Vicuna-7B · MT-Benchscore: 6.63 -> 3.46Hurt
use expert model alone instead of SafeDecoding (ablation)Vicuna-7B · PAIRASR: 4% -> 18%Hurt
use expert as classifier instead of SafeDecoding (ablation)Vicuna-7B · AutoDANASR: 0% -> 70%Hurt
increase alpha, m, c (ablation)SafeDecoding on Vicuna · jailbreak attacksASR and harmful scoreImproved
increase top-p sampling p (ablation)SafeDecoding on Vicuna · jailbreak attacksASRHurt

Later papers that compared with this method

24 later accepted papers report SafeDecoding as a baseline in their results tables; 23 of them report a better number on most of the results they share with it.

16 more not listed.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in jailbreak attacks and defenses

How can jailbreak attacks and defenses be tested on real deployed models, in more languages, with judges that can be trusted?

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