Universal and Transferable Adversarial Attack on Large Language Models Using Exponentiated Gradient Descent
On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks
also in 1 more
Abstract (arXiv)
As large language models (LLMs) are increasingly deployed in critical applications, ensuring their robustness and safety alignment remains a major challenge. Despite the overall success of alignment techniques such as reinforcement learning from human feedback (RLHF) on typical prompts, LLMs remain vulnerable to jailbreak attacks enabled by crafted adversarial triggers appended to user prompts. Most existing jailbreak methods either rely on inefficient searches over discrete token spaces or direct optimization of continuous embeddings. While continuous embeddings can be given directly to selected open-source models as input, doing so is not feasible for proprietary models. On the other hand, projecting these embeddings back into valid discrete tokens introduces additional complexity and often reduces attack effectiveness. We propose an intrinsic optimization method which directly optimizes relaxed one-hot encodings of the adversarial suffix tokens using exponentiated gradient descent coupled with Bregman projection, ensuring that the optimized one-hot encoding of each token always remains within the probability simplex. We provide theoretical proof of convergence for our proposed method and implement an efficient algorithm that effectively jailbreaks several widely used LLMs. Our method achieves higher success rates and faster convergence compared to three state-of-the-art baselines, evaluated on five open-source LLMs and four adversarial behavior datasets curated for evaluating jailbreak methods. In addition to individual prompt attacks, we also generate universal adversarial suffixes effective across multiple prompts and demonstrate transferability of optimized suffixes to different LLMs.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 42 of its 54 references that are in the map. First posted on arXiv 20 Aug 2025.
Builds on
42 of 54 references.
Closest ancestors · 6
Same direction, newest first
- 2024Attacking Large Language Models with Projected Gradient Descent14 Feb
- 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space14 Feb
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedback19 Oct
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023Are aligned neural networks adversarially aligned?26 Jun
Other references · 36
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 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
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2013Intriguing properties of neural networkscited by 5,155
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
24 more
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2018Computational Optimal Transportcited by 780
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 767
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 536
- 2023The Falcon Series of Open Language Modelscited by 535
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 451
- 2021Unified Pre-training for Program Understanding and Generationcited by 366
- 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 336
- 2023Jailbreak in pieces: Compositional Adversarial Attacks on Multi-Modal Language Modelscited by 273
- 2023Pretraining Language Models with Human Preferencescited by 247
- 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulationcited by 214
- 2024AmpleGCG: Learning a Universal and Transferable Generative Model of Adversarial Suffixes for Jailbreaking Both Open and Closed LLMscited by 172
- 2023RAIN: Your Language Models Can Align Themselves without Finetuningcited by 157
- 2022Who is GPT-3? An Exploration of Personality, Values and Demographicscited by 112
- 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 103
- 2024Fast Adversarial Attacks on Language Models In One GPU Minutecited by 88
- 2024Large language models surpass human experts in predicting neuroscience resultscited by 69
- 2023Unveiling Security, Privacy, and Ethical Concerns of ChatGPTcited by 53
- 2024Assessing Adversarial Robustness of Large Language Models: An Empirical Studycited by 21
- 2024Adversarial Attacks on Large Language Models Using Regularized Relaxationcited by 12
- 2014An inertial forward-backward algorithm for the minimization of the sum of two nonconvex functionscited by 8
- 2025Adversarial Attack on Large Language Models using Exponentiated Gradient Descentcited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
- 2026Steerability of Instrumental-Convergence Tendencies in LLMscited by 1
- 2025Selective Adversarial Attacks on LLM Benchmarkscited by 0
- 2026Steerability of Instrumental-Convergence Tendencies in LLMs4 Jan 2026
- 2025Selective Adversarial Attacks on LLM Benchmarks15 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing
- 2026Jailbreaking LLMs Without Gradients or Priors: Effective and Transferable Attacks
- 2024Adversarial Tuning: Defending Against Jailbreak Attacks for LLMs
- 2024ASETF: A Novel Method for Jailbreak Attack on LLMs through Translate Suffix Embeddings
- 2024Exploiting the Index Gradients for Optimization-Based Jailbreaking on Large Language Models
- 2026Adaptive Prompt Embedding Optimization for LLM Jailbreaking
- 2025Short-length Adversarial Training Helps LLMs Defend Long-length Jailbreak Attacks: Theoretical and Empirical Evidence
- 2023AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Models