BERT Lost Patience Won't Be Robust to Adversarial Slowdown

Zachary Coalson, Gabriel Ritter, Rakesh Bobba, Sanghyun Hong
2/12/2026

No confident code implementation found for this paper.

Abstract

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

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{coalson2026bert,
  title  = {BERT Lost Patience Won't Be Robust to Adversarial Slowdown},
  author = {Zachary Coalson and Gabriel Ritter and Rakesh Bobba and Sanghyun Hong},
  year   = {2026},
  eprint = {2310.19152},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.19152},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.19152.svg)](https://codeofpaper.com/paper/2310.19152)

Discussion