Next Article in Journal
The Non-Simulation Resilience Assessment for Electric–Gas Distribution Networks
Previous Article in Journal
Green Power Price Forecast Based on Multi-Dimensional Taylor Network and Wavelet Method
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Security Framework for Resilient Smart Grids Based on Self-Organizing Graph Neural Cellular Automata

1
School of Computer Science and Technology, Shenyang Institute of Engineering, Shenyang 110136, China
2
College of Artificial Intelligence, Tianjin University of Science and Technology, Tianjin 300457, China
3
Beijing Fibrlink Communications Co., Ltd., Beijing 100084, China
4
China Gridcom Co., Ltd., Shenzhen 518109, China
*
Author to whom correspondence should be addressed.
Algorithms 2026, 19(3), 195; https://doi.org/10.3390/a19030195
Submission received: 26 January 2026 / Revised: 13 February 2026 / Accepted: 16 February 2026 / Published: 5 March 2026

Abstract

As smart grids evolve into complex cyber-physical systems, conventional static defenses struggle to address time-varying topologies and Advanced Persistent Threats (APTs). We propose the Security Framework for Resilient Smart Grids based on Self-Organizing Graph Neural Cellular Automata (SG-GNC). Specifically, a Neural Homeostatic Embedding (NHE) mechanism utilizes variational graph autoencoders to construct a continuous health manifold for unsupervised anomaly detection, while a Neural Cellular Automata (NCA) engine employs shared-weight local rules to empower nodes with decentralized self-healing capabilities. Finally, a Generative Adversarial Immunity (GAI) strategy facilitates active defense co-evolution, enhancing robustness against zero-day attacks. Experimental results on the IEEE 118 and 300-bus systems demonstrate an average detection accuracy of 98.23%, significantly outperforming benchmarks. In scenarios involving dynamic topology and zero-day attacks, the framework maintains over 96% accuracy with an inference latency of only 9.45 ms. These findings validate the capability of SG-GNC to provide resilient, endogenous defense in complex heterogeneous environments.

1. Introduction

As modern energy infrastructure transitions toward highly interconnected cyber-physical systems (CPSs), the Smart Grid has emerged as a pivotal pillar for integrating renewable energy and achieving efficient power distribution. However, this profound integration simultaneously exposes traditionally isolated industrial control environments to open cyberspace, subjecting Internet of Things (IoT)-based renewable energy systems to unprecedented cybersecurity challenges [1]. Driven by Industrial Internet of Things (IIoT) technologies, the proliferation of heterogeneous edge devices has significantly expanded the attack surface, rendering power grids highly susceptible to malicious disruptions [2], such as Denial of Service (DoS) attacks and False Data Injection (FDI), which aim to compromise system availability and integrity [3,4]. Although existing Key Management Systems (KMSs) provide fundamental confidentiality assurances for data transmission [5], traditional static defense paradigms are appearing increasingly fragile and inadequate when identifying dynamic variations in network topology and facing potential asymmetric computational threats posed by future quantum computing [6]. Consequently, constructing a next-generation resilient security defense architecture capable of adapting to time-varying environments, possessing endogenous self-healing capabilities, and resisting Advanced Persistent Threats (APTs) has become an urgent imperative for both academia and industry.
Significant progress has been made in safeguarding the communication security of IoT and industrial control systems through advanced encryption and authentication mechanisms. To address increasingly complex cyber threats, researchers have extensively explored various defense measures ranging from fundamental cryptographic algorithms to cross-domain security protocols [7,8]. In specific application domains such as the Internet of Medical Things (IoMT) and the Internet of Vehicles (IoV), customized security architectures have been proposed to meet stringent requirements for data confidentiality and user privacy [9,10], while the integration of biometric recognition technologies has further enhanced the reliability of identity authentication [11]. Furthermore, research into physical layer security and novel cryptographic primitives has exhibited a diversified trend, encompassing schemes based on metasurfaces, chaos theory, and neuromorphic vision sensors [12,13], as well as Encryption-as-a-Service models oriented toward cloud environments [14]. For smart transportation and energy trading scenarios, efficient mutual authentication protocols have been developed to support Vehicle-to-Grid (V2G) interactions [15,16]. Concurrently, to mitigate potential threats from future quantum computing, Hybrid Quantum-Safe Cryptosystems have become a focal point of research, covering experimental integrations of Quantum Key Distribution (QKD) and Post-Quantum Cryptography (PQC) [17,18], the design of quantum-resistant protocols for 5G networks and Transport Layer Security (TLS) [19,20], and deep evaluations of related hardware implementation efficiency and migration trends [21,22].
Despite the significant efficacy of the aforementioned studies in fortifying defense boundaries and enhancing encryption strength, existing security models still reveal fundamental limitations when confronting the highly dynamic and heterogeneous characteristics of smart grids. Most current authentication and hybrid encryption frameworks essentially rely on static topological assumptions and pre-established trust anchors [23,24], lacking endogenous adaptability to handle sudden network structural changes, such as node failures or microgrid islanding [25]. Although information verification technologies for industrial control systems have developed, traditional deep learning intrusion detection models often manifest black-box characteristics, devoid of organism-like homeostatic perception and self-healing mechanisms [26]. This implies that when unknown zero-day attacks or large-scale data poisoning occur, existing systems cannot achieve immediate reconstruction of damaged data and self-recovery of functions through local interactions like biological tissues. To address these challenges, we propose a Security Framework of Resilient Smart Grids based on Self-Organizing Graph Neural Cellular Automata (SG-GNC), aiming to realize a transformation from passive to active defense by simulating biological mechanisms of homeostasis maintenance and morphogenesis. The primary contributions are as follows:
  • We proposed a systemic Neural Homeostatic Embedding (NHE) mechanism that integrates variation graph auto-encoders to construct a differentiable health manifold, shifting anomaly detection from static threshold to dynamic unsupervised perception.
  • We designed a topology-independent Neural Cellular Automata (NCA) engine that adapts shared-weight local rules to specific grid physics, enabling the first decentralized self-healing capability for cyber-physical state restoration.
  • We introduced the Generative Adversarial Immunity (GAI) strategy that orchestrates a co-evolutionary game between the NCA and an Attack Generator, synthesizing these components into a closed-loop active defense system.
The remainder of this paper is organized as follows. Section 2 introduces related work, including methods such as lightweight security authentication. Section 3 describes the proposed method in detail. Section 4 presents a quantitative analysis of the proposed method against other security architectures to validate recognition and defense performance across different datasets. Section 5 discusses aspects such as hyperparameter settings within the method. Finally, Section 6 provides the conclusion and future research directions.

2. Related Work

2.1. Authentication and Cryptographic Protocols in Resource-Constrained Smart Grids

Given the scarcity of computational resources and limited communication bandwidth characteristic of smart grid edge devices, lightweight authentication and cryptographic protocols have emerged as the dominant paradigm for ensuring network security. Research in this domain primarily focuses on significantly reducing computational complexity and communication overhead while maintaining high security standards, encompassing diverse technological pathways ranging from identity-based encryption and Elliptic Curve Cryptography (ECC) to Physical Unclonable Functions (PUFs).
Regarding foundational algorithmic optimization, Thakor et al. [27] proposed a novel 5-bit S-box design, substantially enhancing the nonlinearity and attack resistance of lightweight algorithms. Building upon such efficient primitives, numerous studies have introduced improved protocols tailored to specific scenarios. Tanveer et al. [26] designed the LACP-SG protocol to address high-latency issues in grid data transmission, while Kook et al. [28] utilized hash functions to construct a low-overhead authentication scheme. To manage more complex V2G and fog computing environments, Irshad et al. [29] and Wei et al. [30] proposed authentication mechanisms based on the Energy Internet and multi-TA models, respectively, with Abbasi et al. [31] further extending such schemes to cloud-assisted architectures. For large-scale node management, Rosa et al. [32] explored the Light-SAE protocol for constrained devices, and Mutlaq et al. [33] innovatively combined ECC, biometrics, and Hamming distance to improve fault tolerance. Furthermore, physical layer security has attracted attention, with Zahoor et al. [34] leveraging PUF technology to achieve keyless authentication. At the key management level, Rana et al. [5] provided a comprehensive review, while Aquina et al. [35] discussed transition paths and performance trade-offs from traditional cryptography to the post-quantum era.
Although these solutions have proven effective in reducing resource consumption, they essentially remain static defense paradigms, heavily relying on pre-established trust roots or centralized servers (such as KGCs or cloud platforms). This dependence introduces risks of single points of failure and a lack of adaptability to time-varying topologies. Confronted with APTs and unknown zero-day attacks, these fixed encryption logics lack endogenous evolutionary and self-healing capabilities, failing to meet the urgent demands of modern smart grids for resilient security and active defense.

2.2. Decentralized Architectures: Post-Quantum, Blockchain, and Bio-Inspired Security

Facing the dual challenges of the explosive growth in quantum computing power and the lack of trust in large-scale heterogeneous networks, frontier security architectures are accelerating toward decentralized and quantum-resistant directions. The mainstream approach in this stream involves abandoning traditional centralized authorities in favor of integrating the distributed ledger technology of blockchain, the mathematical hardness of PQC, and the chaotic dynamic characteristics of bio-inspired algorithms, aiming to construct a next-generation defense system with theoretical security strength capable of resisting future computational attacks.
In the realm of quantum-resistant migration, Chawla et al. [36] mapped a roadmap for the transition of the Internet of Things from classical algorithms to PQC, while Zeng et al. [37] performed foundational optimizations on polynomial operations core to lattice-based cryptography. On this basis, Shim [38] and Mansoor et al. [39] validated the applicability of PQC signature schemes in IoT and e-health systems, with Khan [40] and Meng et al. [41] further enhancing key quantum hardness in UAV and industrial internet scenarios. To resolve distributed trust issues, Mutlaq et al. [42] successfully applied scalable blockchain frameworks to data trading protection in smart grids. In further fusion research, Dhar et al. [43] innovatively combined blockchain with quantum cryptography, and Aquina et al. [35] conducted an in-depth comparison of the deployment efficacy between QKD and PQC. Moreover, bionics has offered novel encryption perspectives; Singh [44] and Mougkogiannis et al. [45] utilized the chaotic properties of DNA sequences and protein-like assembly structures, respectively, to achieve high-entropy encryption.
Despite the qualitative leap in security achieved by these decentralized architectures, the substantial signature sizes of PQC and the consensus latency of blockchains remain difficult to reconcile with the stringent low-latency requirements of real-time smart grid control. Crucially, these schemes essentially focus on the fortification of defense boundaries and the transfer of trust, lacking biology-like morphogenetic mechanisms. When facing unknown attacks that breach boundaries or physical topology damage, such systems cannot spontaneously reconstruct data and self-heal based on local neural rules like biological organisms—a core pain point we seek to address through Neural Cellular Automata.

