CL-SCA: A Contrastive Learning Approach for Profiled Side-Channel Analysis

Annyu Liu, An Wang, Shaofei Sun*, Congming Wei, Yaoling Ding, Yongjuan Wang, Liehuang Zhu

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Side-channel analysis (SCA) based on machine learning, particularly neural networks, has gained considerable attention in recent years. However, previous works predominantly focus on establishing connections between labels and related profiled traces. These approaches primarily capture label-related features and often overlook the connections between traces of the same label, resulting in the loss of some valuable information. Besides, the attack traces also contain valuable information that can be used in the training process to assist model learning. In this paper, we propose a profiled SCA approach based on contrastive learning named CL-SCA to address these issues. This approach extracts features by emphasizing the similarities among traces, thereby improving the effectiveness of key recovery while maintaining the advantages of the original SCA approach. Through experiments of different datasets from different platforms, we demonstrate that CL-SCA significantly outperforms other approaches. Moreover, by incorporating attack traces into the training process using our approach, we can further enhance its performance. This extension can improve the effectiveness of key recovery, which is fully verified through experiments on different datasets.

Original languageEnglish
JournalIEEE Transactions on Information Forensics and Security
DOIs
Publication statusAccepted/In press - 2025
Externally publishedYes

Keywords

  • Contrastive learning
  • Neural networks
  • Profiled analysis
  • Side-channel analysis

Fingerprint

Dive into the research topics of 'CL-SCA: A Contrastive Learning Approach for Profiled Side-Channel Analysis'. Together they form a unique fingerprint.

Cite this