Conference proceeding
Graph of Attacks with Pruning: Optimizing Stealthy Jailbreak Prompt Generation for Enhanced LLM Content Moderation
EMNLP 2025 - 2025 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Industry Track, pp 659-671
2025
Abstract
As large language models (LLMs) become increasingly prevalent, ensuring their robustness against adversarial misuse is crucial. This paper introduces the GAP ( GRAPH OF ATTACKS WITH PRUNING) framework, an advanced approach for generating stealthy jailbreak prompts to evaluate and enhance LLM safeguards. GAP addresses limitations in existing tree-based LLM jailbreak methods by implementing an interconnected graph structure that enables knowledge sharing across attack paths. Our experimental evaluation demonstrates GAP's superiority over existing techniques, achieving a 20.8% increase in attack success rates while reducing query costs by 62.7%. GAP consistently outperforms state-of-the-art methods for attacking both open and closed LLMs, with attack success rates of >= 96%. Additionally, we present specialized variants like GAP-AUTO for automated seed generation and GAP-VLM for multimodal attacks. GAP-generated prompts prove highly effective in improving content moderation systems, increasing true positive detection rates by 108.5% and accuracy by 183.6% when used for fine-tuning.
Metrics
4 Record Views
Details
- Title
- Graph of Attacks with Pruning: Optimizing Stealthy Jailbreak Prompt Generation for Enhanced LLM Content Moderation
- Creators
- Daniel Schwartz - Drexel UniversityDmitriy Bespalov - Drexel UniversityZhe Wang - Amazon Bedrock ScienceNinad Kulkarni - Amazon Bedrock ScienceYanjun Qi - University of Virginia
- Publication Details
- EMNLP 2025 - 2025 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Industry Track, pp 659-671
- Conference
- 2025 Conference on Empirical Methods in Natural Language Processing EMNLP (Suzhou, China, 04 Nov 2025–09 Nov 2025)
- Publisher
- ASSOC COMPUTATIONAL LINGUISTICS-ACL
- Number of pages
- 13
- Resource Type
- Conference proceeding
- Language
- English
- Academic Unit
- Computer Science
- Web of Science ID
- WOS:001805497200046
- Scopus ID
- 2-s2.0-105039643703
- Other Identifier
- 991022194858204721