Cryptology ePrint Archive: Report 2019/570

Bias-variance Decomposition in Machine Learning-based Side-channel Analysis

Daan van der Valk and Stjepan Picek

Abstract: Machine learning techniques represent a powerful option in profiling side-channel analysis. Still, there are many settings where their performance is far from expected. In such occasions, it is very important to understand the difficulty of the problem and the behavior of the machine learning algorithm. To that end, one needs to investigate not only the performance of machine learning but also to provide insights into its explainability. One tool enabling us to do this is the bias-variance decomposition where we are able to decompose the predictive error into bias, variance, and noise. With this technique, we can analyze various scenarios and recognize what are the sources of problem difficulty and how additional measurements/features or more complex machine learning models can alleviate the problem. While such results are promising, there are still drawbacks since often it is not easy to connect the performance of side-channel attack and performance of a machine learning classifier as given by the bias-variance decomposition. In this paper, we propose a new tool for analyzing the performance of machine learning-based side-channel attacks -- the Guessing Entropy Bias-Variance Decomposition. With it, we are able to better understand the performance of various machine learning techniques and understand how a change in a setting influences the performance of an attack. To validate our claims, we give extensive experimental results for a number of different settings.

Category / Keywords: implementation / Side-channel analysis, Machine learning, Deep learning, Bias-variance decomposition, Loss function

Date: received 26 May 2019, last revised 14 Jun 2019

Contact author: daan at dvandervalk, picek stjepan@gmail com

Available format(s): PDF | BibTeX Citation

Version: 20190615:044055 (All versions of this report)

Short URL:

[ Cryptology ePrint archive ]