Lune

NeurIPS2025Top-tier venue

AdvPrefix: An Objective for Nuanced LLM Jailbreaks

Sicheng Zhu, Brandon Amos, Yuandong Tian, Chuan Guo, Ivan Evtimov

Abstract

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-andplay 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 in github.com/facebookresearch/jailbreak-objectives. Warning: This paper includes language that could be considered inappropriate or harmful.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Token Buncher: Shielding LLMs from Harmful Reinforcement Learning Fine-Tuning cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Token Buncher: Shielding LLMs from Harmful Reinforcement Learning Fine-Tuning cites HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
  • Token Buncher: Shielding LLMs from Harmful Reinforcement Learning Fine-Tuning cites Training language models to follow instructions with human feedback
  • Where to Start Alignment? Diffusion Large Language Model May Demand a Distinct Position cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Where to Start Alignment? Diffusion Large Language Model May Demand a Distinct Position cites HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
  • Where to Start Alignment? Diffusion Large Language Model May Demand a Distinct Position cites Training language models to follow instructions with human feedback
  • Where to Start Alignment? Diffusion Large Language Model May Demand a Distinct Position cites Jailbroken: How Does LLM Safety Training Fail?
  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Training language models to follow instructions with human feedback
  • Guiding not Forcing: Enhancing the Transferability of Jailbreaking Attacks on LLMs via Removing Superfluous Constraints cites HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
  • REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic Objective cites HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
  • Large Language Models are Zero-Shot Reasoners cites Training language models to follow instructions with human feedback
  • MetaDefense: Defending Fine-tuning based Jailbreak Attack Before and During Generation cites Training language models to follow instructions with human feedback
  • Jailbroken: How Does LLM Safety Training Fail? cites Training language models to follow instructions with human feedback
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. MetaDefense: Defending Fine-tuning based Jailbreak Attack Before and During GenerationWeisen Jiang, Sinno Jialin PanNeurIPS 2025 · 10 citations
  2. Token Buncher: Shielding LLMs from Harmful Reinforcement Learning Fine-TuningWeitao Feng, Lixu Wang, Peizhuo Lv, Tianyi Wei et al.CCS 2026 · 9 citations
  3. Where to Start Alignment? Diffusion Large Language Model May Demand a Distinct PositionZhixin Xie, Xurui Song, Jun LuoAAAI 2026 · 7 citations
  4. Guiding not Forcing: Enhancing the Transferability of Jailbreaking Attacks on LLMs via Removing Superfluous ConstraintsJunxiao Yang, Zhexin Zhang, Shiyao Cui, Hongning Wang et al.ACL 2025 · 6 citations
  5. REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic ObjectiveSimon Geisler, Tom Wollschläger, M. H. I. Abdalla, Vincent Cohen-Addad et al.ICML 2025

Builds on33

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  2. Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
  3. Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo et al.NeurIPS 2022 · 8,168 citations
  4. Jailbroken: How Does LLM Safety Training Fail?Alexander Wei, Nika Haghtalab, Jacob SteinhardtNeurIPS 2023 · 2,230 citations
  5. HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust RefusalMantas Mazeika, Long Phan, Xuwang Yin, Andy Zou et al.ICML 2024 · 1,031 citations

Related papers

  1. Efficient LLM-Jailbreaking via Multimodal-LLM JailbreakHaoxuan Ji, Zheng Lin, Zhenxing Niu, Xinbo Gao et al.AAAI 2026 · 4 citations
  2. Attention Eclipse: Manipulating Attention to Bypass LLM Safety-AlignmentPedram Zaree, Md Abdullah Al Mamun, Quazi Mishkatul Alam, Yue Dong et al.EMNLP 2025
  3. TAO-Attack: Toward Advanced Optimization-Based Jailbreak Attacks for Large Language ModelsZhi Xu, Jiaqi Li, Xiaotong Zhang, Hong Yu et al.ICLR 2026 · 2 citations
  4. Endless Jailbreaks with Bijection LearningBrian R. Y. Huang, Maximilian Li, Leonard TangICLR 2025
  5. Stand on The Shoulders of Giants: Building JailExpert from Previous Attack ExperienceXi Wang, Songlei Jian, Shasha Li, Xiaopeng Li et al.EMNLP 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines