Introduction
In the evolving landscape of 5G and 6G communications, Cognitive Radio (CR) networks have emerged as a critical technology for improving spectrum efficiency. In an "underlay" CR configuration, secondary users (SUs) are permitted to share the same frequency bands as primary users (PUs), provided that the interference caused to the PU remains below a predefined threshold. However, this shared environment introduces significant security vulnerabilities, particularly from eavesdroppers (EVE) attempting to intercept secondary transmissions.
Ensuring secure communication requires maximizing the secrecy rate—the rate at which information can be transmitted securely—while simultaneously adhering to strict interference constraints. Traditionally, this optimization problem is solved using iterative mathematical programming. While effective, these conventional methods suffer from high computational latency and a lack of flexibility when transitioning between perfect and imperfect channel state information (CSI) scenarios. This paper proposes a Deep Learning (DL) approach to overcome these limitations, providing real-time, robust power allocation for secure CR networks.
System Model
The study considers a five-node underlay CR network consisting of a Primary Transmitter (PU-Tx) and Receiver (PU-Rx), a Secondary Transmitter (SU-Tx) and Receiver (SU-Rx), and a passive Eavesdropper (EVE). The SU-Tx aims to communicate with the SU-Rx while keeping its signal secure from EVE and its interference to the PU-Rx within limits.
As shown in the system model above, the communication environment is defined by various channel gains ($g$ and $h$ coefficients). A significant challenge in real-world deployment is that CSI is often imperfect due to estimation errors. The proposed model accounts for this by incorporating channel error bounds ($\epsilon$) into the optimization framework.
Proposed Deep Learning Framework
To address the latency of traditional solvers, the authors developed a Deep Neural Network (DNN) designed to act as a universal function approximator. This DNN maps the input channel conditions directly to the optimal secondary transmit power ($P_s$).
Architecture and Training
The architecture consists of a fully connected feed-forward network with an input layer, two hidden layers (100 neurons each), and an output layer. The hidden layers utilize Rectified Linear Unit (ReLU) activation functions to introduce non-linearity.
Key features of this architecture include:
- Unified Input: The network accepts both channel magnitudes ($|h|, |g|$) and error bounds ($\epsilon$). This allows a single trained model to generalize across both perfect and imperfect CSI scenarios.
- Output Clipping: To ensure the predicted power $P_s^{NN}$ respects physical and regulatory limits, a clipping function $\min[\max(P_s^{OUT}, 0), P_t]$ is applied at the output layer.
- Ground Truth Generation: The model was trained on a synthetic dataset of 600,000 random channel realizations, where "optimal" power labels were generated using conventional convex optimization techniques (S-Procedure and Charnes-Cooper transformation).
Performance Evaluation
The performance of the DNN approach was evaluated against traditional iterative solvers across several key metrics:
- Computational Efficiency: The DNN reduced the time required for power allocation by more than 99%. While traditional solvers took approximately 600ms per allocation, the DNN performed the same task in roughly 4ms, making it suitable for millisecond-level 5G requirements.
- Secrecy Performance: Despite the massive speedup, the DNN achieved over 94% of the optimal secrecy rate found by mathematical optimization.
- Reliability: The model successfully satisfied the primary user's interference constraints in over 93% of test cases, demonstrating its robustness as a practical alternative to rigid mathematical frameworks.
- Generalization: Through the use of $L_1$ and $L_2$ regularization, the model avoided overfitting, ensuring high accuracy on unseen channel data.
Conclusion
This research demonstrates that Deep Learning can effectively replace complex iterative optimization for secure power allocation in Cognitive Radio networks. By shifting the computational burden to an offline training phase, the DNN enables real-time, secure communication even under imperfect channel conditions. Future work will focus on incorporating unsupervised learning to remove the dependency on traditional solvers for training data and extending the model to multi-antenna beamforming scenarios.
Summary updated