2.3. Research Motivation

(1) Conventional static and supervised detection models fail to adapt to the time-varying characteristics of dynamic grid loads. Current methods, relying on fixed features, suffer from black-box vulnerabilities and an inability to construct differentiable health manifolds. Unlike conventional supervised models that rely on fixed feature thresholds, the proposed NHE mechanism constructs a differentiable manifold to capture endogenous system health, enabling the unsupervised differentiation of normal fluctuations.
(2) Existing architectures rely heavily on centralized trust, introducing significant overhead and single-point failure risks in resource-constrained environments. Furthermore, deep learning models are inherently sensitive to graph structures, often failing to generalize during topological variations such as islanding. This structural rigidity necessitates the introduction of a morphogenetic mechanism based on Neural Cellular Automata to ensure topology-independent resilience and decentralized self-healing capabilities.
(3) Conventional models frequently exhibit catastrophic forgetting and passivity against zero-day threats. Current systems lack endogenous evolutionary mechanisms, where updates often overwrite prior knowledge. To address these limitations, a generative adversarial immune framework is essential to simulate attack-defense co-evolution, thereby establishing antifragility and facilitating proactive immunity against unknown threats.

3. Method

To mitigate APTs within the time-varying topologies of smart grids, a resilient defense framework grounded in biological morphogenesis principles, termed SG-GNC, is proposed. As depicted in Figure 1, the framework initially employs NHE to construct a continuous health manifold, thereby facilitating unsupervised anomaly perception. Subsequently, endogenous self-healing capabilities are conferred upon nodes via the local interactions of NCA, enabling the restoration of compromised states. Finally, the GAI strategy is integrated to bolster robustness against zero-day attacks through dynamic gaming, culminating in a closed-loop defense architecture characterized by homeostatic perception, morphogenetic self-healing, and active immunity.

3.1. Neural Homeostatic Embedding Mechanism

Existing anomaly detection methods for smart grids predominantly rely on static thresholds or supervised feature classification, which struggle to effectively adapt to the time-varying characteristics of system loads and the dynamic evolution of topological structures. This black-box mode, devoid of endogenous homeostatic perception, often fails to define the manifold boundaries of normal fluctuations when confronting APTs and data poisoning, leading to a significant decline in detection accuracy. To address this, this study proposes the Neural Homeostatic Embedding (NHE) mechanism, designed to construct a continuously differentiable health state manifold to achieve precise unsupervised perception of system anomalies.
As illustrated in Figure 2, the process begins by modeling the spatio-temporal operation data of the smart grid as a dynamic graph structure, defining node measurement attributes and communication topologies to capture the complex dependencies between physical connections and information interactions. Subsequently, a Variational Graph Autoencoder (VGAE) is introduced as the core manifold learning engine. By employing graph convolutional neural networks, high-dimensional features are mapped to a low-dimensional latent random variable distribution, thereby constructing the neural homeostatic manifold of the system. Finally, a composite loss function incorporating reconstruction error and Kullback–Leibler (KL) divergence is designed. Minimizing this objective function establishes an unsupervised homeostatic perception field, providing a baseline biological ontology template for subsequent anomaly discrimination.
Step 1: Smart Grid Dynamic Graph Construction and Feature Space Definition. To comprehensively characterize the physical state and information interaction of the smart grid, we first construct a dynamic graph G t = ( V , E t , X t ) . Here, V = { v 1 , , v N } represents the set of nodes composed of N smart meters or buses; E t denotes the set of communication links or physical transmission lines at time t.
The real-time measurement data of nodes (voltage magnitude, phase angle, active/reactive power) are mapped to a feature matrix X t R N × F , where F is the feature dimension. Simultaneously, an adjacency matrix A { 0 , 1 } N × N is introduced to describe the connectivity between nodes. Symmetric normalization is applied to A to eliminate the impact of node degree distribution differences on subsequent graph convolution operations. The normalized Laplacian matrix A ^ is defined as follows to enhance the stability of signal propagation in the spectral domain. The process is shown in Equation (1).
A ^ = D ˜ 1 2 A ˜ D ˜ 1 2
where A ˜ = A + I , with I being the identity matrix used to add self-loops to preserve node intrinsic feature information; D ˜ is the degree matrix, with its diagonal elements represented as D ˜ i i = j A ˜ i j . This step provides a standardized input space for the NHE mechanism, ensuring the model’s adaptability to varying grid topologies.
Step 2: Homeostatic Manifold Embedding based on Variational Graph Inference. Upon obtaining the normalized graph-structured data, NHE utilizes a variational inference framework to learn the distribution of data in the low-dimensional latent space, denoted as q ( Z | X , A ) . This study employs a two-layer Graph Convolutional Network (GCN) as the encoder (Inference Model) to map high-dimensional observation data X and structural information A to the parameters of the Gaussian distribution of latent variables Z: mean μ and variance σ 2 . This process realizes a nonlinear projection from the discrete raw data space to a continuous differentiable homeostatic manifold.
To render this stochastic sampling process differentiable and support backpropagation training, the Reparameterization Trick is introduced. Specifically, the GCN encoder employs a two-layer architecture with dimensions D i n × 64 (Hidden) and 64 × 32 (Latent) to capture high-order topological features. To enable end-to-end training, the gradient of the loss function with respect to the encoder parameters θ is computed as in Equation (2).
θ L N H E 1 L l = 1 L θ log p ( A | μ + σ ϵ ( l ) ) D K L ( q ( Z | X , A ) | | p ( Z ) )
where ϵ ( l ) N ( 0 , I ) is the sampled noise, ensuring that the stochastic sampling process remains differentiable. The specific inference calculation process is defined as Equations (3)–(5).
H = ReLU ( A ^ X W 0 )
μ = A ^ H W μ , log σ 2 = A ^ H W σ
Z = μ + σ ϵ , ϵ N ( 0 , I )
In these equations, W 0 , W μ , and W σ are the weight matrices to be learned, and H represents the intermediate hidden layer features. The generated latent variable Z encapsulates the essential characteristics of the grid under healthy operating conditions, constituting a homeostatic core resilient to noise interference.
Step 3: Construction of Unsupervised Homeostatic Perception Field and Target Optimization. The final step of the NHE mechanism involves reconstructing the original graph structure via a decoder and defining homeostasis through a composite loss function. We utilize a generative model p ( A | Z ) to rebuild the adjacency matrix A through the inner product of latent variables Z, thereby evaluating the capability of the latent manifold to preserve network topology.
The training objective of the model is to maximize the Evidence Lower Bound (ELBO), which entails minimizing the reconstruction error while constraining the KL divergence between the latent distribution and the prior distribution (standard normal distribution). This constraint forces the latent space to form a compact and continuous geometric structure, such that any attack behavior deviating from this manifold results in significant reconstruction loss. The total loss function L N H E and the reconstruction probability are defined as Equations (6) and (7).
p ( A i j = 1 | z i , z j ) = σ ( z i z j )
L N H E = E q ( Z | X , A ) [ log p ( A | Z ) ] K L ( q ( Z | X , A ) N ( 0 , I ) )
where σ ( · ) is the Sigmoid activation function. In the inference phase, the anomaly score S ( v i ) of node v i is used to quantify the degree of its deviation from the homeostatic manifold. The process is shown in Equation (8).
S ( v i ) = x i x ^ i 2 2 + λ j N ( i ) ( 1 A ^ i j )
The first term represents the feature reconstruction error, and the second term serves as a structural consistency penalty. This penalty term j N ( i ) ( 1 A ^ i j ) quantifies the deviation between the observed local topology and the probabilistic connectivity inferred from the health manifold. Since the model is trained on valid N 1 contingencies, benign topology changes yield high reconstruction probabilities ( A ^ i j 1 ), whereas malicious structural tampering (spoofed links inconsistent with power flow physics) results in low probabilities, significantly increasing the anomaly score.
When S ( v i ) exceeds a threshold τ , the node is judged to be compromised. To ensure reproducibility, τ is defined statistically using the anomaly scores S v a l obtained from the fault-free validation dataset. Assuming the reconstruction errors of normal instances follow a Gaussian distribution, we apply the Three-Sigma Rule, as expressed in Equation (9).
τ = μ v a l + 3 σ v a l
where μ v a l and σ v a l are the mean and standard deviation of S v a l , respectively. This threshold corresponds to a 99.7% confidence interval (CI), effectively filtering out benign high-frequency fluctuations. This mechanism provides a precise trigger signal for the subsequent self-healing module of the NCA.

3.2. Neural Cellular Automata Engine

Traditional centralized deep learning defense models exhibit extreme sensitivity to network topological structures. Once the power grid undergoes physical structural changes due to fault isolation or microgrid integration, the fixed input dimensions of pre-trained models often lead to defense failures. Furthermore, existing methods lack endogenous self-healing capabilities when confronting local data corruption. They typically only provide passive alerts rather than actively repairing damaged states in a decentralized environment, making it difficult to ensure the continuity of critical control instructions. To address this, the smart grid Neural Cellular Automata (NCA) engine is designed to endow network nodes with topology independence and morphogenetic self-healing capabilities based on local interactions.
As illustrated in Figure 3, each smart grid node is first instantiated as a neural cell characterized by an independent high-dimensional state vector, thereby establishing a discrete state space predicated on local neighborhood perception. Subsequently, a parameter-sharing neural update rule network is designed to function as a universal genome, guiding nodes to compute evolutionary increments for the subsequent time step based on neighboring states. Finally, a structure maintenance loss function and a random damage training mechanism are introduced to compel the network to acquire the capability of spontaneously reconstructing global steady-state patterns using solely residual local information, even under extreme conditions where partial node states are zeroed out or tampered with.
(1) Cell State Space Definition and Local Perception Field. To simulate the distributed nature of biological tissues, this study instantiates each node v i in the dynamic graph G t constructed in the previous module as a neural cell. Unlike traditional automata containing only simple discrete states (0/1), each cell in the SG-NCA maintains a continuous high-dimensional hidden state vector h i ( t ) R K . The first C channels of this vector correspond to the node’s physical measurements (such as voltage and frequency), denoted as h i ( t ) [ 0 : C ] = x i ( t ) , while the remaining channels store implicit control information used for coordinating local communications.
To achieve local perception, each cell aggregates information solely from its first-order neighbors. This study utilizes a generalized form of the graph Laplacian or Sobel operator to extract gradient features of local states, serving as the sensory organs of the cell. The computation process for the perception vector p i ( t ) is as follows: N ( i ) denotes the set of neighbors for node v i . The process is shown in Equations (10)–(12).
h i ( 0 ) = Initialize ( Z i ) , Z i Latent Space from NHE
p i ( t ) = Concat h i ( t ) , j N ( i ) A ^ i j · ( h j ( t ) h i ( t ) )
2 h i ( t ) p i ( t ) · W p e r c
Here, A ^ i j represents the element of the normalized adjacency matrix, ensuring the perception process is undisturbed by differences in node degrees. This step decouples the global state of the entire network into numerous local microscopic perception fields, laying the foundation for subsequent decentralized evolution.
(2) Shared-Weight Neural Update Rules and Stochastic Evolution. The core of the SG-NCA lies in learning a universal local update law, parameterized by a weight-sharing Multi-Layer Perceptron (MLP) f θ . This network acts as the universal update kernel for all cells, taking the current perception vector p i ( t ) as input and outputting the update increment Δ h i ( t ) for the state vector.
To simulate the continuity and stochasticity of biological biochemical reactions, a stochastic update strategy is adopted. At each time step t, every cell independently decides whether to execute an update with probability p u p d a t e . This asynchronous mechanism not only enhances the model’s robustness against network delays but also avoids deadlock oscillation problems common in discrete systems. The evolution of the cell state follows a discretized differential equation in Euler integration form. The process is shown in Equations (13)–(16).
Δ h i ( t ) = f θ ( p i ( t ) ) , θ Θ s h a r e d
m i ( t ) Bernoulli ( p u p d a t e )
h i ( t + 1 ) = h i ( t ) + m i ( t ) · Δ h i ( t )
f θ : R K × 3 R K
In these equations, m i ( t ) is the stochastic update mask. Through this approach, complex macroscopic dynamic behaviors of the entire network are decomposed into the iterative application of simple microscopic local rules. Consequently, once trained, the model can directly generalize to power grids of arbitrary scale or topology, achieving true “train once, run everywhere” capability.
(3) Structure Maintenance Loss and Damage Self-Healing Training. To endow the system with regenerative capabilities against attacks, a self-supervised training process based on morphogenesis is designed. The objective is to enable the cellular automaton to evolve from a damaged initial state and converge to the steady-state manifold Z defined by the NHE module.
During training, a damage operator D is introduced to randomly set the observation channels of partial nodes to zero or inject noise, simulating data loss or FDI attacks. The optimization goal of the model is to minimize the difference between the state h ( T ) after evolving T steps and the target steady state Z, while introducing an overflow penalty term to prevent numerical explosion. The loss function L N C A comprises reconstruction loss and stability regularization terms, as shown in (17) and (18).
h d a m a g e d ( 0 ) = D ( Z ) , D : Random Masking
L N C A = 1 N i = 1 N h i ( T ) [ 0 : C ] Z i [ 0 : C ] 2 2 + λ t = 1 T i = 1 N ReLU ( | h i ( t ) | 1.0 )
By minimizing L N C A , the neural update rule f θ acquires a form of swarm intelligence. When neighboring nodes detect that a specific node has deviated from the steady state, they transmit correction signals through local interactions, forcing the node’s state to regress to a healthy trajectory. This mechanism realizes active self-healing defense against various types of attacks.
Although a formal proof of contraction dynamics is beyond the scope of this work, the convergence mechanism can be interpreted through Lyapunov stability theory. The loss function component V ( h t ) = | | h t Z | | 2 serves as a candidate Lyapunov function (energy potential), where the target manifold Z represents the global attractor. The training objective optimizes the update rule f θ such that the state trajectory satisfies the condition Δ V = V ( h t + 1 ) V ( h t ) < 0 for damaged states, effectively guiding the system down the energy gradient. The introduced penalty term ReLU ( | h | 1.0 ) imposes a boundedness constraint, preventing the state vector from diverging to infinity (gradient explosion) and ensuring the system state remains within a compact region.

3.3. Generative Adversarial Immunity Strategy

Although the SG-NCA engine endows the system with self-healing capabilities against known perturbations, fixed neural rules remain susceptible to reverse engineering via gradient estimation-based adversarial samples and unknown zero-day attack patterns. Furthermore, traditional deep learning models frequently encounter catastrophic forgetting when updating defense strategies to accommodate new threats, resulting in decayed efficacy against historical attack modes. To address these issues, this module introduces a Generative Adversarial Immunity (GAI) strategy. By constructing a co-evolutionary game framework between attackers and defenders, the system is empowered to actively evolve endogenous immune robustness against unknown threats during virtual drills.
As illustrated in Figure 4, a reinforcement learning-based bi-level game model is first established, wherein the Attack Generator is defined to identify NCA blind spots to maximize damage payoff, while the Immune Evolver is tasked with optimizing local update rules to minimize defense costs. Subsequently, a policy gradient-based adversarial training algorithm is designed to facilitate the co-evolution of attack strategies and immune rules within a dynamic equilibrium through multi-round virtual offensive–defensive iterations, thereby compelling the NCA to explore a broader steady-state solution space. Finally, an immune memory replay mechanism is introduced to construct and periodically replay a repository of high-value attack samples, ensuring the retention of robust response capabilities against historical attack patterns while simultaneously acquiring novel defense characteristics.
First, we define the bi-level game model and design the payoff function. To simulate realistic offensive–defensive confrontations, GAI is modeled as a zero-sum game process. To ensure defense rigor, we explicitly distinguish between training and deployment threat landscapes.
(1) White-box training (worst-case): During the GAI co-evolutionary training, we assume a white-box attacker with full access to the NCA model parameters θ and gradient information h L N C A . This aligns with Kerckhoffs’s principle, ensuring the defense is robust against the strongest possible adversary who has reverse-engineered the system.
(2) Black-box deployment: In the testing/inference phase, attackers are assumed to be black-box (external intruders) or gray-box (insiders with partial topology knowledge), lacking direct access to the defense model’s gradients. By training against the white-box upper bound, the system guarantees resilience against these lower-tier threats.
The Attack Generator (Pathogen Generator), denoted as G ϕ , assumes the intruder role, aiming to generate minute perturbation masks δ capable of deceiving the NCA engine. The Immune Evolver corresponds to the aforementioned SG-NCA model f θ , tasked with maintaining system morphogenetic homeostasis. The attacker takes gradient information of the current NCA model relative to the input state h ( 0 ) as input and outputs an attack vector.
The optimization objective constitutes a min–max problem. The attacker seeks to maximize the residual error of the damaged state following NCA repair, while the defender strives to minimize this error. The attack payoff R a t t and the joint objective function J ( ϕ , θ ) are defined as Equations (19)–(22).
δ = G ϕ ( h L N C A ( h ( 0 ) , Z ) )
h a d v ( 0 ) = h ( 0 ) + ϵ · tanh ( δ ) , s . t . δ < ξ
R a t t ( ϕ ) = Evolve ( h a d v ( 0 ) ; f θ ) Z 2 2 γ δ 0
min θ max ϕ J ( ϕ , θ ) = E h p d a t a [ R a t t ( ϕ , f θ ) ]
Here, Evolve ( · ) denotes the evolution result of the NCA after T time steps, and γ is a sparsity penalty coefficient limiting attack costs. This step establishes the mathematical foundation for the system’s self-attack mechanism. Theoretically, this interaction constitutes a non-zero-sum Stackelberg game, where the Immune Evolver acts as the leader, minimizing reconstruction loss, and the Attack Generator acts as the follower, maximizing perturbation damage. While finding a global Nash Equilibrium in non-convex deep learning landscapes is intractable, the bounded nature of the payoff functions ensures the existence of a Local Stackelberg Equilibrium, to which the system converges via alternating gradient descent.
Second, co-evolution and policy gradient optimization are employed. During the game process, training on fixed datasets typically leads to overfitting. Therefore, a co-evolution strategy is adopted. In each iteration k, the Attack Generator G ϕ fixes the defense parameters θ k and updates the attack parameters ϕ via Policy Gradient or Projected Gradient Descent (PGD) to generate the most destructive “super-antigens” under the current defense strategy. Subsequently, the Immune Evolver fixes the attack parameters ϕ k + 1 and utilizes the generated adversarial samples h a d v to update the NCA parameters θ , thereby learning repair rules targeting the novel attack.
This alternating update mechanism drives the defense boundary to continuously expand toward low-density regions of the latent manifold. The parameter update process follows Equations (23) and (24):
ϕ k + 1 ϕ k + α a t t ϕ E [ R a t t ( ϕ k , f θ k ) ]
θ k + 1 θ k α d e f θ i = 1 N h i ( T ) [ 0 : C ] Z i [ 0 : C ] 2 2 + β Evolve ( h ( 0 ) + G ϕ k + 1 ; f θ k ) Z 2 2
Through this dynamic game, the system autonomously discovers and patches potential security vulnerabilities without external attack labels, achieving a qualitative leap from passive defense to active immunity.
Finally, we introduce an immune memory replay and an anti-forgetfulness mechanism. To prevent the model from forgetting defense capabilities against older attack patterns while optimizing for newly generated adversarial samples (catastrophic forgetting), the GAI strategy introduces an immune memory bank M. This repository stores high-payoff attack samples ( h a d v , Z ) produced during historical iterations—specifically, pathogens that successfully breached defenses.
When training the defender f θ , batches of historical samples are randomly sampled from M for mixed training alongside current adversarial samples. Through experience replay, the total loss function is modified to a weighted sum of the current adversarial loss and the memory replay loss, striking a balance between plasticity (learning new knowledge) and stability (retaining old knowledge), as shown in Equation (25).
M TopK ( M { ( h a d v , R a t t ) } )
From a game-theoretic perspective, this memory mechanism approximates a fictitious play process. By optimizing against the cumulative distribution of historical attack strategies rather than solely the current iteration, it effectively prevents Mode Collapse, thereby stabilizing the convergence trajectory. This mechanism parallels memory cells in biological immune systems, ensuring that the smart grid security system continuously accumulates defense experience as attack methods evolve, ultimately forming a comprehensive defense repository.

