paper-with-me

홈 › Papers

Layer-Wise Perturbations via Sparse Autoencoders for Adversarial Text Generation

2025-08-14 · Huizhen Shu, Xuying Li, Qirui Wang, Yuji Kosuga, Mengqiu Tian, Zhuo Li 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.

📄 PDF Abstract BibTeX arXiv:2508.10404

Code (0)

등록된 구현이 없습니다.

Tasks

Text Generation

Similar Papers 제목 키워드 기반

Sparse patches adversarial attacks via extrapolating point-wise information

2024-11-25 · Yaniv Nemcovsky, Avi Mendelson, Chaim Baskin

Sparse and patch adversarial attacks were previously shown to be applicable in realistic settings and are considered a security risk to autonomous systems. Sparse adversarial perturbations constitute a setting in which t…

Interpretability Illusions with Sparse Autoencoders: Evaluating Robustness of Concept Representations

2025-05-21 · Aaron J. Li, Suraj Srinivas, Usha Bhalla, Himabindu Lakkaraju

Sparse autoencoders (SAEs) are commonly used to interpret the internal activations of large language models (LLMs) by mapping them to human-interpretable concept representations. While existing evaluations of SAEs focus …

Disentanglement

A Versatile Framework for Designing Group-Sparse Adversarial Attacks

2025-10-18 · Alireza Heshmati, Saman Soleimani Roudi, Sajjad Amini, Shahrokh Ghaemmaghami 외 arxiv

Existing adversarial attacks often neglect perturbation sparsity, limiting their ability to model structural changes and to explain how deep neural networks (DNNs) process meaningful input patterns. We propose ATOS (Atta…

Layer-wise Adversarial Defense: An ODE Perspective

2021-01-01 · Zonghan Yang, Yang Liu, Chenglong Bao, Zuoqiang Shi

Deep neural networks are observed to be fragile against adversarial attacks, which have dramatically limited their practical applicability. On improving model robustness, the adversarial training techniques have proven e…

Adversarial Defense

Adversarial Examples Detection and Analysis with Layer-wise Autoencoders

2020-06-17 · Bartosz Wójcik, Paweł Morawiecki, Marek Śmieja, Tomasz Krzyżek 외

We present a mechanism for detecting adversarial examples based on data representations taken from the hidden layers of the target network. For this purpose, we train individual autoencoders at intermediate layers of the…