Research map / Adversarial robustness and security / Attacks on text and graphs
SemRoDe: Macro Adversarial Training to Learn Representations that are Robust to Word-Level Attacks
Brian Formento, Wenjie Feng, Chuan Sheng Foo, Luu Anh Tuan, See-Kiong Ng
National University of Singapore · A*STAR · Nanyang Technological 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 |
|---|---|---|---|
| add MMD distribution-alignment regularizer on pooled features (TextFooler adversarial data) | BERT · MR, TextFooler attack | after-attack accuracy (AUA): 13.8 -> 39.0 | Improved |
| add MMD alignment regularizer (TextFooler data) | RoBERTa · MR, TextFooler attack | after-attack accuracy (AUA): 12.0 -> 54.8 | Improved |
| add MMD alignment trained on one attack, tested on others | BERT · MR, BERTAttack/TextBugger | after-attack accuracy (AUA): TextBugger 5.8 -> 28.6 (TextFooler-trained) | Improved |
| use MMD instead of CORAL (ablation) | BERT · MR, TextFooler attack | after-attack accuracy (AUA): 21.0 -> 39.0 | Improved |
| use MMD instead of optimal transport (ablation) | BERT · MR, TextFooler attack | after-attack accuracy (AUA): 28.6 -> 39.0 | Improved |
| use L2 distance instead of no regularizer (ablation) | BERT · MR, TextFooler attack | after-attack accuracy (AUA): 13.8 (vanilla) -> 8.0 | Hurt |
| add adversarial samples as plain data augmentation (TextFooler + Adv Aug) (ablation) | BERT · MR, TextFooler attack | after-attack accuracy (AUA): 13.8 -> 11.8 | No clear effect |
| add adversarial augmentation (ablation) | RoBERTa · MR, TextFooler attack | after-attack accuracy (AUA): 12.0 -> 21.4 | Improved |
| use online (per-epoch) instead of offline adversarial sample generation (ablation) | SemRoDe BERT · MR | after-attack accuracy (AUA) | No clear effect |
| add alignment regularizer | BERT · MR | clean accuracy: 86.0 -> 85.8 | No clear effect |
| use SemRoDe instead of FreeLB++ in training cost | BERT · MR GPU training time | GPU training time: 4648 -> 694 | Improved |
| train with too many delta steps (ablation) | FreeLB++ · adversarial training | after-attack accuracy (AUA) | Hurt |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 3 of 3 on most shared results.
- DSRM — DSRM: Boost Textual Adversarial Training with Distribution Shift Risk Minimization (ACL 2023) · better on 4 of 4 shared results
- FreeLB++ — FreeLB: Enhanced Adversarial Training for Natural Language Understanding (ICLR 2020) · better on 3 of 3 shared results
- InfoBERT — InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspective (ICLR 2021) · better on 2 of 2 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 adversarial prompts for language models
Do adversarial-prompt attacks and defenses for language models hold on closed models, other languages, multi-turn use and adaptive opponents?
- The method needs white-box or logit access and cannot reach closed models. · 11 papers state it
- Evaluation is English-only, and other languages are untested. · 11 papers state it
- Models tested are open-weight and small, with frontier models left out. · 9 papers state it
Closest papers by meaning
- Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Models (NeurIPS 2021 · similarity 0.90)
- RobustEmbed: Robust Sentence Embeddings Using Self-Supervised Contrastive Pre-Training (EMNLP 2023 · similarity 0.89)
- Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approach (ACL 2025 · similarity 0.89)
- Towards Robustness Against Natural Language Word Substitutions (ICLR 2021 · similarity 0.89)
- Semantic Representation Attack against Aligned Large Language Models (NeurIPS 2025 · similarity 0.89)
- Efficient Adversarial Training in LLMs with Continuous Attacks (NeurIPS 2024 · similarity 0.89)
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.