Side-Channel Analysis of OpenVINO-based Neural Network Models

Dirmanto Jap, Jakub Breier, Zdenko Lehocký, Shivam Bhasin, Xiaolu Hou

Abstract

This paper investigates the vulnerability of neural network models deployed on edge devices using Intel's OpenVINO framework to side-channel attacks (SCA). By exploiting physical leakages such as power consumption through Correlation Power Analysis (CPA), we demonstrate that quantized models are particularly susceptible. Our findings show that a GoogleNet v1 model can be reconstructed with high fidelity, maintaining performance within 1% of the original proprietary model.

Introduction

As artificial intelligence transitions from centralized data centers to edge devices—including smart cameras, medical sensors, and automotive controllers—protecting model confidentiality becomes paramount. While software-level encryption is common, hardware-level vulnerabilities often remain overlooked. Side-Channel Analysis (SCA) exploits physical information leaked during a device's operation, such as power fluctuations or electromagnetic emissions, to infer internal states or secret data. This study specifically examines whether the optimizations provided by the OpenVINO toolkit inadvertently facilitate model theft through these physical "leaks."

Methodology

The core of the attack strategy relies on Correlation Power Analysis (CPA), a technique traditionally used to extract cryptographic keys. The attack targets the quantization process, which is essential for edge deployment.

Targeting Quantization

Edge-optimized models typically employ 8-bit integer quantization to reduce memory footprint and increase inference speed. This reduction in precision significantly narrows the search space for an attacker; instead of billions of floating-point possibilities, each weight is limited to one of 256 discrete values.

Leakage Modeling

To simulate device behavior, the researchers utilized two primary models:

  1. Hamming Weight (HW) Model: This model assumes that power leakage is proportional to the number of "1" bits in a binary value.
  2. Stochastic Model: A more sophisticated approach where individual bits are assigned different leakage weights based on empirical profiling.
Binary representation of signed integers, illustrating the basis for Hamming Weight leakage models.

The figure above illustrates how signed integers are represented in binary (two's complement). In an HW model, the value '7' (0111) would leak more than '0' (0000) due to having more active bits.

The Attack Execution

By supplying random inputs and measuring simulated power leakage during multiplication operations ($Weight \times Input$), the Pearson correlation between actual and hypothetical leakages was calculated for all 256 possible weight values. The value yielding the highest correlation is identified as the recovered weight. This process is applied recursively: once the first layer is compromised, its outputs serve as the known inputs for the subsequent layer.

Experimental Setup

The study benchmarked a quantized GoogleNet v1 model (approx. 6.8 million parameters) using the ImageNet dataset. This setup allowed for a direct comparison between the original "secret" model and the version reconstructed via SCA.

Results and Analysis

The reconstruction efforts proved highly successful across various leakage scenarios. The functional performance of the stolen models remained remarkably close to the original.

Model Version Top-1 Accuracy Top-5 Accuracy
Original Model 62.36% 84.91%
Reconstructed (HW Model) 61.36% 84.27%
Reconstructed (Stochastic Model) 59.29% 84.74%

Key insights from the results include:

  • Quantization as a Vulnerability: The 8-bit constraint transforms a computationally infeasible problem into a manageable brute-force task.
  • Profiling Efficacy: When an attacker can profile the specific hardware (Stochastic Model), they can achieve up to 100% accuracy in recovering certain parameters like bias values.
  • Functional Equivalence: Even with imperfect weight recovery (e.g., using a generic HW model), the resulting network remains functionally equivalent to the original, with Top-1 accuracy dropping by as little as 1%.

Conclusion

This research highlights a critical security gap in edge AI deployment. Current OpenVINO implementations lack robust protections against side-channel analysis. To mitigate these risks, future iterations of the framework should incorporate countermeasures such as "masking" (randomizing secret values) or "shuffling" (randomizing operation order) within the compiler. Without these hardware-aware security measures, proprietary models on edge devices remain vulnerable to sophisticated physical extraction techniques.

Summary updated

BibTeX
@inproceedings{jap2025side,
  author = {Dirmanto Jap and Jakub Breier and Zdenko Lehocký and Shivam Bhasin and Xiaolu Hou},
  title = {{Side-Channel Analysis of OpenVINO-based Neural Network Models}},
  booktitle = {ARES (EU Projects Symposium Workshops 1)},
  year = {2025},
  doi = {10.1007/978-3-032-00642-4\_18},
}
Figure