International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

The Curse of Class Imbalance and Conflicting Metrics with Machine Learning for Side-channel Evaluations

Authors:
Stjepan Picek , Delft University of Technology, Delft, The Netherlands; LAGA, Department of Mathematics, University of Paris 8 (and Paris 13 and CNRS)
Annelie Heuser , Univ Rennes, Inria, CNRS, IRISA
Alan Jovic , University of Zagreb Faculty of Electrical Engineering and Computing
Shivam Bhasin , Physical Analysis and Cryptographic Engineering, Temasek Laboratories at Nanyang Technological University
Francesco Regazzoni , University of Lugano
Download:
DOI: 10.13154/tches.v2019.i1.209-237
URL: https://tches.iacr.org/index.php/TCHES/article/view/7339
Search ePrint
Search Google
Presentation: Slides
Abstract: We concentrate on machine learning techniques used for profiled sidechannel analysis in the presence of imbalanced data. Such scenarios are realistic and often occurring, for instance in the Hamming weight or Hamming distance leakage models. In order to deal with the imbalanced data, we use various balancing techniques and we show that most of them help in mounting successful attacks when the data is highly imbalanced. Especially, the results with the SMOTE technique are encouraging, since we observe some scenarios where it reduces the number of necessary measurements more than 8 times. Next, we provide extensive results on comparison of machine learning and side-channel metrics, where we show that machine learning metrics (and especially accuracy as the most often used one) can be extremely deceptive. This finding opens a need to revisit the previous works and their results in order to properly assess the performance of machine learning in side-channel analysis.
Video from TCHES 2019
BibTeX
@article{tches-2019-29062,
  title={The Curse of Class Imbalance and Conflicting Metrics with Machine Learning for Side-channel Evaluations},
  journal={IACR Trans. Cryptogr. Hardw. Embed. Syst.},
  publisher={Ruhr-Universität Bochum},
  volume={2019, Issue 1},
  pages={209-237},
  url={https://tches.iacr.org/index.php/TCHES/article/view/7339},
  doi={10.13154/tches.v2019.i1.209-237},
  author={Stjepan Picek and Annelie Heuser and Alan Jovic and Shivam Bhasin and Francesco Regazzoni},
  year=2019
}