[Paper Review] DeepPeep: Exploiting Design Ramifications to Decipher the Architecture of Compact DNNs
DeepPeep proposes a two-stage side-channel attack that reverse-engineers the architecture of compact deep neural networks (DNNs) by exploiting unique design characteristics such as depthwise separable convolutions and channel shuffling. The method achieves high accuracy in reconstructing DNN building blocks using only performance traces and cuBLAS kernel analysis, demonstrating effective IP theft on P100 and P4000 GPUs, while also introducing a secure MobileNet-V1 variant with 60% lower latency and 2% higher accuracy.
The remarkable predictive performance of deep neural networks (DNNs) has led to their adoption in service domains of unprecedented scale and scope. However, the widespread adoption and growing commercialization of DNNs have underscored the importance of intellectual property (IP) protection. Devising techniques to ensure IP protection has become necessary due to the increasing trend of outsourcing the DNN computations on the untrusted accelerators in cloud-based services. The design methodologies and hyper-parameters of DNNs are crucial information, and leaking them may cause massive economic loss to the organization. Furthermore, the knowledge of DNN's architecture can increase the success probability of an adversarial attack where an adversary perturbs the inputs and alter the prediction. In this work, we devise a two-stage attack methodology "DeepPeep" which exploits the distinctive characteristics of design methodologies to reverse-engineer the architecture of building blocks in compact DNNs. We show the efficacy of "DeepPeep" on P100 and P4000 GPUs. Additionally, we propose intelligent design maneuvering strategies for thwarting IP theft through the DeepPeep attack and proposed "Secure MobileNet-V1". Interestingly, compared to vanilla MobileNet-V1, secure MobileNet-V1 provides a significant reduction in inference latency ($\approx$60%) and improvement in predictive performance ($\approx$2%) with very-low memory and computation overheads.
Motivation & Objective
- To investigate the vulnerability of compact DNN design methodologies to side-channel attacks that leak architectural IP.
- To develop a lightweight, non-invasive attack technique that reconstructs DNN building blocks using performance side-channels and cuBLAS kernel analysis.
- To propose design guidelines that prevent information leakage while maintaining or improving inference efficiency and accuracy.
- To demonstrate the feasibility of architectural reverse-engineering on complex, real-world DNNs such as MobileNet, DenseNet, and ShuffleNet variants.
- To introduce a secure variant of MobileNet-V1 that resists DeepPeep-style attacks while achieving significant performance gains.
Proposed method
- The attack uses a two-stage methodology: first, it analyzes GPU execution traces to extract cuBLAS kernel call patterns and memory access characteristics.
- Second, it correlates these side-channel signals with known architectural footprints of building blocks such as depthwise separable convolutions (DWConv), channel shuffling, and dense connections.
- The method leverages the unique computational and memory access patterns of each DNN component to infer layer types, filter dimensions, and connectivity patterns.
- It employs relational reasoning techniques to model the structural dependencies between layers, treating the architectural reconstruction as a graph-structured inference problem.
- The approach does not require privileged access to hardware or software, relying solely on observable performance traces and kernel-level behavior.
- The secure DNN design guidelines are derived from the attack insights, introducing subtle architectural obfuscations that disrupt side-channel leakage without significant performance cost.
Experimental results
Research questions
- RQ1How vulnerable are compact DNN design methodologies—especially those using DWConv, channel shuffling, and dense connections—to side-channel attacks that exploit performance and memory access patterns?
- RQ2What minimal side-channel information is sufficient to reconstruct the architectural components of a DNN without privileged access?
- RQ3Can a reverse-engineering framework be built that generalizes across diverse compact DNN architectures, including MobileNet, ShuffleNet, and DenseNet?
- RQ4To what extent can architectural obfuscation techniques prevent side-channel leakage while preserving inference efficiency and accuracy?
- RQ5Can a secure DNN variant be designed that resists architectural reverse-engineering without incurring high computational or memory overhead?
Key findings
- DeepPeep successfully reverse-engineered the architecture of MobileNet-V1, ShuffleNet, and DenseNet variants using only side-channel traces from P100 and P4000 GPUs.
- The attack achieved high accuracy in identifying layer types, filter sizes, and connectivity patterns by analyzing cuBLAS kernel calls and memory access patterns.
- The proposed secure MobileNet-V1 variant reduced inference latency by approximately 60% and improved predictive accuracy by about 2% compared to the original.
- The secure MobileNet-V1 achieved these gains with minimal additional memory and computational overhead, demonstrating that IP protection can coexist with performance optimization.
- Design features like depthwise separable convolutions and channel shuffling were particularly vulnerable due to their distinct and repeatable performance footprints.
- The study revealed that even lightweight, efficient DNNs are susceptible to architectural IP theft through side-channel analysis, highlighting a critical security gap in cloud-based DNN inference.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.