[Paper Review] Open DNN Box by Power Side-Channel Attack
This paper presents a novel side-channel attack using power consumption traces to reverse-engineer the architecture and parameter sparsity of deep neural networks (DNNs) in embedded AI devices, achieving 96.50% average accuracy in model identification and 75.88% accuracy in sparsity classification. The method enables partial white-box attacks by extracting internal model information from black-box systems.
Deep neural networks are becoming popular and important assets of many AI companies. However, recent studies indicate that they are also vulnerable to adversarial attacks. Adversarial attacks can be either white-box or black-box. The white-box attacks assume full knowledge of the models while the black-box ones assume none. In general, revealing more internal information can enable much more powerful and efficient attacks. However, in most real-world applications, the internal information of embedded AI devices is unavailable, i.e., they are black-box. Therefore, in this work, we propose a side-channel information based technique to reveal the internal information of black-box models. Specifically, we have made the following contributions: (1) we are the first to use side-channel information to reveal internal network architecture in embedded devices; (2) we are the first to construct models for internal parameter estimation; and (3) we validate our methods on real-world devices and applications. The experimental results show that our method can achieve 96.50\% accuracy on average. Such results suggest that we should pay strong attention to the security problem of many AI applications, and further propose corresponding defensive strategies in the future.
Motivation & Objective
- To address the security vulnerability of embedded DNNs, which are typically treated as black-box systems with no accessible internal information.
- To explore whether side-channel information—specifically power consumption—can be leveraged to extract critical internal DNN structure and parameter details.
- To develop a practical method for identifying DNN architectures and estimating parameter sparsity using only power traces from real-world embedded platforms.
- To validate the feasibility and robustness of the approach across varying network architectures and fine-tuned configurations.
Proposed method
- The researchers collected power consumption traces from a Raspberry Pi-based embedded AI platform during inference of various DNN models.
- They applied machine learning techniques to classify the DNN architectures based on the unique power trace patterns associated with different layers and operations.
- Parameter sparsity was used as a proxy feature to estimate pre-trained model parameters, leveraging the correlation between sparsity and power consumption.
- The method assumes pre-trained models with known architectures and varying dropout rates to generate diverse sparsity levels for training and testing.
- Experiments combined architecture and parameter variations, creating a mixed dataset of 16 categories to test robustness under real-world conditions.
- A confusion matrix and classification accuracy were used to evaluate model identification and sparsity estimation performance.
Experimental results
Research questions
- RQ1Can power side-channel traces be used to accurately identify the architecture of a DNN running on an embedded device?
- RQ2To what extent can parameter sparsity be estimated from power traces, and how does this enable reconstruction of pre-trained model parameters?
- RQ3How robust is the proposed method when the classification head of a DNN is fine-tuned with different hyperparameters?
- RQ4What is the impact of varying model sparsity (via dropout) on the accuracy of architecture and parameter identification?
Key findings
- The proposed method achieved an average architecture identification accuracy of 96.50% across multiple DNN models on real hardware.
- When fine-tuning the fully connected layers, the average identification accuracy dropped slightly to 95.17%, demonstrating robustness to architectural modifications.
- Parameter sparsity classification achieved an average accuracy of 75.88%, with higher accuracy observed in deeper networks like ResNet50 and ResNet101.
- The method successfully identified models with varying dropout scales, achieving up to 100% accuracy for ResNet50 and ResNet101 at 1.0 dropout scale.
- Even under combined variations of architecture and parameter sparsity, the model architecture was identified with over 95% accuracy, indicating strong generalization.
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.