Lune

ICLR2024顶会

AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models

Xiaogeng Liu, Nan Xu, Muhao Chen, Chaowei Xiao

摘要

Warning: This paper contains potentially offensive and harmful text. The aligned Large Language Models (LLMs) are powerful language understanding and decision-making tools that are created through extensive alignment with human feedback. However, these large models remain susceptible to jailbreak attacks, where adversaries manipulate prompts to elicit malicious outputs that should not be given by aligned LLMs. Investigating jailbreak prompts can lead us to delve into the limitations of LLMs and further guide us to secure them. Unfortunately, existing jailbreak techniques suffer from either (1) scalability issues, where attacks heavily rely on manual crafting of prompts, or (2) stealthiness problems, as attacks depend on token-based algorithms to generate prompts that are often semantically meaningless, making them susceptible to detection through basic perplexity testing. In light of these challenges, we intend to answer this question: Can we develop an approach that can automatically generate stealthy jailbreak prompts? In this paper, we introduce AutoDAN, a novel jailbreak attack against aligned LLMs. AutoDAN can automatically generate stealthy jailbreak prompts by the carefully designed hierarchical genetic algorithm. Extensive evaluations demonstrate that AutoDAN not only automates the process while preserving semantic meaningfulness, but also demonstrates superior attack strength in cross-model transferability, and cross-sample universality compared with the baseline. Moreover, we also compare AutoDAN with perplexity-based defense methods and show that AutoDAN can bypass them effectively. Code is available at https://github.com/SheltonLiu-N/AutoDAN .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 350 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher 引用了 Red Teaming Language Models with Language Models
  • GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher 引用了 Training language models to follow instructions with human feedback
  • Improving Alignment and Robustness with Circuit Breakers 引用了 Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
  • Improving Alignment and Robustness with Circuit Breakers 引用了 Red Teaming Language Models with Language Models
  • Improving Alignment and Robustness with Circuit Breakers 引用了 HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
  • Improving Alignment and Robustness with Circuit Breakers 引用了 Training language models to follow instructions with human feedback
  • Tree of Attacks: Jailbreaking Black-Box LLMs Automatically 引用了 HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
  • FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual Prompts 引用了 GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher
  • FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual Prompts 引用了 Red Teaming Language Models with Language Models
  • FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual Prompts 引用了 Training language models to follow instructions with human feedback
  • Understanding Dataset Difficulty with V-Usable Information 引用了 Training language models to follow instructions with human feedback
  • WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Models 引用了 GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher
  • WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Models 引用了 Improving Alignment and Robustness with Circuit Breakers
  • WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Models 引用了 Tree of Attacks: Jailbreaking Black-Box LLMs Automatically
  • WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Models 引用了 Red Teaming Language Models with Language Models
  • WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Models 引用了 HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper350

  1. Tree of Attacks: Jailbreaking Black-Box LLMs AutomaticallyAnay Mehrotra, Manolis Zampetakis, Paul Kassianik, Blaine Nelson 等NeurIPS 2024 · 835 次引用
  2. AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge BasesZhaorun Chen, Zhen Xiang, Chaowei Xiao, Dawn Song 等NeurIPS 2024 · 539 次引用
  3. Improving Alignment and Robustness with Circuit BreakersAndy Zou, Long Phan, Justin Wang, Derek Duenas 等NeurIPS 2024 · 362 次引用
  4. FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual PromptsYichen Gong, Delong Ran, Jinyuan Liu, Conglei Wang 等AAAI 2025 · 350 次引用
  5. WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language ModelsLiwei Jiang, Kavel Rao, Seungju Han, Allyson Ettinger 等NeurIPS 2024 · 247 次引用

它引用的 Paper8

  1. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
  2. HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust RefusalMantas Mazeika, Long Phan, Xuwang Yin, Andy Zou 等ICML 2024 · 1,031 次引用
  3. GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via CipherYouliang Yuan, Wenxiang Jiao, Wenxuan Wang, Jen-tse Huang 等ICLR 2024 · 441 次引用
  4. Understanding Dataset Difficulty with V-Usable InformationKawin Ethayarajh, Yejin Choi, Swabha SwayamdiptaICML 2022 · 337 次引用
  5. Red Teaming Language Models with Language ModelsEthan Perez, Saffron Huang, H. Francis Song, Trevor Cai 等EMNLP 2022 · 239 次引用

相关 Paper

  1. Attention Eclipse: Manipulating Attention to Bypass LLM Safety-AlignmentPedram Zaree, Md Abdullah Al Mamun, Quazi Mishkatul Alam, Yue Dong 等EMNLP 2025
  2. Defensive Prompt Patch: A Robust and Generalizable Defense of Large Language Models against Jailbreak AttacksChen Xiong, Xiangyu Qi, Pin-Yu Chen, Tsung-Yi HoACL Findings 2025 · 9 次引用
  3. One Model Transfer to All: On Robust Jailbreak Prompts Generation against LLMsLinbao Li, Yannan Liu, Daojing He, Yu LiICLR 2025
  4. DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLMs JailbreakersXirui Li, Ruochen Wang, Minhao Cheng, Tianyi Zhou 等EMNLP Findings 2024 · 27 次引用
  5. Defending Against Alignment-Breaking Attacks via Robustly Aligned LLMBochuan Cao, Yuanpu Cao, Lu Lin, Jinghui ChenACL 2024 · 34 次引用
黄昏的海面,两侧是细线勾勒的悬崖