3.4. Loss Function

To endow the system with morphogenetic and self-healing capabilities in a decentralized environment, the core objective of model training is to minimize the discrepancy between the evolved state and the Neuro-Homeostatic Manifold while simultaneously constraining the numerical stability of cell states to prevent gradient explosion or oscillation during recursive updates. The total loss function L T o t a l is formalized as Equation (26).
L T o t a l = 1 N i = 1 N h i ( T ) Z i 2 2 +   λ · 1 N · T t = 1 T i = 1 N k = 1 K ReLU ( | h i , k ( t ) | )
where N represents the total number of grid nodes, K is the dimension of the state vector, and λ is a balancing coefficient. This optimization objective not only drives the system to converge morphologically toward a healthy ontology template but also ensures the numerical robustness of the defense mechanism over long time sequences dynamically, thereby achieving effective suppression and repair of anomalous perturbations.

4. Experiments and Analysis

4.1. Experimental Environment and Evaluation Metrics

To validate the effectiveness and robustness of the SG-GNC framework under dynamic topologies, this study constructed time-varying graph datasets based on the IEEE 118-bus standard test system. Table 1 presents the experimental environment and parameter configurations. In the data preprocessing phase, scenarios involving varying load levels and node failures (up to 30%) were simulated to generate normalized feature matrices containing voltage magnitudes and power injections, as well as dynamic Laplacian matrices. The NHE module employs a two-layer GCN encoder, where latent variables follow a Gaussian distribution. The experiment introduces three threat modes: random node faults, FDI, and adversarial zero-day attacks. Model performance is comprehensively evaluated using anomaly detection accuracy, reconstruction Mean Squared Error (MSE), and self-healing convergence time.
Implementation Details and Statistical Protocol: The proposed SG-GNC framework was implemented using PyTorch Geometric 2.0 on an NVIDIA RTX 4090 GPU. The model was trained using the Adam optimizer with an initial learning rate of 10 3 and a weight decay of 5 × 10 4 . We employed an Early Stopping strategy to prevent overfitting, terminating training if the validation loss did not decrease for 10 consecutive epochs. The hyperparameter λ was selected via a grid search on the validation set, as detailed in Section 5.3. To ensure statistical reliability, all reported experimental results represent the average of 10 independent runs with different random seeds. Performance metrics are presented as mean ± 95% confidence interval (CI). Furthermore, we conducted paired t-tests to verify performance differences between SG-GNC and baseline models, considering results statistically significant at a significance level of p < 0.01 .
Anomaly Detection Efficacy Metrics: For the binary classification problem concerning data poisoning and intrusion detection in smart grids, Accuracy, Precision, Recall, and F1-Score are employed as core metrics. Defining TP, TN, FP, and FN as the counts of true positive, true negative, false positive, and false negative samples, respectively, the F1-Score is calculated as Equations (27)–(30).
Accuracy = T P + T N T P + T N + F P + F N
Precision = T P T P + F P
Recall = T P T P + F N
F 1 - Score = 2 · Precision · Recall Precision + Recall
Self-Healing Reconstruction Quality Metrics: To evaluate the regenerative capability of the model under conditions of node damage or data loss, Mean Squared Error (MSE) and Mean Absolute Error (MAE) are utilized to measure the deviation between the repaired node state h i ( T ) and the target homeostatic ontology Z i . A lower MSE indicates that the model can reconstruct the physical state information of the power grid with high fidelity. Convergence Efficiency and Robustness Metrics: To assess the real-time response capability of the defense mechanism, Average Convergence Time (ACT) is defined as the number of evolutionary steps T required for the system to evolve from a damaged initial state to a stable state (state increment Δ h < ϵ ).

4.2. Datasets and Comparative Models

To comprehensively validate the generalization capability and robustness of the SG-GNC framework within complex cyber-physical systems, this study constructs a multi-dimensional heterogeneous data evaluation system encompassing topological complexity, network attack diversity, and random source-load fluctuations. First, the IEEE 118-bus standard test system is selected as the physical layer benchmark to evaluate the model’s state estimation accuracy under complex grid topologies and its reconstruction ability against FDI attacks, thereby verifying the adaptability of the Neural Cellular Automata to topological structures. Second, the MSU-ORNL industrial control dataset is introduced, which contains authentic SCADA network traffic and multiple attack patterns, such as DoS, to test the anti-fragility characteristics of the Generative Adversarial Immunity strategy when facing high-dimensional network-layer intrusions.
  • IEEE 118-bus Dataset [46]. This dataset includes topological information (adjacency matrices) of the IEEE 118-node system alongside node state data (voltage, phase angle) under both normal operation and FDI attacks. It is highly suitable for training the SG-NCA engine and facilitates detection accuracy comparisons with existing graph-dependent benchmarks such as GCN and GAT models.
  • IEEE 300-bus Dataset [47]. This dataset contains a standard power system test case consisting of 300 nodes, 69 generators, and 411 branches. Featuring a highly grid-based topology and elevated dimensionality, this dataset provides a rigorous testing platform for decentralized self-healing mechanisms.
  • MSU-ORNL Dataset [48]. Comprising network traffic logs and physical process data from real SCADA systems, this dataset covers various attack modes, including DoS and command injection. It serves to validate the generalization capability and anti-fragility of the proposed method when confronting realistic and complex network-layer attacks.
To ensure the fairness of the experimental evaluation and the methodological completeness, this study selects state-of-the-art (SOTA) models covering diverse defense paradigms for a multi-dimensional comparative analysis. Regarding the security dimension, HTM-PQC and LiteQSign are chosen as baselines to compare how the proposed bio-inspired defense achieves equivalent resilience without relying on complex post-quantum algorithms. In the architectural dimension, Fog-AKA and EaaS-IoT are selected to represent centralized or semi-centralized defense modes, highlighting the advantages of the SG-GNC framework in terms of low latency and high independence within a decentralized self-organizing environment. Furthermore, lightweight and hardware fingerprinting schemes such as Chaos-DNA, PUF-V2G, and ASCON-Auth are introduced to verify the comprehensive efficiency advantages of the proposed model over traditional security solutions regarding computational overhead and software-defined security on resource-constrained edge nodes.
  • HTM-PQC [41]. Integrating Hypergraph Theory with Post-Quantum Cryptography, this model enhances key resistance via topological associations, serving as a benchmark for verifying topological independence and key evolution.
  • LiteQSign [38]. A lightweight post-quantum signature scheme optimizing IoT resource usage, this model is employed to benchmark the edge-side computational efficiency and efficacy of the SG-NCA engine.
  • Fog-AKA [30]. Utilizing a fog-based Multi-TA model for low-latency authentication, this protocol is selected to demonstrate the superior communication latency of the proposed decentralized architecture over hierarchical structures.
  • EaaS-IoT [49]. Employing CP-ABE-based cloud offloading to mitigate IoT computational bottlenecks, this architecture serves as a baseline to contrast local defense effectiveness against centralized cloud reliance.
  • Chaos-DNA [44]. Combining chaotic maps and DNA coding for multimedia security, this model is utilized to validate the robustness of the Generative Adversarial Immunity strategy in processing high-entropy data.
  • PUF-V2G [16]. Leveraging Physical Unclonable Functions for physical capture resistance, this scheme is used to assess the capability of SG-NCA to achieve hardware-level security through software mechanisms.
  • ASCON-Auth [50]. Utilizing ultra-lightweight primitives for efficient privacy protection, this protocol serves as a baseline to verify the operational efficiency of the NHE mechanism on resource-constrained nodes.
  • GCN-IDS [51]. Utilizing deep graph learning for multi-class DDoS detection, this model leverages traffic interaction graphs to improve attack differentiation capabilities. It serves as a baseline for assessing the proposed framework’s precision in classifying diverse, complex cyber threats against standard graph-based learning approaches.
  • GAT-IDS [52]. Integrating Graph Attention Networks (GATs) with temporal GRU modules, this hierarchical framework explicitly models spatio-temporal grid dependencies to detect FDI. It is selected as a state-of-the-art baseline to verify the proposed method’s robustness in maintaining cyber-physical state consistency under dynamic topologies.
