Cache Telepathy: Leveraging Shared Resource Attacks to Learn DNN Architectures
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 80 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Membership Inference Attacks Against Machine Learning Models 引用了 Stealing Machine Learning Models via Prediction APIs
- Hermes Attack: Steal DNN Models with Lossless Inference Accuracy 引用了 Membership Inference Attacks Against Machine Learning Models
- Hermes Attack: Steal DNN Models with Lossless Inference Accuracy 引用了 Stealing Machine Learning Models via Prediction APIs
- Hermes Attack: Steal DNN Models with Lossless Inference Accuracy 引用了 Stealing Hyperparameters in Machine Learning
- DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories 引用了 Hermes Attack: Steal DNN Models with Lossless Inference Accuracy
- DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories 引用了 Stealing Machine Learning Models via Prediction APIs
- DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories 引用了 DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural Hints
- Evaluating Differentially Private Machine Learning in Practice 引用了 Membership Inference Attacks Against Machine Learning Models
- Evaluating Differentially Private Machine Learning in Practice 引用了 Stealing Machine Learning Models via Prediction APIs
- Evaluating Differentially Private Machine Learning in Practice 引用了 Stealing Hyperparameters in Machine Learning
- DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural Hints 引用了 Stealing Hyperparameters in Machine Learning
- Stealing Hyperparameters in Machine Learning 引用了 Membership Inference Attacks Against Machine Learning Models
- Stealing Hyperparameters in Machine Learning 引用了 Stealing Machine Learning Models via Prediction APIs
引用它的顶会 Paper80
- Evaluating Differentially Private Machine Learning in PracticeBargav Jayaraman, David EvansUSENIX Security 2019 · 586 次引用
- DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in MemoriesAdnan Siraj Rakin, Md Hafizul Islam Chowdhuryy, Fan Yao, Deliang FanS&P 2022 · 163 次引用
- DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural HintsXing Hu, Ling Liang, Shuangchen Li, Lei Deng 等ASPLOS 2020 · 128 次引用
- Hermes Attack: Steal DNN Models with Lossless Inference AccuracyYuankun Zhu, Yueqiang Cheng, Husheng Zhou, Yantao LuUSENIX Security 2021 · 119 次引用
- MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative DesignGururaj Saileshwar, Moinuddin K. QureshiUSENIX Security 2021 · 105 次引用
它引用的 Paper5
- Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter 等USENIX Security 2016 · 2,088 次引用
- Stealing Hyperparameters in Machine LearningBinghui Wang, Neil Zhenqiang GongS&P 2018 · 504 次引用
- Constant-Time Callees with Variable-Time CallersCesar Pereida García, Billy Bob BrumleyUSENIX Security 2017 · 63 次引用
相关 Paper
- DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks ExecutablesZhibo Liu, Yuanyuan Yuan, Yanzuo Chen, Sihang Hu 等CCS 2024 · 3 次引用
- DeepTheft: Stealing DNN Model Architectures through Power Side ChannelYansong Gao, Huming Qiu, Zhi Zhang, Binghui Wang 等S&P 2024 · 37 次引用
- How to 0wn the NAS in Your Spare TimeSanghyun Hong, Michael Davinroy, Yigitcan Kaya, Dana Dachman-Soled 等ICLR 2020 · 4 次引用
- DNN Latency Sequencing: Extracting DNN Architectures from Intel SGX Enclaves with Single-Stepping AttacksMinkyung Park, Zelun Kong, DaveTian, Z. Berkay Celik 等NDSS 2026
- Reverse-Engineering Deep Neural Networks Using Floating-Point Timing Side-ChannelsCheng Gongye, Yunsi Fei, Thomas WahlDAC 2020 · 39 次引用
