An Anomaly Detection Algorithm Based on Ensemble Learning for 5G Environment

Sensors (Basel). 2022 Sep 30;22(19):7436. doi: 10.3390/s22197436.

Abstract

With the advent of the digital information age, new data services such as virtual reality, industrial Internet, and cloud computing have proliferated in recent years. As a result, it increases operator demand for 5G bearer networks by providing features such as high transmission capacity, ultra-long transmission distance, network slicing, and intelligent management and control. Software-defined networking, as a new network architecture, intends to increase network flexibility and agility and can better satisfy the demands of 5G networks for network slicing. Nevertheless, software-defined networking still faces the challenge of network intrusion. We propose an abnormal traffic detection method based on the stacking method and self-attention mechanism, which makes up for the shortcoming of the inability to track long-term dependencies between data samples in ensemble learning. Our method utilizes a self-attention mechanism and a convolutional network to automatically learn long-term associations between traffic samples and provide them to downstream tasks in sample embedding. In addition, we design a novel stacking ensemble method, which computes the sample embedding and the predicted values of the heterogeneous base learner through the fusion module to obtain the final outlier results. This paper conducts experiments on abnormal traffic datasets in the software-defined network environment, calculates precision, recall and F1-score, and compares and analyzes them with other algorithms. The experimental results show that the method designed in this paper achieves 0.9972, 0.9996, and 0.9984 in multiple indicators of precision, recall, and F1-score, respectively, which are better than the comparison methods.

Keywords: 5G; SDN; anomaly detection; ensemble learning; self-attention.

MeSH terms

  • Algorithms*
  • Cloud Computing
  • Learning
  • Machine Learning
  • Software*

Grants and funding

This paper was supported by the Key Technology Research and Development Program of the Zhejiang Province under Grant No. 2022C01125, the National Natural Science Foundation of China under Grant No. 62072146.