Adaptive Prompt Embedding Optimization for LLM Jailbreaking
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Existing white-box jailbreak attacks against aligned LLMs typically append discrete adversarial suffixes to the user prompt, which visibly alters the prompt and operates in a combinatorial token space. Prior work has avoided directly optimizing the embeddings of the original prompt tokens, presumably because perturbing them risks destroying the prompt's semantic content. We propose Prompt Embedding Optimization (PEO), a multi-round white-box jailbreak that directly optimizes the embeddings of the original prompt tokens without appending any adversarial tokens, and show that the concern is unfounded: the optimized embeddings remain close enough to their originals that the visible prompt string is preserved exactly after nearest-token projection, and quantitative analysis shows the model's responses stay on topic for the large majority of prompts. PEO combines continuous embedding-space optimization with structured continuation targets and an adaptive failure-focused schedule. Counterintuitively, later PEO rounds can benefit from heuristic composite response scaffolds that are not natural standalone templates, yet ASR-Judge shows that the resulting gains are not merely empty formatting or scaffold-only outputs. Across two standard harmful-behavior benchmarks and competing white-box attacks spanning discrete suffix search, appended adversarial embeddings, and search-based adversarial generation, PEO outperforms all of them in our experiments.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 21 of its 28 references that are in the map. First posted on arXiv 27 Apr 2026.
Builds on
21 of 28 references.
Closest ancestors · 9
Same direction, newest first
- 2025Jailbreaking LLMs' Safeguard with Universal Magic Words for Text Embedding Models30 Jan
- 2024AdvPrefix: An Objective for Nuanced LLM Jailbreaks13 Dec
- 2024JAILJUDGE: A Comprehensive Jailbreak Judge Benchmark with Multi-Agent Enhanced Explanation Evaluation Framework11 Oct
- 2024Continuous Embedding Attacks via Clipped Inputs in Jailbreaking Large Language Models16 Jul
- 2024Fast Adversarial Attacks on Language Models In One GPU Minute23 Feb
- 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space14 Feb
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct
Other references · 12
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2025Qwen3 Technical Reportcited by 8,820
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2018Generating Natural Language Adversarial Examplescited by 424
- 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 336
- 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
- 2024Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Promptscited by 205
- 2024Safeguarding Text-to-Image Generation via Inference-Time Prompt-Noise Optimizationcited by 7
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Dynamic Deep Prompt Optimization for Defending Against Jailbreak Attacks on LLMs
- 2024GASP: Efficient Black-Box Generation of Adversarial Suffixes for Jailbreaking LLMs
- 2026The Art of the Jailbreak: Formulating Jailbreak Attacks for LLM Security Beyond Binary Scoring
- 2025Formalization Driven LLM Prompt Jailbreaking via Reinforcement Learning
- 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily
- 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing
- 2025Anyone Can Jailbreak: Prompt-Based Attacks on LLMs and T2Is
- 2024Adversarial Tuning: Defending Against Jailbreak Attacks for LLMs