mlsanityData to 14 Oct 2026

ProTransformer: Robustify Transformers via Plug-and-Play Paradigm

arXiv 2410.23182 ↗First posted 30 Oct 2024cs.LG cs.CL cs.CRcited by 5

Not on the map. Why?

Abstract (arXiv)

Transformer-based architectures have dominated various areas of machine learning in recent years. In this paper, we introduce a novel robust attention mechanism designed to enhance the resilience of transformer-based architectures. Crucially, this technique can be integrated into existing transformers as a plug-and-play layer, improving their robustness without the need for additional training or fine-tuning. Through comprehensive experiments and ablation studies, we demonstrate that our ProTransformer significantly enhances the robustness of transformer models across a variety of prediction tasks, attack mechanisms, backbone architectures, and data domains. Notably, without further fine-tuning, the ProTransformer consistently improves the performance of vanilla transformers by 19.5%, 28.3%, 16.1%, and 11.4% for BERT, ALBERT, DistilBERT, and RoBERTa, respectively, under the classical TextFooler attack. Furthermore, ProTransformer shows promising resilience in large language models (LLMs) against prompting-based attacks, improving the performance of T5 and LLaMA by 24.8% and 17.8%, respectively, and enhancing Vicuna by an average of 10.4% against the Jailbreaking attack. Beyond the language domain, ProTransformer also demonstrates outstanding robustness in both vision and graph domains.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 56 of its 85 references that are in the map. First posted on arXiv 30 Oct 2024.

Builds on

56 of 85 references.

References · 56

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  8. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  9. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  10. 2017Graph Attention Networkscited by 8,923
  11. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  12. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
38 more
  1. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  2. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  4. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  5. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  6. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  7. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  8. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  9. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  10. 2021Transformers in Vision: A Surveycited by 1,013
  11. 2020Efficient Transformers: A Surveycited by 790
  12. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
  13. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  14. 2019Graph Transformer Networkscited by 523
  15. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 498
  16. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  17. 2021A Survey of Transformerscited by 401
  18. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
  19. 2020Graph Structure Learning for Robust Graph Neural Networkscited by 371
  20. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
  21. 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 333
  22. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  23. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
  24. 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 264
  25. 2020Graph Random Neural Network for Semi-Supervised Learning on Graphscited by 213
  26. 2019Topology Attack and Defense for Graph Neural Networks: An Optimization Perspectivecited by 196
  27. 2020GNNGuard: Defending Graph Neural Networks against Adversarial Attackscited by 195
  28. 2019Certified Robustness to Adversarial Word Substitutionscited by 168
  29. 2017Deep Text Classification Can be Fooledcited by 106
  30. 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 103
  31. 2021Robustness of Graph Neural Networks at Scalecited by 100
  32. 2020InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspectivecited by 92
  33. 2022TableFormer: Robust Transformer Modeling for Table-Text Encodingcited by 91
  34. 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 88
  35. 2020SAFER: A Structure-free Approach for Certified Robustness to Adversarial Word Substitutionscited by 73
  36. 2021Towards Robustness Against Natural Language Word Substitutionscited by 69
  37. 2022Evaluating the Susceptibility of Pre-Trained Language Models via Handcrafted Adversarial Examplescited by 69
  38. 2018Interpretable Adversarial Perturbation in Input Embedding Space for Textcited by 67

50 most cited of 56 All 56 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026At the Edge of Understanding: Sparse Autoencoders Trace The Limits of Transformer Generalization
  2. 2026Adaptive Computation Depth via Learned Token Routing in Transformers
  3. 2023Adventures of Trustworthy Vision-Language Models: A Survey
  4. 2025Efficient Adaptive Transformer: An Empirical Study and Reproducible Framework
  5. 2026From Correlation to Cause: A Five-Stage Methodology for Feature Analysis in Transformer Language Models
  6. 2025Manipulating Transformer-Based Models: Controllability, Steerability, and Robust Interventions
  7. 2026Symmetry Breaking in Transformers for Efficient and Interpretable Training
  8. 2025Pruning and Malicious Injection: A Retraining-Free Backdoor Attack on Transformer Models