USENIX Security2020Top-tier venue
Cache Telepathy: Leveraging Shared Resource Attacks to Learn DNN Architectures
Abstract
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 architectures to just 16.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
80 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Membership Inference Attacks Against Machine Learning Models cites Stealing Machine Learning Models via Prediction APIs
- Hermes Attack: Steal DNN Models with Lossless Inference Accuracy cites Membership Inference Attacks Against Machine Learning Models
- Hermes Attack: Steal DNN Models with Lossless Inference Accuracy cites Stealing Machine Learning Models via Prediction APIs
- Hermes Attack: Steal DNN Models with Lossless Inference Accuracy cites Stealing Hyperparameters in Machine Learning
- DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories cites Hermes Attack: Steal DNN Models with Lossless Inference Accuracy
- DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories cites Stealing Machine Learning Models via Prediction APIs
- DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories cites DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural Hints
- Evaluating Differentially Private Machine Learning in Practice cites Membership Inference Attacks Against Machine Learning Models
- Evaluating Differentially Private Machine Learning in Practice cites Stealing Machine Learning Models via Prediction APIs
- Evaluating Differentially Private Machine Learning in Practice cites Stealing Hyperparameters in Machine Learning
- DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural Hints cites Stealing Hyperparameters in Machine Learning
- Stealing Hyperparameters in Machine Learning cites Membership Inference Attacks Against Machine Learning Models
- Stealing Hyperparameters in Machine Learning cites Stealing Machine Learning Models via Prediction APIs
Cited by top-tier papers80
- Evaluating Differentially Private Machine Learning in PracticeBargav Jayaraman, David EvansUSENIX Security 2019 · 586 citations
- DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in MemoriesAdnan Siraj Rakin, Md Hafizul Islam Chowdhuryy, Fan Yao, Deliang FanS&P 2022 · 163 citations
- DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural HintsXing Hu, Ling Liang, Shuangchen Li, Lei Deng et al.ASPLOS 2020 · 128 citations
- Hermes Attack: Steal DNN Models with Lossless Inference AccuracyYuankun Zhu, Yueqiang Cheng, Husheng Zhou, Yantao LuUSENIX Security 2021 · 119 citations
- MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative DesignGururaj Saileshwar, Moinuddin K. QureshiUSENIX Security 2021 · 105 citations
Builds on5
- Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
- Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter et al.USENIX Security 2016 · 2,088 citations
- Stealing Hyperparameters in Machine LearningBinghui Wang, Neil Zhenqiang GongS&P 2018 · 504 citations
- Constant-Time Callees with Variable-Time CallersCesar Pereida García, Billy Bob BrumleyUSENIX Security 2017 · 63 citations
Related papers
- DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks ExecutablesZhibo Liu, Yuanyuan Yuan, Yanzuo Chen, Sihang Hu et al.CCS 2024 · 3 citations
- DeepTheft: Stealing DNN Model Architectures through Power Side ChannelYansong Gao, Huming Qiu, Zhi Zhang, Binghui Wang et al.S&P 2024 · 37 citations
- How to 0wn the NAS in Your Spare TimeSanghyun Hong, Michael Davinroy, Yigitcan Kaya, Dana Dachman-Soled et al.ICLR 2020 · 4 citations
- DNN Latency Sequencing: Extracting DNN Architectures from Intel SGX Enclaves with Single-Stepping AttacksMinkyung Park, Zelun Kong, DaveTian, Z. Berkay Celik et al.NDSS 2026
- Reverse-Engineering Deep Neural Networks Using Floating-Point Timing Side-ChannelsCheng Gongye, Yunsi Fei, Thomas WahlDAC 2020 · 39 citations
