PARDEN, Can You Repeat That? Defending against Jailbreaks via Repetition
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
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
- 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritization15 Nov
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep
- 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM18 Sep
- 2023Certifying LLM Safety against Adversarial Prompting6 Sep
- 2023Open Sesame! Universal Black Box Jailbreaking of Large Language Models4 Sep
- 2023Detecting Language Model Attacks with Perplexity27 Aug
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Study23 May
Other references · 14
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 702
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
- 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 226
2 more
- 2024Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Promptscited by 189
- 2023On the Reliability of Watermarks for Large Language Modelscited by 170
Built on by
Citing papers per year: 2024: 5; 2025: 18; 2026: 6.
29 papers.
Sort:
By area:
- 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agentscited by 81
- 2024LLMs know their vulnerabilities: Uncover Safety Gaps through Natural Distribution Shiftscited by 80
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 63
- 2025G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systemscited by 56
- 2025Foot-In-The-Door: A Multi-turn Jailbreak for LLMscited by 50
- 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Modelscited by 33
- 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attackscited by 28
- 2024Jigsaw Puzzles: Splitting Harmful Questions to Jailbreak Large Language Modelscited by 15
- 2025Learning Safety Constraints for Large Language Modelscited by 13
- 2025Smoothed Embeddings for Robust Language Modelscited by 8
- 2025Evolving Security in LLMs: A Study of Jailbreak Attacks and Defensescited by 8
- 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasurescited by 8
17 more
- 2025Adversarial Prompt Evaluation: Systematic Benchmarking of Guardrails Against Prompt Input Attacks on LLMscited by 7
- 2025Speculative Safety-Aware Decodingcited by 7
- 2025Sysformer: Safeguarding Frozen Large Language Models with Adaptive System Promptscited by 5
- 2025LOB-Bench: Benchmarking Generative AI for Finance -- an Application to Limit Order Book Datacited by 4
- 2025Chain-of-Thought Driven Adversarial Scenario Extrapolation for Robust Language Modelscited by 4
- 2025MIST: Jailbreaking Black-box Large Language Models via Iterative Semantic Tuningcited by 3
- 2026Concept-Based Dictionary Learning for Inference-Time Safety in Vision Language Action Modelscited by 3
- 2024Alignment-Enhanced Decoding:Defending via Token-Level Adaptive Refining of Probability Distributionscited by 2
- 2025Geometry-Guided Adversarial Prompt Detection via Curvature and Local Intrinsic Dimensioncited by 1
- 2026CoopGuard: Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Round Attackscited by 1
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directionscited by 1
- 2025TuCo: Measuring the Contribution of Fine-Tuning to Individual Responses of LLMscited by 0
- 2025LeakSealer: A Semisupervised Defense for LLMs Against Prompt Injection and Leakage Attackscited by 0
- 2025Digging Into the Internal: Causality-Based Analysis of LLM Function Callingcited by 0
- 2026RACC: Representation-Aware Coverage Criteria for LLM Safety Testingcited by 0
- 2026BarrierSteer: LLM Safety via Learning Barrier Steeringcited by 0
- 2026Directional Embedding Smoothing for Robust Vision Language Modelscited by 0
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directions14 Jul 2026
- 2026CoopGuard: Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Round Attacks5 Apr 2026
- 2026Directional Embedding Smoothing for Robust Vision Language Models16 Mar 2026
- 2026BarrierSteer: LLM Safety via Learning Barrier Steering23 Feb 2026
- 2026RACC: Representation-Aware Coverage Criteria for LLM Safety Testing2 Feb 2026
- 2026Concept-Based Dictionary Learning for Inference-Time Safety in Vision Language Action Models2 Feb 2026
- 2025Digging Into the Internal: Causality-Based Analysis of LLM Function Calling18 Sep 2025
- 2025Speculative Safety-Aware Decoding25 Aug 2025
- 2025LeakSealer: A Semisupervised Defense for LLMs Against Prompt Injection and Leakage Attacks1 Aug 2025
- 2025TuCo: Measuring the Contribution of Fine-Tuning to Individual Responses of LLMs29 Jun 2025
- 2025MIST: Jailbreaking Black-box Large Language Models via Iterative Semantic Tuning20 Jun 2025
- 2025Sysformer: Safeguarding Frozen Large Language Models with Adaptive System Prompts18 Jun 2025
17 more
- 2025Learning Safety Constraints for Large Language Models30 May 2025
- 2025Chain-of-Thought Driven Adversarial Scenario Extrapolation for Robust Language Models20 May 2025
- 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasures2 May 2025
- 2025Evolving Security in LLMs: A Study of Jailbreak Attacks and Defenses2 Apr 2025
- 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents17 Mar 2025
- 2025Geometry-Guided Adversarial Prompt Detection via Curvature and Local Intrinsic Dimension5 Mar 2025
- 2025Foot-In-The-Door: A Multi-turn Jailbreak for LLMs27 Feb 2025
- 2025Adversarial Prompt Evaluation: Systematic Benchmarking of Guardrails Against Prompt Input Attacks on LLMs21 Feb 2025
- 2025G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systems16 Feb 2025
- 2025LOB-Bench: Benchmarking Generative AI for Finance -- an Application to Limit Order Book Data13 Feb 2025
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safety2 Feb 2025
- 2025Smoothed Embeddings for Robust Language Models27 Jan 2025
- 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Models20 Oct 2024
- 2024Jigsaw Puzzles: Splitting Harmful Questions to Jailbreak Large Language Models15 Oct 2024
- 2024LLMs know their vulnerabilities: Uncover Safety Gaps through Natural Distribution Shifts14 Oct 2024
- 2024Alignment-Enhanced Decoding:Defending via Token-Level Adaptive Refining of Probability Distributions14 Aug 2024
- 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attacks25 May 2024
- 2025Foot-In-The-Door: A Multi-turn Jailbreak for LLMscited by 50
- 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Modelscited by 33
- 2025Learning Safety Constraints for Large Language Modelscited by 13
- 2025Smoothed Embeddings for Robust Language Modelscited by 8
- 2025Evolving Security in LLMs: A Study of Jailbreak Attacks and Defensescited by 8
- 2025Adversarial Prompt Evaluation: Systematic Benchmarking of Guardrails Against Prompt Input Attacks on LLMscited by 7
- 2025Sysformer: Safeguarding Frozen Large Language Models with Adaptive System Promptscited by 5
- 2025MIST: Jailbreaking Black-box Large Language Models via Iterative Semantic Tuningcited by 3
- 2025Geometry-Guided Adversarial Prompt Detection via Curvature and Local Intrinsic Dimensioncited by 1
- 2025LeakSealer: A Semisupervised Defense for LLMs Against Prompt Injection and Leakage Attackscited by 0
- 2026RACC: Representation-Aware Coverage Criteria for LLM Safety Testingcited by 0
- 2026BarrierSteer: LLM Safety via Learning Barrier Steeringcited by 0
- 2026BarrierSteer: LLM Safety via Learning Barrier Steering23 Feb 2026
- 2026RACC: Representation-Aware Coverage Criteria for LLM Safety Testing2 Feb 2026
- 2025LeakSealer: A Semisupervised Defense for LLMs Against Prompt Injection and Leakage Attacks1 Aug 2025
- 2025MIST: Jailbreaking Black-box Large Language Models via Iterative Semantic Tuning20 Jun 2025
- 2025Sysformer: Safeguarding Frozen Large Language Models with Adaptive System Prompts18 Jun 2025
- 2025Learning Safety Constraints for Large Language Models30 May 2025
- 2025Evolving Security in LLMs: A Study of Jailbreak Attacks and Defenses2 Apr 2025
- 2025Geometry-Guided Adversarial Prompt Detection via Curvature and Local Intrinsic Dimension5 Mar 2025
- 2025Foot-In-The-Door: A Multi-turn Jailbreak for LLMs27 Feb 2025
- 2025Adversarial Prompt Evaluation: Systematic Benchmarking of Guardrails Against Prompt Input Attacks on LLMs21 Feb 2025
- 2025Smoothed Embeddings for Robust Language Models27 Jan 2025
- 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Models20 Oct 2024
- 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agentscited by 81
- 2025G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systemscited by 56
- 2026CoopGuard: Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Round Attackscited by 1
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directionscited by 1
- 2025Digging Into the Internal: Causality-Based Analysis of LLM Function Callingcited by 0
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directions14 Jul 2026
- 2026CoopGuard: Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Round Attacks5 Apr 2026
- 2025Digging Into the Internal: Causality-Based Analysis of LLM Function Calling18 Sep 2025
- 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents17 Mar 2025
- 2025G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systems16 Feb 2025
- 2025Speculative Safety-Aware Decodingcited by 7
- 2025Speculative Safety-Aware Decoding25 Aug 2025
- 2024LLMs know their vulnerabilities: Uncover Safety Gaps through Natural Distribution Shiftscited by 80
- 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasurescited by 8
- 2025LOB-Bench: Benchmarking Generative AI for Finance -- an Application to Limit Order Book Datacited by 4
- 2025TuCo: Measuring the Contribution of Fine-Tuning to Individual Responses of LLMscited by 0
- 2025TuCo: Measuring the Contribution of Fine-Tuning to Individual Responses of LLMs29 Jun 2025
- 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasures2 May 2025
- 2025LOB-Bench: Benchmarking Generative AI for Finance -- an Application to Limit Order Book Data13 Feb 2025
- 2024LLMs know their vulnerabilities: Uncover Safety Gaps through Natural Distribution Shifts14 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2024How Alignment and Jailbreak Work: Explain LLM Safety through Intermediate Hidden States
- 2024Mission Impossible: A Statistical Perspective on Jailbreaking LLMs
- 2025When Harmless Words Harm: A New Threat to LLM Safety via Conceptual Triggers
- 2025SABER: Uncovering Vulnerabilities in Safety Alignment via Cross-Layer Residual Connection
- 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations
- 2025Targeting Alignment: Extracting Safety Classifiers of Aligned LLMs
- 2025Playing the Fool: Jailbreaking LLMs and Multimodal LLMs with Out-of-Distribution Strategy