vix.ing · top · new · best · stats

Sponge Examples: Energy-Latency Attacks on Neural Networks

2020/06/05 by Ilia Shumailov, Shumailov, Ilia, Yiren Zhao +9 · 1 voice · 27 citations
Computer Science · Mathematics · #Computation and Language (cs.CL) #Cryptography and Security (cs.CR) #FOS: Computer and information sciences #Machine Learning (cs.LG) #Machine Learning (stat.ML) #cs.CL #cs.CR #cs.LG #stat.ML

paper · pdf · doi:10.48550/arxiv.2006.03463

Accepted at 6th IEEE European Symposium on Security and Privacy (EuroS&P)

arxiv published 2020/06/05 · arxiv created 2021/05/12 · arxiv updated 2021/05/13

Abstract

The high energy costs of neural network training and inference led to the use of acceleration hardware such as GPUs and TPUs. While this enabled us to train large-scale neural networks in datacenters and deploy them on edge devices, the focus so far is on average-case performance. In this work, we introduce a novel threat vector against neural networks whose energy consumption or decision latency are critical. We show how adversaries can exploit carefully crafted \boldsymbolsponge~\boldsymbolexamples, which are inputs designed to maximise energy consumption and latency. We mount two variants of this attack on established vision and language models, increasing energy consumption by a factor of 10 to 200. Our attacks can also be used to delay decisions where a network has critical real-time performance, such as in perception for autonomous vehicles. We demonstrate the portability of our malicious inputs across CPUs and a variety of hardware accelerator chips including GPUs, and an ASIC simulator. We conclude by proposing a defense strategy which mitigates our attack by shifting the analysis of energy consumption in hardware from an average-case to a worst-case perspective.

Cited by

Discussions

Related