Introduction
In the evolving landscape of AI security, traditional threats often focus on compromising model integrity (adversarial examples) or confidentiality (data extraction). However, a more insidious category of "availability attacks" is emerging. These "Sponge Attacks" do not aim to alter the model's output or steal its weights; instead, they seek to maximize energy consumption and latency, effectively "sponging" up hardware resources. This paper introduces SkipSponge, a surgical weight poisoning method designed to drain the batteries of AI-powered devices with high precision and minimal detection risk.
The Vulnerability: Sparsity-based Accelerators
Modern Deep Neural Networks (DNNs) are increasingly deployed on specialized hardware, such as Sparsity-based ASIC accelerators. These chips achieve high efficiency by leveraging "zero-skipping"—a technique where mathematical operations involving zero values (common in networks using ReLU activations) are bypassed to save power and time.
While previous sponge attacks relied on generating "heavy" input examples or computationally expensive retraining from scratch, SkipSponge identifies a critical middle ground. It targets pre-trained models, requiring only minimal data and no full retraining to permanently degrade a model's energy efficiency.
Methodology: The SkipSponge Attack
SkipSponge operates as a five-step surgical strike on a model’s parameters, focusing on altering layer biases to reduce activation sparsity.
The attack follows these phases:
- Identify Sparsity Layers: The attacker locates layers (typically ReLU) that generate the highest volume of zeros.
- Identify Target Layers: The layers immediately preceding these sparsity layers are selected for modification.
- Profile Activations: Using a tiny subset of data (often less than 1% of the training set), the attacker profiles the typical distribution of activation values.
- Calculate Shifts: The attacker determines the necessary "nudge" for biases, using a hyperparameter ($\alpha$) to shift values by multiples of the standard deviation ($\sigma$).
- Alter Biases: Biases are iteratively increased. To maintain stealth, a "safety check" reverts any change that causes the model's accuracy to drop below a predefined threshold ($\tau$).
Experimental Evaluation
The researchers evaluated SkipSponge across various architectures, including ResNet-18, VGG-16, StarGAN, and Autoencoders (AE/VAE), using datasets like MNIST, CIFAR-10, GTSRB, and TinyImageNet (TIN).
Key Results and Performance
The attack demonstrated remarkable effectiveness, particularly on generative models and autoencoders, where visual similarity metrics allow for more parameter "slack" than rigid classification accuracy.
Key findings include:
- Energy Impact: SkipSponge achieved energy consumption increases of up to 13.1% on Autoencoders and approximately 5% on GANs.
- Data Efficiency: The attack is highly efficient, reaching peak effectiveness with as little as 1% of the original training data.
- Stealth: By targeting the earliest layers and maintaining accuracy, the attack remains virtually invisible to standard monitoring tools and human observation.
Conclusion and Future Work
SkipSponge highlights a significant gap in AI supply chain security. Current defenses, such as weight noise or fine-pruning, are largely ineffective against such surgical bias shifts. Future research must address the attack's applicability to non-ReLU activation functions (like Swish or GELU) and its potential impact on Large Language Models (LLMs), where energy efficiency is paramount.
Summary updated