Lune

ICML2024顶会

Revisiting Character-level Adversarial Attacks for Language Models

Elías Abad-Rocamora, Yongtao Wu, Fanghui Liu, Grigorios Chrysos, Volkan Cevher

摘要

Adversarial attacks in Natural Language Processing apply perturbations in the character or token levels. Token-level attacks, gaining prominence for their use of gradient-based methods, are susceptible to altering sentence semantics, leading to invalid adversarial examples. While character-level attacks easily maintain semantics, they have received less attention as they cannot easily adopt popular gradient-based methods, and are thought to be easy to defend. Challenging these beliefs, we introduce Charmer, an efficient query-based adversarial attack capable of achieving high attack success rate (ASR) while generating highly similar adversarial examples. Our method successfully targets both small (BERT) and large (Llama 2) models. Specifically, on BERT with SST-2, Charmer improves the ASR in 4.84% points and the USE similarity in 8% points with respect to the previous art. Our implementation is available in https://github.com/LIONS-EPFL/Charmer.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Robustness in Both Domains: CLIP Needs a Robust Text Encoder 引用了 BERT-ATTACK: Adversarial Attack Against BERT Using BERT
  • Robustness in Both Domains: CLIP Needs a Robust Text Encoder 引用了 Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
  • Guided Perturbation Sensitivity (GPS): Detecting Adversarial Text via Embedding Stability and Word Importance 引用了 Towards Evaluating the Robustness of Neural Networks
  • Guided Perturbation Sensitivity (GPS): Detecting Adversarial Text via Embedding Stability and Word Importance 引用了 BERT-ATTACK: Adversarial Attack Against BERT Using BERT
  • Guided Perturbation Sensitivity (GPS): Detecting Adversarial Text via Embedding Stability and Word Importance 引用了 Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
  • Why Do Adversarial Attacks Transfer? Explaining Transferability of Evasion and Poisoning Attacks 引用了 Towards Evaluating the Robustness of Neural Networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Robustness in Both Domains: CLIP Needs a Robust Text EncoderElías Abad-Rocamora, Christian Schlarmann, Naman Deep Singh, Yongtao Wu 等NeurIPS 2025 · 4 次引用
  2. SlotGCG: Exploiting the Positional Vulnerability in LLMs for Jailbreak AttacksSeungwon Jeong, Jiwoo Jeong, Hyeonjin Kim, Yunseok Lee 等ICLR 2026 · 2 次引用
  3. Guided Perturbation Sensitivity (GPS): Detecting Adversarial Text via Embedding Stability and Word ImportanceBryan E. Tuck, Rakesh M. VermaAAAI 2026 · 1 次引用
  4. Certified Robustness Under Bounded Levenshtein DistanceElías Abad-Rocamora, Grigorios Chrysos, Volkan CevherICLR 2025
  5. FlipAttack: Jailbreak LLMs via FlippingYue Liu, Xiaoxin He, Miao Xiong, Jinlan Fu 等ICML 2025

它引用的 Paper15

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
  2. ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
  3. Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and EntailmentDi Jin, Zhijing Jin, Joey Tianyi Zhou, Peter SzolovitsAAAI 2020 · 1,333 次引用
  4. BERT-ATTACK: Adversarial Attack Against BERT Using BERTLinyang Li, Ruotian Ma, Qipeng Guo, Xiangyang Xue 等EMNLP 2020 · 529 次引用
  5. Why Do Adversarial Attacks Transfer? Explaining Transferability of Evasion and Poisoning AttacksAmbra Demontis, Marco Melis, Maura Pintor, Matthew Jagielski 等USENIX Security 2019 · 466 次引用

相关 Paper

  1. Word-level Textual Adversarial Attacking as Combinatorial OptimizationYuan Zang, Fanchao Qi, Chenghao Yang, Zhiyuan Liu 等ACL 2020 · 188 次引用
  2. OSCR-Attack: One-Shot Character Level Attacks through Self-Optimizing Continuous RelaxationLingyi Kong, Zhuo Liu, Zhanghao Hu, Qilong Qiu 等ACL Findings 2026
  3. An LLM can Fool Itself: A Prompt-Based Adversarial AttackXilie Xu, Keyi Kong, Ning Liu, Lizhen Cui 等ICLR 2024 · 146 次引用
  4. DA³: A Distribution-Aware Adversarial Attack against Language ModelsYibo Wang, Xiangjue Dong, James Caverlee, Philip S. YuEMNLP 2024 · 2 次引用
  5. BERT-Defense: A Probabilistic Model Based on BERT to Combat Cognitively Inspired Orthographic Adversarial AttacksYannik Keller, Jan Mackensen, Steffen EgerACL Findings 2021 · 33 次引用
黄昏的海面,两侧是细线勾勒的悬崖