Sponge attacks can double inference energy of event-based SNNs
Adversarial spike perturbations increase SNN SynOps by up to 2.6× while preserving classification accuracy
AI/ML arXiv 30 Jul 2026 Attack Simulation evidence
Published as “Driving up Inference Energy on SNNs: Per-Sample and Universal Sponge Attacks”
Why it matters
A universal sponge can silently drain the battery of edge neuromorphic devices, e.g., an IBM-Gesture SNN on Loihi-1 would lose ~25.5 kJ (≈7 Wh) per year under continuous attack.
Summary
Universal sponge attacks on SNNs can increase per-inference energy on Loihi-1 by up to +808 μJ (≈1.09× SynOps) while requiring only a one-time offline mask and a constant-time XOR, but they preserve the predicted class on only 73-91% of inputs and can drop accuracy by up to 10.35 pp. Per-sample attacks achieve larger spike-count inflation (1.5-2.6× SynOps) with ≥98% preservation, but need several seconds to minutes of optimization per input, making them impractical for streaming deployment. The evidence is based on three native event-based datasets (NMNIST, SHD, IBM DVS Gesture) and measured SynOp counts translated to Loihi-1 energy.
What they found 3
- Per-sample attack inflates spike count by 1.87× and SynOps by 1.50× on NMNIST while preserving the clean prediction on 99.46% of test samples.
“Spike count inflates by 1.87×, SynOps by 1.50×, with preservation at Π=0.9946 on 10 000 test samples (Wilson 95% CI [0.993, 0.996]). Classification accuracy drops only 0.5 percentage points (98.2% →97.7%) because the attack changes very few predictions overall (∼99% of its originally-correct predictions remain correct under the attack).”
- Universal sponge mask of 2 936 flips (0.42% of NMNIST input) inflates spike count by 1.39× across 10 000 test samples, but reduces accuracy from 98.2% to 90.2% (8.0 pp).
“A single 2 936-flip universal sponge (0.42% of the input tensor) inflates spike count by 1.39× across 10 000 unseen test samples. Sponge accuracy drops from 98.2% to 90.2% (an 8.0 percentage-point drop), with 91% of predictions matching the clean prediction.”
- Per-sample attack on IBM DVS Gesture raises Loihi-1 energy from 8.98 mJ to 22.22 mJ, a ΔE of +13.24 mJ per inference.
“IBM DVS Gesture per-sample 8.98 mJ 22.22 mJ +13.24 mJ”
Caveats 3
- Unlike the per-sample attack, a single fixed mask cannot track each input’s decision boundary, so preservation is lower (Π = 0.73-0.91 - the clean prediction is kept on roughly 90% of inputs for NMNIST and IBM) and sponge accuracy drops by 5.7-10.35 pp.
- The per-sample attack places it as the achievable ceiling of input-space sponging rather than a streaming-time threat.
- Absolute energies should be read with the first-order caveat that we ignore membrane-update and static power.
What’s new here 4
- First input-space sponge attacks formulated and evaluated in the native binary event-based regime used by DVS cameras and silicon cochleae.
- First universal sponge attack for SNNs that targets the forward pass itself, not architectural quirks.
- Translation of spike-inflation into absolute per-inference energy on Intel Loihi-1, reporting concrete μJ/mJ deltas.
- Evaluation across both visual and auditory event-based datasets, demonstrating cross-modal applicability.