paper-with-me

홈 › Papers

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

2020-10-06 · ICLR 2021 1 · Sanghyun Hong, Yiğitcan Kaya, Ionuţ-Vlad Modoranu, Tudor Dumitraş

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$\times$ 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.

📄 PDF Abstract BibTeX arXiv:2010.02432

Code (1)

sanghyun-hong/deepsloth 공식 구현 pytorch

Tasks

image-classificationImage Classification

Similar Papers 제목 키워드 기반

FlashSloth : Lightning Multimodal Large Language Models via Embedded Visual Compression

2025-01-01 · CVPR 2025 1 · Bo Tong, Bokai Lai, Yiyi Zhou, Gen Luo 외

Despite a big leap forward in capability, multimodal large language models (MLLMs) tend to behave like a sloth in practical use, i.e., slow response and large latency. Recent efforts are devoted to building tiny MLLM…

Descriptive

FlashSloth: Lightning Multimodal Large Language Models via Embedded Visual Compression

2024-12-05 · Bo Tong, Bokai Lai, Yiyi Zhou, Gen Luo 외

Despite a big leap forward in capability, multimodal large language models (MLLMs) tend to behave like a sloth in practical use, i.e., slow response and large latency. Recent efforts are devoted to building tiny MLLMs fo…

DescriptiveVisual Question Answering

BERT Lost Patience Won't Be Robust to Adversarial Slowdown

2023-10-29 · NeurIPS 2023 11 · Zachary Coalson, Gabriel Ritter, Rakesh Bobba, Sanghyun Hong

In this paper, we systematically evaluate the robustness of multi-exit language models against adversarial slowdown. To audit their robustness, we design a slowdown attack that generates natural adversarial text bypassin…

Adversarial Text

Rethinking Latency Denial-of-Service: Attacking the LLM Serving Framework, Not the Model

2026-02-08 · Tianyi Wang, Huawei Fan, Yuanchao Shu, Peng Cheng 외 arxiv

Large Language Models face an emerging and critical threat known as latency attacks. Because LLM inference is inherently expensive, even modest slowdowns can translate into substantial operating costs and severe availabi…

Prompt Engineering

SlothSpeech: Denial-of-service Attack Against Speech Recognition Models

2023-06-01 · Mirazul Haque, Rutvij Shah, Simin Chen, Berrak Şişman 외

Deep Learning (DL) models have been popular nowadays to execute different speech-related tasks, including automatic speech recognition (ASR). As ASR is being used in different real-time scenarios, it is important that th…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition