Cache Telepathy: Leveraging Shared Resource Attacks to Learn DNN Architectures
Not on the map. Why?
Abstract (arXiv)
Deep Neural Networks (DNNs) are fast becoming ubiquitous for their ability to attain good accuracy in various machine learning tasks. A DNN's architecture (i.e., its hyper-parameters) broadly determines the DNN's accuracy and performance, and is often confidential. Attacking a DNN in the cloud to obtain its architecture can potentially provide major commercial value. Further, attaining a DNN's architecture facilitates other, existing DNN attacks. This paper presents Cache Telepathy: a fast and accurate mechanism to steal a DNN's architecture using the cache side channel. Our attack is based on the insight that DNN inference relies heavily on tiled GEMM (Generalized Matrix Multiply), and that DNN architecture parameters determine the number of GEMM calls and the dimensions of the matrices used in the GEMM functions. Such information can be leaked through the cache side channel. This paper uses Prime+Probe and Flush+Reload to attack VGG and ResNet DNNs running OpenBLAS and Intel MKL libraries. Our attack is effective in helping obtain the architectures by very substantially reducing the search space of target DNN architectures. For example, for VGG using OpenBLAS, it reduces the search space from more than 1035 architectures to just 16.
Key facts. Cited by 56 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Aug 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 9; 2022: 13; 2023: 15; 2024: 7; 2025: 8; 2026: 4.
56 papers.
Sort:
By area:
- 2022I Know What You Trained Last Summer: A Survey on Stealing Machine Learning Models and Defencescited by 75
- 2021DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memoriescited by 42
- 2023Privacy Side Channels in Machine Learning Systemscited by 38
- 2021MEGEX: Data-Free Model Extraction Attack against Gradient-Based Explainable AIcited by 35
- 2024What Was Your Prompt? A Remote Keylogging Attack on AI Assistantscited by 26
- 2022StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learningcited by 21
- 2023No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device MLcited by 21
- 2022pvCNN: Privacy-Preserving and Verifiable Convolutional Neural Network Testingcited by 20
- 2023Rethinking White-Box Watermarks on Deep Learning Models under Neural Structural Obfuscationcited by 20
- 2022Machine Learning with Confidential Computing: A Systematization of Knowledgecited by 13
- 2022Learning to Reverse DNNs from AI Programs Automaticallycited by 11
- 2024Model Inversion Attacks: A Survey of Approaches and Countermeasurescited by 11
38 more
- 2021Can one hear the shape of a neural network?: Snooping the GPU via Magnetic Side Channelcited by 8
- 2022Decompiling x86 Deep Neural Network Executablescited by 7
- 2022Careful What You Wish For: on the Extraction of Adversarially Trained Modelscited by 6
- 2021Physical Side-Channel Attacks on Embedded Neural Networks: A Surveycited by 5
- 202110 Security and Privacy Problems in Large Foundation Modelscited by 5
- 2022Cracking White-box DNN Watermarks via Invariant Neuron Transformscited by 5
- 2021Confidential Machine Learning Computation in Untrusted Environments: A Systems Security Perspectivecited by 4
- 2022ObfuNAS: A Neural Architecture Search-based DNN Obfuscation Approachcited by 4
- 2022Privacy of Autonomous Vehicles: Risks, Protection Methods, and Future Directionscited by 4
- 2023Beyond Labeling Oracles: What does it mean to steal ML models?cited by 4
- 2021Good Artists Copy, Great Artists Steal: Model Extraction Attacks Against Image Translation Modelscited by 3
- 2023InferNet: Exploiting Aggregate GPU Profiles as Side-Channel for DNN Architecture Inferencecited by 3
- 2023Mercury: An Automated Remote Side-channel Attack to Nvidia Deep Learning Acceleratorcited by 3
- 2024TEESlice: Protecting Sensitive Neural Network Models in Trusted Execution Environments When Attackers have Pre-Trained Modelscited by 3
- 2025CompLeak: Deep Learning Model Compression Exacerbates Privacy Leakagecited by 3
- 2021HODA: Hardness-Oriented Detection of Model Extraction Attackscited by 2
- 2023DNN-Defender: A Victim-Focused In-DRAM Defense Mechanism for Taming Adversarial Weight Attack on DNNscited by 2
- 2023Data-Free Model Extraction Attacks in the Context of Object Detectioncited by 2
- 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executablescited by 2
- 2025Make Shuffling Great Again: A Side-Channel Resistant Fisher-Yates Algorithm for Protecting Neural Networkscited by 2
- 2025Activation Functions Considered Harmful: Recovering Neural Network Weights through Controlled Channelscited by 2
- 2025THEMIS: Towards Practical Intellectual Property Protection for Post-Deployment On-Device Deep Learning Modelscited by 2
- 2025Stealing AI Model Weights Through Covert Communication Channelscited by 2
- 2021Power-Based Attacks on Spatial DNN Acceleratorscited by 1
- 2023FLARE: Fingerprinting Deep Reinforcement Learning Agents using Universal Adversarial Maskscited by 1
- 2024Precise Extraction of Deep Learning Models via Side-Channel Attacks on Edge/Endpoint Devicescited by 1
- 2024SoK: A Systems Perspective on Compound AI Threats and Countermeasurescited by 1
- 2025Onboard Optimization and Learning: A Surveycited by 1
- 2022MixNN: A design for protecting deep learning modelscited by 0
- 2022Revealing Secrets From Pre-trained Modelscited by 0
- 2022On the Evaluation of User Privacy in Deep Neural Networks using Timing Side Channelcited by 0
- 2023Side Channel-Assisted Inference Leakage from Machine Learning-based ECG Classificationcited by 0
- 2023Exploiting Logic Locking for a Neural Trojan Attack on Machine Learning Acceleratorscited by 0
- 2023DREAM: Domain-free Reverse Engineering Attributes of Black-box Modelcited by 0
- 2023Revealing CNN Architectures via Side-Channel Analysis in Dataflow-based Inference Acceleratorscited by 0
- 2023Attacking Graph Neural Networks with Bit Flips: Weisfeiler and Lehman Go Indifferentcited by 0
- 2024Stealing the Invisible: Unveiling Pre-Trained CNN Models through Adversarial Examples and Timing Side-Channelscited by 0
- 2024DREAM: Domain-agnostic Reverse Engineering Attributes of Black-box Modelcited by 0
50 most cited of 56 All 56 (JSON)
- 2026SparSEEty: Extracting Tokens from Sparsity-Exploiting LLM Serving Systems via Deterministic Side Channels4 Aug 2026
- 2026SoK: Colluding Adversaries in Machine Learning Pipelines8 Jun 2026
- 2026TrEEStealer: Stealing Decision Trees via Enclave Side Channels20 Apr 2026
- 2026Shape and Substance: Dual-Layer Side-Channel Attacks on Local Vision-Language Models26 Mar 2026
- 2025Stealing AI Model Weights Through Covert Communication Channels30 Sep 2025
- 2025Decoding Deception: Understanding Automatic Speech Recognition Vulnerabilities in Evasion and Poisoning Attacks26 Sep 2025
- 2025CompLeak: Deep Learning Model Compression Exacerbates Privacy Leakage22 Jul 2025
- 2025Threat Modeling for AI: The Case for an Asset-Centric Approach8 May 2025
- 2025Onboard Optimization and Learning: A Survey7 May 2025
- 2025THEMIS: Towards Practical Intellectual Property Protection for Post-Deployment On-Device Deep Learning Models31 Mar 2025
- 2025Activation Functions Considered Harmful: Recovering Neural Network Weights through Controlled Channels24 Mar 2025
- 2025Make Shuffling Great Again: A Side-Channel Resistant Fisher-Yates Algorithm for Protecting Neural Networks1 Jan 2025
38 more
- 2024DREAM: Domain-agnostic Reverse Engineering Attributes of Black-box Model8 Dec 2024
- 2024SoK: A Systems Perspective on Compound AI Threats and Countermeasures20 Nov 2024
- 2024Model Inversion Attacks: A Survey of Approaches and Countermeasures15 Nov 2024
- 2024TEESlice: Protecting Sensitive Neural Network Models in Trusted Execution Environments When Attackers have Pre-Trained Models15 Nov 2024
- 2024What Was Your Prompt? A Remote Keylogging Attack on AI Assistants14 Mar 2024
- 2024Precise Extraction of Deep Learning Models via Side-Channel Attacks on Edge/Endpoint Devices5 Mar 2024
- 2024Stealing the Invisible: Unveiling Pre-Trained CNN Models through Adversarial Examples and Timing Side-Channels19 Feb 2024
- 2023Attacking Graph Neural Networks with Bit Flips: Weisfeiler and Lehman Go Indifferent2 Nov 2023
- 2023Revealing CNN Architectures via Side-Channel Analysis in Dataflow-based Inference Accelerators1 Nov 2023
- 2023No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device ML11 Oct 2023
- 2023Beyond Labeling Oracles: What does it mean to steal ML models?3 Oct 2023
- 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executables12 Sep 2023
- 2023Privacy Side Channels in Machine Learning Systems11 Sep 2023
- 2023Data-Free Model Extraction Attacks in the Context of Object Detection9 Aug 2023
- 2023Mercury: An Automated Remote Side-channel Attack to Nvidia Deep Learning Accelerator2 Aug 2023
- 2023FLARE: Fingerprinting Deep Reinforcement Learning Agents using Universal Adversarial Masks27 Jul 2023
- 2023DREAM: Domain-free Reverse Engineering Attributes of Black-box Model20 Jul 2023
- 2023DNN-Defender: A Victim-Focused In-DRAM Defense Mechanism for Taming Adversarial Weight Attack on DNNs14 May 2023
- 2023Exploiting Logic Locking for a Neural Trojan Attack on Machine Learning Accelerators12 Apr 2023
- 2023InferNet: Exploiting Aggregate GPU Profiles as Side-Channel for DNN Architecture Inference6 Apr 2023
- 2023Side Channel-Assisted Inference Leakage from Machine Learning-based ECG Classification4 Apr 2023
- 2023Rethinking White-Box Watermarks on Deep Learning Models under Neural Structural Obfuscation17 Mar 2023
- 2022Decompiling x86 Deep Neural Network Executables3 Oct 2022
- 2022Privacy of Autonomous Vehicles: Risks, Protection Methods, and Future Directions8 Sep 2022
- 2022Machine Learning with Confidential Computing: A Systematization of Knowledge22 Aug 2022
- 2022ObfuNAS: A Neural Architecture Search-based DNN Obfuscation Approach17 Aug 2022
- 2022On the Evaluation of User Privacy in Deep Neural Networks using Timing Side Channel1 Aug 2022
- 2022Careful What You Wish For: on the Extraction of Adversarially Trained Models21 Jul 2022
- 2022Revealing Secrets From Pre-trained Models19 Jul 2022
- 2022I Know What You Trained Last Summer: A Survey on Stealing Machine Learning Models and Defences16 Jun 2022
- 2022Learning to Reverse DNNs from AI Programs Automatically20 May 2022
- 2022Cracking White-box DNN Watermarks via Invariant Neuron Transforms30 Apr 2022
- 2022MixNN: A design for protecting deep learning models28 Mar 2022
- 2022pvCNN: Privacy-Preserving and Verifiable Convolutional Neural Network Testing23 Jan 2022
- 2022StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learning15 Jan 2022
- 2021DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories8 Nov 2021
- 2021Confidential Machine Learning Computation in Untrusted Environments: A Systems Security Perspective5 Nov 2021
- 202110 Security and Privacy Problems in Large Foundation Models28 Oct 2021
50 newest of 56 All 56 (JSON)
- 2022I Know What You Trained Last Summer: A Survey on Stealing Machine Learning Models and Defencescited by 75
- 2021DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memoriescited by 42
- 2023Privacy Side Channels in Machine Learning Systemscited by 38
- 2021MEGEX: Data-Free Model Extraction Attack against Gradient-Based Explainable AIcited by 35
- 2024What Was Your Prompt? A Remote Keylogging Attack on AI Assistantscited by 26
- 2022StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learningcited by 21
- 2023No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device MLcited by 21
- 2022pvCNN: Privacy-Preserving and Verifiable Convolutional Neural Network Testingcited by 20
- 2022Machine Learning with Confidential Computing: A Systematization of Knowledgecited by 13
- 2022Learning to Reverse DNNs from AI Programs Automaticallycited by 11
- 2024Model Inversion Attacks: A Survey of Approaches and Countermeasurescited by 11
- 2021Can one hear the shape of a neural network?: Snooping the GPU via Magnetic Side Channelcited by 8
12 most cited of 52 All 52 (JSON)
- 2026SoK: Colluding Adversaries in Machine Learning Pipelines8 Jun 2026
- 2026TrEEStealer: Stealing Decision Trees via Enclave Side Channels20 Apr 2026
- 2025Stealing AI Model Weights Through Covert Communication Channels30 Sep 2025
- 2025Decoding Deception: Understanding Automatic Speech Recognition Vulnerabilities in Evasion and Poisoning Attacks26 Sep 2025
- 2025CompLeak: Deep Learning Model Compression Exacerbates Privacy Leakage22 Jul 2025
- 2025Threat Modeling for AI: The Case for an Asset-Centric Approach8 May 2025
- 2025Onboard Optimization and Learning: A Survey7 May 2025
- 2025Activation Functions Considered Harmful: Recovering Neural Network Weights through Controlled Channels24 Mar 2025
- 2025Make Shuffling Great Again: A Side-Channel Resistant Fisher-Yates Algorithm for Protecting Neural Networks1 Jan 2025
- 2024DREAM: Domain-agnostic Reverse Engineering Attributes of Black-box Model8 Dec 2024
- 2024SoK: A Systems Perspective on Compound AI Threats and Countermeasures20 Nov 2024
- 2024Model Inversion Attacks: A Survey of Approaches and Countermeasures15 Nov 2024
12 newest of 52 All 52 (JSON)