Jailbreaking with Universal Multi-Prompts

Yu-Ling Hsu, Hsuan Su, Shang-Tse Chen

Abstract

Researchers have developed JUMP, a framework that automatically generates "universal multi-prompts"—a set of stealthy, human-readable templates that can jailbreak Large Language Models (LLMs) across a wide variety of harmful requests. By combining beam search with perplexity constraints and clever "persona" initializations, JUMP achieves near-perfect attack success rates on open-source models and transfers effectively to closed-source giants like GPT-4o, while also providing a path toward more robust defenses via its counterpart, DUMP.

Introduction

As Large Language Models (LLMs) become increasingly integrated into daily life, "safety alignment" techniques, such as Reinforcement Learning from Human Feedback (RLHF), are employed to prevent the generation of harmful content. However, "jailbreaking"—the practice of crafting inputs to bypass these safeguards—remains a persistent threat.

Existing jailbreak methods typically fall into two categories: gradient-based attacks, which find effective but gibberish-like adversarial suffixes easily flagged by perplexity filters, and human-crafted evolutionary attacks, which are readable but computationally expensive and difficult to scale. JUMP addresses this gap by providing a universal, automated, and stealthy method to find small sets of prompts that work across diverse malicious tasks while remaining natural enough to evade automated detection.

Methodology

The core of the JUMP (Jailbreaking with Universal Multi-Prompts) framework is a four-stage pipeline designed to optimize adversarial templates:

  1. Selector: Samples a subset of candidate templates to optimize, ensuring the training process remains efficient as the dataset grows.
  2. Mutator: Employs a separate "attacker" LLM to suggest new tokens, extending current jailbreak templates using beam search to explore promising paths.
  3. Constraints: Acts as a "stealth" layer by applying perplexity constraints, ensuring sampled candidates resemble natural language.
  4. Evaluator: Scores candidates based on the likelihood of eliciting an affirmative response (e.g., "Sure, here is how to...") from the victim LLM.
The JUMP framework pipeline, illustrating the iterative optimization of adversarial templates using beam search and perplexity constraints.

The researchers also introduced JUMP++, which initializes the search using handcrafted "persona" prompts (e.g., roleplaying as Yoda), and DUMP, which adapts the framework to find universal defense prompts that neutralize potential attacks when prepended to user inputs.

Experimental Setup

The primary evaluation used AdvBench, a standard benchmark containing 520 harmful goals. The dataset was split into training and test sets to evaluate the "universality" of the prompts—specifically, how well they transfer to unseen harmful requests. The framework was tested against various models, including Llama-3-8b, Mistral-7b, and closed-source models like GPT-4o.

Key Results and Analysis

Superior Performance and Stealth

On models like Llama-3-8b and Mistral-7b, JUMP (the version without perplexity control) achieved nearly a 100% Attack Success Rate (ASR)*. JUMP++ maintained high success rates (often >80%) while keeping perplexity scores significantly lower than previous automated methods, making the attacks much harder to detect.

Attack Success Rate (ASR) and Perplexity across different models and temperature settings, highlighting the trade-off between attack potency and stealth.

Transferability and Defense

The universal prompts optimized on open-source models successfully transferred to closed-source systems, with JUMP++ achieving a 75% to 82% ASR on GPT-4o. Furthermore, the DUMP defense method proved effective, reducing the success rate of the popular AutoDAN attack from 73% to 58% on Vicuna-7b, suggesting that universal prompts can serve as a lightweight, non-invasive defensive layer.

Conclusion

JUMP demonstrates that a single universal prompt is often insufficient, but a set of optimized multi-prompts can effectively exploit LLM blind spots. The success of persona-based initializations in JUMP++ highlights how framing requests as roleplay can naturally bypass safety filters. While future work is needed to improve the long-form coherence of generated prompts, JUMP provides a powerful tool for both red-teaming and developing universal shields against evolving adversarial threats.

Summary updated

BibTeX
@inproceedings{hsu2025jailbreaking,
  author = {Yu-Ling Hsu and Hsuan Su and Shang-Tse Chen},
  title = {{Jailbreaking with Universal Multi-Prompts}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.findings-naacl.274},
}
Figure