paper-with-me

Papers

TrojViT: Trojan Insertion in Vision Transformers

2022-08-27 · CVPR 2023 1 · Mengxin Zheng, Qian Lou, Lei Jiang

Vision Transformers (ViTs) have demonstrated the state-of-the-art performance in various vision-related tasks. The success of ViTs motivates adversaries to perform backdoor attacks on ViTs. Although the vulnerability of traditional CNNs to backdoor attacks is well-known, backdoor attacks on ViTs are seldom-studied. Compared to CNNs capturing pixel-wise local features by convolutions, ViTs extract global context information through patches and attentions. Na\"ively transplanting CNN-specific backdoor attacks to ViTs yields only a low clean data accuracy and a low attack success rate. In this paper, we propose a stealth and practical ViT-specific backdoor attack $TrojViT$. Rather than an area-wise trigger used by CNN-specific backdoor attacks, TrojViT generates a patch-wise trigger designed to build a Trojan composed of some vulnerable bits on the parameters of a ViT stored in DRAM memory through patch salience ranking and attention-target loss. TrojViT further uses minimum-tuned parameter update to reduce the bit number of the Trojan. Once the attacker inserts the Trojan into the ViT model by flipping the vulnerable bits, the ViT model still produces normal inference accuracy with benign inputs. But when the attacker embeds a trigger into an input, the ViT model is forced to classify the input to a predefined target class. We show that flipping only few vulnerable bits identified by TrojViT on a ViT model using the well-known RowHammer can transform the model into a backdoored one. We perform extensive experiments of multiple datasets on various ViT models. TrojViT can classify $99.64\%$ of test images to a target class by flipping $345$ bits on a ViT for ImageNet.Our codes are available at https://github.com/mxzheng/TrojViT

📄 PDF Abstract BibTeX arXiv:2208.13049

Code (1)

mxzheng/trojvit 공식 구현 pytorch

Tasks

Backdoor Attack

Methods 이 논문이 사용한 방법론

Test 설명 없음

Similar Papers 제목 키워드 기반

TroLLoc: Logic Locking and Layout Hardening for IC Security Closure against Hardware Trojans

2024-05-09 · Fangzhou Wang, Qijing Wang, Lilas Alrahis, Bangqi Fu 외

Due to cost benefits, supply chains of integrated circuits (ICs) are largely outsourced nowadays. However, passing ICs through various third-party providers gives rise to many security threats, like piracy of IC intellec…

TrojanForge: Generating Adversarial Hardware Trojan Examples Using Reinforcement Learning

2024-05-24 · Amin Sarihi, Peter Jamieson, Ahmad Patooghy, Abdel-Hameed A. Badawy

The Hardware Trojan (HT) problem can be thought of as a continuous game between attackers and defenders, each striving to outsmart the other by leveraging any available means for an advantage. Machine Learning (ML) has r…

reinforcement-learningReinforcement LearningReinforcement Learning (RL)

Attention Hijacking in Trojan Transformers

2022-08-09 · Weimin Lyu, Songzhu Zheng, Tengfei Ma, Haibin Ling 외

Trojan attacks pose a severe threat to AI systems. Recent works on Transformer models received explosive popularity and the self-attentions are now indisputable. This raises a central question: Can we reveal the Trojans …

Security Closure of IC Layouts Against Hardware Trojans

2022-11-15 · Fangzhou Wang, Qijing Wang, Bangqi Fu, Shui Jiang 외

Due to cost benefits, supply chains of integrated circuits (ICs) are largely outsourced nowadays. However, passing ICs through various third-party providers gives rise to many threats, like piracy of IC intellectual prop…

Deep-TROJ: An Inference Stage Trojan Insertion Algorithm through Efficient Weight Replacement Attack

2024-01-01 · CVPR 2024 1 · Sabbir Ahmed, Ranyang Zhou, Shaahin Angizi, Adnan Siraj Rakin

To insert Trojan into a Deep Neural Network (DNN) the existing attack assumes the attacker can access the victim's training facilities. However a realistic threat model was recently developed by leveraging memory fau…