No (good) loss no gain: Systematic evaluation of loss functions in deep learning-based side-channel analysis

Maikel Kerkhof, Lichao Wu, Guilherme Perin, Stjepan Picek*

*Corresponding author for this work

Research output: Contribution to journalArticleScientificpeer-review

4 Citations (Scopus)
32 Downloads (Pure)

Abstract

Deep learning is a powerful direction for profiling side-channel analysis as it can break targets protected with countermeasures even with a relatively small number of attack traces. Still, it is necessary to conduct hyperparameter tuning to reach strong attack performance, which can be far from trivial. Besides many options stemming from the machine learning domain, recent years also brought neural network elements specially designed for side-channel analysis. The loss function, which calculates the error or loss between the actual and desired output, is one of the most important neural network elements. The resulting loss values guide the weights update associated with the connections between the neurons or filters of the deep learning neural network. Unfortunately, despite being a highly relevant hyperparameter, there are no systematic comparisons among different loss functions regarding their effectiveness in side-channel attacks. This work provides a detailed study of the efficiency of different loss functions in the SCA context. We evaluate five loss functions commonly used in machine learning and three loss functions specifically designed for SCA. Our results show that an SCA-specific loss function (called CER) performs very well and outperforms other loss functions in most evaluated settings. Still, categorical cross-entropy represents a good option, especially considering the variety of neural network architectures.

Original languageEnglish
Pages (from-to)311-324
Number of pages14
JournalJournal of Cryptographic Engineering
Volume13
Issue number3
DOIs
Publication statusPublished - 2023

Keywords

  • Deep Learning
  • Evaluation
  • Loss function
  • Side-channel analysis

Fingerprint

Dive into the research topics of 'No (good) loss no gain: Systematic evaluation of loss functions in deep learning-based side-channel analysis'. Together they form a unique fingerprint.

Cite this