Paper 2025/1134

Optimal Dimensionality Reduction using Conditional Variational AutoEncoder

Sana Boussam, Inria Saclay - Île-de-France Research Centre, Institut Polytechnique de Paris, Thales ITSEF (France)
Mathieu Carbone, Thales ITSEF (France)
Benoît Gérard, ANSSI (France)
Guénaël Renault, ANSSI (France), Inria Saclay - Île-de-France Research Centre, Institut Polytechnique de Paris
Gabriel Zaid, Thales ITSEF (France)
Abstract

The benefits of using Deep Learning techniques to enhance side-channel attacks performances have been demonstrated over recent years. Most of the work carried out since then focuses on discriminative models. However, one of their major limitations is the lack of theoretical results. Indeed, this lack of theoretical results, especially concerning the choice of neural network architecture to consider or the loss to prioritize to build an optimal model, can be problematic for both attackers and evaluators. Recently, Zaid et al. addressed this problem by proposing a generative model that bridges conventional profiled attacks and deep learning techniques, thus providing a model that is both explicable and interpretable. Nevertheless the proposed model has several limitations. Indeed, the architecture is too complex, higher-order attacks cannot be mounted and desynchronization is not handled by this model. In this paper, we address the first limitation namely the architecture complexity, as without a simpler model, the other limitations cannot be treated properly. To do so, we propose a new generative model that relies on solid theoretical results. This model is based on conditional variational autoencoder and converges towards the optimal statistical model i.e. it performs an optimal attack. By building on and extending the state-of-the-art theoretical works on dimensionality reduction, we integrate into this neural network an optimal dimensionality reduction i.e. a dimensionality reduction that is achieved without any loss of information. This results in a gain of $\mathcal{O}(D)$, with $D$ the dimension of traces, compared to Zaid et al. neural network in terms of architecture complexity, while at the same time enhancing the explainability and interpretability. In addition, we propose a new attack strategy based on our neural network, which reduces the attack complexity of generative models from $\mathcal{O}(N)$ to $\mathcal{O}(1)$, with $N$ the number of generated traces. We validate all our theoretical results experimentally using extensive simulations and various publicly available datasets covering symmetric, asymmetric pre and post-quantum cryptography implementations.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Published by the IACR in TCHES 2025
DOI
10.46586/tches.v2025.i3.164-211
Keywords
Side-Channel AttacksOptimal Dimensionality ReductionOptimal AttacksGenerative ModelsVariational AutoEncoder
Contact author(s)
sana boussam @ inria fr
mathieu carbone @ thalesgroup com
benoit gerard @ ssi gouv fr
guenael renault @ ssi gouv fr
gabriel zaid @ thalesgroup com
History
2025-06-17: approved
2025-06-16: received
See all versions
Short URL
https://ia.cr/2025/1134
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/1134,
      author = {Sana Boussam and Mathieu Carbone and Benoît Gérard and Guénaël Renault and Gabriel Zaid},
      title = {Optimal Dimensionality Reduction using Conditional Variational {AutoEncoder}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1134},
      year = {2025},
      doi = {10.46586/tches.v2025.i3.164-211},
      url = {https://eprint.iacr.org/2025/1134}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.