Lune

ICLR2021顶会

A Panda? No, It's a Sloth: Slowdown Attacks on Adaptive Multi-Exit Neural Network Inference

Sanghyun Hong, Yigitcan Kaya, Ionut-Vlad Modoranu, Tudor Dumitras

摘要

Recent increases in the computational demands of deep neural networks (DNNs), combined with the observation that most input samples require only simple models, have sparked interest in input-adaptive multi-exit architectures, such as MSDNets or Shallow-Deep Networks. These architectures enable faster inferences and could bring DNNs to low-power devices, e.g., in the Internet of Things (IoT). However, it is unknown if the computational savings provided by this approach are robust against adversarial pressure. In particular, an adversary may aim to slowdown adaptive DNNs by increasing their average inference time-a threat analogous to the denial-of-service attacks from the Internet. In this paper, we conduct a systematic evaluation of this threat by experimenting with three generic multi-exit DNNs (based on VGG16, MobileNet, and ResNet56) and a custom multi-exit architecture, on two popular image classification benchmarks (CIFAR-10 and Tiny ImageNet). To this end, we show that adversarial example-crafting techniques can be modified to cause slowdown, and we propose a metric for comparing their impact on different architectures. We show that a slowdown attack reduces the efficacy of multi-exit DNNs by 90-100%, and it amplifies the latency by 1.5-5× in a typical IoT deployment. We also show that it is possible to craft universal, reusable perturbations and that the attack can be effective in realistic black-box scenarios, where the attacker has limited knowledge about the victim. Finally, we show that adversarial training provides limited protection against slowdowns. These results suggest that further research is needed for defending multi-exit architectures against this emerging threat. Our code is available at https://github.com/sanghyun-hong/deepsloth .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 26 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Certified Robustness to Adversarial Examples with Differential Privacy 引用了 Towards Evaluating the Robustness of Neural Networks
  • Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks 引用了 Towards Evaluating the Robustness of Neural Networks
  • DynaBERT: Dynamic BERT with Adaptive Width and Depth 引用了 BERT Loses Patience: Fast and Robust Inference with Early Exit
  • Inducing High Energy-Latency of Large Vision-Language Models with Verbose Images 引用了 NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation Models
  • SlowTrack: Increasing the Latency of Camera-Based Perception in Autonomous Driving Using Adversarial Examples 引用了 Towards Evaluating the Robustness of Neural Networks
  • NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation Models 引用了 Towards Evaluating the Robustness of Neural Networks
  • NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation Models 引用了 Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper26

  1. Hard to Forget: Poisoning Attacks on Certified Machine UnlearningNeil G. Marchant, Benjamin I. P. Rubinstein, Scott AlfeldAAAI 2022 · 95 次引用
  2. Inducing High Energy-Latency of Large Vision-Language Models with Verbose ImagesKuofeng Gao, Yang Bai, Jindong Gu, Shu-Tao Xia 等ICLR 2024 · 79 次引用
  3. SlowTrack: Increasing the Latency of Camera-Based Perception in Autonomous Driving Using Adversarial ExamplesChen Ma, Ningfei Wang, Qi Alfred Chen, Chao ShenAAAI 2024 · 44 次引用
  4. NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation ModelsSimin Chen, Zihe Song, Mirazul Haque, Cong Liu 等CVPR 2022 · 34 次引用
  5. Towards More Practical Threat Models in Artificial Intelligence SecurityKathrin Grosse, Lukas Bieringer, Tarek R. Besold, Alexandre AlahiUSENIX Security 2024 · 27 次引用

它引用的 Paper7

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
  2. Feature Squeezing: Detecting Adversarial Examples in Deep Neural NetworksWeilin Xu, David Evans, Yanjun QiNDSS 2018 · 1,633 次引用
  3. Certified Robustness to Adversarial Examples with Differential PrivacyMathias Lécuyer, Vaggelis Atlidakis, Roxana Geambasu, Daniel Hsu 等S&P 2019 · 1,022 次引用
  4. BERT Loses Patience: Fast and Robust Inference with Early ExitWangchunshu Zhou, Canwen Xu, Tao Ge, Julian J. McAuley 等NeurIPS 2020 · 473 次引用
  5. DynaBERT: Dynamic BERT with Adaptive Width and DepthLu Hou, Zhiqi Huang, Lifeng Shang, Xin Jiang 等NeurIPS 2020 · 401 次引用

相关 Paper

  1. SlowBERT: Slow-down Attacks on Input-adaptive Multi-exit BERTShengyao Zhang, Xudong Pan, Mi Zhang, Min YangACL Findings 2023 · 1 次引用
  2. Dynamic Transformers Provide a False Sense of EfficiencyYiming Chen, Simin Chen, Zexin Li, Wei Yang 等ACL 2023 · 5 次引用
  3. Mind Your Heart: Stealthy Backdoor Attack on Dynamic Deep Neural Network in Edge ComputingTian Dong, Ziyuan Zhang, Han Qiu, Tianwei Zhang 等INFOCOM 2023 · 8 次引用
  4. The Dark Side of Dynamic Routing Neural Networks: Towards Efficiency Backdoor InjectionSimin Chen, Hanlin Chen, Mirazul Haque, Cong Liu 等CVPR 2023
  5. SoK: Efficiency Robustness of Dynamic Deep Learning SystemsRavishka Rathnasuriya, Tingxi Li, Zexin Xu, Zihe Song 等USENIX Security 2025
黄昏的海面,两侧是细线勾勒的悬崖