Research map / Adversarial robustness and security / Attacks on text and graphs
BERT-ATTACK: Adversarial Attack Against BERT Using BERT
Linyang Li, Ruotian Ma, Qipeng Guo, Xiangyang Xue, Xipeng Qiu
Fudan University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| replace words with BERT-Attack instead of TextFooler | fine-tuned BERT · Yelp | attacked accuracy: 6.6 -> 5.1 | Improved |
| BERT-Attack instead of GA | fine-tuned BERT · IMDB | attacked accuracy: 45.7 -> 11.4 | Improved |
| BERT-Attack instead of TextFooler | fine-tuned BERT · AG | perturb %: 22.0 -> 15.4 | Improved |
| BERT-Attack instead of TextFooler on SNLI hypothesis | fine-tuned BERT · SNLI | attacked accuracy: 4.0 vs 7.4 | Hurt |
| add sub-word level attack (ablation) | BERT-Attack · Yelp | attacked accuracy: 7.1 -> 5.1 | Improved |
| add sub-word level attack (ablation) | BERT-Attack · MNLI matched | perturb %: 9.3 -> 7.9 | Improved |
| rank words by importance (most vs least important first) (ablation) | BERT-Attack · MNLI matched | attacked accuracy: 27.2 -> 7.9 | Improved |
| use flexible threshold instead of fixed K (ablation) | BERT-Attack · IMDB | query number: 454 -> 440 | Improved |
| adversarial training with generated samples | fine-tuned BERT · MNLI matched | attacked accuracy: 7.9 -> 23.1 | Improved |
| increase candidate number K (ablation) | BERT-Attack · text classification | attack success | Improved |
| attack adversarial text vs original in human evaluation | BERT-Attack · IMDB | human label accuracy: 0.91 -> 0.85 | Hurt |
| transfer adversarial samples across models | BERT-Attack · text classification vs NLI | transferability | Mixed |
Later papers that compared with this method
12 later accepted papers report BERT-ATTACK as a baseline in their results tables; 11 of them report a better number on most of the results they share with it.
- Attacking Misinformation Detection Using Adversarial Examples Generated by Language Models (EMNLP 2025 · better on 3 of 4 shared results)
- DA$^3$: A Distribution-Aware Adversarial Attack against Language Models (EMNLP 2024 · better on 6 of 6 shared results)
- Revisiting Character-level Adversarial Attacks for Language Models (ICML 2024 · better on 2 of 2 shared results)
- CT-GAT: Cross-Task Generative Adversarial Attack based on Transferability (EMNLP 2023 · better on 8 of 10 shared results)
- CodeAttack: Code-Based Adversarial Attacks for Pre-trained Programming Language Models (AAAI 2023 · better on 7 of 8 shared results)
- Adversarial Robustness for Large Language NER models using Disentanglement and Word Attributions (EMNLP 2023 · better on 1 of 2 shared results)
- Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLP (EMNLP 2022 · better on 10 of 14 shared results)
- Generating Textual Adversaries with Minimal Perturbation (EMNLP 2022 · better on 8 of 8 shared results)
4 more not listed.
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Closest papers by meaning
- Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment (AAAI 2020 · similarity 0.89)
- BAE: BERT-based Adversarial Examples for Text Classification (EMNLP 2020 · similarity 0.89)
- Revisiting Character-level Adversarial Attacks for Language Models (ICML 2024 · similarity 0.89)
- IM-BERT: Enhancing Robustness of BERT through the Implicit Euler Method (EMNLP 2024 · similarity 0.89)
- BERT Lost Patience Won't Be Robust to Adversarial Slowdown (NeurIPS 2023 · similarity 0.87)
- Towards Improving Adversarial Training of NLP Models (EMNLP 2021 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
