A Desynchronization-Based Countermeasure Against Side-Channel Analysis of Neural Networks

Jakub Breier, Dirmanto Jap, Xiaolu Hou, Shivam Bhasin
3/25/2023
cs.CRcs.LG

No confident code implementation found for this paper.

Abstract

Model extraction attacks have been widely applied, which can normally be used to recover confidential parameters of neural networks for multiple layers. Recently, side-channel analysis of neural networks allows parameter extraction even for networks with several multiple deep layers with high effectiveness. It is therefore of interest to implement a certain level of protection against these attacks. In this paper, we propose a desynchronization-based countermeasure that makes the timing analysis of activation functions harder. We analyze the timing properties of several activation functions and design the desynchronization in a way that the dependency on the input and the activation type is hidden. We experimentally verify the effectiveness of the countermeasure on a 32-bit ARM Cortex-M4 microcontroller and employ a t-test to show the side-channel information leakage. The overhead ultimately depends on the number of neurons in the fully-connected layer, for example, in the case of 4096 neurons in VGG-19, the overheads are between 2.8% and 11%.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{breier2023desynchronizationbased,
  title  = {A Desynchronization-Based Countermeasure Against Side-Channel Analysis of Neural Networks},
  author = {Jakub Breier and Dirmanto Jap and Xiaolu Hou and Shivam Bhasin},
  year   = {2023},
  eprint = {2303.18132},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.18132v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.18132.svg)](https://codeofpaper.com/paper/2303.18132)

Discussion