Graph-based intrusion detection models (GCN-IDS, GAT-IDS) serve as the primary benchmarks for evaluating the proposed SG-GNC’s performance in learning spatial-temporal dependencies and detecting anomalies. Cryptographic and authentication schemes (PUF-V2G, ASCON-Auth, LiteQSign) are included to demonstrate the limitations of identity-centric defenses against insider threats. While they provide robust protection against spoofing, they are fundamentally blind to content-level attacks (e.g., FDI) launched by compromised but authenticated nodes.

4.3. Performance Analysis of Anomaly Detection in Multi-Source Heterogeneous Environments

Table 2 presents a comprehensive comparison across diverse security paradigms. The traditional authentication and cryptographic methods exhibit limited anomaly detection capabilities, with Recall scores generally below 90%. This performance gap stems from their design objective: while robust against external spoofing and replay attacks, they lack the physical state awareness required to identify FDI attacks launched by compromised internal nodes. Furthermore, their scalability is constrained. For instance, the accuracy of HTM-PQC drops from 93.45% to 91.80% on the IEEE 300-bus system, reflecting the challenge of maintaining synchronized hypergraph security contexts in large-scale dynamic topologies. The results in Table 2 reveal a critical distinction between the two defense paradigms. Authentication-based methods (ASCON-Auth, LiteQSign) achieve high Precision (>93%), indicating their effectiveness in rejecting illegitimate access. However, their Recall is notably lower (≈75%), confirming that they cannot identify malicious data injected by valid identities (insider threats). In contrast, SG-GNC and the graph-based baselines (GAT-IDS) achieve a balance of high Precision and Recall (>96%) by verifying the physical consistency of the data rather than just the source identity. This comparison highlights that SG-GNC complements, rather than replaces, traditional authentication by closing the gap against data integrity attacks.
In contrast, graph-based deep learning models (GCN-IDS, GAT-IDS in Table 2) significantly outperform cryptographic baselines by learning spatial correlations. However, GCN-IDS exhibits a scalability bottleneck, with accuracy dropping to 93.15% on the 300-bus dataset, indicating that fixed spectral filters struggle to generalize to larger, more complex graphs. While GAT-IDS remains robust due to its attention mechanism, SG-GNC achieves the highest performance and stability. The experimental results indicate that the proposed SG-GNC framework significantly outperforms comparative benchmarks, achieving a detection accuracy of 98.65 ± 0.12 % . Statistical analysis confirms that this improvement over the second-best model (GAT-IDS) is significant ( p < 0.001 ). This superiority is attributed to the GAI strategy and the locality of the NCA engine, which allows the system to effectively learn and restore physical consistency rules regardless of the global network size.

4.4. Analysis of Adversarial Immunity and Dynamic Topological Robustness

Figure 5 details the robustness performance of each model when confronting sudden grid topology changes and adversarial attacks. Experimental results demonstrate that the SG-GNC framework significantly surpasses comparative benchmarks in detection accuracy under both extreme scenarios. In the N-1 dynamic topology test on the IEEE 118-bus system, SG-GNC achieved an accuracy of 96.35%. This advantage is attributed to the topology-independent design of the SG-NCA engine, which trains shared-weight local neural rules to enable nodes to perform state inference by perceiving only their first-order neighborhood. By comparison, HTM-PQC, which relies heavily on predefined hypergraph structures, failed to adapt to topological changes, resulting in a decline in accuracy to 86.50%. In the adversarial zero-day attack test on the MSU-ORNL dataset, the detection accuracy of SG-GNC reached 96.55%. GAT-IDS shows noticeable retraction in its metrics on the complex IEEE 300-bus topology, while Fog-AKA exhibits a heavily skewed profile, visually indicating a severe imbalance between Precision and Recall due to its inability to detect internal FDI threats. In contrast, authentication-based schemes such as LiteQSign and ASCON-Auth exhibited detection accuracies below 70% in attack scenarios, as they were unable to identify adversarial perturbations that passed legitimate signature verification. This confirms that static identity authentication alone is insufficient to defend against content-level APTs.

5. Discussion

5.1. Edge-Side Computational Efficiency and Convergence Analysis

Table 3 provides a detailed comparison of the computational efficiency and convergence performance of various defense models in resource-constrained scenarios. The experiment evaluated inference latency using the MSU-ORNL dataset and assessed system steady-state convergence speed using the IEEE 118-bus system. The results indicate that SG-GNC achieves an optimal balance between complexity and efficiency. With an inference latency of 9.45 ms, it is faster than GCN-IDS (11.50 ms) and significantly outperforms GAT-IDS (18.20 ms). The higher latency of GAT-IDS is attributed to the computational overhead of its attention mechanism ( O ( V 2 ) complexity), whereas SG-GNC utilizes shared-weight local rules that parallelize efficiently on edge devices. While the ultra-lightweight ASCON-Auth remains the fastest (0.85 ms), it lacks the deep feature learning and self-healing capabilities provided by the neural models.
To assess scalability, we analyzed the asymptotic complexity of the core engines. The GAT-IDS baseline scales as O ( | V | F + | E | F ) but suffers from a high memory footprint due to the storage of attention coefficients for every edge. In contrast, the SG-NCA engine operates with a complexity of O ( T · | E | · C ) , where T is the number of evolution steps. Empirically, as shown in the revised Table 3, SG-GNC demonstrates superior memory efficiency, which is 75% lower than GAT-IDS. This reduction is attributed to the weight-sharing mechanism of the cellular automata, where a single small MLP (the Digital DNA) is applied universally across all nodes, independent of the graph size. Although the iterative evolution process results in a slightly higher training time compared to the non-iterative GCN-IDS, this trade-off is justified by the gain in self-healing capabilities and is well within the acceptable limits for edge training.

5.2. Decentralized Morphogenesis and Self-Healing Reconstruction Quality Evaluation

Table 4 details the decentralized self-healing and reconstruction performance of each method on the IEEE 118-bus standard test system. Experimental results demonstrate that the proposed SG-GNC framework achieves optimal performance across all metrics. In terms of self-healing, the graph-based baselines (GCN-IDS and GAT-IDS) outperform the cryptographic methods but still fall short of the proposed framework. Specifically, GAT-IDS achieves an MSE of 1.95 × 10 3 , improving upon EaaS-IoT ( 3.88 × 10 3 ); yet, it remains higher than SG-GNC ( 0.82 × 10 3 ). This discrepancy arises because standard Graph Autoencoders are trained primarily for feature representation rather than iterative physical state restoration. In contrast, the SG-NCA engine’s morphogenetic training explicitly optimizes the trajectory from damaged states to the healthy manifold, ensuring higher fidelity in reconstructing lost physical data. Thus, SG-GNC not only possesses defense capabilities in terms of security but also demonstrates irreplaceable advantages in data availability and system resilience.

5.3. Analysis of the Impact of Stability Regularization Coefficient

Figure 6 illustrates the influence of the stability regularization coefficient λ on self-healing reconstruction quality and numerical robustness, revealing a significant non-monotonic effect. In the low λ range ( λ < 10 4 ), the lack of effective constraints on cell state amplitude causes the recursive evolution process to easily trigger numerical oscillation or gradient explosion, resulting in a convergence rate below 70%. Conversely, when λ is excessively large (> 10 2 ), strong penalty terms force the latent state vectors to collapse toward zero, limiting the information capacity of neural cells to encode complex physical features (such as non-stationary load fluctuations), thereby leading to a significant increase in reconstruction error and underfitting. The model achieves an optimal balance between morphogenetic accuracy and dynamic stability only when λ = 10 3 . This selection was determined through a coarse-to-fine grid search strategy on a validation set (10% of the IEEE 118-bus data). As shown in Figure 6, the optimal value represents the Pareto efficient point that balances reconstruction quality and convergence speed. Values of λ < 10 4 resulted in unconstrained state amplitudes leading to numerical overflow (ACT > 100), while λ > 10 2 caused the vanishing state problem, where latent vectors collapsed to zero. Thus, λ = 10 3 was selected to provide sufficient damping for numerical stability without suppressing the information capacity required for morphogenetic encoding. This result confirms the necessity of introducing an overflow penalty term in the total loss function. By applying appropriate system damping, it effectively resolves the numerical divergence problem of the decentralized self-healing mechanism during long-term evolution, ensuring the robustness of edge-side inference.

5.4. Empirical Convergence Analysis of Generative Adversarial Immunity

To validate the theoretical stability of the GAI game formulation, we conducted a convergence analysis tracking the adversarial loss trajectories over 200 co-evolutionary epochs. As illustrated in Figure 7, the interaction reveals a distinct two-phase dynamic consistent with game-theoretic learning. During the Exploration Phase (Epochs 0–120), the system exhibits high volatility as the Attack Generator maximizes perturbation damage, forcing the Immune Evolver to adapt. Subsequently, in the Equilibrium Phase (Epochs 120–200), both the attacker’s success rate and the defender’s reconstruction error converge. Specifically, the defender’s loss stabilizes at 1.5 × 10 3 , indicating the attainment of a Local Stackelberg Equilibrium where the defense strategy covers the manifold’s most vulnerable regions. Furthermore, the analysis of Defense Variance ( σ 2 ) highlights the critical role of the immune memory replay mechanism. The model incorporating memory replay demonstrates a monotonic decrease in variance, stabilizing at σ 2 0.01 . In contrast, the baseline without memory exhibits continuous high-frequency oscillations ( σ 2 > 0.11 ), confirming that the system is susceptible to Mode Collapse and cyclic forgetting in the absence of historical experience replay. This empirical evidence validates that the proposed mechanism effectively approximates a fictitious play process, ensuring robust convergence in non-convex optimization landscapes.

5.5. Ablation Experiments

