paper-with-me

Papers

Adversarial Attack on Large Language Models using Exponentiated Gradient Descent

2025-05-14 · Sajib Biswas, Mao Nishino, Samuel Jacob Chacko, Xiuwen Liu

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

📄 PDF Abstract BibTeX arXiv:2505.09820

Code (1)

sbamit/exponentiated-gradient-descent-llm-attack 공식 구현 pytorch

Tasks

Adversarial Attack

Similar Papers 제목 키워드 기반

Universal and Transferable Adversarial Attack on Large Language Models Using Exponentiated Gradient Descent

2025-08-20 · Sajib Biswas, Mao Nishino, Samuel Jacob Chacko, Xiuwen Liu 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 re…

Reinforcement LearningAdversarial Attack

Structured Universal Adversarial Attacks on Object Detection for Video Sequences

2025-10-16 · Sven Jacob, Weijia Shao, Gjergji Kasneci arxiv

Video-based object detection plays a vital role in safety-critical applications. While deep learning-based object detectors have achieved impressive performance, they remain vulnerable to adversarial attacks, particularl…

Video Object DetectionAdversarial Attack

Exponentiated Gradient LINUCB for Contextual Multi-Armed Bandits

2013-05-10 · Djallel Bouneffouf

We present Exponentiated Gradient LINUCB, an algorithm for con-textual multi-armed bandits. This algorithm uses Exponentiated Gradient to find the optimal exploration of the LINUCB. Within a deliberately designed offline…

Multi-Armed Bandits

LARGO: Latent Adversarial Reflection through Gradient Optimization for Jailbreaking LLMs

2025-05-16 · Ran Li, Hao Wang, Chengzhi Mao

Efficient red-teaming method to uncover vulnerabilities in Large Language Models (LLMs) is crucial. While recent attacks often use LLMs as optimizers, the discrete language space make gradient-based methods struggle. We …

Red Teaming

Step-size Adaptation Using Exponentiated Gradient Updates

2022-01-31 · Ehsan Amid, Rohan Anil, Christopher Fifty, Manfred K. Warmuth

Optimizers like Adam and AdaGrad have been very successful in training large-scale neural networks. Yet, the performance of these methods is heavily dependent on a carefully tuned learning rate schedule. We show that in …