paper-with-me

홈 › Papers

Not All Prompts Are Secure: A Switchable Backdoor Attack Against Pre-trained Vision Transfomers

2024-01-01 · CVPR 2024 1 · Sheng Yang, Jiawang Bai, Kuofeng Gao, Yong Yang, Yiming Li, Shu-Tao Xia

Given the power of vision transformers a new learning paradigm pre-training and then prompting makes it more efficient and effective to address downstream visual recognition tasks. In this paper we identify a novel security threat towards such a paradigm from the perspective of backdoor attacks. Specifically an extra prompt token called the switch token in this work can turn the backdoor mode on i.e. converting a benign model into a backdoored one. Once under the backdoor mode a specific trigger can force the model to predict a target class. It poses a severe risk to the users of cloud API since the malicious behavior can not be activated and detected under the benign mode thus making the attack very stealthy. To attack a pre-trained model our proposed attack named SWARM learns a trigger and prompt tokens including a switch token. They are optimized with the clean loss which encourages the model always behaves normally even the trigger presents and the backdoor loss that ensures the backdoor can be activated by the trigger when the switch is on. Besides we utilize the cross-mode feature distillation to reduce the effect of the switch token on clean samples. The experiments on diverse visual recognition tasks confirm the success of our switchable backdoor attack i.e. achieving 95%+ attack success rate and also being hard to be detected and removed. Our code is available at https://github.com/20000yshust/SWARM.

📄 PDF Abstract BibTeX

Code (1)

20000yshust/swarm 공식 구현 pytorch

Tasks

AllBackdoor Attack

Similar Papers 제목 키워드 기반

Not All Prompts Are Secure: A Switchable Backdoor Attack Against Pre-trained Vision Transformers

2024-05-17 · Sheng Yang, Jiawang Bai, Kuofeng Gao, Yong Yang 외

Given the power of vision transformers, a new learning paradigm, pre-training and then prompting, makes it more efficient and effective to address downstream visual recognition tasks. In this paper, we identify a novel s…

AllBackdoor Attack

Meta Federated Learning

2021-02-10 · Omid Aramoon, Pin-Yu Chen, Gang Qu, Yuan Tian

Due to its distributed methodology alongside its privacy-preserving features, Federated Learning (FL) is vulnerable to training time adversarial attacks. In this study, our focus is on backdoor attacks in which the adver…

Federated LearningPrivacy Preserving

BAFFLE: TOWARDS RESOLVING FEDERATED LEARNING’S DILEMMA - THWARTING BACKDOOR AND INFERENCE ATTACKS

2021-01-01 · Thien Duc Nguyen, Phillip Rieger, Hossein Yalame, Helen Möllering 외

Recently, federated learning (FL) has been subject to both security and privacy attacks posing a dilemmatic challenge on the underlying algorithmic designs: On the one hand, FL is shown to be vulnerable to backdoor attac…

Federated Learningimage-classificationImage Classification

SecureGaze: Defending Gaze Estimation Against Backdoor Attacks

2025-02-27 · Lingyu Du, Yupei Liu, Jinyuan Jia, Guohao Lan

Gaze estimation models are widely used in applications such as driver attention monitoring and human-computer interaction. While many methods for gaze estimation exist, they rely heavily on data-hungry deep learning to a…

Driver Attention MonitoringGaze Estimation

Does Differential Privacy Prevent Backdoor Attacks in Practice?

2023-11-10 · Fereshteh Razmi, Jian Lou, Li Xiong

Differential Privacy (DP) was originally developed to protect privacy. However, it has recently been utilized to secure machine learning (ML) models from poisoning attacks, with DP-SGD receiving substantial attention. Ne…