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
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
- COPA leaderboard accuracy 88 · rank 8 of 25 papers
- CB leaderboard accuracy 62.5 · rank 14 of 14 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| fine-tune with defense framework on SAP5 | Alpaca-LoRA-7B · SAP20 test | average harmful score: 8.49 -> 0.01 | Improved |
| fine-tune with defense framework on SAP5 | Alpaca-LoRA-7B · Dual-Use | average harmful score: 6.63 -> 2.14 | Improved |
| fine-tune with defense framework on SAP30 | Alpaca-LoRA-13B · BAD+ | average harmful score: 3.44 -> 1.53 | Improved |
| fine-tune with defense framework on SAP30 | Alpaca-LoRA-13B · SAP20 test | average harmful score: 8.30 -> 2.97 | Improved |
| use SAP30 attack prompts instead of Dual-Use | gpt-3.5-turbo-0301 · attack harmful score | average harmful score: 5.41 -> 8.70 | Improved |
| use SAP30 attack prompts instead of BAD+ | text-davinci-003 · attack harmful score | average harmful score: 1.87 -> 7.18 | Improved |
| fine-tune with defense framework (SAP5/10/30) | Alpaca-LoRA-7B and 13B · ARC-Easy, BoolQ, RACE | accuracy: 13B ARC-Easy 0.763 -> 0.763/0.769/0.767 | No clear effect |
| fine-tune on SAP5 with defense framework | Alpaca-LoRA-7B · COPA | accuracy: 0.870 -> 0.807 | Hurt |
| fine-tune on SAP5 with defense framework | Alpaca-LoRA-13B · CB | accuracy: 0.589 -> 0.607 | Improved |
| fine-tune on SAP30 with defense framework | Alpaca-LoRA-7B · CB | accuracy: 0.589 -> 0.536 | Hurt |
| regenerate new fine-tuning prompts with attack framework each round (vs fixed prompts, defense-WID) (ablation) | Alpaca-LoRA-13B defense · BAD+ | average harmful score | Improved |
| fine-tune on a fixed dataset without prompt extension (ablation) | defense framework · test sets | average harmful score | Hurt |
Closest papers by meaning
- Learning Diverse Attacks on Large Language Models for Robust Red-Teaming and Safety Tuning (ICLR 2025 · similarity 0.94)
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal (ICML 2024 · similarity 0.91)
- Text-Diffusion Red-Teaming of Large Language Models: Unveiling Harmful Behaviors with Proximity Constraints (AAAI 2025 · similarity 0.90)
- DiveR-CT: Diversity-enhanced Red Teaming Large Language Model Assistants with Relaxing Constraints (AAAI 2025 · similarity 0.89)
- Automated Red Teaming with GOAT: the Generative Offensive Agent Tester (ICML 2025 · similarity 0.89)
- Tensor Trust: Interpretable Prompt Injection Attacks from an Online Game (ICLR 2024 · similarity 0.89)
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.
