Robust Transformer with Locality Inductive Bias and Feature Normalization
Not on the map. Why?
Abstract (arXiv)
Vision transformers have been demonstrated to yield state-of-the-art results on a variety of computer vision tasks using attention-based networks. However, research works in transformers mostly do not investigate robustness/accuracy trade-off, and they still struggle to handle adversarial perturbations. In this paper, we explore the robustness of vision transformers against adversarial perturbations and try to enhance their robustness/accuracy trade-off in white box attack settings. To this end, we propose Locality iN Locality (LNL) transformer model. We prove that the locality introduction to LNL contributes to the robustness performance since it aggregates local information such as lines, edges, shapes, and even objects. In addition, to further improve the robustness performance, we encourage LNL to extract training signal from the moments (a.k.a., mean and standard deviation) and the normalized features. We validate the effectiveness and generality of LNL by achieving state-of-the-art results in terms of accuracy and robustness metrics on German Traffic Sign Recognition Benchmark (GTSRB) and Canadian Institute for Advanced Research (CIFAR-10). More specifically, for traffic sign classification, the proposed LNL yields gains of 1.1% and ~35% in terms of clean and robustness accuracy compared to the state-of-the-art studies.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 37 of its 57 references that are in the map. First posted on arXiv 27 Jan 2023.
Builds on
37 of 57 references.
References · 37
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2015Learning Deep Features for Discriminative Localizationcited by 2,436
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
25 more
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
- 2021Uformer: A General U-Shaped Transformer for Image Restorationcited by 866
- 2021Transformer in Transformercited by 633
- 2021Conditional Positional Encodings for Vision Transformerscited by 406
- 2019Making Convolutional Networks Shift-Invariant Againcited by 391
- 2020Puzzle Mix: Exploiting Saliency and Local Statistics for Optimal Mixupcited by 261
- 2021Understanding Robustness of Transformers for Image Classificationcited by 249
- 2021Incorporating Convolution Designs into Visual Transformerscited by 248
- 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
- 2021Vision Transformers are Robust Learnerscited by 207
- 2021Are Transformers More Robust Than CNNs?cited by 187
- 2021On the Robustness of Vision Transformers to Adversarial Examplescited by 167
- 2021Towards Robust Vision Transformercited by 137
- 2020Do Wider Neural Networks Really Help Adversarial Robustness?cited by 79
- 2021Vision Transformer Pruningcited by 79
- 2021ResT: An Efficient Transformer for Visual Recognitioncited by 79
- 2020On Feature Normalization and Data Augmentationcited by 71
- 2021Adversarial Robustness Comparison of Vision Transformer and MLP-Mixer to CNNscited by 57
- 2021Glance-and-Gaze Vision Transformercited by 42
- 2019CAGNet: Content-Aware Guidance for Salient Object Detectioncited by 16
- 2022Pyramid Transformer for Traffic Sign Detectioncited by 6
- 2020DFNet: Discriminative feature extraction and integration network for salient object detectioncited by 2
Built on by
Citing papers per year: 2023: 6; 2024: 2; 2025: 2; 2026: 2.
12 papers.
- 2023MedViT: A Robust Vision Transformer for Generalized Medical Image Classificationcited by 89
- 2023Dilated-UNet: A Fast and Accurate Medical Image Segmentation Approach using a Dilated Transformer and U-Net Architecturecited by 8
- 2025Medical Image Classification with KAN-Integrated Transformers and Dilated Neighborhood Attentioncited by 5
- 2023Distilling Knowledge from CNN-Transformer Models for Enhanced Human Action Recognitioncited by 3
- 2023Traffic Sign Recognition Using Local Vision Transformercited by 3
- 2024UniTT-Stereo: Unified Training of Transformer for Enhanced Stereo Matchingcited by 3
- 2026LiftFormer: Lifting and Frame Theory Based Monocular Depth Estimation Using Depth and Edge Oriented Subspace Representationcited by 3
- 2023Efficient Vision Transformer for Accurate Traffic Sign Detectioncited by 1
- 2023Capturing Local and Global Features in Medical Images by Using Ensemble CNN-Transformercited by 1
- 2026NeuroShield: A Neuro-Symbolic Framework for Adversarial Robustnesscited by 1
- 2024Revolutionizing Traffic Sign Recognition: Unveiling the Potential of Vision Transformerscited by 0
- 2025Road Traffic Sign Recognition method using Siamese network Combining Efficient-CNN based Encodercited by 0
- 2026LiftFormer: Lifting and Frame Theory Based Monocular Depth Estimation Using Depth and Edge Oriented Subspace Representation8 Apr 2026
- 2026NeuroShield: A Neuro-Symbolic Framework for Adversarial Robustness19 Jan 2026
- 2025Road Traffic Sign Recognition method using Siamese network Combining Efficient-CNN based Encoder21 Feb 2025
- 2025Medical Image Classification with KAN-Integrated Transformers and Dilated Neighborhood Attention19 Feb 2025
- 2024UniTT-Stereo: Unified Training of Transformer for Enhanced Stereo Matching4 Sep 2024
- 2024Revolutionizing Traffic Sign Recognition: Unveiling the Potential of Vision Transformers29 Apr 2024
- 2023Traffic Sign Recognition Using Local Vision Transformer11 Nov 2023
- 2023Capturing Local and Global Features in Medical Images by Using Ensemble CNN-Transformer3 Nov 2023
- 2023Efficient Vision Transformer for Accurate Traffic Sign Detection2 Nov 2023
- 2023Distilling Knowledge from CNN-Transformer Models for Enhanced Human Action Recognition2 Nov 2023
- 2023Dilated-UNet: A Fast and Accurate Medical Image Segmentation Approach using a Dilated Transformer and U-Net Architecture22 Apr 2023
- 2023MedViT: A Robust Vision Transformer for Generalized Medical Image Classification19 Feb 2023