The Impact of Uniform Inputs on Activation Sparsity and Energy-Latency Attacks in Computer Vision
Not on the map. Why?
Abstract (arXiv)
Resource efficiency plays an important role for machine learning nowadays. The energy and decision latency are two critical aspects to ensure a sustainable and practical application. Unfortunately, the energy consumption and decision latency are not robust against adversaries. Researchers have recently demonstrated that attackers can compute and submit so-called sponge examples at inference time to increase the energy consumption and decision latency of neural networks. In computer vision, the proposed strategy crafts inputs with less activation sparsity which could otherwise be used to accelerate the computation. In this paper, we analyze the mechanism how these energy-latency attacks reduce activation sparsity. In particular, we find that input uniformity is a key enabler. A uniform image, that is, an image with mostly flat, uniformly colored surfaces, triggers more activations due to a specific interplay of convolution, batch normalization, and ReLU activation. Based on these insights, we propose two new simple, yet effective strategies for crafting sponge examples: sampling images from a probability distribution and identifying dense, yet inconspicuous inputs in natural datasets. We empirically examine our findings in a comprehensive evaluation with multiple image classification models and show that our attack achieves the same sparsity effect as prior sponge-example methods, but at a fraction of computation effort. We also show that our sponge examples transfer between different neural networks. Finally, we discuss applications of our findings for the good by improving efficiency by increasing sparsity.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 25 of its 39 references that are in the map. First posted on arXiv 27 Mar 2024.
Builds on
25 of 39 references.
References · 25
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2016Densely Connected Convolutional Networkscited by 6,720
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2021Dynamic Neural Networks: A Surveycited by 408
- 2016EIE: Efficient Inference Engine on Compressed Deep Neural Networkcited by 295
- 2021Accelerating Sparse Deep Neural Networkscited by 223
- 2017SCNN: An Accelerator for Compressed-sparse Convolutional Neural Networkscited by 135
13 more
- 2020Sponge Examples: Energy-Latency Attacks on Neural Networkscited by 111
- 2017Bit Fusion: Bit-Level Dynamically Composable Architecture for Accelerating Deep Neural Networkscited by 109
- 2021Bad Characters: Imperceptible NLP Attackscited by 71
- 2020A Panda? No, It's a Sloth: Slowdown Attacks on Adaptive Multi-Exit Neural Network Inferencecited by 61
- 2019Stateful Detection of Black-Box Adversarial Attackscited by 56
- 2022NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation Modelscited by 50
- 2017Compressing DMA Engine: Leveraging Activation Sparsity for Training Deep Neural Networkscited by 37
- 2018Accelerating Convolutional Neural Networks via Activation Map Compressioncited by 34
- 2022Energy-Latency Attacks via Sponge Poisoningcited by 29
- 2022Phantom Sponges: Exploiting Non-Maximum Suppression to Attack Deep Object Detectorscited by 28
- 2020TensorDash: Exploiting Sparsity to Accelerate Deep Neural Network Training and Inferencecited by 16
- 2022LLMEffiChecker: Understanding and Testing Efficiency Degradation of Large Language Modelscited by 16
- 2023Dynamic Neural Network is All You Need: Understanding the Robustness of Dynamic Mechanisms in Neural Networkscited by 1
Built on by
Citing papers per year: 2025: 4; 2026: 3.
7 papers.
- 2025ThinkTrap: Denial-of-Service Attacks against Black-box LLM Services via Infinite Thinkingcited by 23
- 2025Energy-Latency Attacks: A New Adversarial Threat to Deep Learningcited by 5
- 2026ReasoningBomb: A Stealthy Denial-of-Service Attack by Inducing Pathologically Long Reasoning in Large Reasoning Modelscited by 5
- 2025BitHydra: Towards Bit-flip Inference Cost Attack against Large Language Modelscited by 2
- 2026Resource Consumption Threats in Large Language Modelscited by 2
- 2025Energy Backdoor Attack to Deep Neural Networkscited by 1
- 2026VidDoS: Universal Denial-of-Service Attack on Video-based Large Language Modelscited by 0
- 2026Resource Consumption Threats in Large Language Models17 Mar 2026
- 2026VidDoS: Universal Denial-of-Service Attack on Video-based Large Language Models2 Mar 2026
- 2026ReasoningBomb: A Stealthy Denial-of-Service Attack by Inducing Pathologically Long Reasoning in Large Reasoning Models29 Jan 2026
- 2025ThinkTrap: Denial-of-Service Attacks against Black-box LLM Services via Infinite Thinking8 Dec 2025
- 2025BitHydra: Towards Bit-flip Inference Cost Attack against Large Language Models22 May 2025
- 2025Energy-Latency Attacks: A New Adversarial Threat to Deep Learning6 Mar 2025
- 2025Energy Backdoor Attack to Deep Neural Networks14 Jan 2025