T-Miner: A Generative Approach to Defend Against Trojan Attacks on DNN-based Text Classification
Ahmadreza Azizi, Ibrahim Asadullah Tahmid, Asim Waheed, Neal Mangaokar, Jiameng Pu, Mobin Javed, Chandan K. Reddy, Bimal Viswanath
摘要
Deep Neural Network (DNN) classifiers are known to be vulnerable to Trojan or backdoor attacks, where the classifier is manipulated such that it misclassifies any input containing an attacker-determined Trojan trigger. Backdoors compromise a model's integrity, thereby posing a severe threat to the landscape of DNN-based classification. While multiple defenses against such attacks exist for classifiers in the image domain, there have been limited efforts to protect classifiers in the text domain. We present Trojan-Miner (T-Miner) -- a defense framework for Trojan attacks on DNN-based text classifiers. T-Miner employs a sequence-to-sequence (seq-2-seq) generative model that probes the suspicious classifier and learns to produce text sequences that are likely to contain the Trojan trigger. T-Miner then analyzes the text produced by the generative model to determine if they contain trigger phrases, and correspondingly, whether the tested classifier has a backdoor. T-Miner requires no access to the training dataset or clean inputs of the suspicious classifier, and instead uses synthetically crafted "nonsensical" text inputs to train the generative model. We extensively evaluate T-Miner on 1100 model instances spanning 3 ubiquitous DNN model architectures, 5 different classification tasks, and a variety of trigger phrases. We show that T-Miner detects Trojan and clean models with a 98.75% overall accuracy, while achieving low false positives on clean models. We also show that T-Miner is robust against a variety of targeted, advanced attacks from an adaptive attacker.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 32 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models 引用了 Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
- RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models 引用了 Trojaning Attack on Neural Networks
- TextBugger: Generating Adversarial Text Against Real-world Applications 引用了 Towards Evaluating the Robustness of Neural Networks
- Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesis 引用了 Trojaning Attack on Neural Networks
- Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesis 引用了 Constrained Optimization with Dynamic Bound-scaling for Effective NLP Backdoor Defense
- Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment 引用了 TextBugger: Generating Adversarial Text Against Real-world Applications
- ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLP 引用了 RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models
- ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLP 引用了 Constrained Optimization with Dynamic Bound-scaling for Effective NLP Backdoor Defense
- TrojanPuzzle: Covertly Poisoning Code-Suggestion Models 引用了 Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
- Constrained Optimization with Dynamic Bound-scaling for Effective NLP Backdoor Defense 引用了 Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
引用它的顶会 Paper32
- TrojanPuzzle: Covertly Poisoning Code-Suggestion ModelsHojjat Aghakhani, Wei Dai, Andre Manoel, Xavier Fernandes 等S&P 2024 · 70 次引用
- Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image SynthesisLukas Struppek, Dominik Hintersdorf, Kristian KerstingICCV 2023 · 65 次引用
- Constrained Optimization with Dynamic Bound-scaling for Effective NLP Backdoor DefenseGuangyu Shen, Yingqi Liu, Guanhong Tao, Qiuling Xu 等ICML 2022 · 58 次引用
- RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP ModelsWenkai Yang, Yankai Lin, Peng Li, Jie Zhou 等EMNLP 2021 · 57 次引用
- ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLPLu Yan, Zhuo Zhang, Guanhong Tao, Kaiyuan Zhang 等NeurIPS 2023 · 37 次引用
它引用的 Paper9
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
- Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural NetworksBolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li 等S&P 2019 · 1,801 次引用
- Trojaning Attack on Neural NetworksYingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee 等NDSS 2018 · 1,377 次引用
- Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and EntailmentDi Jin, Zhijing Jin, Joey Tianyi Zhou, Peter SzolovitsAAAI 2020 · 1,333 次引用
- TextBugger: Generating Adversarial Text Against Real-world ApplicationsJinfeng Li, Shouling Ji, Tianyu Du, Bo Li 等NDSS 2019 · 876 次引用
相关 Paper
- Towards Backdoor Attack on Deep Learning based Time Series ClassificationDaizong Ding, Mi Zhang, Yuanmin Huang, Xudong Pan 等ICDE 2022 · 17 次引用
- Deep Feature Space Trojan Attack of Neural Networks by Controlled DetoxificationSiyuan Cheng, Yingqi Liu, Shiqing Ma, Xiangyu ZhangAAAI 2021 · 191 次引用
- Composite Backdoor Attack for Deep Neural Network by Mixing Existing Benign FeaturesJunyu Lin, Lei Xu, Yingqi Liu, Xiangyu ZhangCCS 2020 · 197 次引用
- MDTD: A Multi-Domain Trojan Detector for Deep Neural NetworksArezoo Rajabi, Surudhi Asokraj, Fengqing Jiang, Luyao Niu 等CCS 2023
- TextGuard: Provable Defense against Backdoor Attacks on Text ClassificationHengzhi Pei, Jinyuan Jia, Wenbo Guo, Bo Li 等NDSS 2024
