Energy-Latency Attacks via Sponge Poisoning
Antonio Emanuele Cinà, Ambra Demontis, Battista Biggio, Fabio Roli, Marcello Pelillo
TL;DR
This paper introduces sponge poisoning, a training-time poisoning attack that raises energy consumption and inference latency of DNNs on ASIC accelerators by increasing neuron firing, while preserving test accuracy. By contaminating a small fraction of training Updates with a differentiable energy objective based on an unbiased $\hat{\ell}_0$ proxy, the approach defeats sparsity-based hardware benefits across multiple datasets and architectures. The authors characterize the attack's effectiveness, analyze which layers (notably those with max operations) are most vulnerable, and show that defensive fine-tuning can mitigate the effect at high training cost. They also discuss an adaptive threat model suitable for outsourced or federated training and emphasize that defending against sponge poisoning remains an open research problem with potential directions such as model quantization and novel regularizers.
Abstract
Sponge examples are test-time inputs optimized to increase energy consumption and prediction latency of deep networks deployed on hardware accelerators. By increasing the fraction of neurons activated during classification, these attacks reduce sparsity in network activation patterns, worsening the performance of hardware accelerators. In this work, we present a novel training-time attack, named sponge poisoning, which aims to worsen energy consumption and prediction latency of neural networks on any test input without affecting classification accuracy. To stage this attack, we assume that the attacker can control only a few model updates during training -- a likely scenario, e.g., when model training is outsourced to an untrusted third party or distributed via federated learning. Our extensive experiments on image classification tasks show that sponge poisoning is effective, and that fine-tuning poisoned models to repair them poses prohibitive costs for most users, highlighting that tackling sponge poisoning remains an open issue.
