AI Paper Atlas

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

Attack Prompt Generation for Red Teaming and Defending Large Language Models

Boyi Deng, Wenjie Wang, Fuli Feng, Yang Deng, Qifan Wang, Xiangnan He

EMNLP 2023Large language models › Language, safety and interpretabilityapproach: Safety alignment of LLMs179 citations (OpenAlex)

National University of Singapore · University of Science and Technology of China

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

12measured effects
8improved
1no clear effect
3hurt

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
fine-tune with defense framework on SAP5Alpaca-LoRA-7B · SAP20 testaverage harmful score: 8.49 -> 0.01Improved
fine-tune with defense framework on SAP5Alpaca-LoRA-7B · Dual-Useaverage harmful score: 6.63 -> 2.14Improved
fine-tune with defense framework on SAP30Alpaca-LoRA-13B · BAD+average harmful score: 3.44 -> 1.53Improved
fine-tune with defense framework on SAP30Alpaca-LoRA-13B · SAP20 testaverage harmful score: 8.30 -> 2.97Improved
use SAP30 attack prompts instead of Dual-Usegpt-3.5-turbo-0301 · attack harmful scoreaverage harmful score: 5.41 -> 8.70Improved
use SAP30 attack prompts instead of BAD+text-davinci-003 · attack harmful scoreaverage harmful score: 1.87 -> 7.18Improved
fine-tune with defense framework (SAP5/10/30)Alpaca-LoRA-7B and 13B · ARC-Easy, BoolQ, RACEaccuracy: 13B ARC-Easy 0.763 -> 0.763/0.769/0.767No clear effect
fine-tune on SAP5 with defense frameworkAlpaca-LoRA-7B · COPAaccuracy: 0.870 -> 0.807Hurt
fine-tune on SAP5 with defense frameworkAlpaca-LoRA-13B · CBaccuracy: 0.589 -> 0.607Improved
fine-tune on SAP30 with defense frameworkAlpaca-LoRA-7B · CBaccuracy: 0.589 -> 0.536Hurt
regenerate new fine-tuning prompts with attack framework each round (vs fixed prompts, defense-WID) (ablation)Alpaca-LoRA-13B defense · BAD+average harmful scoreImproved
fine-tune on a fixed dataset without prompt extension (ablation)defense framework · test setsaverage harmful scoreHurt

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