mlsanityData to 14 Oct 2026

Can one hear the shape of a neural network?: Snooping the GPU via Magnetic Side Channel

arXiv 2109.07395 ↗First posted 15 Sep 2021cs.CR cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

Neural network applications have become popular in both enterprise and personal settings. Network solutions are tuned meticulously for each task, and designs that can robustly resolve queries end up in high demand. As the commercial value of accurate and performant machine learning models increases, so too does the demand to protect neural architectures as confidential investments. We explore the vulnerability of neural networks deployed as black boxes across accelerated hardware through electromagnetic side channels. We examine the magnetic flux emanating from a graphics processing unit's power cable, as acquired by a cheap 3 induction sensor, and find that this signal betrays the detailed topology and hyperparameters of a black-box neural network model. The attack acquires the magnetic signal for one query with unknown input values, but known input dimensions. The network reconstruction is possible due to the modular layer sequence in which deep neural networks are evaluated. We find that each layer component's evaluation produces an identifiable magnetic signal signature, from which layer topology, width, function type, and sequence order can be inferred using a suitably trained classifier and a joint consistency optimization based on integer programming. We study the extent to which network specifications can be recovered, and consider metrics for comparing network similarity. We demonstrate the potential accuracy of this side channel attack in recovering the details for a broad range of network architectures, including random designs. We consider applications that may exploit this novel side channel exposure, such as adversarial transfer attacks. In response, we discuss countermeasures to protect against our method and other similar snooping techniques.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 18 of its 56 references that are in the map. First posted on arXiv 15 Sep 2021.

Builds on

18 of 56 references.

References · 18

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  4. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  5. 2017Learning Transferable Architectures for Scalable Image Recognitioncited by 1,101
  6. 2016Practical Black-Box Attacks against Machine Learningcited by 903
  7. 2016Stealing Machine Learning Models via Prediction APIscited by 619
  8. 2016Delving into Transferable Adversarial Examples and Black-box Attackscited by 536
  9. 2018Stealing Hyperparameters in Machine Learningcited by 118
  10. 2017Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detectioncited by 65
  11. 2018Cache Telepathy: Leveraging Shared Resource Attacks to Learn DNN Architecturescited by 57
  12. 2018Stealing Neural Networks via Timing Side Channelscited by 43
6 more
  1. 2019Open DNN Box by Power Side-Channel Attackcited by 28
  2. 2018I Know What You See: Power Side-Channel Attack on Convolutional Neural Network Acceleratorscited by 27
  3. 2019MaskedNet: The First Hardware Inference Engine Aiming Power Side-Channel Protectioncited by 11
  4. 2020How to 0wn NAS in Your Spare Timecited by 11
  5. 2016Systematic Classification of Side-Channel Attacks: A Case Study for Mobile Devicescited by 10
  6. 2019Quantifying (Hyper) Parameter Leakage in Machine Learningcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 3; 2025: 1; 2026: 3.

8 papers.