mlsanityData to 14 Oct 2026

Layer-Wise Perturbations via Sparse Autoencoders for Adversarial Text Generation

arXiv 2508.10404 ↗First posted 14 Aug 2025cs.CL cs.AIcited by 1

On the map: LLM safety and security → Jailbreaking

also in 1 more
Abstract (arXiv)

With the rapid proliferation of Natural Language Processing (NLP), especially Large Language Models (LLMs), generating adversarial examples to jailbreak LLMs remains a key challenge for understanding model vulnerabilities and improving robustness. In this context, we propose a new black-box attack method that leverages the interpretability of large models. We introduce the Sparse Feature Perturbation Framework (SFPF), a novel approach for adversarial text generation that utilizes sparse autoencoders to identify and manipulate critical features in text. After using the SAE model to reconstruct hidden layer representations, we perform feature clustering on the successfully attacked texts to identify features with higher activations. These highly activated features are then perturbed to generate new adversarial texts. This selective perturbation preserves the malicious intent while amplifying safety signals, thereby increasing their potential to evade existing defenses. Our method enables a new red-teaming strategy that balances adversarial effectiveness with safety alignment. Experimental results demonstrate that adversarial texts generated by SFPF can bypass state-of-the-art defense mechanisms, revealing persistent vulnerabilities in current NLP systems.However, the method's effectiveness varies across prompts and layers, and its generalizability to other architectures and larger models remains to be validated.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 158 of its 178 references that are in the map. First posted on arXiv 14 Aug 2025.

Builds on

158 of 178 references.

Closest ancestors · 61

Same direction, newest first

  1. 2024Endless Jailbreaks with Bijection Learning2 Oct
  2. 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey5 Jul
  3. 2024JailbreakZoo: Survey, Landscapes, and Horizons in Jailbreaking Large Language and Vision-Language Models26 Jun
  4. 2024Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses3 Jun
  5. 2024Improved Techniques for Optimization-Based Jailbreaking on Large Language Models31 May
  6. 2024AutoBreach: Universal and Adaptive Jailbreaking with Efficient Wordplay-Guided Optimization30 May
  7. 2024Improved Generation of Adversarial Examples Against Safety-aligned LLMs28 May
  8. 2024GPT-4 Jailbreaks Itself with Near-Perfect Success Using Self-Explanation21 May
  9. 2024Efficient LLM Jailbreak via Adaptive Dense-to-sparse Constrained Optimization15 May
  10. 2024Boosting Jailbreak Attack with Momentum2 May
  11. 2024Don't Say No: Jailbreaking LLM by Suppressing Refusal25 Apr
  12. 2024Competition Report: Finding Universal Jailbreak Backdoors in Aligned LLMs22 Apr
38 more
  1. 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMs21 Apr
  2. 2024Hidden You Malicious Goal Into Benign Narratives: Jailbreak Large Language Models through Logic Chain Injection7 Apr
  3. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks2 Apr
  4. 2024Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attack2 Apr
  5. 2024Distract Large Language Models for Automatic Jailbreak Attack13 Mar
  6. 2024Making Them Ask and Answer: Jailbreaking Large Language Models in Few Queries via Disguise and Reconstruction28 Feb
  7. 2024Speak Out of Turn: Safety Vulnerability of Large Language Models in Multi-turn Dialogue27 Feb
  8. 2024CodeChameleon: Personalized Encryption Framework for Jailbreaking Large Language Models26 Feb
  9. 2024DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers25 Feb
  10. 2024ASETF: A Novel Method for Jailbreak Attack on LLMs through Translate Suffix Embeddings25 Feb
  11. 2024PRP: Propagating Universal Perturbations to Attack Large Language Model Guard-Rails24 Feb
  12. 2024Foot In The Door: Understanding Large Language Model Jailbreaking via Cognitive Psychology24 Feb
  13. 2024Fast Adversarial Attacks on Language Models In One GPU Minute23 Feb
  14. 2024Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMs21 Feb
  15. 2024A Comprehensive Study of Jailbreak Attack versus Defense for Large Language Models21 Feb
  16. 2024Leveraging the Context through Multi-Round Interactions for Jailbreaking Attacks14 Feb
  17. 2024Attacking Large Language Models with Projected Gradient Descent14 Feb
  18. 2024Play Guessing Game with LLM: Indirect Jailbreak Attack with Implicit Clues14 Feb
  19. 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space14 Feb
  20. 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability13 Feb
  21. 2024Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fast13 Feb
  22. 2024Pandora: Jailbreak GPTs by Retrieval Augmented Generation Poisoning13 Feb
  23. 2024GUARD: Role-playing to Generate Natural-language Jailbreakings to Test Guideline Adherence of Large Language Models5 Feb
  24. 2024Weak-to-Strong Jailbreaking on Large Language Models30 Jan
  25. 2024A Cross-Language Investigation into Jailbreak Attacks in Large Language Models30 Jan
  26. 2024All in How You Ask for It: Simple Black-Box Method for Jailbreak Attacks18 Jan
  27. 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs12 Jan
  28. 2023Exploiting Novel GPT-4 APIs21 Dec
  29. 2023JailGuard: A Universal Detection Framework for LLM Prompt-based Attacks17 Dec
  30. 2023Analyzing the Inherent Response Tendency of LLMs: Real-World Instructions-Driven Jailbreak7 Dec
  31. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
  32. 2023Cognitive Overload: Jailbreaking Large Language Models with Overloaded Logical Thinking16 Nov
  33. 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily14 Nov
  34. 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulation6 Nov
  35. 2023DeepInception: Hypnotize Large Language Model to Be Jailbreaker6 Nov
  36. 2023AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Models23 Oct
  37. 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks16 Oct
  38. 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct

50 newest of 61 All 61 (JSON)

Other references · 97

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  2. 2020Extracting Training Data from Large Language Modelscited by 2,189
  3. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
  4. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
  5. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
  6. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
  7. 2023Steering Language Models With Activation Engineeringcited by 922
  8. 2024Scaling and evaluating sparse autoencoderscited by 553
  9. 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 434
  10. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 429
  11. 2023FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual Promptscited by 398
  12. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
38 more
  1. 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 333
  2. 2023Visual Adversarial Examples Jailbreak Aligned Large Language Modelscited by 328
  3. 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Modelscited by 297
  4. 2023Analyzing Leakage of Personally Identifiable Information in Language Modelscited by 285
  5. 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 278
  6. 2023Jailbreak in pieces: Compositional Adversarial Attacks on Multi-Modal Language Modelscited by 273
  7. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 267
  8. 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 258
  9. 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?cited by 250
  10. 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 216
  11. 2023LoRA Fine-tuning Efficiently Undoes Safety Training in Llama 2-Chat 70Bcited by 195
  12. 2024Do Membership Inference Attacks Work on Large Language Models?cited by 195
  13. 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 189
  14. 2023Removing RLHF Protections in GPT-4 via Fine-Tuningcited by 171
  15. 2024Stealing Part of a Production Language Modelcited by 159
  16. 2021Counterfactual Memorization in Neural Language Modelscited by 156
  17. 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 137
  18. 2024Images are Achilles' Heel of Alignment: Exploiting Visual Vulnerabilities for Jailbreaking Multimodal Large Language Modelscited by 136
  19. 2024Attacks, Defenses and Evaluations for LLM Conversation Safety: A Surveycited by 130
  20. 2023ProPILE: Probing Privacy Leakage in Large Language Modelscited by 129
  21. 2024PLeak: Prompt Leaking Attacks against Large Language Model Applicationscited by 127
  22. 2023Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMscited by 124
  23. 2024Automatic and Universal Prompt Injection Attacks against Large Language Modelscited by 119
  24. 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agentscited by 115
  25. 2024Jailbreak Vision Language Models via Bi-Modal Adversarial Promptcited by 109
  26. 2024Machine Against the RAG: Jamming Retrieval-Augmented Generation with Blocker Documentscited by 102
  27. 2024Steering Language Model Refusal with Sparse Autoencoderscited by 95
  28. 2024Towards Principled Evaluations of Sparse Autoencoders for Interpretability and Controlcited by 86
  29. 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Modelscited by 86
  30. 2024Flooding Spread of Manipulated Knowledge in LLM-Based Multi-Agent Communitiescited by 86
  31. 2024A Survey of Attacks on Large Vision-Language Models: Resources, Advances, and Future Trendscited by 84
  32. 2023FLIRT: Feedback Loop In-context Red Teamingcited by 83
  33. 2024Breaking Agents: Compromising Autonomous LLM Agents Through Malfunction Amplificationcited by 81
  34. 2024Does Refusal Training in LLMs Generalize to the Past Tense?cited by 79
  35. 2024Chain of Attack: a Semantic-Driven Contextual Multi-Turn attacker for LLMcited by 77
  36. 2024Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systemscited by 76
  37. 2024CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completioncited by 76
  38. 2024Safety of Multimodal Large Language Models on Images and Textscited by 75

50 most cited of 97 All 97 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Models
  2. 2022Rethinking Textual Adversarial Defense for Pre-trained Language Models
  3. 2026Unifying Adversarial Robustness and Training Across Text Scoring Models
  4. 2025Reformulation is All You Need: Addressing Malicious Text Features in DNNs
  5. 2024A Constraint-Enforcing Reward for Adversarial Attacks on Text Classifiers
  6. 2025Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence Benchmarks
  7. 2025Selective Adversarial Attacks on LLM Benchmarks
  8. 2026Adversarial Reframing: A Framework for Targeted Generation in Language Models