mlsanityData to 14 Oct 2026

Adversarial Attacks on Large Language Models Using Regularized Relaxation

arXiv 2410.19160 ↗First posted 24 Oct 2024cs.LG cs.AI cs.CLcited by 12

Not on the map. Why?

Abstract (arXiv)

As powerful Large Language Models (LLMs) are now widely used for numerous practical applications, their safety is of critical importance. While alignment techniques have significantly improved overall safety, LLMs remain vulnerable to carefully crafted adversarial inputs. Consequently, adversarial attack methods are extensively used to study and understand these vulnerabilities. However, current attack methods face significant limitations. Those relying on optimizing discrete tokens suffer from limited efficiency, while continuous optimization techniques fail to generate valid tokens from the model's vocabulary, rendering them impractical for real-world applications. In this paper, we propose a novel technique for adversarial attacks that overcomes these limitations by leveraging regularized gradients with continuous optimization methods. Our approach is two orders of magnitude faster than the state-of-the-art greedy coordinate gradient-based method, significantly improving the attack success rate on aligned language models. Moreover, it generates valid tokens, addressing a fundamental limitation of existing continuous optimization methods. We demonstrate the effectiveness of our attack on five state-of-the-art LLMs using four datasets.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 40 of its 62 references that are in the map. First posted on arXiv 24 Oct 2024.

Builds on

40 of 62 references.

References · 40

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  5. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  6. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  7. 2013Intriguing properties of neural networkscited by 5,155
  8. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  9. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  10. 2020Extracting Training Data from Large Language Modelscited by 2,189
  11. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  12. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
28 more
  1. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  2. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
  3. 2021Ethical and social risks of harm from Language Modelscited by 966
  4. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  5. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
  6. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
  7. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  8. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
  9. 2023The Falcon Series of Open Language Modelscited by 535
  10. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 498
  11. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 451
  12. 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Ciphercited by 423
  13. 2021Unified Pre-training for Program Understanding and Generationcited by 366
  14. 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 278
  15. 2023Certifying LLM Safety against Adversarial Promptingcited by 266
  16. 2021Gradient-based Adversarial Attacks against Text Transformerscited by 234
  17. 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulationcited by 214
  18. 2024AmpleGCG: Learning a Universal and Transferable Generative Model of Adversarial Suffixes for Jailbreaking Both Open and Closed LLMscited by 172
  19. 2023RAIN: Your Language Models Can Align Themselves without Finetuningcited by 157
  20. 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 103
  21. 2024Attacking Large Language Models with Projected Gradient Descentcited by 94
  22. 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Spacecited by 91
  23. 2024Fast Adversarial Attacks on Language Models In One GPU Minutecited by 88
  24. 2024Large language models surpass human experts in predicting neuroscience resultscited by 69
  25. 2024Don't Say No: Jailbreaking LLM by Suppressing Refusalcited by 56
  26. 2023Adversarial Attacks and Defenses in Large Language Models: Old and New Threatscited by 49
  27. 2024Assessing Adversarial Robustness of Large Language Models: An Empirical Studycited by 21
  28. 2024Malicious Path Manipulations via Exploitation of Representation Vulnerabilities of Vision-Language Navigation Systemscited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 8; 2026: 4.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks
  2. 2024Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language Models
  3. 2025Sampling-aware Adversarial Attacks Against Large Language Models
  4. 2026Jailbreaking LLMs Without Gradients or Priors: Effective and Transferable Attacks
  5. 2025REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic Objective
  6. 2026Defending Against Malicious Finetuning by Scaling Train-time Adversarial Attacks
  7. 2024Efficient Adversarial Training in LLMs with Continuous Attacks
  8. 2025Attack and defense techniques in large language models: A survey and new perspectives