Ptolemy: Architecture Support for Robust Deep Learning
摘要
Deep learning is vulnerable to adversarial attacks, where carefully-crafted input perturbations could mislead a well-trained Deep Neural Network (DNN) to produce incorrect results. Adversarial attacks jeopardize the safety, security, and privacy of DNN-enabled systems. Today's countermeasures to adversarial attacks either do not have the capability to detect adversarial samples at inference-time, or introduce prohibitively high overhead to be practical at inference-time.
We propose Ptolemy, an algorithm-architecture co-designed system that detects adversarial attacks at inference time with low overhead and high accuracy. We exploit the synergies between DNN inference and imperative program execution: an input to a DNN uniquely activates a set of neurons that contribute significantly to the inference output, analogous to the sequence of basic blocks exercised by an input in a conventional program. Critically, we observe that adversarial samples tend to activate distinctive paths from those of benign inputs. Leveraging this insight, we propose an adversarial sample detection framework, which uses canary paths generated from offline profiling to detect adversarial samples at runtime. The Ptolemy compiler along with the co-designed hardware enable efficient execution by exploiting the unique algorithmic characteristics. Extensive evaluations show that Ptolemy achieves higher or similar adversarial sample detection accuracy than today's mechanisms with a much lower (as low as 2%) runtime overhead.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Towards Evaluating the Robustness of Neural Networks 引用了 Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- VELTAIR: towards high-performance multi-tenant deep learning services via adaptive compilation and scheduling 引用了 Dual-side Sparse Tensor Core
- ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantization 引用了 VELTAIR: towards high-performance multi-tenant deep learning services via adaptive compilation and scheduling
- ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantization 引用了 SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning
- ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantization 引用了 Dual-side Sparse Tensor Core
- ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantization 引用了 Block-Skim: Efficient Question Answering for Transformer
- On Adaptive Attacks to Adversarial Example Defenses 引用了 Towards Evaluating the Robustness of Neural Networks
- On Adaptive Attacks to Adversarial Example Defenses 引用了 Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural Hints 引用了 Towards Evaluating the Robustness of Neural Networks
- NIC: Detecting Adversarial Samples with Neural Network Invariant Checking 引用了 Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
引用它的顶会 Paper8
- SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head PruningHanrui Wang, Zhekai Zhang, Song HanHPCA 2021 · 412 次引用
- ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network QuantizationCong Guo, Chen Zhang, Jingwen Leng, Zihan Liu 等MICRO 2022 · 109 次引用
- Dual-side Sparse Tensor CoreYang Wang, Chen Zhang, Zhiqiang Xie, Cong Guo 等ISCA 2021 · 109 次引用
- VELTAIR: towards high-performance multi-tenant deep learning services via adaptive compilation and schedulingZihan Liu, Jingwen Leng, Zhihui Zhang, Quan Chen 等ASPLOS 2022 · 52 次引用
- Block-Skim: Efficient Question Answering for TransformerYue Guan, Zhengyi Li, Zhouhan Lin, Yuhao Zhu 等AAAI 2022 · 33 次引用
它引用的 Paper7
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
- Distillation as a Defense to Adversarial Perturbations Against Deep Neural NetworksNicolas Papernot, Patrick D. McDaniel, Xi Wu, Somesh Jha 等S&P 2016 · 3,275 次引用
- On Adaptive Attacks to Adversarial Example DefensesFlorian Tramèr, Nicholas Carlini, Wieland Brendel, Aleksander MadryNeurIPS 2020 · 1,026 次引用
- NIC: Detecting Adversarial Samples with Neural Network Invariant CheckingShiqing Ma, Yingqi Liu, Guanhong Tao, Wen-Chuan Lee 等NDSS 2019 · 283 次引用
- DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural HintsXing Hu, Ling Liang, Shuangchen Li, Lei Deng 等ASPLOS 2020 · 128 次引用
相关 Paper
- DNNGuard: An Elastic Heterogeneous DNN Accelerator Architecture against Adversarial AttacksXingbin Wang, Rui Hou, Boyan Zhao, Fengkai Yuan 等ASPLOS 2020 · 33 次引用
- NeuroScope: Reverse Engineering Deep Neural Network on Edge Devices using Dynamic AnalysisRuoyu Wu, Muqi Zou, Arslan Khan, Taegyu Kim 等USENIX Security 2025
- DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks ExecutablesZhibo Liu, Yuanyuan Yuan, Yanzuo Chen, Sihang Hu 等CCS 2024 · 3 次引用
- Unified Architectural Support for Secure and Robust Deep LearningMojan Javaheripi, Huili Chen, Farinaz KoushanfarDAC 2020 · 3 次引用
- AdvHunter: Detecting Adversarial Perturbations in Black-Box Neural Networks through Hardware Performance CountersManaar Alam, Michail ManiatakosDAC 2024 · 3 次引用
