Research map / Adversarial robustness and security / Attacks on text and graphs
SafetyMem: Adaptive Jailbreak Defense via Dual-Component Safety Memory
Hao Wang, Ziyi Ni, Huacan Wang, Pin Lyu, Lei Sha
Beihang University · University of Chinese Academy of Sciences · Zhongguancun Laboratory · Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| add episodic safety memory (ESM) reasoning rules (ablation) | SafetyMem · Hard test set (LLaMA3-8B) | ASR (%): 28.51 -> 15.84 | Improved |
| add semantic safety memory (SSM) pattern retrieval (ablation) | SafetyMem · Hard test set (LLaMA3-8B) | ASR (%): 21.93 -> 15.84 | Improved |
| add semantic safety memory (SSM) pattern retrieval (ablation) | SafetyMem · Hard test set (LLaMA3-8B) | FPR (%): 29.33 -> 12.60 | Improved |
| add adversarial memory expansion (ablation) | SafetyMem · Hard test set (LLaMA3-8B) | ASR (%): 18.29 -> 15.84 | Improved |
| add adversarial memory expansion (ablation) | SafetyMem · Hard test set (GPT-4o) | FPR (%): 17.62 -> 11.62 | Improved |
| apply SafetyMem instead of strongest baseline G4D | LLaMA3-8B · Standard jailbreaks avg | ASR (%): 0.14 -> 0.02 | Improved |
| apply SafetyMem instead of ICD | LLaMA3-8B · Hard test set | ASR (%): 45.10 -> 15.84 | Improved |
| apply SafetyMem instead of G4D | LLaMA3-8B · Standard jailbreaks | time per prompt (s): 6.08 -> 2.06 | Improved |
| apply SafetyMem on GPT-3.5-turbo hard set | GPT-3.5-turbo · Hard test set | FPR (%): 20.48 (Vanilla) vs 20.95 | No clear effect |
| use SafetyMem instead of G4D | Qwen2.5-7B · OR-Bench | refusal rate (%): 45.2 -> 34.6 | Improved |
| build memory with frontier models (GPT-4o, DeepSeek-V3) and deploy on LLaMA3-8B | SafetyMem · cross-model transfer | ASR | Improved |
Open problems in LLM jailbreak and prompt injection defense
Which defenses against jailbreaks and prompt injection hold up, and what do they cost in usefulness?
- Adaptive attacks are not ruled out. · 8 papers state it
- Attack success does not carry over between target models. · 7 papers state it
- Strong attacks still need white-box access. · 6 papers state it
Closest papers by meaning
- Jailbreak Antidote: Runtime Safety-Utility Balance via Sparse Representation Adjustment in Large Language Models (ICLR 2025 · similarity 0.93)
- The VLLM Safety Paradox: Dual Ease in Jailbreak Attack and Defense (NeurIPS 2025 · similarity 0.92)
- Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing (EMNLP 2024 · similarity 0.92)
- SafePTR: Token-Level Jailbreak Defense in Multimodal LLMs via Prune-then-Restore Mechanism (NeurIPS 2025 · similarity 0.91)
- Immune: Improving Safety Against Jailbreaks in Multi-modal LLMs via Inference-Time Alignment (CVPR 2025 · similarity 0.91)
- Safeguarding LLMs via Model-Agnostic Latent Safety Signals from Dark Knowledge (NeurIPS 2026 · similarity 0.90)
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.