Research map / Adversarial robustness and security / Certified and empirical robustness
RMLM: A Flexible Defense Framework for Proactively Mitigating Word-level Adversarial Attacks
Zhaoyang Wang, Zhiyue Liu, Xiaopeng Zheng, Qinliang Su, Jiahai Wang
Sun Yat-sen University · Guangxi University · Guangdong Key Laboratory of Big Data Analysis and Processing
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 |
|---|---|---|---|
| add detection of adversarial examples (ablation) | RMLM (BERT) · IMDB under BERT-Attack | post-attack accuracy: 17.7 -> 32.5 | Improved |
| add detection of adversarial examples (ablation) | RMLM (BERT) · SST-2 under BERT-Attack | post-attack accuracy: 5.2 -> 18.5 | Improved |
| add prior threshold to detection (ablation) | RMLM (BERT) · SST-2 clean accuracy | clean accuracy: 81.604 -> 87.919 | Improved |
| add prior threshold to detection (ablation) | RMLM (BERT) · IMDB under PWWS | post-attack accuracy: 50.4 -> 47.6 | Hurt |
| fine-tune the BERT defender on downstream data (ablation) | RMLM (BERT) · IMDB under PWWS | post-attack accuracy: 40.7 -> 47.6 | Improved |
| use synonym-based transformation instead of vanilla masking (ablation) | RMLM (BERT) · IMDB under PWWS | post-attack accuracy: 29.7 -> 47.6 | Improved |
| add word-level transformation at inference to undefended victim (ablation) | BERT · IMDB under PWWS | post-attack accuracy: 6.7 -> 22.5 | Improved |
| combine transformation and defender without joint training (ablation) | BERT · IMDB under TextFooler | post-attack accuracy: 36.9 (defender) -> 39.7 (both) | No clear effect |
| use RMLM instead of Flooding-X | BERT, LSTM, WordCNN · IMDB, AG's News, SST-2 (avg) | PAA, ASR, QC, MR: avg gains 15.9 PAA, 18.2 ASR, 199 QC, 12.2 MR | Improved |
| use RMLM instead of Flooding-X | BERT, LSTM, WordCNN · all datasets | clean accuracy: RMLM 1.2 lower on average | Hurt |
| use RMLM instead of RanMASK | BERT, LSTM, WordCNN · IMDB, AG's News, SST-2 (avg) | PAA: 22.4% relative better | Improved |
| use RMLM instead of Flooding-X | BERT · SST-2 under BERT-Attack | post-attack accuracy: Flooding-X 29.8 vs RMLM 18.5 | Hurt |
Later papers that compared with this method
1 later accepted paper reports RMLM as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- Are AI-Generated Text Detectors Robust to Adversarial Perturbations? (ACL 2024 · better on 6 of 6 shared results)
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 2 of 2 on most shared results.
- Flooding-X — Flooding-X: Improving BERT's Resistance to Adversarial Attacks via Loss-Restricted Fine-Tuning (ACL 2022) · better on 7 of 9 shared results
- Freelb++ — FreeLB: Enhanced Adversarial Training for Natural Language Understanding (ICLR 2020) · better on 2 of 3 shared results
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.
Open problems in attack evaluation and defense critique
Do attack and defense findings hold beyond one modality, small models and simplified theory?
- Theory covers only one- or two-layer and linear models. · 5 papers state it
- Evaluation uses one dataset, one model family or few architectures. · 5 papers state it
- Strong attacks and defenses are costly to run. · 5 papers state it
Closest papers by meaning
- Evaluating the Validity of Word-level Adversarial Attacks with Large Language Models (ACL 2024 · similarity 0.89)
- Searching for an Effective Defender: Benchmarking Defense against Adversarial Word Substitution (EMNLP 2021 · similarity 0.89)
- Synonym-unaware Fast Adversarial Training against Textual Adversarial Attacks (NAACL 2025 · similarity 0.88)
- Weight Perturbation as Defense against Adversarial Word Substitutions (EMNLP 2022 · similarity 0.88)
- Revisiting Character-level Adversarial Attacks for Language Models (ICML 2024 · similarity 0.88)
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024 · 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.