Make Shuffling Great Again: A Side-Channel Resistant Fisher-Yates Algorithm for Protecting Neural Networks
Leonard Pu\v{s}k\'a\v{c}, Marek Benovi\v{c}, Jakub Breier, Xiaolu Hou

TL;DR
This paper introduces a secure version of the Fisher-Yates shuffling algorithm to protect embedded neural networks from side-channel attacks, combining masking and modular arithmetic techniques to eliminate vulnerabilities.
Contribution
The authors design an SCA-resistant Fisher-Yates algorithm by integrating masking techniques, effectively preventing side-channel leakage in neural network implementations.
Findings
The proposed algorithm effectively resists correlation power analysis attacks.
Memory overhead is doubled compared to the largest network layer.
Time overhead is minimal, ranging from 0.49% to 4% depending on layer size.
Abstract
Neural network models implemented in embedded devices have been shown to be susceptible to side-channel attacks (SCAs), allowing recovery of proprietary model parameters, such as weights and biases. There are already available countermeasure methods currently used for protecting cryptographic implementations that can be tailored to protect embedded neural network models. Shuffling, a hiding-based countermeasure that randomly shuffles the order of computations, was shown to be vulnerable to SCA when the Fisher-Yates algorithm is used. In this paper, we propose a design of an SCA-secure version of the Fisher-Yates algorithm. By integrating the masking technique for modular reduction and Blakely's method for modular multiplication, we effectively remove the vulnerability in the division operation that led to side-channel leakage in the original version of the algorithm. We experimentally…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Physical Unclonable Functions (PUFs) and Hardware Security · Advanced Memory and Neural Computing
MethodsSemantic Cross Attention
