paper-with-me

홈 › Papers

Blacksmith: Fast Adversarial Training of Vision Transformers via a Mixture of Single-step and Multi-step Methods

2023-10-29 · Mahdi Salmani, Alireza Dehghanpour Farashah, Mohammad Azizmalayeri, Mahdi Amiri, Navid Eslami, Mohammad Taghi Manzuri, Mohammad Hossein Rohban

Despite the remarkable success achieved by deep learning algorithms in various domains, such as computer vision, they remain vulnerable to adversarial perturbations. Adversarial Training (AT) stands out as one of the most effective solutions to address this issue; however, single-step AT can lead to Catastrophic Overfitting (CO). This scenario occurs when the adversarially trained network suddenly loses robustness against multi-step attacks like Projected Gradient Descent (PGD). Although several approaches have been proposed to address this problem in Convolutional Neural Networks (CNNs), we found out that they do not perform well when applied to Vision Transformers (ViTs). In this paper, we propose Blacksmith, a novel training strategy to overcome the CO problem, specifically in ViTs. Our approach utilizes either of PGD-2 or Fast Gradient Sign Method (FGSM) randomly in a mini-batch during the adversarial training of the neural network. This will increase the diversity of our training attacks, which could potentially mitigate the CO issue. To manage the increased training time resulting from this combination, we craft the PGD-2 attack based on only the first half of the layers, while FGSM is applied end-to-end. Through our experiments, we demonstrate that our novel method effectively prevents CO, achieves PGD-2 level performance, and outperforms other existing techniques including N-FGSM, which is the state-of-the-art method in fast training for CNNs.

📄 PDF Abstract BibTeX arXiv:2310.18975

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Towards Efficient Adversarial Training on Vision Transformers

2022-07-21 · Boxi Wu, Jindong Gu, Zhifeng Li, Deng Cai 외

Vision Transformer (ViT), as a powerful alternative to Convolutional Neural Network (CNN), has received much attention. Recent work showed that ViTs are also vulnerable to adversarial examples like CNNs. To build robust …

Blacksmith: Scalable Rowhammering in the Frequency Domain

2022-05-01 · IEEE Symposium on Security and Privacy 2022 5 · Patrick Jattke, Victor van der Veen, Pietro Frigo, Stijn Gunter 외

We present the new class of non-uniform Rowhammer access patterns that bypass undocumented, proprietary in-DRAM Target Row Refresh (TRR) while operating in a production setting. We show that these patterns trigger bit fl…

When Adversarial Training Meets Vision Transformers: Recipes from Training to Architecture

2022-10-14 · Yichuan Mo, Dongxian Wu, Yifei Wang, Yiwen Guo 외

Vision Transformers (ViTs) have recently achieved competitive performance in broad vision tasks. Unfortunately, on popular threat models, naturally trained ViTs are shown to provide no more adversarial robustness than co…

Adversarial Robustness

Attacking Compressed Vision Transformers

2022-09-28 · Swapnil Parekh, Devansh Shah, Pratyush Shukla

Vision Transformers are increasingly embedded in industrial systems due to their superior performance, but their memory and power requirements make deploying them to edge devices a challenging task. Hence, model compress…

Model Compression

Attention-based Adversarial Robust Distillation in Radio Signal Classifications for Low-Power IoT Devices

2025-06-13 · Lu Zhang, Sangarapillai Lambotharan, Gan Zheng, Guisheng Liao 외

Due to great success of transformers in many applications such as natural language processing and computer vision, transformers have been successfully applied in automatic modulation classification. We have shown that tr…