$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
The Generative Proxy Learning Framework (GPLF) represents a novel technology that integrates Generative AI with CPS and resolves important issues of data privacy alongside security and performance metrics within distributed network systems. The functionality of CPS platforms depends on up-to-date monitoring alongside automated operations that extract sensitive data inputs from a growing number of IoT devices and sensors. The adoption of Generative AI technologies into CPS systems has been found to introduce special hazards like privacy vulnerabilities combined with security challenges throughout distributed network setups. GPLF rolls out an innovative Proxy-Based Federated Learning (ProxyFL) framework that supports secure collaborative learning specifically meant for generative tasks to mitigate existing issues. A thorough assessment of the GPLF framework took place on a CPS platform whose testbed combined different sensor network technologies with IoT devices and live data streaming.
Participants of GPLF run two separate models during their participation.
An exclusive Private Model functions for local data examination while keeping data protected from outside access.
The system's Shared Proxy Model5 enables safe participant cooperation through encryption technology paired with differential privacy methods.
The framework utilizes diffusion models to create elaborate synthetic datasets that drive anomaly detection capabilities while showing predictive modeling and system behavior tracking during diverse scenario simulations. Synthesized datasets maintain important feature characteristics through effective privacy preservation methods. The framework operates secure peer-to-peer exchanges via strong encryption techniques that protect communication channels from malicious attacks. The assessments carried out with GPLF on real-world CPS platforms showed how it could bring substantial advancements to secure and intelligent operational capacities throughout scalability limits. Significant improvements to privacy leakage measures alongside complementary enhancements in data exchange abilities and generative task precision proved its functional value and concrete performance results. The core stages of GPLF include proxy-based initialization of federated learning along with private data local training, which forms the backbone of GPLF and integrates proxy model updates protected with differential privacy. Diffused model synthetic data generation methods with secure peer-to-peer data exchanging techniques and modules for anomaly detection and predictive modeling are also included. The organized structure in Figure 1 shows GPLF's essential elements, which have the potential to optimize the basic operations of CPS.

