arXiv:2608.23054cs.LGAug 2026

Manuscript Offprint

arXiv:2608.23054

Graph Representation Learning of Lightweight IoT Ciphers

Jonathan Cook, Sabih ur Rehman, M. Arif Khan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

SIMON and SIMECK belong to a family of Lightweight Cryptographic Algorithms (LCAs) based on the Feistel block cipher, designed for Internet of Things (IoT) devices. As with all Feistel ciphers, they are susceptible to differential cryptanalysis, necessitating rigorous resilience evaluations. While state-of-the-art techniques leverage heuristics and sampling to improve efficiency, little work has applied Machine Learning (ML) guided Graph Representation Learning (GRL) to efficiently identify and visualise high-probability differential clusters. We address this gap by introducing an efficient feature engineering strategy that extracts four differential attributes from a partial Difference Distribution Table (pDDT), revealing structural information concealed in raw differential data. Utilising the enriched features, we construct and compare three ML-guided directed graphs for SIMON32 and SIMECK32 using K-Nearest Neighbour (KNN), Decision Trees (DT), and Random Forests (RF). To the best of our knowledge, our framework produces the first graph-based visualisation of the differential clustering effect, in which high-probability single-bit differentials form geometrically close clusters in the learned embedding. All three models achieve a precision of 1.0 in identifying high-probability differentials, confirming zero false positives. KNN achieves the strongest cluster separation, the highest F1 score and the lowest graph construction time of approximately 2.3 seconds, while DT and RF produce optimal paths with near-perfect regression. The results are consistent across both LCAs, demonstrating the applicability of the framework to other AND-rotation LCA families.

Keywords Differential Cryptanalysis, Graph Representation Learning, Lightweight Encryption, Machine Learning, Internet of Things (IoT)

Preprint note: This is the author's version of a paper accepted at the 33rd International Conference on Neural Information Processing (ICONIP 2026). The final authenticated version will appear in Springer Communications in Computer and Information Science (CCIS).

1 Introduction

Internet of Things (IoT) devices face significant security, privacy, and integrity challenges due to their resource-constrained environments [1, 8, 18]. Several Lightweight Cryptographic Algorithms (LCAs) suitable for resource-constrained applications have been developed in recent years, beginning with SIMON and SPECK in 2013 [2], with SIMON being designed specifically for IoT devices. In 2015, researchers at the University of Waterloo proposed SIMECK, combining properties of both [23]. SIMON and SIMECK employ bitwise-AND rotation operations [21], which, although efficient, are known to be vulnerable to adversarial attacks, necessitating rigorous security evaluations using cryptanalytic methods [13], ideally targeting as many rounds as possible while maintaining efficiency [11].

Existing techniques improve cryptanalysis through optimisation strategies, Machine Learning (ML) and graphs, with many using a Difference Distribution Table (DDT) or partial DDT (pDDT) [3, 6, 7, 10, 12, 14, 20]. However, a pDDT comprises independent differential records with limited differential information, hindering advances utilising contemporary digital technologies, with efficiency degrading as the table size grows with word size [7, 12]. To address this, [10] proposed efficient FE techniques of pDDT differentials to extract additional features from characteristics identified in [9], aiding ML predictions in a recommendation system. The optimal model exploiting the observed

Figure

Figure 1: Our methodology

clustering effect of differentials in SIMON [16] via K-Means clustering. However, the clustering effect in SIMON and SIMECK via graph representations has not yet been investigated. While a pDDT has previously been transformed into a graph structure using Neo4j [6], a significant clustering effect was not observed due to the absence of learnable features. By leveraging additional engineered features and Graph Representation Learning (GRL) [5, 15], high-probability differential regions can be identified, leading to the following research question: How can ML algorithms be utilised in GRL to identify high probability differential clusters, and how do various models compare?

This paper presents the following contributions. First, we introduce a GRL framework that converts the pDDT into a directed graph in which nodes represent differential pairs and edges encode structural and probabilistic proximity, extending the work of [10] and [9]. Secondly, to the best of our knowledge, we present the first graph-based visualisation of the differential clustering effect [16], demonstrating that high-probability differentials manifest as geometric clusters in a learned feature embedding, transforming an analytically described observation into an algorithmically exploitable structure. Third, we conduct a comparative evaluation of K-Nearest Neighbour (KNN), Decision Trees (DTs), and Random Forests (RFs) as graph construction engines, assessing cluster quality and structural graph qualities. Fourth, we demonstrate that these models yield meaningfully distinct graph topologies, providing insights into the trade-offs between efficiency, graph construction and differential neighbourhood accuracy. The remainder of the document is presented as follows. Section 2 describes the methods used in this study. The results of this work are presented in Section 3. We present a formal discussion in Section 4. Finally, Section 5 presents our concluding comments.

References (23)