ProTransformer: Robustify Transformers via Plug-and-Play Paradigm
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
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2017Graph Attention Networkscited by 8,923
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
38 more
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
- 2021Transformers in Vision: A Surveycited by 1,013
- 2020Efficient Transformers: A Surveycited by 790
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2019Graph Transformer Networkscited by 523
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 498
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2021A Survey of Transformerscited by 401
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
- 2020Graph Structure Learning for Robust Graph Neural Networkscited by 371
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
- 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 333
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
- 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 264
- 2020Graph Random Neural Network for Semi-Supervised Learning on Graphscited by 213
- 2019Topology Attack and Defense for Graph Neural Networks: An Optimization Perspectivecited by 196
- 2020GNNGuard: Defending Graph Neural Networks against Adversarial Attackscited by 195
- 2019Certified Robustness to Adversarial Word Substitutionscited by 168
- 2017Deep Text Classification Can be Fooledcited by 106
- 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 103
- 2021Robustness of Graph Neural Networks at Scalecited by 100
- 2020InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspectivecited by 92
- 2022TableFormer: Robust Transformer Modeling for Table-Text Encodingcited by 91
- 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 88
- 2020SAFER: A Structure-free Approach for Certified Robustness to Adversarial Word Substitutionscited by 73
- 2021Towards Robustness Against Natural Language Word Substitutionscited by 69
- 2022Evaluating the Susceptibility of Pre-Trained Language Models via Handcrafted Adversarial Examplescited by 69
- 2018Interpretable Adversarial Perturbation in Input Embedding Space for Textcited by 67
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2026LaplacianFormer:Rethinking Linear Attention with Laplacian Kernelcited by 3
- 2026CENTILE: A Telemetry Foundation Model Evaluated by the Decisions It Drivescited by 2
- 2025Boosting Adversarial Robustness and Generalization with Dictionary Structurecited by 1
- 2026Stratified Consistency Distillation for Natural Language Formalizationcited by 1
- 2026Towards One-for-All Robustness Across a Continuum of Threat Levelscited by 0
- 2026Towards One-for-All Robustness Across a Continuum of Threat Levels2 Sep 2026
- 2026Stratified Consistency Distillation for Natural Language Formalization31 Aug 2026
- 2026CENTILE: A Telemetry Foundation Model Evaluated by the Decisions It Drives3 Aug 2026
- 2026LaplacianFormer:Rethinking Linear Attention with Laplacian Kernel22 Apr 2026
- 2025Boosting Adversarial Robustness and Generalization with Dictionary Structure2 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2026At the Edge of Understanding: Sparse Autoencoders Trace The Limits of Transformer Generalization
- 2026Adaptive Computation Depth via Learned Token Routing in Transformers
- 2023Adventures of Trustworthy Vision-Language Models: A Survey
- 2025Efficient Adaptive Transformer: An Empirical Study and Reproducible Framework
- 2026From Correlation to Cause: A Five-Stage Methodology for Feature Analysis in Transformer Language Models
- 2025Manipulating Transformer-Based Models: Controllability, Steerability, and Robust Interventions
- 2026Symmetry Breaking in Transformers for Efficient and Interpretable Training
- 2025Pruning and Malicious Injection: A Retraining-Free Backdoor Attack on Transformer Models