Skip to main navigation Skip to search Skip to main content

RBFormer: Improve Adversarial Robustness of Transformer by Robust Bias

  • Hao Cheng
  • , Jinhao Duan
  • , Hui Li
  • , Jiahang Cao
  • , Ping Wang
  • , Lyutianyang Zhang
  • , Jize Zhang
  • , Kaidi Xu
  • , Renjing Xu

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

Abstract

Recently, there has been a surge of interest and attention in Transformer-based structures, such as Vision Transformer (ViT) and Vision Multilayer Perceptron (VMLP). Compared with the previous convolution-based structures, the Transformer-based structure under investigation showcases a comparable or superior performance under its distinctive attention-based input token mixer strategy. Introducing adversarial examples as a robustness consideration has had a profound and detrimental impact on the performance of well-established convolution-based structures. This inherent vulnerability to adversarial attacks has also been demonstrated in Transformer-based structures. In this paper, our emphasis lies on investigating the intrinsic robustness of the structure rather than introducing novel defense measures against adversarial attacks. To address the susceptibility to robustness issues, we employ a rational structure design approach to mitigate such vulnerabilities. Specifically, we enhance the adversarial robustness of the structure by increasing the proportion of high-frequency structural robust biases. As a result, we introduce a novel structure called Robust Bias Transformer-based Structure (RBFormer) that shows robust superiority compared to several existing baseline structures. Through a series of extensive experiments, RBFormer outperforms the original structures by a significant margin, achieving an impressive improvement of +16.12% and +5.04% across different evaluation criteria on CIFAR-10 and ImageNet-1k, respectively. © 2023. The copyright of this document resides with its authors.
Original languageEnglish
Title of host publicationBMVC 2023 - The 34th British Machine Vision Conference Proceedings
PublisherBritish Machine Vision Association, BMVA
Number of pages14
Publication statusPublished - Nov 2023
Externally publishedYes
Event34th British Machine Vision Conference (BMVC 2023) - Aberdeen, United Kingdom
Duration: 20 Nov 202324 Nov 2023
https://bmvc2023.org/

Publication series

NameBritish Machine Vision Conference, BMVC

Conference

Conference34th British Machine Vision Conference (BMVC 2023)
Abbreviated titleBMVC2023
PlaceUnited Kingdom
CityAberdeen
Period20/11/2324/11/23
Internet address

Fingerprint

Dive into the research topics of 'RBFormer: Improve Adversarial Robustness of Transformer by Robust Bias'. Together they form a unique fingerprint.

Cite this