To systematically validate the efficacy and synergistic mechanisms of the SG-GNC framework’s core components, a multi-level ablation study was conducted across the IEEE 118-bus, IEEE 300-bus, and MSU-ORNL datasets (Table 5). Although individual modules outperformed the GCN baseline, distinct functional limitations were observed. Specifically, while the NHE module established a foundation for unsupervised perception via a variational health manifold (F1 > 90%), the absence of a morphogenetic mechanism resulted in elevated physical state reconstruction errors (MSE > 5.20). Conversely, the standalone NCA engine demonstrated local repair capabilities but struggled to precisely delineate anomaly boundaries without manifold constraints. Combinatorial analysis revealed significant modular complementarity. The synergy between NHE and NCA optimized reconstruction performance, reducing the MSE on the IEEE 118-bus to 1.62, thereby validating the role of the perception-repair loop in ensuring physical consistency. However, on the MSU-ORNL dataset featuring complex zero-day attacks, the lack of adversarial training limited detection accuracy to 86.2%, highlighting the vulnerability of static defenses against sophisticated, unknown threats. In contrast, the complete SG-GNC framework, augmented by the GAI strategy, demonstrated superior scalability on the large-scale IEEE 300-bus topology (F1 97.02%) and increased adversarial detection accuracy to 96.55%. These findings confirm that the integration of Neural Homeostatic Embedding, Cellular Automata, and Adversarial Immunity is critical for achieving endogenous security and self-healing resilience in complex, large-scale smart grids.

6. Conclusions

Addressing the defensive dilemmas faced by smart grids under time-varying topological evolution and APTs, we propose a resilient security defense framework based on self-organizing graph Neural Cellular Automata. This research moves beyond traditional static defense paradigms by modeling grid security mechanisms on self-organizing principles inspired by morphogenesis. The framework significantly enhances defense efficacy through three core mechanisms. First, the NHE mechanism utilizes variational graph inference to construct a continuously differentiable health state manifold, achieving precise unsupervised perception of anomalous behaviors under non-stationary load fluctuations. Second, the SG-NCA engine endows nodes with the capability for immediate self-healing of damaged data in a decentralized environment by training shared-weight local neural rules, fundamentally realizing the topological independence of the defense mechanism. Finally, the GAI strategy, through a bi-level game framework and memory replay mechanism, resolves the catastrophic forgetting problem, enhancing the system’s adversarial robustness against unknown zero-day attacks. Experimental results demonstrate that the proposed method significantly outperforms existing centralized architectures and static hypergraph defense schemes in terms of detection accuracy and restorative repair quality on datasets such as IEEE 118 and 300-bus and MSU-ORNL.
Although SG-GNC exhibits excellent resilient defense capabilities, the multi-step iterative evolution mechanism of Neural Cellular Automata may introduce additional inference overhead in scenarios requiring ultra-low latency. Furthermore, high-dimensional state vectors pose certain challenges to the storage capacity of resource-constrained edge nodes. Future work will focus on lightweight distillation techniques for neural update rules and explore semantic interpretation mechanisms combining quantum machine learning algorithms to further enhance the interpretability and computational efficiency of smart grid defense systems in the post-quantum era.

Author Contributions

Conceptualization, R.H. and Y.Z.; methodology, R.H.; software, Y.Z.; validation, S.L., P.Z. and Y.Z.; formal analysis, R.H.; investigation, S.L.; resources, Y.H.; data curation, Y.Z.; writing—original draft preparation, R.H.; writing—review and editing, R.H.; visualization, Y.H.; supervision, S.L.; project administration, P.Z.; funding acquisition, R.H. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the basic scientific research projects of higher education institutions in Liaoning Province in 2025 LJ242511632001.

Data Availability Statement

The original data presented in the study are openly available in references [46,48].

Acknowledgments

The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

