Lune

ASPLOS2023顶会

HuffDuff: Stealing Pruned DNNs from Sparse Accelerators

Dingqing Yang, Prashant J. Nair, Mieszko Lis

摘要

Deep learning models are a valuable "secret sauce" that confers a significant competitive advantage. Many models are never visible to the user and even publicly known state-of-the-art models are either completely proprietary or only accessible via access-controlled APIs. Increasingly, these models run directly on the edge, often using a lowpower DNN accelerator. This makes models particularly vulnerable, as an attacker with physical access can exploit side channels like off-chip memory access volumes. Indeed, prior work has shown that this channel can be used to steal dense DNNs from edge devices by correlating data transfer volumes with layer geometry.

Unfortunately, prior techniques become intractable when the model is sparse in either weights or activations because off-chip transfers no longer correspond exactly to layer dimensions. Could it be that the many mobile-class sparse accelerators are inherently safe from this style of attack?

In this paper, we show that it is feasible to steal a pruned DNN model architecture from a mobile-class sparse accelerator using the DRAM access volume channel. We describe HuffDuff, an attack scheme with two novel techniques that leverage (i) the boundary effect present in CONV layers, and (ii) the timing side channel of on-the-fly activation compression. Together, these techniques dramatically reduce the space of possible model architectures up to 94 orders of magnitude, resulting in fewer than 100 candidate models -a number that can be feasibly tested. Finally, we sample network instances from our solution space and show that (i) our solutions reach the victim accuracy under the iso-footprint constraint, and (ii) significantly improve black-box targeted attack success rates.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks Executables 引用了 Membership Inference Attacks Against Machine Learning Models
  • DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks Executables 引用了 CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel
  • DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks Executables 引用了 Stealing Machine Learning Models via Prediction APIs
  • Membership Inference Attacks Against Machine Learning Models 引用了 Stealing Machine Learning Models via Prediction APIs
  • ASGARD: Protecting On-Device Deep Neural Networks with Virtualization-Based Trusted Execution Environments 引用了 DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks Executables
  • ASGARD: Protecting On-Device Deep Neural Networks with Virtualization-Based Trusted Execution Environments 引用了 Membership Inference Attacks Against Machine Learning Models
  • ASGARD: Protecting On-Device Deep Neural Networks with Virtualization-Based Trusted Execution Environments 引用了 SoK: All You Need to Know About On-Device ML Model Extraction - The Gap Between Research and Practice
  • CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel 引用了 Membership Inference Attacks Against Machine Learning Models
  • CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel 引用了 Stealing Machine Learning Models via Prediction APIs
  • SoK: All You Need to Know About On-Device ML Model Extraction - The Gap Between Research and Practice 引用了 Membership Inference Attacks Against Machine Learning Models
  • SoK: All You Need to Know About On-Device ML Model Extraction - The Gap Between Research and Practice 引用了 CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel
  • SoK: All You Need to Know About On-Device ML Model Extraction - The Gap Between Research and Practice 引用了 Stealing Machine Learning Models via Prediction APIs
  • Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attacks 引用了 Stealing Machine Learning Models via Prediction APIs
  • SoK: Neural Network Extraction Through Physical Side Channels 引用了 Membership Inference Attacks Against Machine Learning Models
  • SoK: Neural Network Extraction Through Physical Side Channels 引用了 CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. SoK: All You Need to Know About On-Device ML Model Extraction - The Gap Between Research and PracticeTushar Nayan, Qiming Guo, Mohammed Alduniawi, Marcus Botacin 等USENIX Security 2024 · 20 次引用
  2. Reliable Model Watermarking: Defending against Theft without Compromising on EvasionHongyu Zhu, Sichu Liang, Wentao Hu, Fangqi Li 等ACM MM 2024 · 14 次引用
  3. SoK: Neural Network Extraction Through Physical Side ChannelsPéter Horváth, Dirk Lauret, Zhuoran Liu, Lejla BatinaUSENIX Security 2024 · 11 次引用
  4. DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks ExecutablesZhibo Liu, Yuanyuan Yuan, Yanzuo Chen, Sihang Hu 等CCS 2024 · 3 次引用
  5. ASGARD: Protecting On-Device Deep Neural Networks with Virtualization-Based Trusted Execution EnvironmentsMyungsuk Moon, Minhee Kim, Joonkyo Jung, Dokyung SongNDSS 2025

它引用的 Paper12

  1. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
  2. Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter 等USENIX Security 2016 · 2,088 次引用
  3. CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side ChannelLejla Batina, Shivam Bhasin, Dirmanto Jap, Stjepan PicekUSENIX Security 2019 · 334 次引用
  4. Bit-Flip Attack: Crushing Neural Network With Progressive Bit SearchAdnan Siraj Rakin, Zhezhi He, Deliang FanICCV 2019 · 309 次引用
  5. Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault AttacksSanghyun Hong, Pietro Frigo, Yigitcan Kaya, Cristiano Giuffrida 等USENIX Security 2019 · 255 次引用

相关 Paper

  1. Side-Channel-Assisted Reverse-Engineering of Encrypted DNN Hardware Accelerator IP and Attack Surface ExplorationCheng Gongye, Yukui Luo, Xiaolin Xu, Yunsi FeiS&P 2024 · 25 次引用
  2. Peering Inside the Black-Box: Long-Range and Scalable Model Architecture Snooping via GPU Electromagnetic Side-ChannelRui Xiao, Sibo Feng, Soundarya Ramesh, Jun Han 等NDSS 2026 · 3 次引用
  3. Cache Telepathy: Leveraging Shared Resource Attacks to Learn DNN ArchitecturesMengjia Yan, Christopher W. Fletcher, Josep TorrellasUSENIX Security 2020
  4. DeepTheft: Stealing DNN Model Architectures through Power Side ChannelYansong Gao, Huming Qiu, Zhi Zhang, Binghui Wang 等S&P 2024 · 37 次引用
  5. Learning From A Big Brother - Mimicking Neural Networks in Profiled Side-channel AnalysisDaan van der Valk, Marina Krcek, Stjepan Picek, Shivam BhasinDAC 2020 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