Adversarial Attack on Large Language Models using Exponentiated Gradient Descent
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
As Large Language Models (LLMs) are widely used, understanding them systematically is key to improving their safety and realizing their full potential. Although many models are aligned using techniques such as reinforcement learning from human feedback (RLHF), they are still vulnerable to jailbreaking attacks. Some of the existing adversarial attack methods search for discrete tokens that may jailbreak a target model while others try to optimize the continuous space represented by the tokens of the model's vocabulary. While techniques based on the discrete space may prove to be inefficient, optimization of continuous token embeddings requires projections to produce discrete tokens, which might render them ineffective. To fully utilize the constraints and the structures of the space, we develop an intrinsic optimization technique using exponentiated gradient descent with the Bregman projection method to ensure that the optimized one-hot encoding always stays within the probability simplex. We prove the convergence of the technique and implement an efficient algorithm that is effective in jailbreaking several widely used LLMs. We demonstrate the efficacy of the proposed technique using five open-source LLMs on four openly available datasets. The results show that the technique achieves a higher success rate with great efficiency compared to three other state-of-the-art jailbreaking techniques. The source code for our implementation is available at: https://github.com/sbamit/Exponentiated-Gradient-Descent-LLM-Attack
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 39 of its 51 references that are in the map. First posted on arXiv 14 May 2025.
Builds on
39 of 51 references.
Closest ancestors · 9
Same direction, newest first
- 2024AmpleGCG: Learning a Universal and Transferable Generative Model of Adversarial Suffixes for Jailbreaking Both Open and Closed LLMs11 Apr
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models28 Mar
- 2024Fast Adversarial Attacks on Language Models In One GPU Minute23 Feb
- 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
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation10 Oct
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
Other references · 30
- 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
- 2023Mistral 7Bcited by 3,164
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
18 more
- 2018Computational Optimal Transportcited by 780
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
- 2023The Falcon Series of Open Language Modelscited by 535
- 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
- 2023Are aligned neural networks adversarially aligned?cited by 315
- 2023Jailbreak in pieces: Compositional Adversarial Attacks on Multi-Modal Language Modelscited by 273
- 2020AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Promptscited by 249
- 2023Pretraining Language Models with Human Preferencescited by 247
- 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
- 2024Large language models surpass human experts in predicting neuroscience resultscited by 69
- 2023Large Language Models as Superpositions of Cultural Perspectivescited by 49
- 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
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Universal and Transferable Adversarial Attack on Large Language Models Using Exponentiated Gradient Descentcited by 2
- 2025Efficient Extractive Text Summarization for Online News Articles Using Machine Learningcited by 1
- 2026On the Hardness of Junking LLMscited by 0
- 2026ATTCK-R: Knowledge-Aware Long-Horizon Jailbreaking for Protected LLMscited by 0
- 2026ATTCK-R: Knowledge-Aware Long-Horizon Jailbreaking for Protected LLMs12 Oct 2026
- 2026On the Hardness of Junking LLMs6 May 2026
- 2025Efficient Extractive Text Summarization for Online News Articles Using Machine Learning19 Sep 2025
- 2025Universal and Transferable Adversarial Attack on Large Language Models Using Exponentiated Gradient Descent20 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2026Jailbreaking LLMs Without Gradients or Priors: Effective and Transferable Attacks
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey
- 2024Adversarial Tuning: Defending Against Jailbreak Attacks for LLMs
- 2024Exploiting the Index Gradients for Optimization-Based Jailbreaking on Large Language Models
- 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing
- 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks
- 2026SoK: Robustness in Large Language Models against Jailbreak Attacks
- 2024ASETF: A Novel Method for Jailbreak Attack on LLMs through Translate Suffix Embeddings