Author Siwei Li was employed by Beijing Fibrlink Communications Co., Ltd. Yeshen He was employed by China Gridcom Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Abdelkader, S.; Amissah, J.; Kinga, S.; Mugerwa, G.; Emmanuel, E.; Mansour, D.E.A.; Bajaj, M.; Blazek, V.; Prokop, L. Securing Modern Power Systems: Implementing Comprehensive Strategies to Enhance Resilience and Reliability against Cyber-Attacks. Results Eng. 2024, 23, 102647. [Google Scholar] [CrossRef]
  2. Rekeraho, A.; Cotfas, D.T.; Cotfas, P.A.; Bălan, T.C.; Tuyishime, E.; Acheampong, R. Cybersecurity Challenges in IoT-based Smart Renewable Energy. Int. J. Inf. Secur. 2024, 23, 101–117. [Google Scholar] [CrossRef]
  3. Mishra, N.; Hafizul Islam, S.; Zeadally, S. A Survey on Security and Cryptographic Perspective of Industrial-Internet-of-Things. Internet Things 2024, 25, 101037. [Google Scholar] [CrossRef]
  4. Sumalatha, N.; Baskaran, K. An Efficient Multiuser Threshold–Based Dynamic Cipher Puzzle with Secure Key Generation for DoS Attacks in Smart Grid Applications. Trans. Emerg. Telecommun. Technol. 2025, 36, e70204. [Google Scholar] [CrossRef]
  5. Rana, S.; Parast, F.K.; Kelly, B.; Wang, Y.; Kent, K.B. A Comprehensive Survey of Cryptography Key Management Systems. J. Inf. Secur. Appl. 2023, 78, 103607. [Google Scholar] [CrossRef]
  6. Vasani, V.; Prateek, K.; Amin, R.; Maity, S.; Dwivedi, A.D. Embracing the Quantum Frontier: Investigating Quantum Communication, Cryptography, Applications and Future Directions. J. Ind. Inf. Integr. 2024, 39, 100594. [Google Scholar] [CrossRef]
  7. Urooj, S.; Lata, S.; Ahmad, S.; Mehfuz, S.; Kalathil, S. Cryptographic Data Security for Reliable Wireless Sensor Network. Alex. Eng. J. 2023, 72, 37–50. [Google Scholar] [CrossRef]
  8. Thabit, F.; Can, O.; Aljahdali, A.O.; Al-Gaphari, G.H.; Alkhzaimi, H.A. Cryptography Algorithms for Enhancing IoT Security. Internet Things 2023, 22, 100759. [Google Scholar] [CrossRef]
  9. Bhushan, B.; Kumar, A.; Agarwal, A.K.; Kumar, A.; Bhattacharya, P.; Kumar, A. Towards a Secure and Sustainable Internet of Medical Things (IoMT): Requirements, Design Challenges, Security Techniques, and Future Trends. Sustainability 2023, 15, 6177. [Google Scholar] [CrossRef]
  10. Ma, Y.; Li, X.; Shi, W.; Cheng, Q. STCLA: An Efficient Certificateless Authenticated Key Agreement Scheme for the Internet of Vehicles. IEEE Trans. Veh. Technol. 2024, 73, 4830–4841. [Google Scholar] [CrossRef]
  11. Vijay Anand, R.; Alagiri, I.; Jayalakshmi, P.; Brahmam, M.G.; Abdullah, A.B. Lattice Homomorphic Assisted Privacy Preserving Electronic Health Records Data Transmission in Internet of Medical Things Using Blockchain. Trans. Emerg. Telecommun. Technol. 2025, 36, e70070. [Google Scholar] [CrossRef]
  12. Gu, Z.; Xie, R.; Liu, H.; Liu, Y.; Wang, X.; Zhang, H.; Gao, J.; Si, L.; Chen, S.; Ding, J. Dual-Band Complex-Amplitude Metasurface Empowered High Security Cryptography with Ultra-Massive Encodable Patterns. Nanophotonics 2024, 13, 3915–3924. [Google Scholar] [CrossRef] [PubMed]
  13. Wang, W.; Shi, J.; Guan, N.; Shi, J. Logistic Map Image Cryptography Scheme Based on Chaotic Quantum Boson Sampling. Adv. Quantum Technol. 2025, 8, 2400579. [Google Scholar] [CrossRef]
  14. Zhang, F.; Guo, Y.; Pu, M.; Chen, L.; Xu, M.; Liao, M.; Li, L.; Li, X.; Ma, X.; Luo, X. Meta-Optics Empowered Vector Visual Cryptography for High Security and Rapid Decryption. Nat. Commun. 2023, 14, 1946. [Google Scholar] [CrossRef] [PubMed]
  15. Sharma, G.; Joshi, A.M.; Mohanty, S.P. sTrade: Blockchain Based Secure Energy Trading Using Vehicle-to-Grid Mutual Authentication in Smart Transportation. Sustain. Energy Technol. Assess. 2023, 57, 103296. [Google Scholar] [CrossRef]
  16. Yu, S.; Park, K. PUF-based Robust and Anonymous Authentication and Key Establishment Scheme for V2G Networks. IEEE Internet Things J. 2024, 11, 15450–15464. [Google Scholar] [CrossRef]
  17. Garms, L.; Paraïso, T.K.; Hanley, N.; Khalid, A.; Rafferty, C.; Grant, J.; Newman, J.; Shields, A.J.; Cid, C.; O’Neill, M. Experimental Integration of Quantum Key Distribution and Post-quantum Cryptography in a Hybrid Quantum-safe Cryptosystem. Adv. Quantum Technol. 2024, 7, 2300304. [Google Scholar] [CrossRef]
  18. Xu, F.; Ma, X.; Zhang, Q.; Lo, H.K.; Pan, J.W. Secure Quantum Key Distribution with Realistic Devices. Rev. Mod. Phys. 2020, 92, 025002. [Google Scholar] [CrossRef]
  19. Mehic, M.; Michalek, L.; Dervisevic, E.; Burdiak, P.; Plakalovic, M.; Rozhon, J.; Mahovac, N.; Richter, F.; Kaljic, E.; Lauterbach, F.; et al. Quantum Cryptography in 5G Networks: A Comprehensive Overview. IEEE Commun. Surv. Tutor. 2024, 26, 302–346. [Google Scholar] [CrossRef]
  20. Rubio García, C.; Rommel, S.; Takarabt, S.; Vegas Olmos, J.J.; Guilley, S.; Nguyen, P.; Tafur Monroy, I. Quantum-Resistant Transport Layer Security. Comput. Commun. 2024, 213, 345–358. [Google Scholar] [CrossRef]
  21. Konstantopoulou, E.; Athanasiou, G.; Sklavos, N. Review and Analysis of FPGA and ASIC Implementations of NIST Lightweight Cryptography Finalists. ACM Comput. Surv. 2025, 57, 1–35. [Google Scholar] [CrossRef]
  22. Perazzo, P.; Vallati, C. Tiny Keys Hold Big Secrets: On Efficiency of Pairing-Based Cryptography in IoT. Internet Things 2025, 30, 101489. [Google Scholar] [CrossRef]
  23. Adeniyi, A.E.; Jimoh, R.G.; Awotunde, J.B. A Systematic Review on Elliptic Curve Cryptography Algorithm for Internet of Things: Categorization, Application Areas, and Security. Comput. Electr. Eng. 2024, 118, 109330. [Google Scholar] [CrossRef]
  24. Popoola, O.; Rodrigues, M.A.; Marchang, J.; Shenfield, A.; Ikpehai, A.; Popoola, J. An Optimized Hybrid Encryption Framework for Smart Home Healthcare: Ensuring Data Confidentiality and Security. Internet Things 2024, 27, 101314. [Google Scholar] [CrossRef]
  25. Eledlebi, K.; Alzubaidi, A.; Damiani, E.; Puthal, D.; Mateu, V.; Zemerly, M.J.; Al-Hammadi, Y.; Yeun, C.Y. Bio-Integrated Hybrid TESLA: A Fully Symmetric Lightweight Authentication Protocol. IEEE Internet Things J. 2024, 11, 37421–37436. [Google Scholar] [CrossRef]
  26. Tanveer, M.; Alasmary, H. LACP-SG: Lightweight Authentication Protocol for Smart Grids. Sensors 2023, 23, 2309. [Google Scholar] [CrossRef] [PubMed]
  27. Thakor, V.A.; Razzaque, M.A.; Darji, A.D.; Patel, A.R. A Novel 5-Bit S-box Design for Lightweight Cryptography Algorithms. J. Inf. Secur. Appl. 2023, 73, 103444. [Google Scholar] [CrossRef]
  28. Kook, S.; Kim, K.; Ryu, J.; Lee, Y.; Won, D. Lightweight Hash-Based Authentication Protocol for Smart Grids. Sensors 2024, 24, 3085. [Google Scholar] [CrossRef]
  29. Irshad, A.; Usman, M.; Chaudhry, S.A.; Naqvi, H.; Shafiq, M. A Provably Secure and Efficient Authenticated Key Agreement Scheme for Energy Internet-Based Vehicle-to-Grid Technology Framework. IEEE Trans. Ind. Appl. 2020, 56, 4425–4435. [Google Scholar] [CrossRef]
  30. Wei, L.; Cui, J.; Zhong, H.; Bolodurina, I.; Liu, L. A Lightweight and Conditional Privacy-Preserving Authenticated Key Agreement Scheme with Multi-TA Model for Fog-Based VANETs. IEEE Trans. Dependable Secur. Comput. 2023, 20, 422–436. [Google Scholar] [CrossRef]
  31. Abbasi, I.A.; Jan, S.U.; Alqahtani, A.S.; Khan, A.S.; Algarni, F. A Lightweight and Robust Authentication Scheme for the Healthcare System Using Public Cloud Server. PLoS ONE 2024, 19, e0294429. [Google Scholar] [CrossRef] [PubMed]
  32. Rosa, P.; Souto, A.; Cecílio, J. Light-SAE: A Lightweight Authentication Protocol for Large-Scale IoT Environments Made with Constrained Devices. IEEE Trans. Netw. Serv. Manag. 2023, 20, 2428–2441. [Google Scholar] [CrossRef]
  33. Mutlaq, K.A.A.; Nyangaresi, V.O.; Omar, M.A.; Abduljabbar, Z.A.; Ma, J.; Al Sibahee, M.A.; Aldarwish, A.J.Y.; Ali, A.H. Blockchain Assisted Signature and Certificate Based Protocol for Efficient Data Protection and Transaction Management in Smart Grids. PLoS ONE 2025, 20, e0318182. [Google Scholar] [CrossRef] [PubMed]
  34. Zahoor, A.; Mahmood, K.; Saleem, M.A.; Badar, H.M.S.; Le, T.V.; Das, A.K. Lightweight Authenticated Key Agreement Protocol for Smart Power Grid Systems Using PUF. IEEE Open J. Commun. Soc. 2024, 5, 3568–3580. [Google Scholar] [CrossRef]
  35. Aquina, N.; Cimoli, B.; Das, S.; Hövelmanns, K.; Weber, F.J.; Okonkwo, C.; Rommel, S.; Škorić, B.; Tafur Monroy, I.; Verschoor, S. A Critical Analysis of Deployed Use Cases for Quantum Key Distribution and Comparison with Post-Quantum Cryptography. EPJ Quantum Technol. 2025, 12, 51. [Google Scholar] [CrossRef] [PubMed]
  36. Chawla, D.; Mehra, P.S. A Roadmap from Classical Cryptography to Post-Quantum Resistant Cryptography for 5G-enabled IoT: Challenges, Opportunities and Solutions. Internet Things 2023, 24, 100950. [Google Scholar] [CrossRef]
  37. Zeng, C.; He, D.; Feng, Q.; Peng, C.; Luo, M. The Implementation of Polynomial Multiplication for Lattice-Based Cryptography: A Survey. J. Inf. Secur. Appl. 2024, 83, 103782. [Google Scholar] [CrossRef]
  38. Shim, K.A. On the Suitability of Post-Quantum Signature Schemes for Internet of Things. IEEE Internet Things J. 2024, 11, 10648–10665. [Google Scholar] [CrossRef]
  39. Mansoor, K.; Afzal, M.; Iqbal, W.; Abbas, Y.; Mussiraliyeva, S.; Chehri, A. PQCAIE: Post Quantum Cryptographic Authentication Scheme for IoT-based e-Health Systems. Internet Things 2024, 27, 101228. [Google Scholar] [CrossRef]
  40. Khan, M.A.; Javaid, S.; Mohsan, S.A.H.; Tanveer, M.; Ullah, I. Future-Proofing Security for UAVs with Post-Quantum Cryptography: A Review. IEEE Open J. Commun. Soc. 2024, 5, 6849–6871. [Google Scholar] [CrossRef]
  41. Meng, L.; Fu, Y.; Zheng, F.; Wang, M.; Ma, Z.; Dong, J.; Lin, J. HTM-PQC: Hardening Cryptography Keys under the Trend of Post-Quantum Cryptography Migration on Industrial Internet. IEEE Trans. Ind. Inform. 2025, 21, 3504–3514. [Google Scholar] [CrossRef]
  42. Mutlaq, K.A.A.; Nyangaresi, V.O.; Omar, M.A.; Abduljabbar, Z.A.; Abduljaleel, I.Q.; Ma, J.; Al Sibahee, M.A. Low Complexity Smart Grid Security Protocol Based on Elliptic Curve Cryptography, Biometrics and Hamming Distance. PLoS ONE 2024, 19, e0296781. [Google Scholar] [CrossRef] [PubMed]
  43. Dhar, S.; Khare, A.; Dwivedi, A.D.; Singh, R. Securing IoT Devices: A Novel Approach Using Blockchain and Quantum Cryptography. Internet Things 2024, 25, 101019. [Google Scholar] [CrossRef]
  44. Singh, A.K.; Chatterjee, K.; Singh, A. An Image Security Model Based on Chaos and DNA Cryptography for IIoT Images. IEEE Trans. Ind. Inform. 2023, 19, 1957–1964. [Google Scholar] [CrossRef]
  45. Mougkogiannis, P.; Ghadafi, E.; Adamatzky, A. Bio-Inspired Cryptography Based on Proteinoid Assemblies. PLoS ONE 2025, 20, e0324761. [Google Scholar] [CrossRef] [PubMed]
  46. Morris, T.; Gao, W. Industrial Control System Traffic Data Sets for Intrusion Detection Research. In Infrastructure Protection VIII; Butts, J., Shenoi, S., Eds.; Springer: Berlin/Heidelberg, Germany, 2014; pp. 65–78. [Google Scholar] [CrossRef]
  47. IEEE Power and Energy Society. IEEE 300-Bus System. 2024. Available online: https://www.ee.washington.edu/research/pstca/ (accessed on 16 October 2024).
  48. Zimmerman, R.D.; Murillo-Sánchez, C.E.; Thomas, R.J. MATPOWER: Steady-State Operations, Planning, and Analysis Tools for Power Systems Research and Education. IEEE Trans. Power Syst. 2011, 26, 12–19. [Google Scholar] [CrossRef]
  49. Javadpour, A.; Ja’fari, F.; Taleb, T.; Zhao, Y.; Yang, B.; Benzaïd, C. Encryption as a Service for IoT: Opportunities, Challenges, and Solutions. IEEE Internet Things J. 2024, 11, 7525–7558. [Google Scholar] [CrossRef]
  50. Zeng, D.; Badshah, A.; Tu, S.; Waqas, M.; Han, Z. A Security-Enhanced Ultra-Lightweight and Anonymous User Authentication Protocol for Telehealthcare Information Systems. IEEE Trans. Mob. Comput. 2025, 24, 4529–4542. [Google Scholar] [CrossRef]
  51. Saunders, B.; de Grande, R.; Carvalho, G.; Woungang, I. Deep graph learning for DDoS detection and multi-class classification IDS. In Proceedings of the 2024 IEEE International Conference on Cyber Security and Resilience (CSR), London, UK, 2–4 September 2024; IEEE: Piscataway, NJ, USA; 2024, pp. 96–100. [Google Scholar] [CrossRef]
  52. Zhang, H.; Cheng, J.; Bai, X.; Wang, D.; Gao, R.; Fan, B. A Hierarchical Spatio-Temporal Graph Attention Network for False Data Injection Attack Detection in Smart Grids. Processes 2026, 14, 507. [Google Scholar] [CrossRef]
