paper-with-me

홈 › Papers

Gradient-based Adversarial Attacks against Text Transformers

2021-04-15 · EMNLP 2021 11 · Chuan Guo, Alexandre Sablayrolles, Hervé Jégou, Douwe Kiela

We propose the first general-purpose gradient-based attack against transformer models. Instead of searching for a single adversarial example, we search for a distribution of adversarial examples parameterized by a continuous-valued matrix, hence enabling gradient-based optimization. We empirically demonstrate that our white-box attack attains state-of-the-art attack performance on a variety of natural language tasks. Furthermore, we show that a powerful black-box transfer attack, enabled by sampling from the adversarial distribution, matches or exceeds existing methods, while only requiring hard-label outputs.

📄 PDF Abstract BibTeX arXiv:2104.13733

Code (2)

facebookresearch/text-adversarial-attack 공식 구현 pytorch
gmum/mango pytorch

Similar Papers 제목 키워드 기반

Adversarial Robustness of In-Context Learning in Transformers for Linear Regression

2024-11-07 · Usman Anwar, Johannes von Oswald, Louis Kirsch, David Krueger 외

Transformers have demonstrated remarkable in-context learning capabilities across various domains, including statistical learning tasks. While previous work has shown that transformers can implement common learning algor…

Adversarial RobustnessIn-Context Learningregression

Short-length Adversarial Training Helps LLMs Defend Long-length Jailbreak Attacks: Theoretical and Empirical Evidence

2025-02-06 · Shaopeng Fu, Liang Ding, Jingfeng Zhang, Di Wang

Jailbreak attacks against large language models (LLMs) aim to induce harmful behaviors in LLMs through carefully crafted adversarial prompts. To mitigate attacks, one way is to perform adversarial training (AT)-based ali…

In-Context Learning

Boosting Adversarial Attacks by Leveraging Decision Boundary Information

2023-03-10 · Boheng Zeng, Lianli Gao, Qilong Zhang, CHAOQUN LI 외

Due to the gap between a substitute model and a victim model, the gradient-based noise generated from a substitute model may have low transferability for a victim model since their gradients are different. Inspired by th…

Attention-based Adversarial Robust Distillation in Radio Signal Classifications for Low-Power IoT Devices

2025-06-13 · Lu Zhang, Sangarapillai Lambotharan, Gan Zheng, Guisheng Liao 외

Due to great success of transformers in many applications such as natural language processing and computer vision, transformers have been successfully applied in automatic modulation classification. We have shown that tr…

ADAPT to Robustify Prompt Tuning Vision Transformers

2024-03-19 · Masih Eskandar, Tooba Imtiaz, Zifeng Wang, Jennifer Dy

The performance of deep models, including Vision Transformers, is known to be vulnerable to adversarial attacks. Many existing defenses against these attacks, such as adversarial training, rely on full-model fine-tuning …

Adversarial Defense