Paper 2026/2556

Analysis of an AI based code distinguisher

Quentin Lavit, CNRS, INRIA, LORIA
Julien Seinturier, Univ Toulon
Pascal Véron, Univ Toulon
Abstract

Recently, DeepDistinguisher demonstrated the capability of transformer-like architectures to accurately distinguish Goppa codes from linear codes randomly generated, outperforming traditional distinguishers in certain settings. The purpose of our research is to examine the working mechanism of the mentioned machine learning algorithm. In particular, we explore the performance of the distinguisher using saliency maps and attention visualization techniques. We first identify a low-weight-row artifact present in the random instances used during training and show that the model partially relies on this feature. After removing this artifact, the distinguisher still achieves significant accuracy, suggesting the use of more structural properties. Inspired by the constraints induced by the minimum distance of Goppa codes, we proposed a rule based on pairwise XOR operation between the rows of the generator matrix. Our experiments have shown that the predictions made by DeepDistinguisher and XOR-based rule are highly correlated especially for high-rate codes. Furthermore, when evaluated on random matrices satisfying both the minimum distance and XOR constraints, the neural distinguisher loses most of its predictive power. This suggests that transformer-based architectures exploit general combinatorial properties of a code rather than some hidden underlying algebraic structure.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Published elsewhere. 20th IMA International Conference on Cryptography and Coding
Keywords
Deep learningGoppa codeGoppa Distinguisher problem
Contact author(s)
quentin lavit @ loria fr
julien seinturier @ univ-tln fr
pascal veron @ univ-tln fr
History
2026-10-20: approved
2026-10-19: received
See all versions
Short URL
https://ia.cr/2026/2556
License
Creative Commons Attribution-NonCommercial
CC BY-NC

BibTeX

@misc{cryptoeprint:2026/2556,
      author = {Quentin Lavit and Julien Seinturier and Pascal Véron},
      title = {Analysis of an {AI} based code distinguisher},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2556},
      year = {2026},
      url = {https://eprint.iacr.org/2026/2556}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.