| Literature DB >> 36236536 |
Lifeng Lei1, Liang Kou1, Xianghao Zhan1, Jilin Zhang1, Yongjian Ren1.
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.Entities:
Keywords: 5G; SDN; anomaly detection; ensemble learning; self-attention
Mesh:
Year: 2022 PMID: 36236536 PMCID: PMC9573199 DOI: 10.3390/s22197436
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Figure 1SDN network architecture diagram.
Figure 2Adaptive ensemble learning model based on the self-attention mechanism.
Figure 3Flow chart of TSMASAM experiment.
Figure 4Label distribution in the dataset.
Comparative experiment between TSMASAM and the machine learning-based anomaly detection algorithm.
| Model | Precision | Recall | F1-Score |
|---|---|---|---|
|
| 0.7799 | 0.7057 | 0.7403 |
|
| 0.7968 | 0.7630 | 0.7792 |
|
| 0.8108 | 0.7043 | 0.7491 |
|
| 0.7988 | 0.6912 | 0.7378 |
|
| 0.8219 | 0.6757 | 0.7323 |
|
| 0.8002 | 0.5627 | 0.6456 |
|
|
|
|
|
Comparative experiment between TSMASAM and the anomaly detection algorithm based on ensemble learning.
| Model | Precision | Recall | F1-Score |
|---|---|---|---|
|
|
|
|
|
|
| 0.7784 | 0.6240 | 0.6895 |
|
| 0.7784 | 0.7920 | 0.7885 |
|
| 0.7656 | 0.6278 | 0.6892 |
|
| 0.9972 | 0.9996 | 9984 |
Figure 5The loss curve of the TSMASAM model.
The impact of the Sample Associative Learning on the model.
| Model | Precision | Recall | F1-Score |
|---|---|---|---|
|
| 0.8059 | 0.8893 | 0.8390 |
|
|
|
|
|
The performance of the base learner on the dataset.
| Model | Precision | Recall | F1-Score |
|---|---|---|---|
|
| 0.9973 | 0.9966 | 0.9970 |
|
| 0.8017 | 1.0000 | 0.8899 |
|
| 0.8018 | 1.0000 | 0.8900 |
TSMASAM performance on other datasets.
| Model | Precision | Recall | F1-Score |
|---|---|---|---|
|
| 0.9978 | 0.9981 | 0.9978 |
|
| 0.8051 | 0.9293 | 0.8627 |
|
| 0.9972 | 0.9996 | 0.9984 |
Ablation experiment.
| Base Leaner | Precision | Recall | F1-Score | Time |
|---|---|---|---|---|
| CNN(kernel_size = 5), Lenet, Lstm(hidden_size = 128, hidden_layer = 3) | 0.9978 | 0.9981 | 0.9978 | 1.3970-10 |
| CNN(kernel_size = 3), Lenet, Lstm(hidden_size = 128, hidden_layer = 3) | 0.9967 | 0.9971 | 0.9969 | 8.2888-10 |
| CNN(kernel_size = 5), Lenet, Lstm(hidden_size = 128, hidden_layer = 10) | 0.8016 | 1.0000 | 0.8899 | 8.9873-10 |
| CNN(kernel_size = 5), Lenet, Lstm(hidden_size = 64, hidden_layer = 3) | 0.9942 | 0.9899 | 0.9920 | 8.3121-10 |
| CNN(kernel_size = 3), Lenet, Lstm(hidden_size = 64, hidden_layer = 3) | 0.9899 | 0.9994 | 0.9946 | 8.8011-10 |
| CNN(kernel_size = 5), Lenet, Lstm(hidden_size = 64, hidden_layer = 10) | 0.8016 | 1.0000 | 0.8899 | 8.8915-10 |