Figure 1: Architectural framework of GPLF for secure and smart CPS operations. Designed to enable secure and smart operations in cyber-physical systems. Please click here to view a larger version of this figure.
The following sections elaborate on the six stages of the framework for secure communication among heterogeneous devices in a CPS platform.
1. Proxy-based federated learning initialization
Stage-1 is Proxy-Based Federated Learning Initialization, where GPLF uses the proxy-based FL initialization process to set up each CPS participant's (N) system with two models that ensure privacy yet allow participants to collaborate securely through learning functionality. Individual CPS participants (i) receive a private model
to function with their local data (di) for privacy protection alongside a shared proxy model
to enable secure cooperative behavior between participants. The models start their training with weights created from randomized entries of a Gaussian distribution21 for normalized initial conditions, which is expressed as in equation (1),
(1)
Participants autonomously process their data while exchanging insights through shared models that support privacy-preserving distributed generative learning in CPS systems.
2. Local training on private data
Stage-2 is Local Training on Private Data; here, data training takes place, where CPS participants develop private models from their stored local data to maintain full on-site data protection by sealing it away from external exposure. Participants receive training in data-based model optimization using stochastic gradient descent (SGD)22 which occurs through a localized loss function (llocal) and supports both meaningful insight extraction and localized adaptations while maintaining data privacy.
(2)
(3)
From (2) and (3), I and O denote the sample input and corresponding target value. L indicates the loss with a learning rate (Ɽ). This step develops individual participant intelligence systems, which serve as a base for future secure collaborative educational processes.
The Independent Recurrent Neural Network (IndRNN) functions as stage-2's ML model because its architecture permits neuron independence during each time step to handle specific CPS tasks while mitigating traditional RNN gradient issues. Every neuron within the IndRNN setup comes with an individual recurrent weight, allowing better capture of long-term dependencies. The separate operation model enhances gradient transmission, which scales deep network structures effectively while keeping computational processes efficient. Sequential data processing on CPS platforms performs best with IndRNN because of its ability to process long sequences using strong learning patterns while keeping the network complexity low.
Computation in equation (4) exhibits the solution to the vanishing and exploding gradient problem within IndRNN stems from its distinctive approach to recurrent connection design.
(4)
From (4), ω and Ht indicates the weight and hidden state at t, respectively.
represent the vector of independent recurrent significance (weights), one for each data point, enabling independence across varying time steps. ʘ denotes the design features element-wise multiplication support, which maintains complete independence between each neuron's recurrent connections, and ä signifies the activation function. The neural architecture design avoids gradient expansion or contraction throughout the sequence of computations, which supports stable learning model training and success in learning extended patterns.
The IndRNN becomes the preferred approach for CPS anomaly detection because it successfully prevents traditional RNN gradient explosions and disappearances. Long-term dependencies become easy to track through the IndRNN architecture since it operates with fewer complexities than Transformer models and achieves both swift convergence and real-time operation. The effective nature of IndRNN makes it exceptionally suitable for representing the resource-limited operational characteristics of CPS while delivering exact anomaly recognition without excessive computational strain.
3. Diffusion model for synthetic data generation
Stage-3 is the Diffusion Model for Synthetic Data Generation. This stage utilizes advanced diffusion models to produce synthetic data, which replicates the principal characteristics of private data acquired. The models learn the original privacy-sensitive data's distribution through the addition of controlled noise to gather characteristics, which helps create synthetic data with high fidelity that retains important features while protecting privacy safeguards. The iterative denoising procedure generates synthetic data, maintaining essential statistical properties and structural elements of actual data.
Initially, the generative diffusion model (ϒ) training process focuses on creating synthetic data with high fidelity while maintaining crucial features from private data (di), and the core computation of such generation involves,
(5)
From (5),
indicate the incorporation of Gaussian noise into the data samples. The newly generated synthetic data is expressed as,
(6)
4. Proxy model updates with differential privacy
Stage-4 is Proxy Model Updates with Differential Privacy. In this stage, each communicative participant utilizes synthetic data created by the diffusion model during this stage to train their proxy model
at this stage.
(7)
Gradients of proxy model updates remain private due to differential privacy mechanisms adding noise
to their values.
(8)
To protect data privacy, advanced encryption methods (homomorphic encryption) transform (ξ) sanitized updates (U) into secure data, which is distributed through either a central server or multiple peer nodes.
(9)
From (9), ҟ signifies the encryption key. Through collaborative aggregation of encrypted updates, systems maintain the security of sensitive local information when performing distributed learning operations securely.
Homomorphic encryption23creates secure platforms to run computations on encrypted data without decryption before allowing final results to be obtained from encrypted inputs like aggregate gradients. Data stays encrypted for its entire operational duration (end-to-end), which consequently prevents outside breaches during computational processes. The platform allows CPS participants across different locations to exchange encrypted data updates for collaborative learning operations without disclosing private information. As per the study goals, this technique maintains complete privacy protection as required and shows superior performance compared to other encryption methods, which necessitate data decryption for computation, thus exposing it to potential threats. Homomorphic encryption proves to be the most suitable security method for proxyFL systems because it supports both secure calculations on data and standalone encryption operations.
5. Secure peer-to-peer interactions
- Stage-5 is Secure Peer-to-Peer Interactions. During this stage, participants securely transmit their encrypted sanitized proxy model updates, which they created in Stage 4. Participants (i) maintain confidentiality while transmitting updates thanks to homomorphic encryption, which facilitates computations like gradient aggregation on encrypted data directly without the need to decrypt. Participants express peer-to-peer communication through computational methods as,
(10)
From (10), it is evident that the secure peer-to-peer interaction/communication within CPS platforms is ensured via homomorphic encryption, (ξ(·)).
Through gradient aggregation (Ψ), encrypted gradient contributions from multiple users enable the collaborative updating of the common proxy model. This study shows the secure accumulation of each participant's encrypted gradients through homomorphic encryption.
(11)
From (11), N represents the participant's count. The method also permits direct computations on encrypted gradients and protects sensitive data during aggregation. Participants update the proxy model through decryption of aggregated gradients, which enables privacy-conscious collaborative learning throughout the CPS network. Secure decryption methods preserve private access to individual gradients for all users during the complete process.
(12)
Thus, secure authorization restrictions keep individual participants from accessing data updates that are owned by external factors. The network utilizes aggregated updates for collaborative enhancement of shared proxy models to achieve secure distributed learning with strong privacy protections across CPS systems.
6. Anomaly detection and predictive modeling
- Finally, stage-6 is Anomaly Detection and Predictive Modeling. In this stage, the updated proxy models are established to serve for analyzing actual CPS data within a configured test-bed environment. The proxy models identify anomalies (Ф) by comparing new data (I) with patterns sourced from synthesis and historical inputs to generate an anomaly score (Å) that flags elements exceeding a predetermined limit/threshold (τ), which is computationally expressed as,
(13)
(14)
Both (13) and (14) ensures that it provides a method for recognizing abnormal system behaviors and faults at early stages.
Predictive modeling with proxy models involves learning representations that produce forecasts about system behaviors or states from dynamic/future input data sequences (IF), which is expressed as,
(15)
The GPLF operational workflow demonstrated in Figure 2 integrates adaptive feedback loops, which sustain both CPS system reliability and continuous relevance. Stage 6 detections of anomalies or system drift lead the procedure to retrace its steps back to Stage 3, where new synthetic data is created using updated private entries to help models adapt to changing patterns. Significant divergence from expected outputs or predictions and poor accuracy identified during Stage 6 force a return to Stage 2, where participants need to retrain their models using the most accurate, up-to-date data available. During Stage 5 system assessments, if model convergence proves inadequate or inconsistencies become evident, the system proceeds back to Stage 4 to apply refinements through improved synthetic data and optimized privacy techniques. The looping mechanisms establish adaptive learning readiness, which maintains strong system performance and security across Control and Process System operations.
A strong mixture of hardware and software components validated the GPLF functions for CPS deployment through scalable, secure operations. The specific platform requirements for GPLF entailed Ubuntu 20.04 LTS with Python v3.9 implementation plus deep learning frameworks PyTorch v1.12 and TensorFlow v2.9 to conduct training for private, proxy, and diffusion models. Evaluation of system performance combined Matplotlib v3.5 visualization software with Seaborn v0.11 statistical visualization and Scikit-learn v1.1 benchmarking alongside privacy measures from PySyft v0.6.0 for differential privacy and TenSEAL v0.3 for homomorphic encryption. Hardware requirements included an AMD EPYC-7502P processor along with an A100 GPU running CUDA v11.6 for computation efficiency and memory demands of 256 GB RAM to support extensive CPS datasets as well as a 1 TB SSD followed by a Gigabit Ethernet network designed for secure information exchange are included to conduct the efficient research experimentations. GPLF algorithms received validation through this system configuration, which protected data while proving scalability principles for real-world CPS implementations. Version selection achieves compatibility with advanced encryption as well as federated learning and generative model techniques, enabling dependable validation scalability across multiple CPS applications.
During the research, the study opted for a few vital hyperparameters that balanced performance maximization with privacy protection and scalability across all GPLF stages. To balance local with collaborative learning, researchers set unique learning rates at 0.001 and 0.01 for private and proxy models but maintained Gaussian-initialized weights to ensure stable convergence. To avoid overfitting while processing CPS data, the local training process used batches of 32 instances, each over ten epochs. Synthetic data generation required the diffusion model to employ a process of 1000 steps at 0.05 noise standard deviation to maintain critical feature accuracy. Data anonymization through differential privacy was achieved by implementing gradient clipping at 1.0 with a noise scale adjusted to 0.1 while preserving dataset utility. For homomorphic encryption, the Paillier Cryptosystem24 is employed to process gradients through purely additive operations within federated learning. The Paillier cryptosystem enables direct operations on encrypted information, which eliminates extensive communication requirements in multi-party secure computation systems. This technique enables quicker aggregation together with reduced communication requirements that lead to a scalable and efficient solution for secure computations in resource-limited CPS systems. The anomaly detection predetermined limit/threshold and a prediction horizon of ten steps ensured accurate monitoring and proactive decision-making in CPS. Through hyperparameter fine-tuning, a perfect balance between performance metrics and system adaptability is achieved with privacy protection in practical CPS applications.
Table 2 documents the necessary hyperparameters for each stage of GPLF research and optimal values to achieve the best performance across the entire methodology.
Two prominent datasets are considered for the training and evaluation of the proposed approach across various aspects. They are TON_IoT25,26,27,28,29,30,31 and UNSW-NB1532,33,34,35,36 from the University of New South Wales (UNSW) Canberra. Both TON_IoT and UNSW-NB15 datasets have been selected because they contain a comprehensive range of CPS conditions. These datasets serve different purposes because TON_IoT presents diverse IoT sensor readings combined with industrial situation models, and UNSW-NB15 offers extensive networking intrusion data testing for security systems. The combination of TON_IoT and UNSW-NB15 datasets enables a complete performance assessment of GPLF in different operational settings. The inclusion of new datasets will boost the framework's operational reliability since we have identified this shortcoming as a future development objective.
The TON_IoT datasets represent an extensive data repository developed to test cybersecurity application performance using AI and ML algorithm-based systems. At the Australian military academy under the UNSW, where researchers generated these datasets from heterogeneous sources which use telemetry information of over 10 Indigenous and Industrial IoT sensors, including weather readers and Modbus sensors along with operating system logs and network packets captured with ZEEK (Bro) in pcap format in conjunction with log files and Comma-Separated Values (CSV) files. This data set originates from a real-world network that combines IoT components with both cloud functions and edge/fog computing capabilities, which were managed on multiple hosts running virtual machines and various operating systems. The constructed system enabled researchers to perform tests of cyber-attacks, which include Distributed Denial of Service (DDoS) and DoS assaults, as well as ransomware attacks against IoT applications and computer networks within the combined Internet of Things/Industrial IoT framework. TON_IoT datasets include raw data components as well as processed data with standard features and labels, training and testing samples, feature descriptions, statistical summaries, and security events, together with ground truth labels. AI-driven cybersecurity solutions for malware detection mechanisms, IDS, fraud detection methods, and threat intelligence platforms, along with privacy preservation processes and digital forensics, benefit from TON_IoT datasets because of their structured organizational design, which also aids adversarial ML models and threat hunting methods.
The Cyber Range Lab of UNSW Canberra developed the UNSW-NB15 dataset as a comprehensive standard for network intrusion detection system evaluation. Through the IXIA PerfectStorm tool, the creation of the UNSW-NB15 dataset merges both real normal modern activities with synthetic attack demonstrations, which produces an estimated 100 GB of network traffic captured in pcap format. The dataset comprises nine unique attack variants: Analysis, DoS, Fuzzers, Backdoors, Shellcode, Exploits, Worms, Generic, and Reconnaissance. Leveraging Argus and Bro-IDS tools together with twelve designed algorithms, researchers extracted and tagged 49 features, enabling exhaustive analysis. More than 2.5 million records populate the dataset, which spans four CSV workstations and is broken down into 175,341 records for training purposes and 82,332 records for testing functionality. The systematic arrangement of data within this framework drives both development and testing processes for intrusion detection models.

Figure 2: Operation workflow of GPLF. The sequential operation workflow of GPLF highlighting each key process step. Please click here to view a larger version of this figure.
Table 2: Parameter specifications of GPLF. Please click here to download this Table.