Can one hear the shape of a neural network?: Snooping the GPU via Magnetic Side Channel
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
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2017Learning Transferable Architectures for Scalable Image Recognitioncited by 1,101
- 2016Practical Black-Box Attacks against Machine Learningcited by 903
- 2016Stealing Machine Learning Models via Prediction APIscited by 619
- 2016Delving into Transferable Adversarial Examples and Black-box Attackscited by 536
- 2018Stealing Hyperparameters in Machine Learningcited by 118
- 2017Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detectioncited by 65
- 2018Cache Telepathy: Leveraging Shared Resource Attacks to Learn DNN Architecturescited by 57
- 2018Stealing Neural Networks via Timing Side Channelscited by 43
6 more
- 2019Open DNN Box by Power Side-Channel Attackcited by 28
- 2018I Know What You See: Power Side-Channel Attack on Convolutional Neural Network Acceleratorscited by 27
- 2019MaskedNet: The First Hardware Inference Engine Aiming Power Side-Channel Protectioncited by 11
- 2020How to 0wn NAS in Your Spare Timecited by 11
- 2016Systematic Classification of Side-Channel Attacks: A Case Study for Mobile Devicescited by 10
- 2019Quantifying (Hyper) Parameter Leakage in Machine Learningcited by 3
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 1; 2026: 3.
8 papers.
- 2024Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systemscited by 66
- 2026Detecting Hidden ML Training With Zero-Overhead Telemetrycited by 4
- 2023InferNet: Exploiting Aggregate GPU Profiles as Side-Channel for DNN Architecture Inferencecited by 3
- 2024CNN architecture extraction on edge GPUcited by 1
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
- 2024A Divide-and-Conquer Strategy for Hard-Label Extraction of Deep Neural Networks via Side-Channel Attackscited by 0
- 2026Privacy-Preserving AI Verification via Minimal Information Disclosurecited by 0
- 2026Workload Identification with Physical Side Channels for AI Governancecited by 0
- 2026Workload Identification with Physical Side Channels for AI Governance31 Aug 2026
- 2026Privacy-Preserving AI Verification via Minimal Information Disclosure3 Aug 2026
- 2026Detecting Hidden ML Training With Zero-Overhead Telemetry17 Jun 2026
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems12 Sep 2025
- 2024A Divide-and-Conquer Strategy for Hard-Label Extraction of Deep Neural Networks via Side-Channel Attacks15 Nov 2024
- 2024CNN architecture extraction on edge GPU24 Jan 2024
- 2024Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems11 Jan 2024
- 2023InferNet: Exploiting Aggregate GPU Profiles as Side-Channel for DNN Architecture Inference6 Apr 2023