mlsanityData to 14 Oct 2026

BERT Lost Patience Won't Be Robust to Adversarial Slowdown

arXiv 2310.19152 ↗First posted 29 Oct 2023cs.LG cs.CL cs.CRcited by 4

Not on the map. Why?

Abstract (arXiv)

In this paper, we systematically evaluate the robustness of multi-exit language models against adversarial slowdown. To audit their robustness, we design a slowdown attack that generates natural adversarial text bypassing early-exit points. We use the resulting WAFFLE attack as a vehicle to conduct a comprehensive evaluation of three multi-exit mechanisms with the GLUE benchmark against adversarial slowdown. We then show our attack significantly reduces the computational savings provided by the three methods in both white-box and black-box settings. The more complex a mechanism is, the more vulnerable it is to adversarial slowdown. We also perform a linguistic analysis of the perturbed text inputs, identifying common perturbation patterns that our attack generates, and comparing them with standard adversarial text attacks. Moreover, we show that adversarial training is ineffective in defeating our slowdown attack, but input sanitization with a conversational model, e.g., ChatGPT, can remove perturbations effectively. This result suggests that future work is needed for developing efficient yet robust multi-exit models. Our code is available at: https://github.com/ztcoalson/WAFFLE

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 34 of its 46 references that are in the map. First posted on arXiv 29 Oct 2023.

Builds on

34 of 46 references.

References · 34

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  4. 2013Intriguing properties of neural networkscited by 5,155
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  6. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  7. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  8. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  9. 2020A Primer in BERTology: What we know about how BERT workscited by 815
  10. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
  11. 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 596
  12. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
22 more
  1. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
  2. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  3. 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
  4. 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 273
  5. 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 264
  6. 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 254
  7. 2021Gradient-based Adversarial Attacks against Text Transformerscited by 234
  8. 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 232
  9. 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
  10. 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspectivecited by 211
  11. 2019Certified Robustness to Adversarial Word Substitutionscited by 168
  12. 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 140
  13. 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
  14. 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 126
  15. 2020Adversarial Training for Large Neural Language Modelscited by 111
  16. 2020Sponge Examples: Energy-Latency Attacks on Neural Networkscited by 111
  17. 2018On Adversarial Examples for Character-Level Neural Machine Translationcited by 85
  18. 2021Towards Improving Adversarial Training of NLP Modelscited by 79
  19. 2021Bad Characters: Imperceptible NLP Attackscited by 71
  20. 2020A Panda? No, It's a Sloth: Slowdown Attacks on Adaptive Multi-Exit Neural Network Inferencecited by 61
  21. 2021Achieving Model Robustness through Discrete Adversarial Trainingcited by 23
  22. 2021Elbert: Fast Albert with Confidence-Window Based Early Exitcited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 1.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Dynamic Transformers Provide a False Sense of Efficiency
  2. 2025Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence Benchmarks
  3. 2026Unifying Adversarial Robustness and Training Across Text Scoring Models
  4. 2026Evaluating Language Model Safety Across Long Adversarial Conversations
  5. 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMs
  6. 2022Rethinking Textual Adversarial Defense for Pre-trained Language Models
  7. 2024Adversarial Attacks on Large Language Models Using Regularized Relaxation
  8. 2026Adversarial Attacks on Multimodal Large Language Models: A Comprehensive Survey