AdvPrefix: An Objective for Nuanced LLM Jailbreaks
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Many jailbreak attacks on large language models (LLMs) rely on a common objective: making the model respond with the prefix ``Sure, here is (harmful request)''. While straightforward, this objective has two limitations: limited control over model behaviors, yielding incomplete or unrealistic jailbroken responses, and a rigid format that hinders optimization. We introduce AdvPrefix, a plug-and-play prefix-forcing objective that selects one or more model-dependent prefixes by combining two criteria: high prefilling attack success rates and low negative log-likelihood. AdvPrefix integrates seamlessly into existing jailbreak attacks to mitigate the previous limitations for free. For example, replacing GCG's default prefixes on Llama-3 improves nuanced attack success rates from 14% to 80%, revealing that current safety alignment fails to generalize to new prefixes. Code and selected prefixes are released at github.com/facebookresearch/jailbreak-objectives.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 55 of its 72 references that are in the map. First posted on arXiv 13 Dec 2024.
Builds on
55 of 72 references.
Closest ancestors · 23
Same direction, newest first
- 2024Advancing Adversarial Suffix Transfer Learning on Aligned Large Language Models27 Aug
- 2024Jailbreaking as a Reward Misspecification Problem20 Jun
- 2024Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses3 Jun
- 2024Improved Techniques for Optimization-Based Jailbreaking on Large Language Models31 May
- 2024Don't Say No: Jailbreaking LLM by Suppressing Refusal25 Apr
- 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMs21 Apr
- 2024AmpleGCG: Learning a Universal and Transferable Generative Model of Adversarial Suffixes for Jailbreaking Both Open and Closed LLMs11 Apr
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks2 Apr
- 2024Coercing LLMs to do and reveal (almost) anything21 Feb
- 2024A StrongREJECT for Empty Jailbreaks15 Feb
- 2024Attacking Large Language Models with Projected Gradient Descent14 Feb
- 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability13 Feb
11 more
- 2024Weak-to-Strong Jailbreaking on Large Language Models30 Jan
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs12 Jan
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
- 2023AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Models23 Oct
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation10 Oct
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023Open Sesame! Universal Black Box Jailbreaking of Large Language Models4 Sep
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
Other references · 32
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2016Concrete Problems in AI Safetycited by 1,582
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2022Red Teaming Language Models with Language Modelscited by 983
20 more
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
- 2015Scheduled Sampling for Sequence Prediction with Recurrent Neural Networkscited by 779
- 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 702
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 630
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 450
- 2024Better & Faster Large Language Models via Multi-token Predictioncited by 344
- 2024TrustLLM: Trustworthiness in Large Language Modelscited by 280
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
- 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 224
- 2024OR-Bench: An Over-Refusal Benchmark for Large Language Modelscited by 222
- 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 116
- 2022Why Exposure Bias Matters: An Imitation Learning Perspective of Error Accumulation in Language Generationcited by 106
- 2024Introducing v0.5 of the AI Safety Benchmark from MLCommonscited by 60
- 2024Do language models plan ahead for future tokens?cited by 47
- 2024Automatic Pseudo-Harmful Prompt Generation for Evaluating False Refusals in Large Language Modelscited by 35
- 2023Make Them Spill the Beans! Coercive Knowledge Extraction from (Production) LLMscited by 26
- 2024FLRT: Fluent Student-Teacher Redteamingcited by 9
Built on by
Citing papers per year: 2025: 15; 2026: 10.
25 papers.
Sort:
By area:
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2025Security Concerns for Large Language Models: A Surveycited by 26
- 2025LLM-Safety Evaluations Lack Robustnesscited by 16
- 2025REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic Objectivecited by 15
- 2025Where to Start Alignment? Diffusion Large Language Model May Demand a Distinct Positioncited by 11
- 2025Jailbreak Attack Initializations as Extractors of Compliance Directionscited by 10
- 2025MetaDefense: Defending Finetuning-based Jailbreak Attack Before and During Generationcited by 8
- 2025Token Buncher: Shielding LLMs from Harmful Reinforcement Learning Fine-Tuningcited by 7
- 2025AdversariaLLM: A Unified and Modular Toolbox for LLM Robustness Researchcited by 5
- 2025Jailbreak Distillation: Renewable Safety Benchmarkingcited by 4
- 2025Toward Principled LLM Safety Testing: Solving the Jailbreak Oracle Problemcited by 4
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMscited by 4
13 more
- 2025Dynamic Jailbreaking Attackcited by 3
- 2025The Resurgence of GCG Adversarial Attacks on Large Language Modelscited by 2
- 2025NonTextual Target Attackcited by 2
- 2025Strong but Brittle: Simple Attacks Subvert Reasoning-based Safety Guardrailscited by 2
- 2026Hitting a Moving Target: Test-Time Adaptation for AI Text Detection under Continual Distribution Shiftcited by 1
- 2026Sockpuppetting: Jailbreaking LLMs by Combining Prefilling with Optimizationcited by 0
- 2026Adaptive Prompt Embedding Optimization for LLM Jailbreakingcited by 0
- 2026Why Do Aligned LLMs Remain Jailbreakable: Refusal-Escape Directions, Operator-Level Sources, and Safety-Utility Trade-offcited by 0
- 2026Adaptive Probe-based Steering for Robust LLM Jailbreakingcited by 0
- 2026Can LLMs Reliably Self-Report Adversarial Prefills, and How?cited by 0
- 2026Breaking Refusal in the First Half: A Mechanistic Study of the Prefill Jailbreakcited by 0
- 2026ProbGuard: Calibrated Safety Risk Estimation from LLM Output Distributionscited by 0
- 2026LLM Alignment--Utility Asymmetry under Semantic-Preserving Transformationscited by 0
- 2026LLM Alignment--Utility Asymmetry under Semantic-Preserving Transformations26 Sep 2026
- 2026ProbGuard: Calibrated Safety Risk Estimation from LLM Output Distributions11 Aug 2026
- 2026Breaking Refusal in the First Half: A Mechanistic Study of the Prefill Jailbreak14 Jul 2026
- 2026Hitting a Moving Target: Test-Time Adaptation for AI Text Detection under Continual Distribution Shift23 Jun 2026
- 2026Can LLMs Reliably Self-Report Adversarial Prefills, and How?22 Jun 2026
- 2026Adaptive Probe-based Steering for Robust LLM Jailbreaking19 May 2026
- 2026Why Do Aligned LLMs Remain Jailbreakable: Refusal-Escape Directions, Operator-Level Sources, and Safety-Utility Trade-off9 May 2026
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMs1 May 2026
- 2026Adaptive Prompt Embedding Optimization for LLM Jailbreaking27 Apr 2026
- 2026Sockpuppetting: Jailbreaking LLMs by Combining Prefilling with Optimization19 Jan 2026
- 2025AdversariaLLM: A Unified and Modular Toolbox for LLM Robustness Research6 Nov 2025
- 2025Strong but Brittle: Simple Attacks Subvert Reasoning-based Safety Guardrails13 Oct 2025
13 more
- 2025MetaDefense: Defending Finetuning-based Jailbreak Attack Before and During Generation9 Oct 2025
- 2025NonTextual Target Attack3 Oct 2025
- 2025Dynamic Jailbreaking Attack2 Oct 2025
- 2025The Resurgence of GCG Adversarial Attacks on Large Language Models30 Aug 2025
- 2025Token Buncher: Shielding LLMs from Harmful Reinforcement Learning Fine-Tuning28 Aug 2025
- 2025Where to Start Alignment? Diffusion Large Language Model May Demand a Distinct Position17 Aug 2025
- 2025Toward Principled LLM Safety Testing: Solving the Jailbreak Oracle Problem17 Jun 2025
- 2025Jailbreak Distillation: Renewable Safety Benchmarking28 May 2025
- 2025Security Concerns for Large Language Models: A Survey24 May 2025
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systems31 Mar 2025
- 2025LLM-Safety Evaluations Lack Robustness4 Mar 2025
- 2025REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic Objective24 Feb 2025
- 2025Jailbreak Attack Initializations as Extractors of Compliance Directions13 Feb 2025
- 2025Where to Start Alignment? Diffusion Large Language Model May Demand a Distinct Positioncited by 11
- 2025Jailbreak Attack Initializations as Extractors of Compliance Directionscited by 10
- 2025MetaDefense: Defending Finetuning-based Jailbreak Attack Before and During Generationcited by 8
- 2025AdversariaLLM: A Unified and Modular Toolbox for LLM Robustness Researchcited by 5
- 2025Jailbreak Distillation: Renewable Safety Benchmarkingcited by 4
- 2025Toward Principled LLM Safety Testing: Solving the Jailbreak Oracle Problemcited by 4
- 2025Dynamic Jailbreaking Attackcited by 3
- 2025The Resurgence of GCG Adversarial Attacks on Large Language Modelscited by 2
- 2025NonTextual Target Attackcited by 2
- 2026Sockpuppetting: Jailbreaking LLMs by Combining Prefilling with Optimizationcited by 0
- 2026Adaptive Prompt Embedding Optimization for LLM Jailbreakingcited by 0
- 2026Adaptive Probe-based Steering for Robust LLM Jailbreakingcited by 0
12 most cited of 13 All 13 (JSON)
- 2026ProbGuard: Calibrated Safety Risk Estimation from LLM Output Distributions11 Aug 2026
- 2026Adaptive Probe-based Steering for Robust LLM Jailbreaking19 May 2026
- 2026Adaptive Prompt Embedding Optimization for LLM Jailbreaking27 Apr 2026
- 2026Sockpuppetting: Jailbreaking LLMs by Combining Prefilling with Optimization19 Jan 2026
- 2025AdversariaLLM: A Unified and Modular Toolbox for LLM Robustness Research6 Nov 2025
- 2025MetaDefense: Defending Finetuning-based Jailbreak Attack Before and During Generation9 Oct 2025
- 2025NonTextual Target Attack3 Oct 2025
- 2025Dynamic Jailbreaking Attack2 Oct 2025
- 2025The Resurgence of GCG Adversarial Attacks on Large Language Models30 Aug 2025
- 2025Where to Start Alignment? Diffusion Large Language Model May Demand a Distinct Position17 Aug 2025
- 2025Toward Principled LLM Safety Testing: Solving the Jailbreak Oracle Problem17 Jun 2025
- 2025Jailbreak Distillation: Renewable Safety Benchmarking28 May 2025
12 newest of 13 All 13 (JSON)
- 2025LLM-Safety Evaluations Lack Robustnesscited by 16
- 2025REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic Objectivecited by 15
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMscited by 4
- 2026Why Do Aligned LLMs Remain Jailbreakable: Refusal-Escape Directions, Operator-Level Sources, and Safety-Utility Trade-offcited by 0
- 2026Breaking Refusal in the First Half: A Mechanistic Study of the Prefill Jailbreakcited by 0
- 2026LLM Alignment--Utility Asymmetry under Semantic-Preserving Transformationscited by 0
- 2026LLM Alignment--Utility Asymmetry under Semantic-Preserving Transformations26 Sep 2026
- 2026Breaking Refusal in the First Half: A Mechanistic Study of the Prefill Jailbreak14 Jul 2026
- 2026Why Do Aligned LLMs Remain Jailbreakable: Refusal-Escape Directions, Operator-Level Sources, and Safety-Utility Trade-off9 May 2026
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMs1 May 2026
- 2025LLM-Safety Evaluations Lack Robustness4 Mar 2025
- 2025REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic Objective24 Feb 2025
- 2025Security Concerns for Large Language Models: A Surveycited by 26
- 2025Token Buncher: Shielding LLMs from Harmful Reinforcement Learning Fine-Tuningcited by 7
- 2026Hitting a Moving Target: Test-Time Adaptation for AI Text Detection under Continual Distribution Shiftcited by 1
- 2026Can LLMs Reliably Self-Report Adversarial Prefills, and How?cited by 0
- 2026Hitting a Moving Target: Test-Time Adaptation for AI Text Detection under Continual Distribution Shift23 Jun 2026
- 2026Can LLMs Reliably Self-Report Adversarial Prefills, and How?22 Jun 2026
- 2025Token Buncher: Shielding LLMs from Harmful Reinforcement Learning Fine-Tuning28 Aug 2025
- 2025Security Concerns for Large Language Models: A Survey24 May 2025
Similar, not cited
Close in wording, no citation either way
- 2024JailPO: A Novel Black-box Jailbreak Framework via Preference Optimization against Aligned LLMs
- 2024Iterative Self-Tuning LLMs for Enhanced Jailbreaking Capabilities
- 2024Pruning for Protection: Increasing Jailbreak Resistance in Aligned LLMs Without Fine-Tuning
- 2024Defensive Prompt Patch: A Robust and Interpretable Defense of LLMs against Jailbreak Attacks
- 2026Exploring and Developing a Pre-Model Safeguard with Draft Models
- 2024Stealthy Jailbreak Attacks on Large Language Models via Benign Data Mirroring
- 2025JULI: Jailbreak Large Language Models by Self-Introspection
- 2025One Model Transfer to All: On Robust Jailbreak Prompts Generation against LLMs