Lune

MICRO2020Top-tier venue

Ptolemy: Architecture Support for Robust Deep Learning

Yiming Gan, Yuxian Qiu, Jingwen Leng, Minyi Guo, Yuhao Zhu

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Towards Evaluating the Robustness of Neural Networks cites 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 cites Dual-side Sparse Tensor Core
  • ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantization cites 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 cites SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning
  • ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantization cites Dual-side Sparse Tensor Core
  • ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantization cites Block-Skim: Efficient Question Answering for Transformer
  • On Adaptive Attacks to Adversarial Example Defenses cites Towards Evaluating the Robustness of Neural Networks
  • On Adaptive Attacks to Adversarial Example Defenses cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural Hints cites Towards Evaluating the Robustness of Neural Networks
  • NIC: Detecting Adversarial Samples with Neural Network Invariant Checking cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head PruningHanrui Wang, Zhekai Zhang, Song HanHPCA 2021 · 412 citations
  2. ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network QuantizationCong Guo, Chen Zhang, Jingwen Leng, Zihan Liu et al.MICRO 2022 · 109 citations
  3. Dual-side Sparse Tensor CoreYang Wang, Chen Zhang, Zhiqiang Xie, Cong Guo et al.ISCA 2021 · 109 citations
  4. VELTAIR: towards high-performance multi-tenant deep learning services via adaptive compilation and schedulingZihan Liu, Jingwen Leng, Zhihui Zhang, Quan Chen et al.ASPLOS 2022 · 52 citations
  5. Block-Skim: Efficient Question Answering for TransformerYue Guan, Zhengyi Li, Zhouhan Lin, Yuhao Zhu et al.AAAI 2022 · 33 citations

Builds on7

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  2. Distillation as a Defense to Adversarial Perturbations Against Deep Neural NetworksNicolas Papernot, Patrick D. McDaniel, Xi Wu, Somesh Jha et al.S&P 2016 · 3,275 citations
  3. On Adaptive Attacks to Adversarial Example DefensesFlorian Tramèr, Nicholas Carlini, Wieland Brendel, Aleksander MadryNeurIPS 2020 · 1,026 citations
  4. NIC: Detecting Adversarial Samples with Neural Network Invariant CheckingShiqing Ma, Yingqi Liu, Guanhong Tao, Wen-Chuan Lee et al.NDSS 2019 · 283 citations
  5. DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural HintsXing Hu, Ling Liang, Shuangchen Li, Lei Deng et al.ASPLOS 2020 · 128 citations

Related papers

  1. DNNGuard: An Elastic Heterogeneous DNN Accelerator Architecture against Adversarial AttacksXingbin Wang, Rui Hou, Boyan Zhao, Fengkai Yuan et al.ASPLOS 2020 · 33 citations
  2. NeuroScope: Reverse Engineering Deep Neural Network on Edge Devices using Dynamic AnalysisRuoyu Wu, Muqi Zou, Arslan Khan, Taegyu Kim et al.USENIX Security 2025
  3. DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks ExecutablesZhibo Liu, Yuanyuan Yuan, Yanzuo Chen, Sihang Hu et al.CCS 2024 · 3 citations
  4. Unified Architectural Support for Secure and Robust Deep LearningMojan Javaheripi, Huili Chen, Farinaz KoushanfarDAC 2020 · 3 citations
  5. AdvHunter: Detecting Adversarial Perturbations in Black-Box Neural Networks through Hardware Performance CountersManaar Alam, Michail ManiatakosDAC 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines