Research map / Adversarial robustness and security / Attacks on text and graphs
Dynamic Transformers Provide a False Sense of Efficiency
Yiming Chen, Simin Chen, Zexin Li, Wei Yang, Cong Liu, Robby T. Tan, Haizhou Li
National University of Singapore · University of Texas at Dallas · University of California, Riverside · The Chinese University of Hong Kong · Kriston AI Lab
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 |
|---|---|---|---|
| attack with SAME-Word instead of A2T | DeeBERT-base · SST-2 PD<2% | speedup: 2.35x -> 1.10x | Improved |
| use accuracy-oriented attacks (TextFooler, PWWS etc.) | dynamic transformers · QQP, RTE | speedup: can raise speedup | Hurt |
| add heuristic (patience) loss only (ablation) | SAME on PABEE-BERT-base · QNLI | speedup: 1.58x -> 1.11x | Improved |
| add mess loss to heuristic loss (ablation) | SAME on PABEE-BERT-base · QNLI | high computation ratio: 72.20% -> 73.70% | Improved |
| add layer-wise importance weights (ablation) | SAME on PABEE-BERT-base · QNLI | high computation ratio: 73.70% -> 74.70% | Improved |
| add accuracy term to the objective (SAME+) | SAME-Word on DeeBERT · SST-2 | accuracy: 63.53 -> 24.08 | Improved |
| raise allowed modification rate from 3% to 10% | SAME-Word on DeeBERT-base · GLUE average PD<2% | efficiency reduction ratio: 70.46 -> 90.21 | Improved |
| adversarially train with SAME data | DeeBERT · MRPC | speedup under SAME attack: 1.09x -> 1.36x | Improved |
| adversarially train with SAME data | PABEE-ALBERT · MRPC | speedup under SAME attack: 1.32x -> 3.20x | Improved |
| use RoBERTa instead of BERT backbone | DeeBERT · SST-2 PD<2% | speedup under SAME-Word: 1.10x -> 1.63x | Improved |
| use patience-based instead of entropy-based exit | dynamic transformer · GLUE | vulnerability to SAME | No clear effect |
| attack larger 24-layer models | SAME · SST-2, MNLI | speedup reduction: 89% vs 93% on base-size | No clear effect |
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
- BERT Lost Patience Won't Be Robust to Adversarial Slowdown (NeurIPS 2023 · similarity 0.91)
- SlowBERT: Slow-down Attacks on Input-adaptive Multi-exit BERT (ACL 2023 · similarity 0.88)
- Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Models (NeurIPS 2021 · similarity 0.88)
- Rethinking the Adversarial Robustness of Multi-Exit Neural Networks in an Attack-Defense Game (CVPR 2025 · similarity 0.87)
- Scaling Trends in Language Model Robustness (ICML 2025 · similarity 0.87)
- Confidence Elicitation: A New Attack Vector for Large Language Models (ICLR 2025 · 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.