Research map / Adversarial robustness and security / Certified and empirical robustness
Flooding-X: Improving BERT's Resistance to Adversarial Attacks via Loss-Restricted Fine-Tuning
Qin Liu, Rui Zheng, Rong Bao, Jingyi Liu, ZhiHua Liu, Zhanzhan Cheng, Liang Qiao, Tao Gui, Qi Zhang, Xuanjing Huang
Fudan University · Hikvision Research Institute · Shanghai Key Laboratory of Intelligent Information 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 |
|---|---|---|---|
| fine-tune with Flooding-X (gradient-accordance flood level) | BERT-base · SST-2 (TextFooler) | Aua%: 10.8 -> 34.9 | Improved |
| fine-tune with Flooding-X | BERT-base · IMDB (TextFooler) | Aua%: 24.5 -> 40.5 | Improved |
| fine-tune with Flooding-X | BERT-base · QNLI (TextFooler) | Aua%: 5.3 -> 27.9 | Improved |
| fine-tune with Flooding-X instead of 5-step PGD | BERT-base · QNLI (TextFooler) | Aua%: 28.1 -> 27.9 | Hurt |
| use gradient-accordance-based flood level instead of searched vanilla Flooding level (ablation) | BERT-base · SST-2 (TextFooler) | Aua%: 26.4 -> 34.9 | Improved |
| use gradient-accordance-based flood level instead of searched vanilla Flooding level (ablation) | BERT-base · MRPC (TextFooler) | Aua%: 15.9 -> 19.9 | Improved |
| use gradient-accordance-based flood level instead of searched vanilla Flooding level (ablation) | BERT-base · IMDB (TextFooler) | Aua%: 39.5 -> 40.5 | Improved |
| fine-tune with Flooding-X | BERT-base · MRPC clean | accuracy: 83.8 -> 88.9 | Improved |
| fine-tune with Flooding-X | BERT-base · IMDB clean | accuracy: 95.0 -> 97.5 | Improved |
| fine-tune with Flooding-X | BERT-base · AG News clean | accuracy: 94.9 -> 94.9 | No clear effect |
| train with Flooding instead of adversarial training (training time per epoch) | BERT-base · SST-2 | GPU time (s): PGD 1,305 vs Flooding 272 | Improved |
| train with Flooding versus plain fine-tuning (training time per epoch) | BERT-base · QNLI | GPU time (s): 1,193 -> 1,222 | Hurt |
Later papers that compared with this method
3 later accepted papers report Flooding-X as a baseline in their results tables; 3 of them report a better number on most of the results they share with it.
- Synonym-unaware Fast Adversarial Training against Textual Adversarial Attacks (NAACL 2025 · better on 6 of 8 shared results)
- RMLM: A Flexible Defense Framework for Proactively Mitigating Word-level Adversarial Attacks (ACL 2023 · better on 7 of 9 shared results)
- DSRM: Boost Textual Adversarial Training with Distribution Shift Risk Minimization (ACL 2023 · better on 6 of 8 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.
- InfoBERT — InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspective (ICLR 2021) · better on 5 of 5 shared results
- FreeLB — FreeLB: Enhanced Adversarial Training for Natural Language Understanding (ICLR 2020) · better on 5 of 5 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 training refinements
Do reweighting and training-tuning fixes for robustness hold beyond small models, simple theory and tuned settings?
- Evaluated only on small models and few datasets. · 7 papers state it
- Theory covers only simple binary, linear or two-layer models. · 6 papers state it
- Each method needs hyperparameters tuned per setting. · 5 papers state it
Closest papers by meaning
- BERT Lost Patience Won't Be Robust to Adversarial Slowdown (NeurIPS 2023 · similarity 0.89)
- BERT-ATTACK: Adversarial Attack Against BERT Using BERT (EMNLP 2020 · similarity 0.89)
- TextGrad: Advancing Robustness Evaluation in NLP by Gradient-Driven Optimization (ICLR 2023 · similarity 0.89)
- Exploring Robust Overfitting for Pre-trained Language Models (ACL 2023 · similarity 0.89)
- SlowBERT: Slow-down Attacks on Input-adaptive Multi-exit BERT (ACL 2023 · similarity 0.88)
- Revisiting Character-level Adversarial Attacks for Language Models (ICML 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.