Figure 1. Overall framework diagram of Security Framework for Resilient Smart Grids based on Self-Organizing Graph Neural Cellular Automata (SG-GNC). It comprises three parts: Neural Homeostatic Embedding (NHE) mechanism, Neural Cellular Automata (NCA) and Generative Adversarial Immunity (GAI) strategy.
Figure 1. Overall framework diagram of Security Framework for Resilient Smart Grids based on Self-Organizing Graph Neural Cellular Automata (SG-GNC). It comprises three parts: Neural Homeostatic Embedding (NHE) mechanism, Neural Cellular Automata (NCA) and Generative Adversarial Immunity (GAI) strategy.
Algorithms 19 00195 g001
Figure 2. Overall framework diagram of NHE.
Figure 2. Overall framework diagram of NHE.
Algorithms 19 00195 g002
Figure 3. Overall frame diagram of NCA.
Figure 3. Overall frame diagram of NCA.
Algorithms 19 00195 g003
Figure 4. Overall frame diagram of GAI.
Figure 4. Overall frame diagram of GAI.
Algorithms 19 00195 g004
Figure 5. Evaluation results of various models in IEEE datasets (N-1 dynamic topology) and MSU-ORNL (zero-day/adversarial attack) scenarios.
Figure 5. Evaluation results of various models in IEEE datasets (N-1 dynamic topology) and MSU-ORNL (zero-day/adversarial attack) scenarios.
Algorithms 19 00195 g005
Figure 6. Impact of stability regularization coefficient on self-healing reconstruction quality and numerical robustness.
Figure 6. Impact of stability regularization coefficient on self-healing reconstruction quality and numerical robustness.
Algorithms 19 00195 g006
Figure 7. Convergence analysis of the GAI co-evolutionary game. The curves demonstrate that the system stabilizes into a Local Stackelberg Equilibrium after approximately 120 epochs, with the immune memory replay mechanism effectively suppressing the cyclic oscillations (Mode Collapse) observed in standard adversarial training.
Figure 7. Convergence analysis of the GAI co-evolutionary game. The curves demonstrate that the system stabilizes into a Local Stackelberg Equilibrium after approximately 120 epochs, with the immune memory replay mechanism effectively suppressing the cyclic oscillations (Mode Collapse) observed in standard adversarial training.
Algorithms 19 00195 g007
Table 1. Experimental environment and parameter settings.
Table 1. Experimental environment and parameter settings.
ComponentSpecificationParameterValue
CPUIntel Xeon Gold 6530 (4.00 GHz)State Dimension K64
GPUNVIDIA GeForce RTX 4090Evolution Steps T32
OSUbuntu 20.04 LTSUpdate Probability p0.5
Python 3.7PyTorch Geometric 2.0Penalty Coefficient γ 10 3
Table 2. Performance comparison of SG-GNC against diverse baselines on IEEE 118-bus and IEEE 300-bus datasets. Values are reported as mean ± 95% confidence interval over 10 independent runs. The best values are bold.
Table 2. Performance comparison of SG-GNC against diverse baselines on IEEE 118-bus and IEEE 300-bus datasets. Values are reported as mean ± 95% confidence interval over 10 independent runs. The best values are bold.
ModelDatasetAccuracy (%)Precision (%)Recall (%)F1-Score (%)
PUF-V2GIEEE 118-bus85.90 ± 0.2593.50 ± 0.2274.20 ± 0.3082.74 ± 0.28
IEEE 300-bus84.50 ± 0.2891.80 ± 0.2572.50 ± 0.3281.02 ± 0.29
ASCON-AuthIEEE 118-bus86.35 ± 0.2194.80 ± 0.1875.10 ± 0.2583.81 ± 0.23
IEEE 300-bus85.10 ± 0.2493.20 ± 0.2073.40 ± 0.2882.12 ± 0.25
LiteQSignIEEE 118-bus87.10 ± 0.2096.20 ± 0.1576.50 ± 0.2285.22 ± 0.19
IEEE 300-bus85.80 ± 0.2394.50 ± 0.1874.80 ± 0.2683.50 ± 0.22
Chaos-DNAIEEE 118-bus88.50 ± 0.1987.40 ± 0.2186.15 ± 0.2086.77 ± 0.18
IEEE 300-bus87.20 ± 0.2286.10 ± 0.2484.90 ± 0.2385.50 ± 0.21
Fog-AKAIEEE 118-bus90.25 ± 0.1891.15 ± 0.1686.80 ± 0.1988.92 ± 0.17
IEEE 300-bus88.90 ± 0.2089.80 ± 0.1985.40 ± 0.2187.55 ± 0.19
EaaS-IoTIEEE 118-bus91.80 ± 0.1592.35 ± 0.1488.50 ± 0.1690.38 ± 0.15
IEEE 300-bus90.20 ± 0.1890.80 ± 0.1787.10 ± 0.1988.92 ± 0.18
HTM-PQCIEEE 118-bus93.45 ± 0.1495.10 ± 0.1289.25 ± 0.1592.08 ± 0.13
IEEE 300-bus91.80 ± 0.1793.50 ± 0.1587.80 ± 0.1890.56 ± 0.16
GCN-IDSIEEE 118-bus95.20 ± 0.1894.85 ± 0.1694.50 ± 0.1794.67 ± 0.15
IEEE 300-bus93.15 ± 0.2292.80 ± 0.2092.40 ± 0.2392.60 ± 0.21
GAT-IDSIEEE 118-bus97.45 ± 0.1297.10 ± 0.1197.05 ± 0.1397.08 ± 0.12
IEEE 300-bus96.10 ± 0.1595.90 ± 0.1495.80 ± 0.1695.85 ± 0.15
SG-GNCIEEE 118-bus98.65 ± 0.1298.42 ± 0.0998.15 ± 0.1198.28 ± 0.10
IEEE 300-bus97.82 ± 0.1297.15 ± 0.1196.90 ± 0.1397.02 ± 0.12
Table 3. Comprehensive evaluation of computational efficiency. Inference and training costs. The best values are bold.
Table 3. Comprehensive evaluation of computational efficiency. Inference and training costs. The best values are bold.
ModelTime ComplexityInference (ms)Throughput (S/s)Params (MB)Train Time (s/ep)Train Mem (MB)
EaaS-IoTN/A (Cloud)128.50780N/AN/AN/A
Fog-AKA O ( N · K ) 45.6021905.20N/AN/A
HTM-PQC O ( H · | E | ) 32.40308512.652.45850
Chaos-DNA O ( N log N ) 22.1545158.40N/AN/A
GAT-IDS O ( | V | F + | E | F ) 18.2062004.501.151280
LiteQSign O ( 1 ) 14.2070401.85N/AN/A
GCN-IDS O ( L · | E | · F ) 11.5095002.100.42450
SG-GNC O ( T · | E | · C ) 9.4510,5803.820.68320
ASCON-Auth O ( 1 ) 0.85117,6500.15N/AN/A
Table 4. Decentralized morphogenesis and self-healing reconstruction quality assessment (results shown for repair capability under node damage with masking ratio = 20%). The best values are bold.
Table 4. Decentralized morphogenesis and self-healing reconstruction quality assessment (results shown for repair capability under node damage with masking ratio = 20%). The best values are bold.
ModelMSE ( × 10 3 )MAE ( × 10 2 )
HTM-PQC13.4012.10
Fog-AKA5.625.95
EaaS-IoT3.884.12
GCN-IDS2.853.10
GAT-IDS1.952.25
SG-GNC0.821.15
Table 5. Comprehensive ablation study of SG-GNC across IEEE 118-bus, IEEE 300-bus, and MSU-ORNL datasets. The best values are bold.
Table 5. Comprehensive ablation study of SG-GNC across IEEE 118-bus, IEEE 300-bus, and MSU-ORNL datasets. The best values are bold.
ConfigurationModulesIEEE 118-BusIEEE 300-BusMSU-ORNL
MSE ( × 10 3 ) ↓F1 (%) ↑MSE ( × 10 3 ) ↓F1 (%) ↑Acc (%) ↑F1 (%) ↑
BaselineGCN12.6088.6015.4086.5085.5086.20
IndividualNHE9.5091.0511.2089.5087.5088.00
NCA6.1089.207.8087.5086.5087.00
GAI11.8090.5014.5088.5089.0089.50
PairwiseNHE + NCA1.6296.502.1595.8086.2087.15
NHE + GAI8.4594.209.1092.5093.8094.10
NCA + GAI5.2091.506.8590.1090.4090.85
ProposedSG-GNC0.8298.281.1597.0296.5594.56
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Hou, R.; Zhang, Y.; Li, S.; He, Y.; Zhang, P. A Security Framework for Resilient Smart Grids Based on Self-Organizing Graph Neural Cellular Automata. Algorithms 2026, 19, 195. https://doi.org/10.3390/a19030195

AMA Style

Hou R, Zhang Y, Li S, He Y, Zhang P. A Security Framework for Resilient Smart Grids Based on Self-Organizing Graph Neural Cellular Automata. Algorithms. 2026; 19(3):195. https://doi.org/10.3390/a19030195

Chicago/Turabian Style

Hou, Rongxu, Yiying Zhang, Siwei Li, Yeshen He, and Pizhen Zhang. 2026. "A Security Framework for Resilient Smart Grids Based on Self-Organizing Graph Neural Cellular Automata" Algorithms 19, no. 3: 195. https://doi.org/10.3390/a19030195

APA Style

Hou, R., Zhang, Y., Li, S., He, Y., & Zhang, P. (2026). A Security Framework for Resilient Smart Grids Based on Self-Organizing Graph Neural Cellular Automata. Algorithms, 19(3), 195. https://doi.org/10.3390/a19030195

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop