Skip to main content
PLOS One logoLink to PLOS One
. 2025 Jan 15;20(1):e0316291. doi: 10.1371/journal.pone.0316291

A novel multi-user collaborative cognitive radio spectrum sensing model: Based on a CNN-LSTM model

Kai Wang 1, Yangyang Chen 1, Dan Bo 1, Shubin Wang 1,*
Editor: Sushank Chaudhary2
PMCID: PMC11734992  PMID: 39813223

Abstract

Cognitive Radio (CR) technology enables wireless devices to learn about their surrounding spectrum environment through sensing capabilities, thereby facilitating efficient spectrum utilization without interfering with the normal operation of licensed users. This study aims to enhance spectrum sensing in multi-user cooperative cognitive radio systems by leveraging a hybrid model that combines Convolutional Neural Networks (CNN) and Long Short-Term Memory (LSTM) networks. A novel multi-user cooperative spectrum sensing model is developed, utilizing CNN’s local feature extraction capability and LSTM’s advantage in handling sequential data to optimize sensing accuracy and efficiency. Furthermore, a multi-head self-attention mechanism is incorporated to improve information flow, enhancing the model’s adaptability and robustness in dynamic and complex environments. Simulation experiments were conducted to quantitatively evaluate the performance of the proposed model. The results demonstrate that the CNN-LSTM model achieves low sensing error rates across various numbers of secondary users (16, 24, 32, 40, 48), with a particularly low sensing error of 9.9658% under the 32-user configuration. Additionally, when comparing the sensing errors of different deep learning models, the proposed model consistently outperformed others, showing a 12% lower sensing error under low-power conditions (100 mW). This study successfully develops a CNN-LSTM-based cooperative spectrum sensing model for multi-user cognitive radio systems, significantly improving sensing accuracy and efficiency. By integrating CNN and LSTM technologies, the model not only enhances sensing performance but also improves the handling of long-term dependencies in time-series data, offering a novel technical approach and theoretical support for cognitive radio research. Moreover, the introduction of the multi-head self-attention mechanism further optimizes the model’s adaptability to complex environments, demonstrating significant potential for practical applications.

1. Introduction

In recent years, with the rapid development of wireless communication technologies, the efficient utilization of spectrum resources has become a research hotspot. Early studies revealed that during periods or in regions with low user density, many licensed spectrum bands remain underutilized, resulting in significant spectrum resource wastage [1]. To address this issue, Joseph Mitola first proposed the concept of Cognitive Radio (CR) [2], which was further extended into the development of cognitive radio networks [3]. Cognitive radio technology enables wireless devices to learn about their surrounding spectrum environment through sensing capabilities, identify available spectrum resources, and allow secondary users to access these bands without interfering with the normal operation of primary users (PUs), thereby facilitating spectrum sharing [4].CR technology effectively addresses the aforementioned spectrum inefficiency, with spectrum sensing serving as the foundation and prerequisite for its applications. The primary task of spectrum sensing is to understand the spectrum usage of PUs in a specific communication area, making it the most critical step in the cognitive cycle [5]. The success of cognitive radio depends on the accuracy and efficiency of spectrum sensing. Enhancing the reliability and efficiency of sensing, minimizing interference with PUs, and enabling secondary users to quickly and accurately identify vacant spectrum to gain more access opportunities are key to improving the overall performance of cognitive radio networks [6]. This is crucial for reducing spectrum resource wastage and achieving the efficient utilization of spectrum, making it a focal point in the field of cognitive radio research.

Spectrum sensing, as the core enabling technology of cognitive radio (CR), primarily functions to dynamically evaluate the radio environment and identify underutilized spectrum opportunities [7]. Current research efforts have largely focused on improving the efficiency of spectrum sensing, with the majority targeting single-user spectrum sensing strategies, including energy detection [8], matched filter detection [9], and cyclostationary feature detection [10]. While these single-user approaches can quickly determine whether the primary user (PU) is active, the performance of spectrum sensing by a single secondary user (SU) is often vulnerable to adverse environmental changes [11]. To address these limitations, researchers have proposed cooperative spectrum sensing (CSS) strategies, wherein multiple SUs within the same cognitive radio network (CRN) collaborate to perform spectrum detection tasks [12]. CSS significantly enhances the efficiency of spectrum resource utilization in wireless networks [13]. However, this approach also introduces challenges in balancing performance improvements for both PUs and SUs. For instance, when SUs move continuously and randomly at uniform speeds, variations in their geographic locations, inter-SU distances, and communication environments affect spatial correlation among SUs, thereby impacting the stability and reliability of cooperative spectrum sensing [14]. Additionally, while traditional convolutional neural networks (CNNs) have shown promise in processing correlated data, their learning capabilities remain limited. These models still require further improvements to fully enhance spectrum sensing performance.

In light of the aforementioned challenges, this study proposes the PCBM (Parallel CNN_BiLSTM_MHSA) collaborative cognitive radio spectrum sensing model based on a CNN-LSTM architecture to enhance the spectrum sensing capability of multi-user collaborative cognitive radio systems. The model integrates Convolutional Neural Networks (CNNs), Bidirectional Long Short-Term Memory networks (BiLSTMs), and Multi-Head Self-Attention mechanisms (MHSA).

By leveraging the CNN’s strength in local feature extraction and the superior performance of LSTMs in processing sequential data, the proposed model synergizes local and global feature extraction networks to capture multi-scale spatial characteristics and temporal sequence features of spectrum signals. MHSA further enhances the feature representation capability. Through a multi-user collaboration mechanism, the model optimizes spectrum sensing performance, demonstrating significant improvements in accuracy and robustness under complex signal environments. Compared to previous studies, this research is the first to propose a cognitive radio spectrum sensing model that incorporates multi-user collaboration, overcoming the limitations of traditional single models in spectrum sensing and enhancing the effectiveness of spectrum utilization. The introduction of the MHSA mechanism further optimizes the flow of information within the network, improving the model’s stability and adaptability in dynamic and complex environments. The main contributions of this study include: 1) Developing an efficient deep learning model that provides technical support for deploying cognitive radio systems; 2) Optimizing system performance through intelligent collaboration strategies, offering a novel approach to rational spectrum resource allocation; 3) Providing theoretical support and a technical pathway for the formulation and updating of spectrum management policies.

2. Progress in related research

2.1. Spectrum sensing technology

Spectrum sensing, as the core of cognitive radio (CR) technology, can help CR systems promptly identify available idle frequency bands and ensure that such utilization does not affect the PU’s use of the spectrum. The primary goal of spectrum sensing is to identify and utilize the so-called "spectrum holes" to achieve efficient spectrum utilization [15].

Specifically, the task of spectrum sensing can be summarized into two main aspects: first, detecting whether a PU signal exists in a given frequency band and evaluating the status of the band to determine whether secondary users (SUs), i.e., unlicensed users, can use the band. When SUs require communication, the detected idle frequency bands can be allocated for their use [16]. Second, CR systems aim to improve the utilization of spectrum resources under the condition of not causing significant interference to PU communications, which requires SUs to quickly and accurately sense the presence of PUs. When licensed bands are idle, SUs should detect the idle channels as quickly as possible and continuously monitor during use for the reappearance of PUs so that they can vacate the bands promptly for PU use [17].

Over the past 20 years, numerous sensing algorithms for detecting spectrum holes have emerged, and these algorithms can be classified from multiple perspectives. Current spectrum sensing technologies are mainly divided into narrowband spectrum sensing and wideband spectrum sensing. Narrowband spectrum sensing typically filters out specific frequency bands using a band-pass filter after receiving the signals, defining the spectrum sensing problem as a binary hypothesis problem [18]. Traditional narrowband spectrum sensing methods include energy detection (ED), matched filter detection (MFD), cyclostationary feature detection (CFD), and autocorrelation detection, among others [19]. Wideband spectrum sensing, on the other hand, extends the detection range based on narrowband sensing, not only determining the presence of PU signals but also estimating the frequency bands occupied by PUs [20].

2.2. Multi-user spectrum sensing methods

Collaborative spectrum sensing (CSS) is a process where multiple SUs exchange information and share data within a network environment to mitigate potential adverse effects that individual SUs might encounter during the sensing process [21]. Currently, based on the method of information exchange among SUs and the criteria for information fusion, CSS systems can be broadly divided into two categories.

Centralized collaborative sensing systems consist of primary users, multiple secondary users, and a data fusion center. The central module in this system acts as the fusion center (FC), responsible for controlling the entire collaborative sensing process [22]. In this mode, the FC first selects specific frequency bands for sensing, assigns individual SUs to perform sensing tasks independently, and collects the decision statistics or sensing data from various SUs. The FC then makes its binary decision, which is sent back to the FC. Based on a predefined fusion rule, the FC consolidates this information to determine the presence of a PU and communicates the decision back to all SUs. This approach is widely adopted due to its clear system design, fast operation, and strong real-time responsiveness. However, its main drawback is the reliance on the fusion center for data integration. A failure at the FC can disrupt the ability of all SUs to use the frequency band [23].

In a distributed collaborative sensing mode, all SUs independently perform sensing and then share their results with other CR users. Each SU combines its sensing results with those of other SUs, according to predefined fusion rules, to decide whether a PU is present [24]. This mode’s advantage lies in its independence from the FC for decision-making, as information sharing and processing occur solely among SUs, saving signal transmission time. Additionally, distributed sensing reduces reliance on central infrastructure, leading to lower costs. However, this approach requires each SU to share and analyze sensing information in real-time to make decisions, which increases system complexity, reduces efficiency, and imposes higher hardware requirements [25]. Distributed collaborative algorithms are still under development and may not match the sensing performance of centralized collaborative sensing.

In CSS systems, based on the type of transmitted data, FC decision fusion can be divided into soft decision and hard decision approaches [26]. Hard decision fusion involves each SU using sensing techniques to detect the PU spectrum status and determining the presence of PU signals. Under hard decision rules, each SU performs a local decision and sends only a binary result (1 for PU present, 0 for PU absent) to the FC. The FC then fuses these local decisions based on predefined criteria and broadcasts the final decision to all SUs [27]. In soft decision fusion, each SU collects information about the licensed spectrum using various spectrum sensing algorithms. The collected information is transmitted to the FC, where the FC analyzes the data from all SUs and independently evaluates the PU signal’s presence. Based on this evaluation, the FC forms a final decision and broadcasts the result to all SUs [28].

In recent years, significant progress has been made in the field of collaborative spectrum sensing through the introduction of machine learning techniques. For example. Shi et al. (2020) utilized the energy vectors of received signals as features to develop several machine learning-based spectrum sensing algorithms, including support vector machines (SVM), weighted K-nearest neighbors (WKNN), K-means clustering, and Gaussian mixture models. Experimental validation demonstrated that machine learning-based algorithms adapt more effectively to environmental changes and exhibit superior sensing performance [29]. Lu et al. (2016) proposed a novel collaborative spectrum sensing algorithm that combines K-means clustering and SVM by using low-dimensional probability vectors as inputs [30]. Additionally, Ghazizadeh and his team considered that the front-end sensing devices of unlicensed users often employ multi-antenna technology. By extracting eigenvalues from the sample covariance matrix, they applied an improved SVM algorithm for collaborative spectrum sensing, achieving better results than traditional linear kernel SVM algorithms [31]. Although machine learning techniques have shown promising applications in collaborative spectrum sensing, research on deep learning in this field remains in its early stages. Lee et al. (2019) developed a CNN-based collaborative spectrum sensing algorithm specifically designed for scenarios with multiple channels and randomly moving SUs. By exploring spatial correlations among SUs, the algorithm performed collaborative spectrum sensing [32]. Nesraoui et al. (2024) proposed a robust method called DET-AMC (Detection and Automatic Modulation Classification), which utilizes a convolutional neural network (CNN) trained via transfer learning. The CNN features obtained through transfer learning demonstrate robustness, particularly under low SNR conditions and various challenging scenarios, enabling accurate modulation classification [33]. Khichar et al. (2024) introduced a Fast Super-Resolution Convolutional Neural Network (FSRCNN) model for channel estimation, aiming to reduce computational complexity while maintaining high estimation accuracy [34].Under varying noise levels and different numbers of SUs, the sensing performance of this algorithm surpassed that of traditional and machine learning-based collaborative spectrum sensing algorithms, providing strong evidence for the application of deep learning techniques in this domain.

3. Collaborative cognitive radio spectrum awareness modeling

3.1. System modeling

Addressing the problem of centralized collaborative spectrum sensing, this paper explores cognitive radio (CR) systems covering multiple sub-users (SUs) and multiple channels. It is envisioned that a single primary user (PU) and NSU SUs are randomly distributed in a square area of 200-meter side length, and all users move at a certain speed v with a uniform speed in random directions. The location of the fusion center (FC) within the region is fixed. Due to the mobility of the users, the geographic locations of the SUs and their relative distances are constantly changing, so the indexing of the SUs is assigned based on the temporal order of their participation in the collaborative spectrum sensing. It is assumed that the authorized spectral bandwidth of the system is W, the number of channels is Ntan d, the transmission power of the PU is set to P, and the energy leakage factor is set to 7. Under normal circumstances, the PU communicates mainly on one channel, but the transmission energy may leak to adjacent channels, resulting in the PU potentially affecting two or more neighboring channels at the same time. In practical radio communication scenarios, affected by noise and other factors, the PU may switch to other channels using frequency hopping techniques. In order to prevent interference with the PU’s communication, once the PU signal is detected, all channels within the authorized spectrum should be considered unavailable for the SU. Therefore, this collaborative spectrum perception problem can be constructed as a binary hypothesis testing problem, which can further be modeled by deep learning methods for binary classification.

The additive Gaussian white noise with the power spectral density of N0 is also taken into account in this study, and ωij(m) is set to represent the noise of the ith SU in the jth channel at the moment m. The exponent and constant of the path loss are denoted as α and β. Set dim to represent the distance between the PU and the ith SU at moment m. The path loss can be expressed as β(di(m))α. Set gij(m) to represent the multipath fading of the ith SU in the jth channel at moment m. In this paper, gij(m) is modeled as an independent circularly symmetric complex Gaussian random variable with zero mean.

Meanwhile, considering the case of shadow fading, set him to denote the shadow fading of PU between moment m and the ith SU, obeying the normal distribution with zero mean and zero variance σ2 in dB. Set kim to denote the normalized shadow fading of the ith SU at moment m, possessing the zero mean and unit variance, which can be computed by Eq (1).

ki(m)=Pβ(di(m))α10hi(m)10 (1)

Assuming that the distance between SUA and SUB is d-, the correlation of normalized shadow fading between the two can be expressed as ρcor(dAB), and the computational procedure can be represented:

ρcor(dAB)=E[kA(m)kB(m)]=e(dABdref) (2)

Where dAB denotes a reference distance that depends on the environment in which it is located. Two SUs at a similar distance experience more similar shadow decay.

During each sensing cycle Tp, each SU performs energy detection on all Nband channels and collects NED samples for local sensing. This approach allows each SU to independently evaluate the state of the channels, enhancing the accuracy of channel state detection. To ensure the efficient utilization of spectrum resources without interfering with PUs, this study adopts a two-layer energy detection mechanism to distinguish between PU and SU signals. In the first layer, the system sets an energy detection threshold Eth to identify PU signals. When the detected channel energy EEth, the system determines that the channel is occupied by a PU, thereby preventing SUs from communicating on that frequency band. If the channel energy is below the threshold, the system further analyzes the frequency characteristics of the channel signal. By extracting spectrum information, it verifies whether the signal conforms to the transmission pattern of a PU. Considering the synchronization requirements of SUs, to ensure that all SUs complete spectrum sensing operations within the same time window, SUs are allowed to coordinate their overall sensing time using a clock synchronization protocol during the spectrum sensing cycle. This enables the sharing of detection information, reducing the risk of misjudgments caused by data inconsistencies among different SUs. It also ensures that spectrum detection and the transmission of detection results are completed within their respective time slots, achieving efficient collaborative sensing.

In this study, the utilization state of the licensed spectrum is divided into two hypotheses. Hypothesis H0 indicates that the licensed spectrum is in an idle state, meaning the PU is not utilizing the spectrum. Hypothesis H1, on the other hand, indicates that the licensed spectrum is being utilized by the PU. These two hypotheses form the foundation of spectrum sensing and determine how the SU acts based on the sensed information. The received signal data yij(m) of the i-th SU at time m on the j-th channel is expressed as:

yij(m)={ki(m)gij(m)x(m)+ωij(m),H1,jBPηki(m)gij(m)x(m)+ωij(m),H1,jBAωij(m),H0 (3)

In the formula, x(m) represents the signal data transmitted by the PU at time m, Bp denotes the set of channels utilized by the PU, and BA represents the set of channels affected by leaked energy from PU communications.

The local sensing of all SUs is based on energy detection, where the signal energy intensity in the channel is obtained through cumulative calculation. On this basis, let Tij represent the cumulative signal energy of the i-th SU on the j-th channel. The calculation formula is as follows:

Tij=1NEDm=1NED|yij(m)|2 (4)

3.2. Model structure

3.2.1. Localized feature extraction network structure

With the significant enhancement of computational resources, convolutional neural networks have demonstrated exceptional capabilities especially in areas such as image processing and computer vision, and are particularly good at extracting local features. When dealing with image data, two-dimensional convolutional neural networks (2DCNN) are usually employed to deal with this type of data in matrix form. For the classification task of sequence data, a one-dimensional convolutional neural network (1DCNN) is preferred, which is effective in extracting dense local features from fixed-length segments of sequence data and analyzing the spectral relationships between individual sequence channels. The 1D convolution shows advantages over the 2D convolution in terms of smaller number of parameters and faster training speed. The network design consists of three convolutional modules and an Average Pooling (AvePooling) layer. Each convolutional module is the underlying local feature extraction unit, which contains a convolutional layer (Conv1D), a Batch Normalization (BN) layer, a LeakyReLU activation function, and a Dropout layer, which work together to capture local features from the input data. In each Conv1D layer, there are multiple convolutional feature signals, and each convolutional feature signal C(m = 1,2…, M) are connected to the multivariate sequential input signal 7th univariate sequential data S,(1 = 1,2…) by a fixed weight matrix W of the form LxF., L). Where L denotes the number of variables also known as the number of SUs Nu in this chapter and F denotes the size of the one-dimensional convolution kernel. The size of the convolution kernel determines the number of elements of the input signal to which a single element of each convolutional feature signal is connected, i.e., the size of the sensory field. The corresponding mapping operation is the so-called convolution operation. Assume that each convolutional feature signal has k elements per convolutional feature signal C. Each element is calculated by Eq (5).

cm,k=σ(l=1Lf=1Fsl,f+k1wl,m,f) (5)

In the above equation, σ is the nonlinear activation function; cm,k is the kth element of the mth convolutional feature signal Cm; Sl.k is the kth element of the lth univariate sequence data of the multivariate sequence input signal Sl; wl,m,f is the fth element of the weight matrix Wl.m, and the weight matrix Wl.m connects the lth univariate sequence data of the multivariate sequence input signal, mapping to the mth convolutional feature signal of the convolutional feature signal, which can be simplified on the basis of this further:

Cm=σ(l=1LSl*Wl.m) (6)

In the field of deep learning, commonly used nonlinear activation functions include the hyperbolic tangent function (Tanh), the S-shaped function (Sigmoid), and the linear rectification unit (ReLU). ReLU, in particular, helps to enhance the sparsity of the model and reduce the risk of overfitting to some extent because it sets the output of neurons with negative outputs to zero. However, this activation function also has its limitations, such as causing the disappearance of the negative gradient, which may lead to the permanent inactivation of some neurons, i.e., the so-called "neuron death" phenomenon. In addition, ReLU may be overly enforced in the implementation of sparsification, which may sometimes lead to the loss of key feature information, thus reducing the effective capacity of the model. To solve this problem, we adopt the LeakyReLU activation function as the activation function σ of the convolutional layer, which is designed to allow a small gradient to pass through even when the output is negative, ensuring that the neuron maintains the gradient transfer in all situations. Its expression is given as:

f(x)={αx,x<0x,x0 (7)

In the design of LeakyReLU activation function, for the case that the input signal x is less than 0, the function does not set the output to 0 completely, but adopts a small coefficient α to correct the negative value, so as to retain the negative gradient, which can help to alleviate the loss of feature information caused by ReLU. In this way, LeakyReLU can improve the "necrosis" phenomenon of nerve cells and the gradient disappearance problem, and thus speed up the training speed of the model and improve the perceptual performance of the model.

In addition, in this paper, a Batch Normalization (BN) layer and a Dropout layer are added after each one-dimensional convolutional (Conv1D) layer. The BN layer helps to eliminate the internal covariate bias by adjusting the distribution of the input layers during the training process, making the neural network training more stable, and effectively mitigating the problem of gradient explosion, thus accelerating the The Dropout layer avoids overdependence of the model on specific neurons by randomly dropping a portion of the neurons in the network, which enhances the robustness of the model, helps to prevent overfitting, and improves the generalization ability of the model.

An average pooling layer is employed after the three convolutional modules of the model, which reduces the dimensionality of the feature signals and increases the invariance of the features through an average pooling operation in order to reduce the impact of fluctuations in the input data on the model. Specifically, the kth element of the mth pooled feature signal Pm(m = 1,2,…,M) of the average pooling layer can be expressed as:

pm,k=rn=1N(cm,(k1)×q+n) (8)

where N is the pooling size, q is the sliding step size, and r is the scaling factor.

3.2.2. Global feature extraction network structure

When dealing with multivariate serial data classification problems, the interactions and correlations among different variables need to be considered. The mechanism of multiple self-attention (MHSA) is particularly suitable for detecting the complex interrelationships among variables in such data. MHSA is able to sensitively capture the direct or indirect correlations among variables in multivariate sequence data and reveal the correlations among features by correlating different positions in the sequences, which is useful for identifying the interactions among hidden features. In addition, MHSA helps to compensate for the loss of information that may be overlooked during the feature extraction process. Compared with the traditional single-head self-attention mechanism, MHSA is able to improve the ability to perceive complex correlations among multivariables and mine richer feature relationships more effectively by processing multiple attention heads in parallel. The self-attention mechanism (SA) is implemented by calculating the similarity between the input Query and Key to assign different weight coefficients, and then weighting and summing the Value according to these weights. This mechanism allows the model to dynamically extract the most relevant information for the task at hand from the entire sequence when processing sequential data, where Queries, Keys and Values are usually derived from the same input data. This mechanism is designed to make MHSA particularly suitable for processing multivariate sequence data that have complex interactions between variables, thereby improving the overall performance and prediction accuracy of the model.

As shown in Fig 1, from the viewpoint of network structure, MHSA is splicing the outputs of multiple SAs and then doing parametric transformations, so that Headi denotes the output of the SA with the i-th head, then the output of MHSA with the number of heads h can be expressed:

MultiHead=Concat(Head1,Head2,,Headh)Wo (9)

where MuiHead is the output of MHSA, Concat is the Concatenated splicing layer in deep learning, and Wo denotes the weight matrix for parameter transformation of the splicing results output from each SA.

Fig 1. Structure of the multi-leader self-attention mechanism.

Fig 1

3.2.3. Training methods

In the dual-network architecture, the local feature extraction network (1D-CNN) and the global feature extraction network (BiLSTM) perform their respective functions before merging their output signals through a concatenation layer. The local feature extraction network employs multiple convolutional layers to capture the local multi-scale features of spectrum signals, while the global feature extraction network further captures the global temporal dependencies of the sequences from the local features. The merged signal is then passed to the classification network to produce the final classification decision. At the end of the classification network, a fully connected layer with two neurons and a Softmax activation function outputs the classification probabilities. During training, the model updates its parameters using a joint optimization strategy. The training data first pass through the local feature extraction network, generating multi-dimensional feature maps. These feature maps are then forwarded to the global feature extraction network to learn the global characteristics of the time series. Subsequently, the local and global features are concatenated into a unified feature vector, which is passed to the classification network. The final prediction error is computed using a cross-entropy loss function, and the parameters of both the local and global networks are simultaneously updated via backpropagation using the Adam optimizer.

The loss function of the model is chosen as cross-entropy, which evaluates the error Lsuper between the predicted results and the actual labels. The calculation formula is as follows:

Lsuper=1Uu=1U(Y^ulog(pu)) (10)

In the formula, Yu and pu(u = 1,2,…,U represent the true label and the corresponding predicted result of the u-th training sample, respectively, and U denotes the total number of training samples.

This strategy leverages the advantages of a dual-network model to extract deeper features with fewer parameters, thereby optimizing the classification performance of a single-network algorithm. At the same time, to ensure training efficiency and superior model performance, the model adopts the following hyperparameter strategies:(1) Batch Size: Considering the memory capacity limitations of the hardware, the batch size is set to 2000, balancing memory constraints and improving training stability.(2) Dynamic Learning Rate Adjustment: Additionally, the model employs an appropriate initial learning rate combined with a dynamic decay strategy to avoid issues where a learning rate that is too high prevents convergence, or a rate that is too low significantly slows down training. The initial learning rate is set to 0.003, combined with an exponential decay strategy, to mitigate the convergence issues caused by an excessively high learning rate and the efficiency decline due to an overly low learning rate.(3) Overfitting Prevention: To further prevent overfitting, the model incorporates L2 regularization, Dropout with a dropout rate of 0.3, and an early stopping strategy with a patience parameter of 5, thereby optimizing the model’s generalization capability. Additionally, for the update of model weights and biases, the Adaptive Moment Estimation (Adam) optimizer is employed, with Adam’s parameters set as follows: β1 = 0.9, β2 = 0.999, ε = 10−8, to ensure the training process is efficient and the final model performance is superior. This comprehensive parameter tuning and algorithm application provide a solid foundation for the optimization and performance improvement of the model.

4. Findings and analysis

4.1. Parameterization

To evaluate the performance of the proposed model, this study employs simulation experiments to optimize neural network parameters, ensuring optimal sensing performance. In the cognitive radio system used for the experiments, user density is reflected by variations in the number of secondary users (SUs). The number of SUs is set at five levels: 16, 24, 32, 40, and 48. Environmental noise levels are indirectly simulated through the transmitter power range (100–1000 mW). Based on the relationship between transmitter power and noise levels, it is observed that lower transmission power results in a lower signal-to-noise ratio (SNR), representing more complex noise environments. Conversely, higher transmission power increases the SNR, approximating ideal channel conditions [35]. This approach simplifies the complexity of directly simulating noise while providing an effective method for assessing the model’s adaptability to complex spectrum environments. The primary user’s (PU) transmission power is increased from 100 mW to 1000 mW in 100 mW increments. For each power condition, 200,000 data samples are generated, totaling 2,000,000 samples. These data are divided into training, validation, and test sets in a 7:1:2 ratio. In the design of the local feature extraction network, the 1D convolutional neural network (1DCNN) consists of three Conv1D layers, each with 128 convolutional kernels. The three-layer convolutional structure enables the network to progressively extract multi-level features of the spectrum signals, capturing high-frequency features while extracting low-frequency features at deeper levels, thereby improving sensing accuracy [36]. Meanwhile, the use of 128 convolutional kernels strikes a good balance between high- and low-frequency feature extraction for the spectral data. Studies have shown that an appropriate number of convolutional kernels can enhance feature extraction capability without significantly increasing computational complexity [37]. In this study, Sensing Error is adopted as the core metric to evaluate model performance. Sensing error measures the discrepancy between the predicted and actual categories in the spectrum sensing task, defined as follows:

SensingError=1Ni=1N|y^iyi| (11)

Where N represents the total number of test samples, y^i denotes the predicted category of the i-th sample, and yi is the corresponding ground truth category. A smaller sensing error indicates higher classification accuracy, making it an effective metric for evaluating model performance. The choice of sensing error as the evaluation metric is based on its intuitiveness, adaptability, and comparability. As a direct measure of classification accuracy, sensing error clearly reflects the model’s performance under varying experimental conditions. Moreover, in cognitive radio networks, environmental factors such as noise levels and user density significantly affect classification accuracy. Sensing error robustly captures the model’s performance across different environmental conditions. Defined based on absolute error, sensing error simplifies comparisons between different models, facilitating the validation of the proposed model’s advantages in multi-user collaborative scenarios.

To extract rich multi-scale features from low-dimensional features, four combinations of convolution kernel sizes—(5, 9, 5), (7, 9, 5), (7, 9, 7), and (9, 11, 9)—were selected as candidates. These combinations were tested individually during the experiments, with detailed records kept of the sensing error and runtime under different PU power levels. The results are shown in Table 1. The stride of each Conv1D layer was set to 1, the convolution kernels were initialized using the Kaiming distribution, biases were initialized to zero, and zero-padding was applied. According to the data in Table 1, the convolution kernel size combination of (7, 9, 5) demonstrated lower sensing errors across various PU transmission power levels. Consequently, this combination of kernel sizes—7, 9, and 5—was adopted. Through this approach, the local feature extraction network effectively captures critical spectrum features, thereby enhancing the sensing accuracy and overall performance of the model.

Table 1. Perception errors for different combinations of convolutional kernel sizes.

Emission power (mW) Convolutional kernel size combinations
(5,9,5) (7,9,5) (7,9,7) (9,11,9)
100 21.4197 20.3750 20.8789 20.6085
200 12.0170 11.2098 11.4527 11.5497
300 8.6348 7.9609 8.1137 8.5283
400 6.9266 6.5585 6.8083 6.3294
500 5.0401 4.9997 4.7079 5.0307
600 3.2703 3.0504 3.0702 3.3165
700 2.8385 2.6350 2.6513 2.7337
800 1.9356 1.7938 1.8728 1.8995
900 1.8308 1.6900 1.7595 1.7968
1000 1.4386 1.2857 1.3784 1.3681

In the design of the global feature extraction network, the focus was placed on optimizing the BiLSTM (Bidirectional Long Short-Term Memory) component, while temporarily omitting the MHSA (Multi-Head Self-Attention) module. The global feature extraction network operates in tandem with the local feature extraction network to enhance the model’s ability to perceive complex signal environments. The candidate neuron counts for the BiLSTM layers were set to 64, 128, and 256 to identify the optimal network configuration. The selection of these values was based on the following considerations: (1) Neuron counts of 64, 128, and 256 are commonly used in deep learning models as they strike a balance between model complexity and computational resource consumption, particularly suitable for LSTM configurations in tasks such as signal processing and spectrum analysis. (2) Gradually increasing the number of neurons (from 64 to 256) facilitates the evaluation of network performance at different scales, enabling the model to achieve an optimal balance between feature representation capability and computational cost [38]. Simulation results (Table 2) indicate that under varying PU transmission power levels, setting the BiLSTM neuron count to 128 resulted in the lowest sensing error and exhibited the best sensing performance. Consequently, the BiLSTM layer’s neuron count was fixed at 128.

Table 2. Perceived errors for different BiLSTM neuron numbers.

Emission power (mW) Number of BiLSTM neurons
64 128 256
100 21.3751 20.1219 20.2352
200 11.0492 10.7128 10.8458
300 7.6352 7.4202 7.4279
400 6.0255 5.7009 5.6220
500 4.0796 4.0109 4.0358
600 3.2333 3.1423 3.1982
700 2.7517 2.7063 2.7406
800 1.8453 1.8600 1.8771
900 1.7433 1.8239 1.8196
1000 1.3737 1.3707 1.3827

To enhance the model’s adaptability to complex signal environments, the Multi-Head Self-Attention (MHSA) mechanism was introduced. Cognitive radio spectrum sensing tasks require the model to dynamically capture variations in signal characteristics. By leveraging a multi-head design, MHSA enables the model to capture intricate relationships between features in parallel across different positions, thereby improving the comprehensiveness of feature extraction. Compared to traditional attention mechanisms, MHSA significantly enhances the model’s ability to perceive diverse signals without substantially increasing computational costs, making it well-suited for dynamic spectrum environments [39]. Simulation experiments evaluated the impact of different numbers of heads (1, 4, 8, 16) on model performance, as shown in Table 3. The results demonstrate that increasing the number of heads allows the model to better uncover complex inter-feature relationships, thereby improving sensing accuracy. Notably, when the number of heads was set to 8, the model achieved the lowest average sensing error (approximately 5.61) across most transmission power levels. It also exhibited superior performance in detection accuracy, response time, and behavioral consistency. However, increasing the number of heads also significantly raised the computational complexity. When the number of heads was increased to 16, although the model captured more feature relationships, the sensing error slightly rose to approximately 5.75, likely due to information redundancy leading to feature oversaturation. Additionally, as depicted in Fig 2, resource consumption escalated substantially, with average inference time rising to 155.83 ms and memory usage reaching 1054.93 MB. To balance performance improvements and computational complexity, the number of MHSA heads was ultimately set to 8. This configuration ensures low sensing error while keeping computational costs within a reasonable range, meeting the real-time processing requirements of cognitive radio systems.

Table 3. Perceived errors for different MHSA parameters.

Emission power (mW) Different MHSA parameters
1 4 8 16
100 19.7176 19.4250 19.2680 19.5778
200 11.1447 10.9409 10.0616 10.2674
300 7.5732 7.7804 7.3400 7.5369
400 5.3358 6.3271 5.6905 5.8148
500 3.8785 4.6812 4.2487 4.3537
600 2.8771 2.9128 2.7808 2.8407
700 2.5751 2.3367 2.5389 2.6170
800 1.8359 1.7333 1.6326 1.6253
900 1.5444 1.6213 1.4993 1.5110
1000 1.3680 1.2643 1.1261 1.2636

Fig 2. Impact of MHSA heads on inference time and memory usage with distinct colors and markers.

Fig 2

In terms of network architecture and training hyperparameters, the local feature extraction network utilizes a three-layer Conv1D structure. These three convolutional layers progressively extract spectral features from low to high levels, facilitating the model’s ability to learn complex signal feature structures without significantly increasing computational overhead. During model training, input data first passes through the local feature extraction network (1D CNN) to extract multidimensional local features. These features are then forwarded to the global feature extraction network (BiLSTM) to capture temporal dependencies. The local and global features are concatenated in the concatenation layer to form a joint feature vector, which is subsequently fed into the classification network for categorization. The loss function calculates the error based on cross-entropy, and parameters of both the local and global networks are optimized simultaneously via backpropagation. This joint optimization strategy ensures that the two networks complement each other in feature learning, thereby improving overall performance. Each convolutional layer employs 128 kernels, with sizes of 7, 9, and 5, respectively. This configuration balances the extraction of spectral features at different scales: smaller kernels (e.g., size 5) are effective for capturing fine-grained features, while larger kernels (e.g., size 9) are better suited for extracting broad-spectrum features. This combination enhances the model’s ability to perceive multi-scale spectral features [40]. The stride is set to 1, weights are initialized using the Kaiming method, and biases are initialized to zero. Zero-padding is applied to the kernels. The activation function is LeakyReLU with a coefficient of 0.1, which helps alleviate the “dead ReLU” problem and stabilizes training by maintaining a non-zero gradient in the negative region. Each layer is followed by batch normalization (BN) and Dropout (with a rate of 0.3) to accelerate convergence and prevent overfitting [41]. The global feature extraction network’s BiLSTM component contains 128 neurons, further enhancing the model’s capacity to learn temporal features. The classification network is a single-layer fully connected network with 2 neurons, employing the Softmax activation function for classification. The loss function is cross-entropy, and the optimizer is Adam, chosen for its adaptive learning rate, which is particularly suitable for non-stationary data in spectral perception tasks. The initial learning rate for Adam is set to 0.003, with exponential decay factors β1 and β2 set to 0.9 and 0.999, respectively, and the smoothing parameter ε set to 10−8. L2 regularization is also applied. The batch size is set to 200. To prevent overfitting, early stopping is used, with a patience value of 5. The specific algorithm flow is as follows:

# Local Feature Extraction Network

def local_feature_extractor(input_shape):

inputs = Input(shape = input_shape)

x = Conv1D(128, 7, padding = ’same’, kernel_initializer = he_normal(), bias_initializer = ’zeros’)(inputs)

x = LeakyReLU(alpha = 0.1)(x)

x = BatchNormalization()(x)

x = Dropout(0.3)(x)

x = Conv1D(128, 9, padding = ’same’, kernel_initializer = he_normal(), bias_initializer = ’zeros’)(x)

x = LeakyReLU(alpha = 0.1)(x)

x = BatchNormalization()(x)

x = Dropout(0.3)(x)

x = Conv1D(128, 5, padding = ’same’, kernel_initializer = he_normal(), bias_initializer = ’zeros’)(x)

x = LeakyReLU(alpha = 0.1)(x)

x = BatchNormalization()(x)

x = Dropout(0.3)(x)

return Model(inputs, x)

# Combined Model

def create_model(input_shape):

inputs = Input(shape = input_shape)

x = local_feature_extractor(input_shape)(inputs)

x = Bidirectional(LSTM(128))(x)

outputs = Dense(2, activation = ’softmax’)(x)

return Model(inputs, outputs)

# Parameters

input_shape = (None, 128)

model = create_model(input_shape)

optimizer = Adam(learning_rate = 0.003, beta_1 = 0.9, beta_2 = 0.999, epsilon = 1e-8)

model.compile(optimizer = optimizer, loss = ’categorical_crossentropy’, metrics = [’accuracy’])

# Training

early_stopping = EarlyStopping(patience = 5, restore_best_weights = True)

model.fit(train_data, train_labels, validation_data = (val_data, val_labels), epochs = 100, batch_size = 200, callbacks = [early_stopping], verbose = 1)

The design, optimization, and testing of the entire model were conducted on a workstation equipped with an Intel® Xeon® Gold 6138 CPU, 128 GB of RAM, and an NVIDIA GeForce RTX Quadro 6000 GPU. The system operates on a 64-bit Windows 10 platform and was implemented in Python using the TensorFlow 2.0.0 and Keras 2.3.1 frameworks. The training accuracy and loss variations of the proposed PCBM model during the training process are shown in Figs 3 and 4.

Fig 3. Accuracy variation curve during model training.

Fig 3

Fig 4. Loss variation curve during model training.

Fig 4

As shown in Figs 3 and 4, the accuracy on both the training and validation sets gradually increases as the training progresses, eventually reaching a stable state. Similarly, the training loss and validation loss exhibit a continuous downward trend, stabilizing at relatively low levels. These trends indicate that the model converges effectively, and the optimization algorithm demonstrates good adaptability. Moreover, a comparison between the training and validation curves does not reveal significant overfitting. This suggests that the regularization measures and early stopping strategy effectively prevent overfitting, ensuring an improvement in the model’s generalization capability.

4.2. Simulation results analysis

In order to verify the effectiveness of the techniques in the local feature extraction network and global feature extraction network designed in this chapter for algorithm enhancement, ablative simulation experiments will be carried out on the same dataset with a number of different models, and the detailed information is shown in Table 4.

Table 4. Information on different model configurations under the harmonized dataset.

Model name Network type activation function special assembly Number of neurons output layer architecture
1DCNN-ReLU Local Feature Extraction Network ReLU not have - Single-layer fully connected network with 2 neurons
1DCNN-LeakyReLU Local Feature Extraction Network LeakyReLU not have - Single-layer fully connected network with 2 neurons
2DCNN two-dimensional convolutional network - Spatial correlation mining - -
CNN+LSTM Global Feature Extraction Network - Single-layer LSTM 128 -
CNN+BiLSTM Global Feature Extraction Network - Single-layer LSTM 128 -
CNN+BiLSTMSA Global Feature Extraction Network - Bidirectional LSTM + single-headed self-attention mechanism 128 -
Our Model PCBM Dual Network Model Multiple activation functions Combination of local and global feature extraction networks manifold manifold

In this study, the number of secondary users (SUs) in the cognitive radio system was set to 32, and the primary user’s (PU) transmission power was varied from 100 mW to 1000 mW in increments of 100 mW. Under each transmission power condition, 200,000 data samples were simulated and subsequently divided into training, validation, and test sets in a 7:1:2 ratio.

As shown in Fig 5, different colors represent varying levels of spectrum utilization, with the gradient transitioning from deep purple to yellow, indicating lower to higher utilization levels, respectively. As the number of secondary users (SUs) increases from 16 to 48, the color in the heatmap gradually shifts toward yellow, signifying a significant improvement in spectrum utilization. This trend suggests that a larger number of SUs can utilize available spectrum resources more effectively, thereby reducing spectrum idleness and waste, and enhancing overall spectrum efficiency. Additionally, the heatmap illustrates spectrum utilization across different time slots and frequencies, providing an intuitive view of utilization patterns. Certain time slots exhibit higher spectrum utilization, likely due to temporal variations in SU activity. For example, periods of frequent SU activity correspond to increased utilization during those intervals. Furthermore, the frequency distribution of spectrum utilization demonstrates selectivity, which could be attributed to the physical properties of specific frequency bands or the limitations of SU devices.

Fig 5. Spectrum utilization under different SU counts.

Fig 5

As shown in Fig 6, spectrum utilization exhibits a significant upward trend as transmission power increases from 100 mW to 1000 mW. This indicates that higher transmission power effectively enhances the signal coverage and spectrum sensing capabilities of secondary users (SUs), thereby improving the efficiency of spectrum resource utilization. The heatmap’s color scheme transitions from deep purple (low utilization) to yellow (high utilization), clearly illustrating the increase in spectrum utilization with rising transmission power. Moreover, Fig 6 displays the distribution of spectrum utilization across different time slots and frequencies. Certain time slots exhibit higher utilization, reflecting the temporal regularity of SU activity, where frequent SU operations during these periods lead to greater spectrum resource usage. Additionally, at higher transmission power levels, spectrum utilization becomes more uniform across frequencies. This suggests that as transmission power increases, SUs achieve broader spectrum coverage, reducing resource waste caused by limited sensing capability.

Fig 6. Spectrum utilization under different transmission power levels.

Fig 6

4.3. Validity test analysis

With the experimental results of the perceptual errors of the three different models demonstrated in Table 5, we validate the effectiveness of the local feature extraction networks. The comparison results show that the perception errors of the two one-dimensional convolutional neural network (1DCNN) models are generally lower than those of the two-dimensional convolutional neural network (2DCNN) under all transmit power conditions. This finding suggests that mining spectral correlation is more effective than spatial correlation in the analysis of collaborative spectrum sensing data. This is because, when utilizing spatial correlation for collaborative spectrum sensing, the geographic locations of SUs and the relative distances between SUs must be accurately known, and the indexes of geographically neighboring SUs need to be neighboring in data indexing so that spatial correlation can work. In addition, the experiments show that the perception error of the 1DCNN model with the LeakyReLU activation function is slightly higher than that of the 1DCNN model with the ReLU activation function only at a transmit power of 500 mW. In all other test conditions, the LeakyReLU model demonstrated superior perceptual performance. This phenomenon is attributed to the fact that the LeakyReLU activation function is able to reduce the information loss and alleviate the gradient vanishing problem to a certain extent, as well as reduce the inactivity of the neurons, which effectively improves the overall performance of the model.

Table 5. Local feature extraction network ablative experimental perceptual error results.

Emission power (mW) Model Type
1DCNN-ReLU 1DCNN-LeakyReLU 2DCNNl%
100 22.3823 20.5729 23.9741
200 12.6101 11.3186 14.7376
300 10.0212 8.0383 10.6604
400 7.4437 6.6222 9.1906
500 4.4597 5.0483 5.8308
600 3.4914 3.0801 4.4268
700 2.7620 2.6606 3.7830
800 2.4147 1.8113 3.5076
900 2.1995 1.7064 2.5302
1000 1.5635 1.2982 2.1679

The experimental results presented in Table 6 and Fig 7, showcasing the sensing errors of four different models, validate the effectiveness of the global feature extraction network. Across all transmission power conditions, the PCBM model consistently demonstrates the lowest sensing error, particularly excelling when the PU transmission power is below 700 mW. For instance, at 100 mW, the error gap between PCBM and other models reaches up to 12%. This indicates that the PCBM model maintains superior sensing performance even under challenging wireless communication environments. Furthermore, the PCBM model outperforms existing deep learning-based CSS algorithms, such as CNN66 and LeNet-5, across all PU transmission power levels, demonstrating significant performance improvements. Specifically, compared to CNNI, which leverages spatial correlation, the PCBM model achieves lower sensing errors, highlighting its superior capability in extracting spectral data correlations. Compared with other deep learning models designed for multivariate sequential data, the PCBM model consistently achieves the lowest sensing error, showcasing its robust performance and learning capability.

Table 6. Global feature extraction network ablativity experiment perception error results.

Emission power (mW) Model Type
CNN+LSTM CNN+BiLSTM CNN+BiLSTM-SA Our Model
100 20.6782 20.3172 19.5298 19.0845
200 11.2741 10.8168 11.0386 9.9658
300 8.3828 7.4923 7.5011 7.2701
400 6.5905 5.7563 5.2850 5.6363
500 4.9234 4.0499 3.8416 4.2083
600 3.4241 3.1728 2.8497 2.7543
700 3.0420 2.7326 2.5506 2.5147
800 1.9795 1.8780 1.8184 1.6171
900 1.7654 1.8416 1.5297 1.4850
1000 1.4269 1.3840 1.3550 1.1154

Fig 7. Comparison of perception errors in ablation study of the global feature extraction network.

Fig 7

4.4. Comparative performance analysis

To further evaluate the perceptual performance of the proposed algorithm, this section conducts a comprehensive performance comparison with 10 related algorithms. Given the limited research on collaborative spectrum sensing based on deep learning, two representative methods in this area were selected. Additionally, eight deep learning models with strong performance in handling univariate or multivariate sequence data tasks were chosen as comparative algorithms. In the multi-model performance comparison, the same dataset partitioning, transmission power range (100 mW to 1000 mW), and secondary user (SU) counts (16, 24, 32, 40, 48) were used as benchmark testing conditions. To ensure fairness and scientific rigor in the comparison, unified baseline conditions were established, and four key performance metrics were introduced: perception error, training time, testing time, and spectrum utilization. Perception error evaluates model accuracy, training and testing times measure computational efficiency, and spectrum utilization reflects the model’s resource allocation capability in collaborative spectrum sensing. Furthermore, a comparative analysis of models such as CNN and LSTM was conducted to examine their characteristics in handling multivariate sequence data and to clarify the applicability of each model. The experiments were performed under identical computational resources and dataset partitions. Details of the 10 models are presented in Table 7.

Table 7. Detailed information of various deep learning models.

Model name Data-processing capacity feature extraction network Optimization Features Applicable Scenarios Data Processing Methods
CNN multivariate CNN Spatial correlation mining Collaborative Spectrum Awareness Spatial features are extracted using convolutional layers.
LeNet-5 multivariate LeNet-5 - Multi-user multi-channel CR system A hierarchical convolutional structure is employed to capture multivariate features.
MLP - MLP - Benchmark model for time series classification Fully connected layers are utilized to process multivariate sequences.
FCN Single/multiple variables FCN - Sequence data classification One-dimensional convolutional layers are applied to extract local features from multivariate sequence data.
EncoderFCN Single/multiple variables FCN+SA serial attention Sequence data classification A sequence attention mechanism is incorporated to enhance the capture of time-dependent features.
ResNet Single/multiple variables ResNet residual link Sequence data classification Deep convolutional layers with residual connections are used to handle complex multivariate data.
CTN univariate CTN - Classification of time series data Univariate Processing
InceptionTime multivariate Inception Multi-size convolutional kernel Serial classification Multi-scale convolution is employed to extract features at different temporal scales.
LSTMFCN Single/multiple variables FCN+LSTM dual network architecture Sequence data classification Temporal and local feature extraction are combined.
PCBM - dual network model - Designed for research Joint processing of spatial and temporal features is performed.

In this study, specific parameters were set for the cognitive radio system, where the transmission power of the primary user (PU) was adjusted from 100 mW to 1000 mW in increments of 100 mW. A series of simulation experiments was conducted under these conditions. At these varying power levels, a total of 2 million data samples were generated, forming the corresponding dataset. The dataset was then split into training, validation, and test sets in a ratio of 7:1:2, respectively.

In this study, the time consumption of various deep learning models during the training and detection phases is illustrated in Fig 8, where training time is measured in seconds and detection time in milliseconds. The results indicate that convolutional neural network (CNN)-based models exhibit lower time consumption during both training and detection, with an average training time of 135.98 seconds and a detection time of 0.1056 milliseconds. This efficiency is attributed to the local connectivity and parameter-sharing characteristics of CNNs. However, the time efficiency of CNN models comes at the cost of reduced capability in handling complex data. Their performance may be limited when dealing with multidimensional feature sequences or long-term dependencies. In contrast, models incorporating long short-term memory networks (LSTMs), such as LSTMFCN and the proposed model, require longer training and detection times due to the sequence-dependent nature of LSTM, which prevents parallel processing. Although the proposed model exhibits a higher detection time of 2.3262 milliseconds, this time is still in the millisecond range, which is typically acceptable in practical applications, especially in scenarios with lower real-time requirements or higher task accuracy demands.

Fig 8. Time consumption of different models.

Fig 8

To investigate the impact of user density on model performance, the study compared the sensing error of the proposed model with baseline models under different numbers of secondary users (SUs). In the experiments, the PU’s transmission power was set to 200 mW, and the number of SUs was configured at five levels: 16, 24, 32, 40, and 48. For each SU count, 200,000 data samples were simulated, resulting in a total dataset of 1,000,000 samples. The dataset was divided into training, validation, and test sets in a ratio of 70%, 10%, and 20%, respectively, and the models were evaluated under this configuration. The variation in SU numbers reflects not only the number of concurrent users in the system but also indirectly indicates the load of the cognitive radio system. Hence, studying scenarios with different SU counts helps assess the accuracy and adaptability of the models under increasing user density. The sensing errors under different SU counts are shown in Table 8 and Fig 9.

Table 8. Comparative experimental results with different numbers of Sus.

mould SU
16 24 32 40 48
CNN 27.0639 18.5088 14.7376 11.7406 9.3625
LeNet-5 28.0991 20.0407 15.0342 11.9215 8.7510
MLP 34.2809 24.8952 20.2451 15.8007 11.9953
FCN 28.3806 19.5295 12.5164 10.6687 7.9429
EncoderFCN 31.9472 21.3429 13.6161 11.1045 8.4001
ResNet 29.7637 19.9533 12.8564 10.8128 8.2601
CTN 30.6027 20.4270 13.9573 10.7721 9.0962
InceptionTime 27.2277 18.1932 11.5455 9.4806 6.9311
LSTMFCN 28.1610 19.4775 12.4816 10.4935 7.7724
Our Model 25.1659 16.1767 9.9658 8.4188 6.2300

Fig 9. Comparison of results of different methods under various SU counts.

Fig 9

The experimental results demonstrate that as the number of secondary users (SUs) increases, the sensing error of all models decreases significantly, confirming the positive impact of higher user density on spectrum sensing performance. This trend can be primarily attributed to the increased information availability in collaborative sensing, enabling models to make decisions based on more diverse input features. Additionally, the negative influence of individual user noise is mitigated in high-density scenarios. For example, when SU = 48, the proposed PCBM model achieved the lowest sensing error of 6.2300, outperforming other complex models such as ResNet (8.2601) and InceptionTime (6.9311), and showing a more pronounced advantage over traditional models like CNN (9.3625). The superiority of the PCBM model lies in its integration of the local feature extraction capabilities of convolutional neural networks (CNNs) and the global feature capturing ability of bidirectional long short-term memory networks (BiLSTMs). Furthermore, the incorporation of the multi-head self-attention mechanism (MHSA) effectively enhances the model’s capacity to learn the complex relationships among variables in sequential data. Although the training time of the PCBM model exhibits nonlinear growth with the increasing number of SUs (e.g., 406.5 seconds for SU = 16 and 1219.5 seconds for SU = 48), its detection time consistently remains within the millisecond range (e.g., 3.489 milliseconds for SU = 48). This demonstrates the model’s high computational efficiency and real-time applicability, making it suitable for complex scenarios with high user density. In conclusion, the proposed model not only exhibits outstanding sensing accuracy under varying user density conditions but also effectively balances computational resource consumption. This highlights its high adaptability and robustness in cognitive radio spectrum sensing tasks.

5. Discussion

This study developed a multi-user collaborative cognitive radio spectrum sensing model that integrates convolutional neural networks (CNNs) and long short-term memory networks (LSTMs), significantly improving the accuracy and efficiency of spectrum sensing. Leveraging deep learning techniques, the proposed model enables precise spectrum resource management in dynamic environments. The dual-network architecture combines the spatial sensing capabilities of the local feature extraction network (1D CNN) with the temporal dependency learning ability of the global feature extraction network (BiLSTM), demonstrating clear performance advantages in spectrum sensing tasks. Compared to traditional single-network models (e.g., models utilizing only CNNs or LSTMs), the dual-network design captures multi-scale features and long- and short-term temporal relationships in spectrum signals more comprehensively. This enhances the model’s representational power and adaptability in complex signal environments. The local feature extraction network is responsible for capturing fine-grained spectral features, while the global feature extraction network further learns long-term dependencies within the time series. This design effectively improves classification accuracy. Additionally, the multi-user collaboration mechanism employed in this study significantly enhances the model’s robustness and detection reliability. By integrating sensing results from multiple users, the collaboration mechanism mitigates the impact of misjudgments by individual users on overall performance, ensuring stable operation across varying noise levels and user densities. This collaborative approach aligns well with the practical requirements of cognitive radio networks, particularly in environments with high user density and elevated noise levels, where it demonstrates exceptional performance.

Compared to existing technologies, such as the CNN-based deep collaborative sensing framework developed by Lee et al. (2019), which primarily focuses on automatically learning and integrating sensing data from secondary users (SUs) within training samples, the method proposed in this study incorporates LSTMs to capture temporal dependencies, enhancing the model’s adaptability to signal fluctuations. Additionally, the proposed model is designed to monitor the spectrum effectively across diverse radio environments without requiring extensive adjustments for specific scenarios. While the approach by Gao et al. (2021) improved sensing accuracy by leveraging multi-agent reinforcement learning to optimize spectrum sensing strategies, it incurred higher synchronization and communication costs. In contrast, our CNN-LSTM structure reduces the reliance on centralized processing, lowers communication overhead, and decreases energy consumption while maintaining task efficiency. Similarly, the unsupervised deep transfer learning approach employed by Li et al. (2021) improved model generalization and robustness. This finding inspires us to consider integrating transfer learning strategies into the CNN-LSTM model to adapt to dynamic radio environments [42].

Despite the model’s exceptional performance across various scenarios, practical deployment poses challenges. For instance, under extremely low signal-to-noise ratios (SNRs) or non-ideal channel conditions, the model’s stability and accuracy may be affected. Moreover, in resource-constrained environments—such as embedded devices or mid-range hardware platforms—computational efficiency and inference performance could become critical limitations. Future research will focus on optimizing the model’s architecture, such as reducing the number of attention heads in the MHSA module or adjusting the number of neurons in the BiLSTM layers to manage computational complexity and memory requirements, thereby enhancing the model’s adaptability in low-resource environments. Deployment strategies on energy-efficient platforms will also be explored to ensure effective operation under diverse hardware conditions. In larger-scale cognitive radio networks, with significantly increased SU counts or heightened spectrum environment complexity, the model’s scalability is another crucial direction for future research. Although current results indicate that the PCBM model maintains robust sensing performance as user density increases, extending it to scenarios with even higher SU densities may require further optimization of its computational efficiency and sensing capabilities. To address these challenges, future work will investigate advanced deep learning methods, such as reinforcement learning and generative adversarial networks (GANs), to enhance the model’s generalization and adaptability to complex environments. Additionally, given the diverse and dynamic nature of radio spectrum environments, the application of transfer learning techniques will be explored to improve the model’s adaptability and generalization across different geographic regions and spectrum conditions. These advancements will not only increase the practical deployment value of the model but also provide comprehensive technical support for future cognitive radio networks. The ultimate goal of this research is to further optimize the model and conduct application-oriented studies, enabling the model to play a broader role in future wireless communication systems, particularly in achieving efficient spectrum sharing and dynamic management, thereby driving the continuous development of spectrum sensing technologies.

6. Conclusion

In this paper, a cognitive radio spectrum sensing model combining convolutional neural network (CNN) and long short-term memory network (LSTM) is constructed for multi-user collaborative scenarios. The model integrates the feature extraction function of CNN and the temporal data processing advantage of LSTM, which significantly improves the accuracy and efficiency of spectrum sensing. Through experimental validation, compared with traditional methods, the model shows greater advantages in dynamic spectrum environments, especially under the conditions of dealing with multi-user interference and frequent signal changes, and is able to more accurately determine the spectrum state.

Despite good results in theoretical research and experimental validation, the model’s performance in very low signal-to-noise ratio environments still faces challenges. Future research will focus on how to integrate more advanced deep learning techniques, such as augmented learning and adversarial networks, to further enhance the model’s generalization ability and flexibility in adapting to the environment. Given the complexity of the radio spectrum environment, future work will also explore the performance of the model in a wider range of cognitive radio network applications, as well as the validation of its effectiveness in different geographical environments. This study not only opens up new research avenues for spectrum sensing techniques in the field of cognitive radio, but also provides strong technical support for spectrum management and dynamic allocation of resources in future communication systems. Looking ahead, it is expected that the model will play a more critical role in promoting the advancement of wireless communication technology, especially in enhancing spectrum utilization efficiency and network performance.

Supporting information

S1 Dataset

(RAR)

pone.0316291.s001.rar (720.5KB, rar)

Data Availability

All relevant data are within the manuscript and its Supporting Information files.

Funding Statement

The author(s) received no specific funding for this work.

References

  • 1.FC Commission. (2003). Facilitating opportunities for flexible, efficient, and reliable spectrum use employing cognitive radio technologies. FCC Report, ET Docket 03, 322.
  • 2.Mitola J., & Maguire G. (1999). Cognitive radio: making software radios more personal. IEEE Wirel. Commun., 6, 13–18. 10.1109/98.788210. [DOI] [Google Scholar]
  • 3.Mitola, J. (1999). Cognitive radio for flexible mobile multimedia communications. 1999 IEEE International Workshop on Mobile Multimedia Communications (MoMuC’99) (Cat. No.99EX384), 3–10. 10.1109/MOMUC.1999.819467. [DOI]
  • 4.Chaturvedi, A., Bordoloi, D., Gupta, H., Rao, A., Singh, S., & Sankhyan, A. (2023). Cognition-Based Spectrum Sensing Techniques. 2023 3rd International Conference on Pervasive Computing and Social Networking (ICPCSN), 723–729. 10.1109/ICPCSN58827.2023.00125. [DOI]
  • 5.P.T., S., & N, S. (2023). An improved ensemble machine learning classifier for efficient spectrum sensing in cognitive radio networks. International Journal of Communication Systems, 37. 10.1002/dac.5651. [DOI] [Google Scholar]
  • 6.Lin S., Zheng B., Chen F., & Zhang R. (2022). Intelligent Reflecting Surface-Aided Spectrum Sensing for Cognitive Radio. IEEE Wireless Communications Letters, 11, 928–932. 10.1109/lwc.2022.3149834. [DOI] [Google Scholar]
  • 7.Singh K., Yadav P., Singh A., Dhiman G., & Cengiz K. (2021). Cooperative spectrum sensing optimization for cognitive radio in 6 G networks. Comput. Electr. Eng., 95, 107378. 10.1016/J.COMPELECENG.2021.107378. [DOI] [Google Scholar]
  • 8.Lorincz J., Ramljak I., & Begusic D. (2022). Analysis of the Impact of Detection Threshold Adjustments and Noise Uncertainty on Energy Detection Performance in MIMO-OFDM Cognitive Radio Systems. Sensors (Basel, Switzerland), 22. doi: 10.3390/s22020631 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Brito A., Sebastião P., & Velez F. (2021). Hybrid Matched Filter Detection Spectrum Sensing. IEEE Access, PP, 1–1. 10.1109/ACCESS.2021.3134796. [DOI] [Google Scholar]
  • 10.Abed, H., Abdullah, H., & Mahmood, M. (2021). Real Time Hardware Implementation of Cyclostationary Spectrum Sensing for Various Modulation Types Using USRP. 2021 7th International Conference on Space Science and Communication (IconSpace), 54–59. 10.1109/iconspace53224.2021.9768689. [DOI]
  • 11.Sheng X., & Wang S. (2021). Online Primary User Emulation Attacks in Cognitive Radio Networks Using Thompson Sampling. IEEE Transactions on Wireless Communications, 20, 8264–8273. 10.1109/TWC.2021.3091588. [DOI] [Google Scholar]
  • 12.Gao A., Du C., Ng S., & Liang W. (2021). A Cooperative Spectrum Sensing With Multi-Agent Reinforcement Learning Approach in Cognitive Radio Networks. IEEE Communications Letters, 25, 2604–2608. 10.1109/LCOMM.2021.3078442. [DOI] [Google Scholar]
  • 13.Chauhan P., Deka S., Chatterjee B., & Sarma N. (2021). Utility driven cooperative spectrum sensing scheduling for heterogeneous multi-channel cognitive radio networks. Telecommunication Systems, 78, 25–37. 10.1007/s11235-021-00785-y. [DOI] [Google Scholar]
  • 14.Wu K., Jiang H., & Tellambura C. (2022). Cooperative Sensing With Heterogeneous Spectrum Availability in Cognitive Radio. IEEE Transactions on Cognitive Communications and Networking, 8, 31–46. 10.1109/TCCN.2021.3085769. [DOI] [Google Scholar]
  • 15.Ali M., Yasir M. N., Bhatti D. M. S., & Nam H. (2022). Optimization of spectrum utilization efficiency in cognitive radio networks. IEEE Wireless Communications Letters, 12(3), 426–430. 10.1109/LWC.2022.3229110 [DOI] [Google Scholar]
  • 16.Ibadik, I., Ashari, A., Ariananda, D., & Dewanto, W. (2022). Frequency Domain Energy Detection for Multiband Spectrum Sensing in Cognitive Radio System. 2022 14th International Conference on Information Technology and Electrical Engineering (ICITEE), 7–12. 10.1109/ICITEE56407.2022.9954120. [DOI]
  • 17.Nasser A., Hassan H., Mansour A., Yao K., & Nuaymi L. (2022). Intelligent Reflecting Surfaces and Spectrum Sensing for Cognitive Radio Networks. IEEE Transactions on Cognitive Communications and Networking, 8, 1497–1511. 10.1109/TCCN.2022.3171212. [DOI] [Google Scholar]
  • 18.Fang J., Wang B., Li H., & Liang Y. (2021). Recent Advances on Sub-Nyquist Sampling-Based Wideband Spectrum Sensing. IEEE Wireless Communications, 28, 115–121. 10.1109/MWC.001.2000353. [DOI] [Google Scholar]
  • 19.Rojas A., & Dolecek G. (2023). Narrowband Spectrum Sensing: Fuzzy Logic Versus Deep Learning Systems. 2023 27th International Conference Electronics, 1–6. 10.1109/IEEECONF58372.2023.10177594. [DOI] [Google Scholar]
  • 20.Zhao R., Ruan Y., & Li Y. (2023). Cooperative Time-Frequency Localization for Wideband Spectrum Sensing With A Lightweight Detector. IEEE Communications Letters, 27, 1844–1848. 10.1109/LCOMM.2023.3280249. [DOI] [Google Scholar]
  • 21.Alfaqawi, M. (2022). Hybrid Cooperative Spectrum Sensing Algorithm for Cognitive Radio Networks. 2022 3rd International Conference on Electrical Engineering and Informatics (ICon EEI), 47–52. 10.1109/IConEEI55709.2022.9972303. [DOI]
  • 22.Ravisankar D., & Venkateswararao N. (2022). Ensemble Classifier with Heterogenous Fusion Center for Cooperative Spectrum Sensing in Cognitive Radio. J. Interconnect. Networks, 22, 2141035:1–2141035:20. 10.1142/s0219265921410358. [DOI] [Google Scholar]
  • 23.Arya S., & Chung Y. (2021). Spectrum Sensing for Optical Wireless Scattering Communications Over Málaga Fading—A Cooperative Approach With Hard Decision Fusion. IEEE Transactions on Communications, 69, 4615–4631. 10.1109/TCOMM.2021.3073968. [DOI] [Google Scholar]
  • 24.Wu J., Qiu Z., Dai M., Bao J., Xu X., & Cao W. (2024). Distributed Sequential Detection for Cooperative Spectrum Sensing in Cognitive Internet of Things. Sensors, 24(2), 688. doi: 10.3390/s24020688 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Gharib A., Ejaz W., & Ibnkahla M. (2021). Distributed Spectrum Sensing for IoT Networks: Architecture, Challenges, and Learning. IEEE Internet of Things Magazine, 4, 66–73. 10.1109/IOTM.0011.2000049. [DOI] [Google Scholar]
  • 26.Peng G., & Wu W. (2022). Fusion Schemes Based on IRS-Enhanced Cooperative Spectrum Sensing for Cognitive Radio Networks. Electronics, 11(16), 2533. 10.3390/electronics11162533. [DOI] [Google Scholar]
  • 27.Golvaei M., & Fakharzadeh M. (2021). A Fast Soft Decision Algorithm for Cooperative Spectrum Sensing. IEEE Transactions on Circuits and Systems II: Express Briefs, 68, 241–245. 10.1109/TCSII.2020.3010587. [DOI] [Google Scholar]
  • 28.Gupta, V., Sharan, S., Beniwal, N., & Choudhary, S. (2021). Cooperative Fusion rules in Spectrum Sensing. 2021 International Conference on Advance Computing and Innovative Technologies in Engineering (ICACITE), 432–435. 10.1109/icacite51222.2021.9404562. [DOI]
  • 29.Shi Z., Gao W., Zhang S., Liu J., & Kato N. (2020). Machine Learning-Enabled Cooperative Spectrum Sensing for Non-Orthogonal Multiple Access. IEEE Transactions on Wireless Communications, 19, 5692–5702. 10.1109/TWC.2020.2995594. [DOI] [Google Scholar]
  • 30.Lu, Y., Zhu, P., Wang, D., & Fattouche, M. (2016, April). Machine learning techniques with probability vector for cooperative spectrum sensing in cognitive radio networks. In 2016 IEEE wireless communications and networking conference (pp. 1–6). IEEE.
  • 31.Ghazizadeh E., Abbasi-Moghadam D., & Nezamabadi-pour H. (2018). An enhanced two‐phase SVM algorithm for cooperative spectrum sensing in cognitive radio networks. International Journal of Communication Systems, 32. 10.1002/dac.3856. [DOI] [Google Scholar]
  • 32.Lee W., Kim M., & Cho D. (2019). Deep Cooperative Sensing: Cooperative Spectrum Sensing Based on Convolutional Neural Networks. IEEE Transactions on Vehicular Technology, 68, 3005–3009. 10.1109/TVT.2019.2891291. [DOI] [Google Scholar]
  • 33.Nesraoui O., Teguig D., & Sadoudi S. (2024). SDR implementation of a light deep learning model based CNN for joint spectrum sensing and AMC. Physica Scripta, 99(5), 056008. [Google Scholar]
  • 34.Khichar S., Santipach W., Wuttisittikulkij L., Parnianifard A., & Chaudhary S. (2024). Efficient Channel Estimation in OFDM Systems Using a Fast Super-Resolution CNN Model. Journal of Sensor and Actuator Networks, 13(5), 55. [Google Scholar]
  • 35.Fan Y., Li Y., Liu Z., Wang W., Zhao Y., Zhang J., et al. (2023). Channel power equalization based on joint optimization of EDFA and ROADM configuration in open optical network. Optics express, 31 14, 23229–23244. doi: 10.1364/OE.493185 [DOI] [PubMed] [Google Scholar]
  • 36.Zhang W., Jiao L., Liu X., & Liu J. (2019). Multi-Scale Feature Fusion Network for Object Detection in VHR Optical Remote Sensing Images. IGARSS 2019–2019 IEEE International Geoscience and Remote Sensing Symposium, 330–333. 10.1109/IGARSS.2019.8897842. [DOI] [Google Scholar]
  • 37.Jia C., Wang S., Zhang X., Wang S., Liu J., Pu S., et al. (2019). Content-aware convolutional neural network for in-loop filtering in high efficiency video coding. IEEE Transactions on Image Processing, 28(7), 3343–3356. doi: 10.1109/TIP.2019.2896489 [DOI] [PubMed] [Google Scholar]
  • 38.Yıldırım Ö. (2018). A novel wavelet sequence based on deep bidirectional LSTM network model for ECG signal classification. Computers in Biology and Medicine, 96, 189–202. doi: 10.1016/j.compbiomed.2018.03.016 [DOI] [PubMed] [Google Scholar]
  • 39.Devarakonda B. V., & Nandanavanam V. (2023). Multi-Head Attention-Based Spectrum Sensing for Cognitive Radio. International journal of electrical and computer engineering systems, 14(2), 135–143. 10.32985/ijeces.14.2.3. [DOI] [Google Scholar]
  • 40.Wang R., Shi R., Hu X., & Shen C. (2021). Remaining useful life prediction of rolling bearings based on multiscale convolutional neural network with integrated dilated convolution blocks. Shock and Vibration, 2021(1), 6616861. doi: 10.1155/2021/6616861 [DOI] [Google Scholar]
  • 41.Gao H., Cai L., & Ji S. (2020). Adaptive Convolutional ReLUs. Proceedings of the AAAI Conference on Artificial Intelligence, 34(4), 3914–3921. 10.1609/AAAI.V34I04.5805 [DOI] [Google Scholar]
  • 42.Li L., Jiang H., & He H. (2021). Deep Transfer Cooperative Sensing in Cognitive Radio. IEEE Wireless Communications Letters, 10, 1354–1358. 10.1109/LWC.2021.3067508. [DOI] [Google Scholar]

Decision Letter 0

Sushank Chaudhary

12 Nov 2024

PONE-D-24-42942A novel multi-user collaborative cognitive radio spectrum sensing model: based on a CNN-LSTM modelPLOS ONE

Dear Dr. Wang,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Dec 27 2024 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

We look forward to receiving your revised manuscript.

Kind regards,

Sushank Chaudhary, Ph.D

Academic Editor

PLOS ONE

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. Please note that PLOS ONE has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.

3. We note that your Data Availability Statement is currently as follows: [All relevant data are within the manuscript and its Supporting Information files.]

Please confirm at this time whether or not your submission contains all raw data required to replicate the results of your study. Authors must share the “minimal data set” for their submission. PLOS defines the minimal data set to consist of the data required to replicate all study findings reported in the article, as well as related metadata and methods (https://journals.plos.org/plosone/s/data-availability#loc-minimal-data-set-definition).

For example, authors should submit the following data:

- The values behind the means, standard deviations and other measures reported;

- The values used to build graphs;

- The points extracted from images for analysis.

Authors do not need to submit their entire data set if only a portion of the data was used in the reported study.

If your submission does not contain these data, please either upload them as Supporting Information files or deposit them to a stable, public repository and provide us with the relevant URLs, DOIs, or accession numbers. For a list of recommended repositories, please see https://journals.plos.org/plosone/s/recommended-repositories.

If there are ethical or legal restrictions on sharing a de-identified data set, please explain them in detail (e.g., data contain potentially sensitive information, data are owned by a third-party organization, etc.) and who has imposed them (e.g., an ethics committee). Please also provide contact information for a data access committee, ethics committee, or other institutional body to which data requests may be sent. If data are owned by a third party, please indicate how others may request data access.

Additional Editor Comments:

In this work, authors explore a hybrid deep learning approach combining CNN and LSTM to enhance spectrum sensing in cognitive radio systems. The model leverages CNN for localized feature extraction and LSTM for handling sequential data, coupled with a multi-head self-attention mechanism to boost adaptability in dynamic environments. The study demonstrates the model’s improved perceptual accuracy, achieving lower error rates, especially under low-power conditions. Through simulation experiments, the proposed model outperforms alternative deep learning models in spectrum utilization and error reduction, indicating its potential for practical applications in multi-user CR networks. Please check my following comments:

1) While the CNN-LSTM architecture is effective, further detail on the rationale for selecting specific layer configurations (e.g., kernel sizes in CNN) would strengthen the manuscript. Including insights into how these parameters were chosen based on CR needs or prior works would be beneficial.

2) The multi-head self-attention mechanism is applied to improve adaptability, yet its practical implications on computational overhead are not fully addressed. Discussing any trade-offs between the performance gains and added complexity could provide a more balanced view.

3) The authors should add some more keyworks on CNN such as mentioned below:

a) https://doi.org/10.3390/jsan13050055

b) DOI 10.1088/1402-4896/ad395b

4) The results mention performance across varied power conditions, yet it would be helpful to analyze how changes in parameters such as user density or environmental noise impact the model’s accuracy and adaptability.

5) Given the use of deep learning in resource-constrained environments, discussing the model's computational efficiency, memory usage, and inference speed on standard devices would add value, especially when scaling to larger CR networks.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Partly

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: No

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: The research endeavors to address the intricate challenges that arise in dynamic spectrum environments through the strategic utilization of convolutional neural networks (CNNs) and long short-term memory networks (LSTMs).

By synergizing the capabilities of CNN for robust feature extraction and LSTM for meticulous sequential data analysis, the approach adeptly captures the intricate spatial and temporal relationships inherent in spectrum sensing tasks, ultimately culminating in heightened precision and computational efficiency.

Moreover, the collaborative multi-user framework substantially bolsters detection reliability by effectively mitigating the impact of individual user errors, thereby rendering this methodology exceptionally well-suited for deployment in practical cognitive radio networks.

In essence, the study emerges as a comprehensive and technically proficient exploration, characterized by its profound impact on the realms of spectrum management and cognitive radio networks, thereby paving the way for significant advancements in the field.

Reviewer #2: Detailed Comments:

Editorial Issues:

Several grammatical errors require correction.

Concepts and abbreviations are unclear, such as "SU," which could mean "secondary user," "sub-user," or "sub-level user."

Equation numbering in the text does not correspond with the numbering provided for each equation.

Figures should be embedded within the text rather than grouped at the end of the document.

Novelty of the Work:

The chosen methodology is widely covered in existing literature. It is unclear what makes the authors' approach to collaborative spectrum sensing novels.

The improvement in sensing efficiency through the specific methodology selected is not clearly demonstrated or explained.

System Model:

Since the detection scheme does not differentiate between spectrum use by primary users (PU) or secondary users (SU), and synchronization among SUs is not discussed, it is unclear how the authors addressed this issue.

Model Training and Evaluation:

The training process for the dual architecture, particularly in terms of local and global feature extraction networks, lacks clarity.

Model performance evaluation metrics (referred to as Perceived errors, sensing error) and the method for calculating these metrics are not explained.

The term "PCBM model" is used without clarification on which model this refers to.

The comparison lacks sufficient detail on how each of the 10 algorithms handles multivariate sequence data, as well as an adequate baseline comparison to evaluate their relative performance.

The color scheme in Figures 4 and 5 lacks explanation, particularly in terms of how it relates to collaborative spectrum sensing with different numbers of SUs and improvements in spectrum utilization.

In Figures 4 and 5, it is unclear whether the authors are referring to spectrum occupancy or utilization.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: Yes: Dr.P.Ezhumalai

Reviewer #2: No

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

Attachment

Submitted filename: review comments.docx

pone.0316291.s002.docx (29.9KB, docx)
PLoS One. 2025 Jan 15;20(1):e0316291. doi: 10.1371/journal.pone.0316291.r002

Author response to Decision Letter 0


20 Nov 2024

Dear,Reviewers:

We sincerely appreciate your thorough review of our manuscript and the valuable comments and suggestions you have provided. Your professional insights have not only helped us identify areas for improvement but also guided us in enhancing the quality of our research. We have carefully reviewed and addressed each of your comments and have made comprehensive revisions accordingly, hoping to meet your expectations.

Additional Editor Comments:

In this work, authors explore a hybrid deep learning approach combining CNN and LSTM to enhance spectrum sensing in cognitive radio systems. The model leverages CNN for localized feature extraction and LSTM for handling sequential data, coupled with a multi-head self-attention mechanism to boost adaptability in dynamic environments. The study demonstrates the model’s improved perceptual accuracy, achieving lower error rates, especially under low-power conditions. Through simulation experiments, the proposed model outperforms alternative deep learning models in spectrum utilization and error reduction, indicating its potential for practical applications in multi-user CR networks. Please check my following comments:

1) While the CNN-LSTM architecture is effective, further detail on the rationale for selecting specific layer configurations (e.g., kernel sizes in CNN) would strengthen the manuscript. Including insights into how these parameters were chosen based on CR needs or prior works would be beneficial.

Response:

Thank you for your valuable suggestions on our research. Based on your comments, we have added detailed explanations regarding the rationale behind specific layer configurations in the CNN-LSTM architecture to enhance the scientific rigor and clarity of our manuscript.

In the local feature extraction network, we selected a specific combination of convolutional kernel sizes (7, 9, 5) to better capture multi-scale features in spectrum data. This configuration allows the model to recognize frequency characteristics across different scales. Relevant literature has been cited to support the effectiveness of multi-scale kernel combinations in signal processing tasks. For the BiLSTM network in the global feature extraction layer, we conducted experimental validation on candidate neuron counts and determined that 128 neurons provided the optimal balance for feature capture and computational efficiency. Relevant studies supporting this configuration for signal classification tasks are also cited. The LeakyReLU activation function (with a coefficient of 0.1) was selected to alleviate the "dying ReLU" problem, while batch normalization and dropout were employed to accelerate model convergence and prevent overfitting. Relevant literature was cited to validate the effectiveness of these choices.

Through these adjustments, we aim to make the rationale for our model design clearer and better suited to meet the demands of spectrum sensing tasks in cognitive radio. We hope these modifications adequately address your feedback, and we thank you again for your review.

2) The multi-head self-attention mechanism is applied to improve adaptability, yet its practical implications on computational overhead are not fully addressed. Discussing any trade-offs between the performance gains and added complexity could provide a more balanced view.

Response:

Thank you for your valuable feedback on our study. Based on your suggestion regarding the computational impact of the multi-head self-attention (MHSA) mechanism, we have included a detailed discussion in our revised manuscript.

In our study, the MHSA mechanism was introduced to enhance the model's adaptability in complex signal environments. By increasing the number of heads, the model can capture complex inter-feature relationships across different positions, thus improving feature extraction comprehensiveness. However, while additional heads improve model performance, they also introduce extra computational costs. Our experiments indicate that when the number of heads increases from 1 to 8, the model achieves an optimal balance in detection accuracy and adaptability, with inference time and memory usage remaining within an acceptable range. When the number of heads is further increased to 16, both inference time and memory requirements rise significantly, with minimal improvement in detection accuracy, indicating diminishing returns.

