mlsanityData to 14 Oct 2026

The Impact of Uniform Inputs on Activation Sparsity and Energy-Latency Attacks in Computer Vision

arXiv 2403.18587 ↗First posted 27 Mar 2024cs.CR cs.CV cs.LGcited by 7

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  5. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  6. 2016Densely Connected Convolutional Networkscited by 6,720
  7. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
  8. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
  9. 2021Dynamic Neural Networks: A Surveycited by 408
  10. 2016EIE: Efficient Inference Engine on Compressed Deep Neural Networkcited by 295
  11. 2021Accelerating Sparse Deep Neural Networkscited by 223
  12. 2017SCNN: An Accelerator for Compressed-sparse Convolutional Neural Networkscited by 135
13 more
  1. 2020Sponge Examples: Energy-Latency Attacks on Neural Networkscited by 111
  2. 2017Bit Fusion: Bit-Level Dynamically Composable Architecture for Accelerating Deep Neural Networkscited by 109
  3. 2021Bad Characters: Imperceptible NLP Attackscited by 71
  4. 2020A Panda? No, It's a Sloth: Slowdown Attacks on Adaptive Multi-Exit Neural Network Inferencecited by 61
  5. 2019Stateful Detection of Black-Box Adversarial Attackscited by 56
  6. 2022NICGSlowDown: Evaluating the Efficiency Robustness of Neural Image Caption Generation Modelscited by 50
  7. 2017Compressing DMA Engine: Leveraging Activation Sparsity for Training Deep Neural Networkscited by 37
  8. 2018Accelerating Convolutional Neural Networks via Activation Map Compressioncited by 34
  9. 2022Energy-Latency Attacks via Sponge Poisoningcited by 29
  10. 2022Phantom Sponges: Exploiting Non-Maximum Suppression to Attack Deep Object Detectorscited by 28
  11. 2020TensorDash: Exploiting Sparsity to Accelerate Deep Neural Network Training and Inferencecited by 16
  12. 2022LLMEffiChecker: Understanding and Testing Efficiency Degradation of Large Language Modelscited by 16
  13. 2023Dynamic Neural Network is All You Need: Understanding the Robustness of Dynamic Mechanisms in Neural Networkscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 3.

7 papers.