Bias variance Decomposition in Machine Learning based Side channel Analysis
Machine learning techniques represent a powerful option in profiling sidechannel 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.
IACR Cryptol. ePrint Arch.