Abstract
In cognitive radio (CR) systems, the accurate detection of spectrum holes is a cornerstone for efficient spectrum utilization. However, the increasing complexity of CR environments, particularly those with multiple primary users (PUs), has made precise spectrum sensing a paramount challenge. To address this challenge, this study introduces the ATC model, a novel deep learning architecture that integrates a parallel combination of attention mechanism-based networks and a Convolutional Neural Network (CNN). This hybrid design enables the model to capture both spatial and temporal features from the distinct statistics of sensing signals, thereby enhancing the accuracy of spectrum state detection. The model employs a Graph Attention Network (GAT) to extract complex topological features from graph-structured data derived from received signal strength, dynamically highlighting the most relevant information. To complement this, a CNN processes the sample covariance matrix of sensing signals, unlocking localized statistical correlations and hierarchical feature representations by treating the matrix as an image. Temporal dynamics, such as PU activity patterns, are modeled using a Transformer encoder, which leverages a self-attention mechanism to learn sequential features effectively. The proposed model is evaluated using both simulated and real-world datasets. For the simulated datasets, the model is assessed and compared with baseline methods under multi-PU scenarios across different channel models. For the real-world dataset, the experimental setup is configured for a single-PU scenario due to practical data collection limitations. In both cases, the ATC model demonstrates improved performance over the benchmarked spectrum sensing methods, exhibiting higher accuracy and robustness within the respective evaluation settings.
Similar content being viewed by others
Data availability
The datasets generated and/or analysed during the current study are not publicly available due to institutional restrictions, but are available from the corresponding author on reasonable request.
References
Devroye, N., Vu, M. & Tarokh, V. Cognitive radio networks. IEEE Signal Process. Mag. 25, 12–23 (2008).
Wang, B. & Liu, K. R. Advances in cognitive radio networks: A survey. IEEE J. Select. Top. Signal Process. 5, 5–23 (2010).
Alias, D. M. et al. Cognitive radio networks: A survey. In 2016 International Conference on Wireless Communications, Signal Processing and Networking (WiSPNET) (ed. Alias, D. M.) 1981–1986 (IEEE, 2016).
Akyildiz, I. F., Lo, B. F. & Balakrishnan, R. Cooperative spectrum sensing in cognitive radio networks: A survey. Phys. Commun. 4, 40–62 (2011).
Cichoń, K., Kliks, A. & Bogucka, H. Energy-efficient cooperative spectrum sensing: A survey. IEEE Commun. Surv. Tutorials 18, 1861–1886 (2016).
Thilina, K. M., Choi, K. W., Saquib, N. & Hossain, E. Machine learning techniques for cooperative spectrum sensing in cognitive radio networks. IEEE J. Sel. Areas Commun. 31, 2209–2221 (2013).
Janu, D., Singh, K. & Kumar, S. Machine learning for cooperative spectrum sensing and sharing: A survey. Trans. Emerg. Telecommun. Technol. 33, e4352 (2022).
Somula, L. R. & Meena, M. K-nearest neighbour (knn) algorithm based cooperative spectrum sensing in cognitive radio networks. In 2022 IEEE 4th International Conference on Cybernetics, Cognition and Machine Learning Applications (ICCCMLA), 1–6 xIEEE, (2022).
Parimala, V. & Devarajan, K. Modified fuzzy c-means and k-means clustering based spectrum sensing using cooperative spectrum for cognitive radio networks applications. J. Intell. Fuzzy Syst. 43, 3727–3740 (2022).
Kumar, V., Kandpal, D. C., Jain, M., Gangopadhyay, R. & Debnath, S. K-mean clustering based cooperative spectrum sensing in generalized \(k\)-\(\mu\) fading channels. In 2016 Twenty Second National Conference on Communication (NCC), 1–5, https://doi.org/10.1109/NCC.2016.7561130 Guwahati, India, (2016).
Arkwazee, M., Ilyas, M. & Jasim, A. D. Automatic spectrum sensing techniques using support vector machine in cognitive radio network. In 2022 Second International Conference on Advances in Electrical, Computing, Communication and Sustainable Technologies (ICAECT), 1–6 IEEE, (2022).
Xu, M. et al. Cooperative spectrum sensing based on multi-features combination network in cognitive radio network. Entropy 24, 129 (2022).
Cai, L., Cao, K., Wu, Y. & Zhou, Y. Spectrum sensing based on spectrogram-aware cnn for cognitive radio network. IEEE Wirel. Commun. Lett. 11, 2135–2139 (2022).
Liu, C., Liu, X. & Liang, Y.-C. Deep cnn for spectrum sensing in cognitive radio. In 2019 IEEE International Conference on Communications (ICC), 1–6 (2019).
Liu, C., Wang, J., Liu, X. & Liang, Y.-C. Deep cm-cnn for spectrum sensing in cognitive radio. IEEE J. Sel. Areas Commun. 37, 2306–2321 (2019).
Balwani, N., Patel, D. K., Soni, B. & Lopez-Benitez, M. Long short-term memory based spectrum sensing scheme for cognitive radio. In 2019 IEEE 30th Annual International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC), 1–6 (2019).
Soni, B., Patel, D. K. & Lopez-Benitez, M. Long short-term memory based spectrum sensing scheme for cognitive radio using primary activity statistics. IEEE Access 8, 97437–97451 (2020).
Janu, D., Kumar, S. & Singh, K. A graph convolution network based adaptive cooperative spectrum sensing in cognitive radio network. IEEE Trans. Veh. Technol. 72, 2269–2279 (2022).
Veličković, P. et al. Graph attention networks. arXiv preprint arXiv:1710.10903 (2017).
Vrahatis, A. G., Lazaros, K. & Kotsiantis, S. Graph attention networks: a comprehensive review of methods and applications. Future Internet 16, 318 (2024).
Vaswani, A. et al. Attention is all you need. Advances in neural information processing systems30 (2017).
Kumar, A. et al. Analysis of spectrum sensing using deep learning algorithms: Cnns and rnns. Ain Shams Eng. J. 15, 102505 (2024).
López-Benítez, M. & Casadevall, F. Improved energy detection spectrum sensing for cognitive radio. IET Commun. 6, 785–796 (2012).
Salahdine, F., El Ghazi, H., Kaabouch, N. & Fihri, W. F. Matched filter detection with dynamic threshold for cognitive radio networks. In 2015 international conference on wireless networks and mobile communications (WINCOM), 1–6 (IEEE, 2015).
Zhang, Y. & Luo, Z. A review of research on spectrum sensing based on deep learning. Electronics 12, 4514 (2023).
Zheng, S. et al. Cooperative spectrum sensing and fusion based on tangle networks. IEEE Trans. Netw. Sci. Eng. 9, 3614–3632 (2022).
Rangaraj, N., Jothiraj, S. & Balu, S. Hybrid optimized secure cooperative spectrum sensing for cognitive radio networks. Wireless Pers. Commun. 124, 1209–1227 (2022).
Ma, J., Zhao, G. & Li, Y. Soft combination and detection for cooperative spectrum sensing in cognitive radio networks. IEEE Trans. Wireless Commun. 7, 4502–4507 (2008).
Mi, Y., Lu, G., Li, Y. & Bao, Z. A novel semi-soft decision scheme for cooperative spectrum sensing in cognitive radio networks. Sensors 19, 2522 (2019).
Malik, S. A. et al. Comparative analysis of primary transmitter detection based spectrum sensing techniques in cognitive radio systems. Aust. J. Basic Appl. Sci. 4, 4522–4531 (2010).
Sahithi, A. D., Priya, E. L. & Pratap, N. Analysis of energy detection spectrum sensing technique in cognitive radio. Int. J. Sci. Technol. Res. 9, 1772–1778 (2020).
Vijay, E. V. & Aparna, K. Rnn-birnn-lstm based spectrum sensing for proficient data transmission in cognitive radio. E-Prime-Adv. Electr. Eng. Electron. Energy 6, 100378 (2023).
Huang, W., Wang, Y., Yuan, H. & Hu, Y. Cooperative spectrum sensing algorithm based on eigenvalue and graph convolutional network. IEEE Sensors J. (2025).
Bai, W. et al. Cooperative spectrum sensing method based on channel attention and parallel cnn-lstm. Digit. Signal Process. 158, 104963 (2025).
Fang, X., Jin, M., Guo, Q. & Jiang, T. Cnn-transformer based cooperative spectrum sensing in cognitive radio networks. IEEE Wirel. Commun. Lett. (2025).
Galassi, A., Lippi, M. & Torroni, P. Attention in natural language processing. IEEE Trans. Neural Netw. Learn. Syst. 32, 4291–4308 (2020).
Guo, M.-H. et al. Attention mechanisms in computer vision: A survey. Computat. Visual Media 8, 331–368 (2022).
Choi, S. R. & Lee, M. Transformer architecture and attention mechanisms in genome data analysis: A comprehensive review. Biology 12, 1033 (2023).
Zhang, W., Wang, Y., Chen, X., Cai, Z. & Tian, Z. Spectrum transformer: An attention-based wideband spectrum detector. IEEE Trans. Wireless Commun. 23, 12343–12353 (2024).
Bai, W., Zheng, G., Xia, W., Mu, Y. & Xue, Y. Multi-user opportunistic spectrum access for cognitive radio networks based on multi-head self-attention and multi-agent deep reinforcement learning. Sensors 25, 2025 (2025).
Du, W., Wang, Y. & Qiao, Y. Recurrent spatial-temporal attention network for action recognition in videos. IEEE Trans. Image Process. 27, 1347–1360 (2017).
Hu, J., Shen, L. & Sun, G. Squeeze-and-excitation networks. In: Proc. IEEE conference on computer vision and pattern recognition, 7132–7141 (2018).
Xi, H., Guo, W., Yang, Y., Yuan, R. & Ma, H. Cross-attention mechanism-based spectrum sensing in generalized gaussian noise. Sci. Rep. 14, 23261 (2024).
Janu, D., Mushtaq, F., Mandia, S., Singh, K. & Kumar, S. Mobility-aware spectrum sensing using transformer-driven tiered structure. IEEE Commun. Lett. Massformer, (2025).
Xu, C., Jiang, B. & Su, Y. Transconvnet: Perform perceptually relevant driver’s visual attention predictions. Comput. Electr. Eng. 115, 109104 (2024).
Meneghello, F., Dal Fabbro, N., Garlisi, D., Tinnirello, I. & Rossi, M. A CSI Dataset for Wireless Human Sensing on 80 MHz Wi-Fi Channels. IEEE Commun. Magaz. (2023).
Funding
This work was supported in part by the regular research funding program (2025) of Le Quy Don Technical University under grant number 25.01.33, in part by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (No. 2022R1F1A1065516 and No. RS-2025-24523038) (O.-J.L.), and in part by the Research Fund, 2025 of The Catholic University of Korea (M-2025-B0002-00053) (O.-J.L.).
Author information
Authors and Affiliations
Contributions
D.T.L., Q.T.N., L.V.N., and O.-J.L. conceived and designed the experiments, conducted the experiments, and analyzed the results. All authors contributed to writing, reviewing, and approving the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Lan, D.T., Ngo, Q.T., Nguyen, L.V. et al. A multi-branch network for cooperative spectrum sensing via attention-based and CNN feature fusion. Sci Rep (2026). https://doi.org/10.1038/s41598-026-36031-1
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-026-36031-1