Therefore, after weighing the trade-offs between model performance and computational cost, we chose 8 heads as the final configuration. This setup allows us to maintain high detection accuracy while controlling computational expenses, meeting the real-time demands of cognitive radio spectrum sensing.

Thank you again for your valuable insights, which have helped improve the scientific rigor and clarity of our manuscript

3) The authors should add some more keyworks on CNN such as mentioned below:

a) https://doi.org/10.3390/jsan13050055

b) DOI 10.1088/1402-4896/ad395b

Response:

We updated the manuscript by adding the recommended CNN-related keywords and supporting references to enhance the theoretical foundation of the study.

4) The results mention performance across varied power conditions, yet it would be helpful to analyze how changes in parameters such as user density or environmental noise impact the model’s accuracy and adaptability.

Response:

Thank you for your valuable suggestion! We have revised the manuscript to include a more detailed analysis of the impact of user density and environmental noise on the model's accuracy and adaptability. In the revised manuscript, we used the SU count as a measure of user density and compared the model's sensing error under five different user density conditions (SU = 16, 24, 32, 40, 48). The experimental results show that as user density increases, the sensing error significantly decreases, validating the model's adaptability in high user density scenarios. Additionally, we simulated different levels of environmental noise using transmission power (100mW to 1000mW) and analyzed the model's performance under high-noise (low transmission power) and low-noise (high transmission power) conditions. The results demonstrate that the proposed PCBM model maintains low sensing errors even in high-noise environments, exhibiting strong robustness. These supplementary analyses have been incorporated into the revised manuscript, and we believe they sufficiently address this concern. Thank you again for your insightful feedback!

5) Given the use of deep learning in resource-constrained environments, discussing the model's computational efficiency, memory usage, and inference speed on standard devices would add value, especially when scaling to larger CR networks.

Response:

Thank you for your valuable suggestion! In the revised manuscript, we have added an analysis of the model’s computational efficiency, memory usage, and inference speed. In the results analysis section, we discussed the PCBM model’s inference time and memory consumption based on experimental results. For instance, under high user density conditions (SU=48), the model achieves an inference time of 3.489 milliseconds per sample, demonstrating its ability to meet the real-time requirements of cognitive radio networks. Additionally, in the discussion section, we explored the model's adaptability in resource-constrained environments, such as potential strategies to reduce computational complexity by optimizing its structure (e.g., reducing the number of MHSA heads or BiLSTM neurons). For larger-scale cognitive radio networks (e.g., significantly increased SU counts), we analyzed potential computational challenges and proposed future research directions, such as leveraging transfer learning to enhance the model’s generalizability. We believe these additions sufficiently address the reviewer’s concerns. Thank you again for your insightful feedback!

Reviewer #1: The research endeavors to address the intricate challenges that arise in dynamic spectrum environments through the strategic utilization of convolutional neural networks (CNNs) and long short-term memory networks (LSTMs).

By synergizing the capabilities of CNN for robust feature extraction and LSTM for meticulous sequential data analysis, the approach adeptly captures the intricate spatial and temporal relationships inherent in spectrum sensing tasks, ultimately culminating in heightened precision and computational efficiency.

Moreover, the collaborative multi-user framework substantially bolsters detection reliability by effectively mitigating the impact of individual user errors, thereby rendering this methodology exceptionally well-suited for deployment in practical cognitive radio networks.

In essence, the study emerges as a comprehensive and technically proficient exploration, characterized by its profound impact on the realms of spectrum management and cognitive radio networks, thereby paving the way for significant advancements in the field.

Response:

Thank you for your recognition and support of this study! We are delighted that the work has been acknowledged and look forward to contributing further to the advancement of spectrum management and dynamic allocation in cognitive radio networks. Thank you again for your encouragement and feedback!

Reviewer #2: Detailed Comments:

Editorial Issues:

Several grammatical errors require correction.Concepts and abbreviations are unclear, such as "SU," which could mean "secondary user," "sub-user," or "sub-level user."

Response:

We appreciate the reviewer’s feedback. In response, we have thoroughly reviewed the manuscript to correct any grammatical errors. Regarding the abbreviation "SU," it specifically refers to "Secondary User" in this study. We have ensured that the full term is introduced when it first appears and consistently use the abbreviation "SU" throughout the manuscript.

Equation numbering in the text does not correspond with the numbering provided for each equation.

Response:

We appreciate the reviewer’s observation. In response, we have corrected all discrepancies between the equation numbering in the text and the numbering provided for each equation to ensure consistency and accuracy throughout the manuscript.

Figures should be embedded within the text rather than grouped at the end of the document.

Response:

We appreciate the reviewer’s observation. In the current version of the manuscript, all figures have been embedded within the text, located near the corresponding content, rather than being grouped at the end of the document. We have carefully reviewed the layout to ensure this placement is consistent.

Novelty of the Work:

The chosen methodology is widely covered in existing literature. It is unclear what makes the authors' approach to collaborative spectrum sensing novels.

The improvement in sensing efficiency through the specific methodology selected is not clearly demonstrated or explained.

Response:

We appreciate the reviewer’s insightful comments. In response, we have revised the introduction to emphasize the novelty of our approach to collaborative spectrum sensing, highlighting the unique contributions of this study. Additionally, we have added a detailed explanation in the results analysis section to demonstrate how the chosen methodology improves sensing efficiency, providing clear evidence to support the study's contributions.

System Model:

Since the detection scheme does not differentiate between spectrum use by primary users (PU) or secondary users (SU), and synchronization among SUs is not discussed, it is unclear how the authors addressed this issue.

Response:

In response, we have revised the manuscript to provide a detailed explanation of the differentiation between spectrum usage by primary users (PU) and secondary users (SU). These details have been thoroughly discussed in Section 3, “Model Construction,” where we explain the usage scenarios and clarify how synchronization among SUs is addressed. Additional details and examples have been included to enhance clarity.

Model Training and Evaluation:

The training process for the dual architecture, particularly in terms of local and global feature extraction networks, lacks clarity.

Model performance evaluation metrics (referred to as Perceived errors, sensing error) and the method for calculating these metrics are not explained.

Response:

Thank you for your valuable feedback. In the revisions, we have added the definition of sensing error and its rationale as a core evaluation metric, and clarified the training process of the dual-network architecture (1DCNN and BiLSTM) with a focus on the joint optimization strategy. Additionally, we have highlighted the innovations of the dual-network architecture and multi-user collaboration, demonstrating their performance improvements and practical applicability in complex signal environments. Thank you again for your insightful suggestions, which have helped improve the quality of the manuscript

The term "PCBM model" is used without clarification on which model this refers to.

Response:

Thank you for the valuable feedback. We have added a detailed definition and explanation of the PCBM model in the manuscript. The PCBM model (Parallel CNN_BiLSTM_MHSA) integrates Convolutional Neural Networks (CNN), Bidirectional Long Short-Term Memory Networks (BiLSTM), and Multi-Head Self-Attention (MHSA) mechanisms. Through the synergistic operation of local and global feature extraction networks, the model captures multi-scale spatial features and temporal dependencies of spectrum signals, while MHSA enhances feature expression capabilities. The model also incorporates a multi-user collaboration mechanism to optimize spectrum sensing performance, demonstrating significant improvements in accuracy and robustness under complex signal environments. These clarifications have been included in the manuscript. Thank you again for your insightful suggestions.

The comparison lacks sufficient detail on how each of the 10 algorithms handles multivariate sequence data, as well as an adequate baseline comparison to evaluate their relative performance.

Response:

We appreciate the reviewer’s valuable feedback. In response, we have expanded the discussion in Table 7 to include detailed explanations of how each of the 10 algorithms handles multivariate sequence data. Additionally, we have added a baseline comparison to provide a clearer evaluation of the relative performance of these algorithms.

The color scheme in Figures 4 and 5 lacks explanation, particularly in terms of how it relates to collaborative spectrum sensing with different numbers of SUs and improvements in spectrum utilization.

Response:

Thank you for the valuable feedback. We have added explanations in the manuscript regarding the color schemes in Figures 4 and 5 and their relationship with spectrum utilization improvements. Specifically, the colors transition from deep purple (low utilization) to yellow (high utilization), providing a clear visualization of the changes in spectrum utilization. Figure 4 illustrates the significant improvement in spectrum utilization as the number of SUs increases from 16 to 48, indicating that more secondary users can effectively utilize available spectrum resources. Meanwhile, Figure 5 demonstrates how increasing transmission power from 100mW to 1000mW leads to a more uniform distribution of spectrum utilization across time and frequency, reflecting enhanced sensing capabilities and reduced resource waste. We appreciate the reviewer’s suggestion, which has helped us clarify and refine the explanation of these figures.

In Figures 4 and 5, it is unclear whether the authors are referring to spectrum occupancy or utilization.

Response:

Thank you for your feedback. We have reviewed the manuscript and confirmed that Figures 4 and 5 both represent spectrum utilization, consistent with the rest of the paper. These figures illustrate the effects of SU counts and transmission power on spectrum utilization efficiency, respectively. The concept of spectrum occupancy is not addressed in the manuscript, ensuring no ambiguity in the presented data. We appreciate the reviewer’s suggestion, which has helped clarify the focus of our figures.

Once again, we extend our heartfelt gratitude f

Attachment

Submitted filename: Response to Reviewers.docx

pone.0316291.s003.docx (20.1KB, docx)

Decision Letter 1

Sushank Chaudhary

10 Dec 2024

A novel multi-user collaborative cognitive radio spectrum sensing model: based on a CNN-LSTM model

PONE-D-24-42942R1

Dear Dr. Wang,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice will be generated when your article is formally accepted. Please note, if your institution has a publishing partnership with PLOS and your article meets the relevant criteria, all or part of your publication costs will be covered. Please make sure your user information is up-to-date by logging into Editorial Manager at Editorial Manager® and clicking the ‘Update My Information' link at the top of the page. If you have any questions relating to publication charges, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Sushank Chaudhary, Ph.D

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Reviewers' comments:

Acceptance letter

Sushank Chaudhary

6 Jan 2025

PONE-D-24-42942R1

PLOS ONE

Dear Dr. Wang,

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now being handed over to our production team.

At this stage, our production department will prepare your paper for publication. This includes ensuring the following:

* All references, tables, and figures are properly cited

* All relevant supporting information is included in the manuscript submission,

* There are no issues that prevent the paper from being properly typeset

If revisions are needed, the production department will contact you directly to resolve them. If no revisions are needed, you will receive an email when the publication date has been set. At this time, we do not offer pre-publication proofs to authors during production of the accepted work. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few weeks to review your paper and let you know the next and final steps.

Lastly, if your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

If we can help with anything else, please email us at customercare@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Prof. Sushank Chaudhary

Academic Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Dataset

    (RAR)

    pone.0316291.s001.rar (720.5KB, rar)
    Attachment

    Submitted filename: review comments.docx

    pone.0316291.s002.docx (29.9KB, docx)
    Attachment

    Submitted filename: Response to Reviewers.docx

    pone.0316291.s003.docx (20.1KB, docx)

    Data Availability Statement

    All relevant data are within the manuscript and its Supporting Information files.


    Articles from PLOS ONE are provided here courtesy of PLOS

    RESOURCES