Nanyang Technological University
Content-based alignment for shuffled side-channel traces: a set/slot transformer approach
Abstract
dc:description.abstractDeep learning-based Side-Channel Analysis (SCA) has demonstrated remarkable efficacy in overcoming signal desynchronization (jitter). However, random shuffling countermeasures remain a formidable challenge for standard convolutional and recurrent architectures, which inherently rely on the sequential order of input features [1]. Existing state-of-the-art solutions often depend on strong adversarial assumptions, requiring explicit synchronization metadata (e.g., shuffle indices) during profiling or attack phases to align leakage. In this work, we propose a novel position-agnostic framework that fundamentally reinterprets the shuffling problem through a set-theoretic perspective. We introduce a Set Transformer architecture [2] equipped with Slot Attention, deliberately removing Positional Encodings (PE) to enforce permutation invariance. This design compels the model to perform content-based addressing, enabling it to implicitly disentangle and localize shuffled byte leakage without spatial supervision. Our approach is evaluated on ASCADv2 settings that combine high-order masking with shuffling, with the main comparative experiments following the extracted ASCADv2 setup used by the Multi-task baseline [3]. Both the baseline and our method rely on the same standard intermediate-value supervision (including 𝛼-related labels) while excluding shuffle indices and other micro-architectural synchronization metadata (e.g., as used in ANSSI-style settings [4]). Under this shared supervision regime, we demonstrate that the proposed set-based design specifically improves robustness to shuffling. Furthermore, we provide comprehensive interpretability analyses, including attention map visualizations and gradient-based attribution, which confirm that the model learns to dynamically route leakage information based on its semantic content rather than its temporal position. Quantitatively, under the same extracted ASCADv2 setting, the known-shuffle CNN upper bound reaches its first GE= 0 point about 40% earlier in training (fewer epochs) than our unknown-shuffle model, while both require a comparable number of epochs to stably remain at GE= 0. Our findings suggest that treating side-channel traces as unordered sets rather than ordered sequences is a more effective inductive bias for attacking shuffling countermeasures.
Degree
thesis:*- College dc:contributor.school
- School of Electrical and Electronic Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Zuo, Yi
- Advisor dc:contributor.supervisor
-
- Gwee Bah Hwee
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/216645