International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

Strength in Numbers: Improving Generalization with Ensembles in Machine Learning-based Profiled Side-channel Analysis

Authors:
Guilherme Perin , Riscure BV, The Netherlands; Delft University of Technology, The Netherlands
Łukasz Chmielewski , Riscure BV, The Netherlands
Stjepan Picek , Delft University of Technology, The Netherlands
Download:
DOI: 10.13154/tches.v2020.i4.337-364
URL: https://tches.iacr.org/index.php/TCHES/article/view/8686
Search ePrint
Search Google
Presentation: Slides
Abstract: The adoption of deep neural networks for profiled side-channel attacks provides powerful options for leakage detection and key retrieval of secure products. When training a neural network for side-channel analysis, it is expected that the trained model can implement an approximation function that can detect leaking side-channel samples and, at the same time, be insensible to noisy (or non-leaking) samples. This outlines a generalization situation where the model can identify the main representations learned from the training set in a separate test set.This paper discusses how output class probabilities represent a strong metric when conducting the side-channel analysis. Further, we observe that these output probabilities are sensitive to small changes, like selecting specific test traces or weight initialization for a neural network. Next, we discuss the hyperparameter tuning, where one commonly uses only a single out of dozens of trained models, where each of those models will result in different output probabilities. We show how ensembles of machine learning models based on averaged class probabilities can improve generalization. Our results emphasize that ensembles increase a profiled side-channel attack’s performance and reduce the variance of results stemming from different hyperparameters, regardless of the selected dataset or leakage model.
Video from TCHES 2020
BibTeX
@article{tches-2020-30557,
  title={Strength in Numbers: Improving Generalization with Ensembles in Machine Learning-based Profiled Side-channel Analysis},
  journal={IACR Transactions on Cryptographic Hardware and Embedded Systems},
  publisher={Ruhr-Universität Bochum},
  volume={2020, Issue 4},
  pages={337-364},
  url={https://tches.iacr.org/index.php/TCHES/article/view/8686},
  doi={10.13154/tches.v2020.i4.337-364},
  author={Guilherme Perin and Łukasz Chmielewski and Stjepan Picek},
  year=2020
}