BERT Lost Patience Won't Be Robust to Adversarial Slowdown
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2013Intriguing properties of neural networkscited by 5,155
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2020A Primer in BERTology: What we know about how BERT workscited by 815
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 596
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
22 more
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
- 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 273
- 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 264
- 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 254
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 234
- 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 232
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
- 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspectivecited by 211
- 2019Certified Robustness to Adversarial Word Substitutionscited by 168
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 140
- 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
- 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 126
- 2020Adversarial Training for Large Neural Language Modelscited by 111
- 2020Sponge Examples: Energy-Latency Attacks on Neural Networkscited by 111
- 2018On Adversarial Examples for Character-Level Neural Machine Translationcited by 85
- 2021Towards Improving Adversarial Training of NLP Modelscited by 79
- 2021Bad Characters: Imperceptible NLP Attackscited by 71
- 2020A Panda? No, It's a Sloth: Slowdown Attacks on Adaptive Multi-Exit Neural Network Inferencecited by 61
- 2021Achieving Model Robustness through Discrete Adversarial Trainingcited by 23
- 2021Elbert: Fast Albert with Confidence-Window Based Early Exitcited by 14
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 1.
4 papers.
- 2025OverThink: Slowdown Attacks on Reasoning LLMscited by 96
- 2024Unmasking Database Vulnerabilities: Zero-Knowledge Schema Inference Attacks in Text-to-SQL Systemscited by 6
- 2025Efficiency Robustness of Dynamic Deep Learning Systemscited by 1
- 2026Asking Forever: Universal Activations Behind Turn Amplification in Conversational LLMscited by 0
- 2026Asking Forever: Universal Activations Behind Turn Amplification in Conversational LLMs19 Feb 2026
- 2025Efficiency Robustness of Dynamic Deep Learning Systems12 Jun 2025
- 2025OverThink: Slowdown Attacks on Reasoning LLMs4 Feb 2025
- 2024Unmasking Database Vulnerabilities: Zero-Knowledge Schema Inference Attacks in Text-to-SQL Systems20 Jun 2024
Similar, not cited
Close in wording, no citation either way
- 2023Dynamic Transformers Provide a False Sense of Efficiency
- 2025Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence Benchmarks
- 2026Unifying Adversarial Robustness and Training Across Text Scoring Models
- 2026Evaluating Language Model Safety Across Long Adversarial Conversations
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMs
- 2022Rethinking Textual Adversarial Defense for Pre-trained Language Models
- 2024Adversarial Attacks on Large Language Models Using Regularized Relaxation
- 2026Adversarial Attacks on Multimodal Large Language Models: A Comprehensive Survey