mlsanityData to 14 Oct 2026

PandaGuard: Systematic Evaluation of LLM Safety against Jailbreaking Attacks

arXiv 2505.13862 ↗First posted 20 May 2025cs.CR cs.CLcited by 4

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

also in 1 more
Abstract (arXiv)

Large language models (LLMs) have achieved remarkable capabilities but remain vulnerable to adversarial prompts known as jailbreaks, which can bypass safety alignment and elicit harmful outputs. Despite growing efforts in LLM safety research, existing evaluations are often fragmented, focused on isolated attack or defense techniques, and lack systematic, reproducible analysis. In this work, we introduce PandaGuard, a unified and modular framework that models LLM jailbreak safety as a multi-agent system comprising attackers, defenders, and judges. Our framework implements 19 attack methods and 12 defense mechanisms, along with multiple judgment strategies, all within a flexible plugin architecture supporting diverse LLM interfaces, multiple interaction modes, and configuration-driven experimentation that enhances reproducibility and practical deployment. Built on this framework, we develop PandaBench, a comprehensive benchmark that evaluates the interactions between these attack/defense methods across 49 LLMs and various judgment approaches, requiring over 3 billion tokens to execute. Our extensive evaluation reveals key insights into model vulnerabilities, defense cost-performance trade-offs, and judge consistency. We find that no single defense is optimal across all dimensions and that judge disagreement introduces nontrivial variance in safety assessments. We release the code, configurations, and evaluation results to support transparent and reproducible research in LLM safety.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 54 of its 67 references that are in the map. First posted on arXiv 20 May 2025.

Builds on

54 of 67 references.

Closest ancestors · 9

Same direction, newest first

  1. 2024SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal20 Jun
  2. 2024Uncovering Safety Risks of Large Language Models through Concept Activation Vector18 Apr
  3. 2024Defending Large Language Models against Jailbreak Attacks via Semantic Smoothing25 Feb
  4. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedback19 Oct
  5. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
  6. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
  7. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Models1 Sep
  8. 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher12 Aug
  9. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul

Other references · 45

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  6. 2024Qwen2.5 Technical Reportcited by 4,942
  7. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  8. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
  9. 2024A Survey on LLM-as-a-Judgecited by 1,423
  10. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  11. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  12. 2023A Survey on Evaluation of Large Language Modelscited by 1,242
33 more
  1. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
  2. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  3. 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 571
  4. 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 536
  5. 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 518
  6. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 498
  7. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
  8. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 469
  9. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
  10. 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 367
  11. 2024TrustLLM: Trustworthiness in Large Language Modelscited by 285
  12. 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 244
  13. 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 230
  14. 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 216
  15. 2024Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Promptscited by 205
  16. 2024Meta-Rewarding Language Models: Self-Improving Alignment with LLM-as-a-Meta-Judgecited by 204
  17. 2023SafetyBench: Evaluating the Safety of Large Language Modelscited by 199
  18. 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritizationcited by 170
  19. 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attackscited by 156
  20. 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 125
  21. 2024GradSafe: Detecting Jailbreak Prompts for LLMs via Safety-Critical Gradient Analysiscited by 96
  22. 2024JailbreakRadar: Comprehensive Assessment of Jailbreak Attacks Against LLMscited by 95
  23. 2024Does Refusal Training in LLMs Generalize to the Past Tense?cited by 79
  24. 2024Defending LLMs against Jailbreaking Attacks via Backtranslationcited by 70
  25. 2024Refuse Whenever You Feel Unsafe: Improving Safety in LLMs via Decoupled Refusal Trainingcited by 69
  26. 2024EasyJailbreak: A Unified Framework for Jailbreaking Large Language Modelscited by 60
  27. 2024Multimodal Situational Safetycited by 58
  28. 2024Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMscited by 51
  29. 2024JAILJUDGE: A Comprehensive Jailbreak Judge Benchmark with Multi-Agent Enhanced Explanation Evaluation Frameworkcited by 47
  30. 2024Jailbreak Antidote: Runtime Safety-Utility Balance via Sparse Representation Adjustment in Large Language Modelscited by 23
  31. 2024Improved Generation of Adversarial Examples Against Safety-aligned LLMscited by 18
  32. 2025AISafetyLab: A Comprehensive Framework for AI Safety Evaluation and Improvementcited by 12
  33. 2024Harnessing Task Overload for Scalable Jailbreak Attacks on Large Language Modelscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SoK: Robustness in Large Language Models against Jailbreak Attacks
  2. 2025Do Methods to Jailbreak and Defend LLMs Generalize Across Languages?
  3. 2025From LLMs to MLLMs to Agents: A Survey of Emerging Paradigms in Jailbreak Attacks and Defenses within LLM Ecosystem
  4. 2024A Comprehensive Study of Jailbreak Attack versus Defense for Large Language Models
  5. 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Models
  6. 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing
  7. 2026Circuit Discovery Helps Detect LLM Jailbreaking: A Mechanistic Interpretability Study
  8. 2025SafeInt: Shielding Large Language Models from Jailbreak Attacks via Safety-Aware Representation Intervention