Paper 2020/1293

I Choose You: Automated Hyperparameter Tuning for Deep Learning-based Side-channel Analysis

Lichao Wu, Guilherme Perin, and Stjepan Picek

Abstract

Deep learning-based SCA represents a powerful option for profiling side-channel analysis. Numerous results in the last few years indicate neural networks can break targets protected with countermeasures even with a relatively small number of attack traces. Intuitively, the more powerful neural network architecture we require, the more effort we need to spend in its hyperparameter tuning. Current results commonly use random search and reach good performance. Yet, we remain with the question of how good are such architectures if compared with the architectures that are carefully designed by following a specific methodology. Unfortunately, the works considering methodologies are sparse and difficult to ease without prior knowledge about the target. This work proposes an automated way for deep learning hyperparameter tuning that is based on Bayesian Optimization. We build a custom framework denoted as AutoSCA that supports both machine learning and side-channel metrics. Our experimental analysis shows that Bayesian optimization performs well regardless of the dataset, leakage model, or neural network type. What is more, we find a number of neural network architectures outperforming state-of-the-art attacks. Finally, we note that random search, despite being considered not particularly powerful, manages to reach top performance for a number of considered settings. We postulate this happens since the datasets are relatively easy to break, and there are many neural network architectures reaching top performance.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint. MINOR revision.
Keywords
Side-channel AnalysisDeep learningHyperparameter optimizationBayesian Optimization
Contact author(s)
picek stjepan @ gmail com
lichao wu9 @ gmail com
guilhermeperin7 @ gmail com
History
2020-10-19: received
Short URL
https://ia.cr/2020/1293
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2020/1293,
      author = {Lichao Wu and Guilherme Perin and Stjepan Picek},
      title = {I Choose You: Automated Hyperparameter Tuning for Deep Learning-based Side-channel Analysis},
      howpublished = {Cryptology {ePrint} Archive, Paper 2020/1293},
      year = {2020},
      url = {https://eprint.iacr.org/2020/1293}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.