Lune

ICML2025Top-tier venue

Weak-to-Strong Jailbreaking on Large Language Models

Xuandong Zhao, Xianjun Yang, Tianyu Pang, Chao Du, Lei Li, Yu-Xiang Wang, William Yang Wang

Abstract

Large language models (LLMs) are vulnerable to jailbreak attacks -resulting in harmful, unethical, or biased text generations. However, existing jailbreaking methods are computationally costly. In this paper, we propose the weak-tostrong jailbreaking attack, an efficient inference time attack for aligned LLMs to produce harmful text. Our key intuition is based on the observation that jailbroken and aligned models only differ in their initial decoding distributions. The weakto-strong attack's key technical insight is using two smaller models (a safe and an unsafe one) to adversarially modify a significantly larger safe model's decoding probabilities. We evaluate the weak-to-strong attack on 5 diverse open-source LLMs from 3 organizations. The results show our method can increase the misalignment rate to over 99% on two datasets with just one forward pass per example. Our study exposes an urgent safety issue that needs to be addressed when aligning LLMs. As an initial attempt, we propose a defense strategy to protect against such attacks, but creating more advanced defenses remains challenging. The code for replicating the method is available at https://github. com/XuandongZhao/weak-to-strong .

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.

51 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

  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Training language models to follow instructions with human feedback
  • When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Search cites Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
  • When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Search cites COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability
  • When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Search cites Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation
  • Decoding-Time Language Model Alignment with Multiple Objectives cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Decoding-Time Language Model Alignment with Multiple Objectives cites Training language models to follow instructions with human feedback
  • COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability cites Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
  • COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability cites Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation
  • COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability cites Training language models to follow instructions with human feedback
  • Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation cites Training language models to follow instructions with human feedback
  • Protecting Your LLMs with Information Bottleneck cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Protecting Your LLMs with Information Bottleneck cites Training language models to follow instructions with human feedback
  • WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Models cites Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
  • WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Models cites COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability
  • WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Models cites Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation
  • WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Models cites Safe RLHF: Safe Reinforcement Learning from Human Feedback
  • Safe RLHF: Safe Reinforcement Learning from Human Feedback cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • Safe RLHF: Safe Reinforcement Learning from Human Feedback 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 papers51

  1. WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language ModelsLiwei Jiang, Kavel Rao, Seungju Han, Allyson Ettinger et al.NeurIPS 2024 · 247 citations
  2. COLD-Attack: Jailbreaking LLMs with Stealthiness and ControllabilityXingang Guo, Fangxu Yu, Huan Zhang, Lianhui Qin et al.ICML 2024 · 173 citations
  3. Decoding-Time Language Model Alignment with Multiple ObjectivesRuizhe Shi, Yifang Chen, Yushi Hu, Alisa Liu et al.NeurIPS 2024 · 111 citations
  4. When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided SearchXuan Chen, Yuzhou Nie, Wenbo Guo, Xiangyu ZhangNeurIPS 2024 · 68 citations
  5. Protecting Your LLMs with Information BottleneckZichuan Liu, Zefan Wang, Linjie Xu, Jinyu Wang et al.NeurIPS 2024 · 43 citations

Builds on38

  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. Tree of Attacks: Jailbreaking Black-Box LLMs AutomaticallyAnay Mehrotra, Manolis Zampetakis, Paul Kassianik, Blaine Nelson et al.NeurIPS 2024 · 835 citations
  4. Safe RLHF: Safe Reinforcement Learning from Human FeedbackJosef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji et al.ICLR 2024 · 656 citations
  5. Catastrophic Jailbreak of Open-source LLMs via Exploiting GenerationYangsibo Huang, Samyak Gupta, Mengzhou Xia, Kai Li et al.ICLR 2024 · 481 citations

Related papers

  1. Large Language Models Are Involuntary Truth-Tellers: Exploiting Fallacy Failure for Jailbreak AttacksYue Zhou, Henry Peng Zou, Barbara Di Eugenio, Yang ZhangEMNLP 2024 · 3 citations
  2. Alignment-Enhanced Decoding: Defending Jailbreaks via Token-Level Adaptive Refining of Probability DistributionsQuan Liu, Zhenhong Zhou, Longzhu He, Yi Liu et al.EMNLP 2024 · 1 citation
  3. Defending Against Alignment-Breaking Attacks via Robustly Aligned LLMBochuan Cao, Yuanpu Cao, Lu Lin, Jinghui ChenACL 2024 · 34 citations
  4. QueryAttack: Jailbreaking Aligned Large Language Models Using Structured Non-natural Query LanguageQingsong Zou, Jingyu Xiao, Qing Li, Zhi Yan et al.ACL Findings 2025 · 4 citations
  5. Attention Eclipse: Manipulating Attention to Bypass LLM Safety-AlignmentPedram Zaree, Md Abdullah Al Mamun, Quazi Mishkatul Alam, Yue Dong et al.EMNLP 2025
Dusk over the sea between two cliffs drawn in fine vertical lines