Lune

ASPLOS2023Top-tier venue

HuffDuff: Stealing Pruned DNNs from Sparse Accelerators

Dingqing Yang, Prashant J. Nair, Mieszko Lis

Abstract

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.

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.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks Executables cites Membership Inference Attacks Against Machine Learning Models
  • DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks Executables cites CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel
  • DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks Executables cites Stealing Machine Learning Models via Prediction APIs
  • Membership Inference Attacks Against Machine Learning Models cites Stealing Machine Learning Models via Prediction APIs
  • ASGARD: Protecting On-Device Deep Neural Networks with Virtualization-Based Trusted Execution Environments cites DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks Executables
  • ASGARD: Protecting On-Device Deep Neural Networks with Virtualization-Based Trusted Execution Environments cites Membership Inference Attacks Against Machine Learning Models
  • ASGARD: Protecting On-Device Deep Neural Networks with Virtualization-Based Trusted Execution Environments cites 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 cites Membership Inference Attacks Against Machine Learning Models
  • CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel cites 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 cites 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 cites 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 cites Stealing Machine Learning Models via Prediction APIs
  • Terminal Brain Damage: Exposing the Graceless Degradation in Deep Neural Networks Under Hardware Fault Attacks cites Stealing Machine Learning Models via Prediction APIs
  • SoK: Neural Network Extraction Through Physical Side Channels cites Membership Inference Attacks Against Machine Learning Models
  • SoK: Neural Network Extraction Through Physical Side Channels cites CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  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 et al.USENIX Security 2024 · 20 citations
  2. Reliable Model Watermarking: Defending against Theft without Compromising on EvasionHongyu Zhu, Sichu Liang, Wentao Hu, Fangqi Li et al.ACM MM 2024 · 14 citations
  3. SoK: Neural Network Extraction Through Physical Side ChannelsPéter Horváth, Dirk Lauret, Zhuoran Liu, Lejla BatinaUSENIX Security 2024 · 11 citations
  4. DeepCache: Revisiting Cache Side-Channel Attacks in Deep Neural Networks ExecutablesZhibo Liu, Yuanyuan Yuan, Yanzuo Chen, Sihang Hu et al.CCS 2024 · 3 citations
  5. ASGARD: Protecting On-Device Deep Neural Networks with Virtualization-Based Trusted Execution EnvironmentsMyungsuk Moon, Minhee Kim, Joonkyo Jung, Dokyung SongNDSS 2025

Builds on12

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

Related papers

  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 citations
  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 et al.NDSS 2026 · 3 citations
  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 et al.S&P 2024 · 37 citations
  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 citations
Dusk over the sea between two cliffs drawn in fine vertical lines