Focus is Key to Success: A Focal Loss Function for Deep Learning-Based Side-Channel Analysis

被引:11
作者
Kerkhof, Maikel [1 ]
Wu, Lichao [1 ]
Perin, Guilherme [1 ]
Picek, Stjepan [1 ,2 ]
机构
[1] Delft Univ Technol, Delft, Netherlands
[2] Radboud Univ Nijmegen, Nijmegen, Netherlands
来源
CONSTRUCTIVE SIDE-CHANNEL ANALYSIS AND SECURE DESIGN, COSADE 2022 | 2022年 / 13211卷
关键词
Deep learning; Focal loss; Loss function; Side-channel analysis;
D O I
10.1007/978-3-030-99766-3_2
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The deep learning-based side-channel analysis represents one of the most powerful side-channel attack approaches. Thanks to its capability in dealing with raw features and countermeasures, it becomes the de facto standard approach for the SCA community. The recent works significantly improved the deep learning-based attacks from various perspectives, like hyperparameter tuning, design guidelines, or custom neural network architecture elements. Still, insufficient attention has been given to the core of the learning process - the loss function. This paper analyzes the limitations of the existing loss functions and then proposes a novel side-channel analysis-optimized loss function: Focal Loss Ratio (FLR), to cope with the identified drawbacks observed in other loss functions. To validate our design, we 1) conduct a thorough experimental study considering various scenarios (datasets, leakage models, neural network architectures) and 2) compare with other loss functions used in the deep learning-based side-channel analysis (both "traditional" ones and those designed for side-channel analysis). Our results show that FLR loss outperforms other loss functions in various conditions while not having computational overhead like some recent loss function proposals.
引用
收藏
页码:29 / 48
页数:20
相关论文
共 31 条
[1]   Deep learning for side-channel analysis and introduction to ASCAD database [J].
Benadjila, Ryad ;
Prouff, Emmanuel ;
Strullu, Remi ;
Cagli, Eleonora ;
Dumas, Cecile .
JOURNAL OF CRYPTOGRAPHIC ENGINEERING, 2020, 10 (02) :163-188
[2]   Convolutional Neural Networks with Data Augmentation Against Jitter-Based Countermeasures Profiling Attacks Without Pre-processing [J].
Cagli, Eleonora ;
Dumas, Cecile ;
Prouff, Emmanuel .
CRYPTOGRAPHIC HARDWARE AND EMBEDDED SYSTEMS - CHES 2017, 2017, 10529 :45-68
[3]  
Chari S, 2002, LECT NOTES COMPUT SC, V2523, P13
[4]   Class-Balanced Loss Based on Effective Number of Samples [J].
Cui, Yin ;
Jia, Menglin ;
Lin, Tsung-Yi ;
Song, Yang ;
Belongie, Serge .
2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, :9260-9269
[5]  
Goodfellow I, 2016, ADAPT COMPUT MACH LE, P1
[6]  
He K, 2016, C COMPUTER VISION PA, P770
[7]  
Kerkhof M., 2021, 20211091 CRYPT EPRIN
[8]   Suggestion of Testing Method for Industrial Level Cyber-Physical System in Complex Environment [J].
Kim, Jiseob ;
Chon, Sunil ;
Park, Jihwan .
2019 IEEE 12TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2019), 2019, :148-152
[9]   Deep Learning Classification of Land Cover and Crop Types Using Remote Sensing Data [J].
Kussul, Nataliia ;
Lavreniuk, Mykola ;
Skakun, Sergii ;
Shelestov, Andrii .
IEEE GEOSCIENCE AND REMOTE SENSING LETTERS, 2017, 14 (05) :778-782
[10]   Focal Loss for Dense Object Detection [J].
Lin, Tsung-Yi ;
Goyal, Priya ;
Girshick, Ross ;
He, Kaiming ;
Dollar, Piotr .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2020, 42 (02) :318-327