Spectrum Sensing Algorithm Based on Self-Supervised Contrast Learning
Abstract
:1. Introduction
- A spectrum sensing algorithm based on self-supervised contrast learning () is proposed. The residual network is designed as the backbone network in framework, and a large number of unlabeled samples are used to pre-train the backbone network by self-supervised comparative learning, and only a small number of labeled samples are used to fine-tune the linear layer. Compared with the existing supervised spectrum sensing algorithms, the proposed algorithm greatly reduces the dependence of model training on labeled samples.
- In order to improve the spectrum sensing performance and ensure the effect of model pre-training, according to the characteristics of communication signals, six data augmentation methods are designed by adding complex white Gaussian noise, frequency offset or Rayleigh fading and clipping. The simulation experiments results show that most effective data augmentation method is the combination of adding noise and symmetric clipping.
- The performance of the algorithm was evaluated by a large number of simulation experiments. Experimental results show that the performance of the proposed algorithm is better than the existing semi-supervised and energy detection algorithms. Only 10% of the labeled samples of the pre-training dataset were used to fine-tune the linear layer, when the is higher than −10 dB, the detection probability of the proposed algorithm can reach 100%, and the detection performance of the proposed algorithm is close to the existing supervised learning algorithm.
2. Related Work
3. Proposed Algorithm
3.1. Problem Description
3.2. Algorithm Design
3.2.1. Data Augmentation
3.2.2. Backbone Network Structure in SSCL Framework
3.2.3. Pre-Training
3.2.4. Fine-Tuning
3.3. Spectrum Sensing Algorithm
Algorithm 1 Algorithm. |
Require: unlabeled samples Y, a small number of labeled samples , the number of self-supervised training rounds , the number of fine-tuned training rounds ; |
Ensure: the parameters of feature extraction network and spectrum sensing classifier are optimal; |
|
4. Experimental Results
4.1. Dataset
4.2. Simulation Environment
4.3. The Influence of Different Data Augmentation Methods on
4.4. The Selection of Pre-Training Hyperparameters
4.5. Influence of Signal Length N and False Alarm Probability on Algorithm Performance
4.6. Performance Comparison of Different Algorithms
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Christodoulopoulos, K.; Varvarigos, E. Static and dynamic spectrum allocation in flexi-grid optical networks. In Proceedings of the 2012 14th International Conference on Transparent Optical Networks (ICTON), Coventry, UK, 2–5 July 2012; pp. 1–5. [Google Scholar]
- Haykin, S.; Setoodeh, P. Cognitive radio networks: The spectrum supply chain paradigm. In Proceedings of the 2012 14th International Conference on Transparent Optical Networks, Coventry, UK, 2–5 July 2012; Volume 1, pp. 3–28. [Google Scholar]
- Bayrakdar, M.E.; Atmaca, S.; Karahan, A. A slotted aloha-based cognitive radio network under capture effect in rayleigh fading channels. Turk. J. Electr. Eng. Comput. Sci. 2016, 24, 3. [Google Scholar] [CrossRef]
- Alnabelsi, S.H.; Salameh, H.B.; Saifan, R.R.; Darabkh, K.A. A multi-layer hyper-graph routing with jamming-awareness for improved throughput in full-duplex cognitive radio networks. Eur. J. Inform. Syst. 2022, 1, 3. [Google Scholar] [CrossRef]
- Eltabie, M.; Abdelkader, F.; Ghuniem, A. Incorporating primary occupancy patterns in compressive spectrum sensing. IEEE Access 2019, 7, 29096–29106. [Google Scholar] [CrossRef]
- Zheng, Y.; Xia, Y.; Wang, H. Spectrum sensing performance based on improved energy detector in cognitive radio networks. In Proceedings of the 2020 IEEE International Conference on Artificial Intelligence and Computer Applications (ICAICA), Dalian, China, 27–29 June 2020; pp. 405–408. [Google Scholar]
- Turkyilmaz, Y.; Senturk, A.; Bayrakdar, M. Employing machine learning based malicious signal detection for cognitive radio networks. Concurr. Comput. Pract. Exp. 2023, 35, e7457. [Google Scholar] [CrossRef]
- Zhang, X.; Gao, F.; Chai, R.; Jiang, T. Matched filter based spectrum sensing when primary user has multiple power levels. China Commun. 2015, 12, 21–31. [Google Scholar] [CrossRef]
- Sherbin, K.; Sindhu, V. Cyclostationary feature detection for spectrum sensing in cognitive radio network. In Proceedings of the 2019 International Conference on Intelligent Computing and Control Systems, Madurai, India, 15–17 May 2019; pp. 1250–1254. [Google Scholar]
- Zili, W.; Xiaoou, S.; Xiaorong, W. Spectrum sensing detection algorithm based on eigenvalue variance. In Proceedings of the 2019 IEEE 8th Joint International Information Technology and Artificial Intelligence Conference, Chongqing, China, 24–26 May 2019; pp. 1656–1659. [Google Scholar]
- IEEE Draft Framework and Process for Deep Learning Evaluation; IEEE: Piscataway, NJ, USA, 2022; pp. 1–30.
- Zhang, J.; He, Q.; Rui, H.; Xu, X. Multiband joint spectrum sensing via covariance matrix-aware convolutional neural network. IEEE Commun. Lett. 2022, 26, 1578–1582. [Google Scholar] [CrossRef]
- Xie, D.; Liu, C.; Liang, Y. Activity pattern aware spectrum sensing:a CNN-based deep learning approach. IEEE Commun. Lett. 2019, 23, 1025–1028. [Google Scholar] [CrossRef]
- Chew, D.; Cooper, B. Spectrum sensing in interference and noise using deep learning. In Proceedings of the 2020 54th Annual Conference on Information Sciences and Systems, Princeton, NJ, USA, 18–20 March 2020. [Google Scholar]
- Xu, M.; Yin, Z.; Wu, M.; Wu, Z.; Zhao, Y.; Gao, Z. Spectrum sensing based on parallel CNN-LSTM network. In Proceedings of the 2020 IEEE 91st Vehicular Technology Conference, Antwerp, Belgium, 25–28 May 2020; pp. 1–5. [Google Scholar]
- Jianxin, G.; Xianfeng, X.; Ruixiang, N.; Jingyi, W. Spectrum sensing method for residual-dense networks. J. Commun. 2021, 42, 182–191. [Google Scholar]
- Zheng, S.; Chen, S.; Qi, P.; Zhou, H.; Yang, X. Spectrum sensing based on deep learning classification for cognitive radios. China Commun. 2020, 17, 138–148. [Google Scholar] [CrossRef]
- Cong, Z.; Changwen, J.; Rong, D. Spectrum perception scheme based on convolutional neural network and attention mechanism. Wirel. Commun. Tech. 2022, 31, 1–5. [Google Scholar]
- Yupei, Z.; Zhiji, Z. Limited data spectrum sensing based on semi-supervised deep neural network. IEEE Access 2021, 9, 166423–166435. [Google Scholar]
- Xie, J.; Fang, J.; Liu, C.; Yang, L. Unsupervised deep spectrum sensing: A variational auto-encoder based approach. IEEE Trans. Veh. Technol. 2020, 69, 5307–5319. [Google Scholar] [CrossRef]
- LeKhac, P.; Healy, G.; Smeaton, A. Contrastive representation learning: A framework and review. IEEE Access 2020, 8, 193907–193934. [Google Scholar] [CrossRef]
- Kaiming, H.; Haoqi, F.; Yuxin, W.; Saining, X.; Girshick, R. Momentum contrast for unsupervised visual representation learning. arXiv 2019, arXiv:1911.05722. [Google Scholar]
- Niizumi, D.; Takeuchi, Y.; Ohishi, N.; Kashino, K. BYOL for audio: Self-supervised learning for general-purpose audio representation. In Proceedings of the 2021 International Joint Conference on Neural Networks, Shenzhen, China, 18–22 July 2021; pp. 1–8. [Google Scholar]
- Chen, X.; Fan, H.; Girshick, R.; He, K. Improved baselines with mo-mentum contrastive learning. arXiv 2020, arXiv:2003.04297. [Google Scholar]
- Chen, T.; Kornblith, S.; Norouzi, M.; Hinton, G. A simple framework for contrastive learning of visual representations. arXiv 2020, arXiv:2002.05709. [Google Scholar]
- Jeanbastien, G.; Florian, S.; Florent, A.; Corentin, T.; Pierre, R. Bootstrap your own latent: A new approach to self-supervised learning. Adv. Neural Inf. Process. Syst. 2020, 33, 21271–21284. [Google Scholar]
- Khan, A.; AlBarri, S.; Manzoor, M. Contrastive Self-supervised learning: A survey on different architectures. In Proceedings of the 2022 2nd International Conference on Artificial Intelligence, Islamabad, Pakistan, 30–31 March 2022; pp. 1–6. [Google Scholar]
- Shea, J.; West, N. Radio machine learning dataset generation with GNU radio. In Proceedings of the GNU Radio Conference, Virtually, 26–30 September 2016. [Google Scholar]
References | Learning Ways | Networks | Input Features |
---|---|---|---|
[12] | supervised | CNN | covariance matrix |
[13] | supervised | CNN | covariance matrix |
[14] | supervised | CNN | spectrogram |
[15] | supervised | CNN+LSTM | IQ |
[16] | supervised | ResNet | Grayscale map |
[17] | supervised | ResNet | power spectrum |
[18] | supervised | CBAM | covariance matrix |
[19] | semi-supervised | CNN | IQ |
[20] | unsupervised | VAE | RGB image |
Indexes | Network Layers | Output Dimensions |
---|---|---|
1 | input | |
2 | ||
3 | ||
4 | residual block(b), 32 | |
5 | residual block(b), 32 | |
6 | residual block(a), 64 | |
7 | residual block(b), 64 | |
8 | residual block(a), 128 | |
9 | residual block(b), 128 | |
10 | residual block(a), 256 | |
11 | residual block(b), 256 | |
12 | , AvgPool1d |
Hyperparameters | Values |
---|---|
epoch | 35 |
Initial learning rate | 0.01 |
Learning rate decline cycle | 10 |
Coefficient of learning rate decline | 0.1 |
optimizer | Adam |
batch size | 64 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Li, X.; Zhao, Z.; Zhang, Y.; Zheng, S.; Dai, S. Spectrum Sensing Algorithm Based on Self-Supervised Contrast Learning. Electronics 2023, 12, 1317. https://doi.org/10.3390/electronics12061317
Li X, Zhao Z, Zhang Y, Zheng S, Dai S. Spectrum Sensing Algorithm Based on Self-Supervised Contrast Learning. Electronics. 2023; 12(6):1317. https://doi.org/10.3390/electronics12061317
Chicago/Turabian StyleLi, Xinyu, Zhijin Zhao, Yupei Zhang, Shilian Zheng, and Shaogang Dai. 2023. "Spectrum Sensing Algorithm Based on Self-Supervised Contrast Learning" Electronics 12, no. 6: 1317. https://doi.org/10.3390/electronics12061317
APA StyleLi, X., Zhao, Z., Zhang, Y., Zheng, S., & Dai, S. (2023). Spectrum Sensing Algorithm Based on Self-Supervised Contrast Learning. Electronics, 12(6), 1317. https://doi.org/10.3390/electronics12061317