mlsanityData to 7 Oct 2026

PARDEN, Can You Repeat That? Defending against Jailbreaks via Repetition

arXiv 2405.07932 ↗First posted 13 May 2024cs.CL cs.AIcited by 29

On the map: LLM safety and security → Jailbreaking

Abstract (arXiv)

Large language models (LLMs) have shown success in many natural language processing tasks. Despite rigorous safety alignment processes, supposedly safety-aligned LLMs like Llama 2 and Claude 2 are still susceptible to jailbreaks, leading to security risks and abuse of the models. One option to mitigate such risks is to augment the LLM with a dedicated "safeguard", which checks the LLM's inputs or outputs for undesired behaviour. A promising approach is to use the LLM itself as the safeguard. Nonetheless, baseline methods, such as prompting the LLM to self-classify toxic content, demonstrate limited efficacy. We hypothesise that this is due to domain shift: the alignment training imparts a self-censoring behaviour to the model ("Sorry I can't do that"), while the self-classify approach shifts it to a classification format ("Is this prompt malicious"). In this work, we propose PARDEN, which avoids this domain shift by simply asking the model to repeat its own outputs. PARDEN neither requires finetuning nor white box access to the model. We empirically verify the effectiveness of our method and show that PARDEN significantly outperforms existing jailbreak detection baselines for Llama-2 and Claude-2. Code and data are available at https://github.com/Ed-Zh/PARDEN. We find that PARDEN is particularly powerful in the relevant regime of high True Positive Rate (TPR) and low False Positive Rate (FPR). For instance, for Llama2-7B, at TPR equal to 90%, PARDEN accomplishes a roughly 11x reduction in the FPR from 24.8% to 2.0% on the harmful behaviours dataset.

Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 26 of its 36 references that are in the map. First posted on arXiv 13 May 2024.

Builds on

26 of 36 references.

Closest ancestors · 12

Same direction, newest first

  1. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
  2. 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritization15 Nov
  3. 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
  4. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct
  5. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep
  6. 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM18 Sep
  7. 2023Certifying LLM Safety against Adversarial Prompting6 Sep
  8. 2023Open Sesame! Universal Black Box Jailbreaking of Large Language Models4 Sep
  9. 2023Detecting Language Model Attacks with Perplexity27 Aug
  10. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  11. 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
  12. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Study23 May

Other references · 14

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  3. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  4. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  5. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  6. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  7. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  8. 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 702
  9. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
  10. 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
  11. 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
  12. 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 226
2 more
  1. 2024Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Promptscited by 189
  2. 2023On the Reliability of Watermarks for Large Language Modelscited by 170

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 18; 2026: 6.

29 papers.

Sort:

By area:

  1. 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agentscited by 81
  2. 2024LLMs know their vulnerabilities: Uncover Safety Gaps through Natural Distribution Shiftscited by 80
  3. 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 63
  4. 2025G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systemscited by 56
  5. 2025Foot-In-The-Door: A Multi-turn Jailbreak for LLMscited by 50
  6. 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Modelscited by 33
  7. 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attackscited by 28
  8. 2024Jigsaw Puzzles: Splitting Harmful Questions to Jailbreak Large Language Modelscited by 15
  9. 2025Learning Safety Constraints for Large Language Modelscited by 13
  10. 2025Smoothed Embeddings for Robust Language Modelscited by 8
  11. 2025Evolving Security in LLMs: A Study of Jailbreak Attacks and Defensescited by 8
  12. 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasurescited by 8
17 more
  1. 2025Adversarial Prompt Evaluation: Systematic Benchmarking of Guardrails Against Prompt Input Attacks on LLMscited by 7
  2. 2025Speculative Safety-Aware Decodingcited by 7
  3. 2025Sysformer: Safeguarding Frozen Large Language Models with Adaptive System Promptscited by 5
  4. 2025LOB-Bench: Benchmarking Generative AI for Finance -- an Application to Limit Order Book Datacited by 4
  5. 2025Chain-of-Thought Driven Adversarial Scenario Extrapolation for Robust Language Modelscited by 4
  6. 2025MIST: Jailbreaking Black-box Large Language Models via Iterative Semantic Tuningcited by 3
  7. 2026Concept-Based Dictionary Learning for Inference-Time Safety in Vision Language Action Modelscited by 3
  8. 2024Alignment-Enhanced Decoding:Defending via Token-Level Adaptive Refining of Probability Distributionscited by 2
  9. 2025Geometry-Guided Adversarial Prompt Detection via Curvature and Local Intrinsic Dimensioncited by 1
  10. 2026CoopGuard: Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Round Attackscited by 1
  11. 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directionscited by 1
  12. 2025TuCo: Measuring the Contribution of Fine-Tuning to Individual Responses of LLMscited by 0
  13. 2025LeakSealer: A Semisupervised Defense for LLMs Against Prompt Injection and Leakage Attackscited by 0
  14. 2025Digging Into the Internal: Causality-Based Analysis of LLM Function Callingcited by 0
  15. 2026RACC: Representation-Aware Coverage Criteria for LLM Safety Testingcited by 0
  16. 2026BarrierSteer: LLM Safety via Learning Barrier Steeringcited by 0
  17. 2026Directional Embedding Smoothing for Robust Vision Language Modelscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024How Alignment and Jailbreak Work: Explain LLM Safety through Intermediate Hidden States
  2. 2024Mission Impossible: A Statistical Perspective on Jailbreaking LLMs
  3. 2025When Harmless Words Harm: A New Threat to LLM Safety via Conceptual Triggers
  4. 2025SABER: Uncovering Vulnerabilities in Safety Alignment via Cross-Layer Residual Connection
  5. 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing
  6. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations
  7. 2025Targeting Alignment: Extracting Safety Classifiers of Aligned LLMs
  8. 2025Playing the Fool: Jailbreaking LLMs and Multimodal LLMs with Out-of-Distribution Strategy