收藏切换
Network Traffic Classification Method Improved Based on Data Augmentation and CNN-Optuna-Attention
收藏切换
PDF
Hao-yao TANG, Xin CUI*, Yi-wei ZHANG, Qing-hui ZHAO
Science Technology and Engineering | 2025, 25(15) : 6419 - 6430
Less
收藏切换
Science Technology and Engineering | 2025, 25(15): 6419-6430
Papers·Automation and Computational Technology
Network Traffic Classification Method Improved Based on Data Augmentation and CNN-Optuna-Attention
Full
Hao-yao TANG, Xin CUI*, Yi-wei ZHANG, Qing-hui ZHAO
Affiliations
  • School of Computer Science and Technology, Shandong University of Technology, Zibo 255049, China
Published: 2025-05-28 doi: 10.12404/j.issn.1671-1815.2404568
Outline
收藏切换

In order to improve the accuracy of network traffic classification, a traffic classification method combining an attention mechanism and a convolutional neural network was proposed. An attention mechanism layer was designed and implemented on the basis of the convolutional neural network model, which received the output of the fully connected layer as input, calculated the weight of the input features, and multiplied it by the original features to strengthen the key features. This, in turn, helped to improve the model's ability to capture key information. Secondly, in order to solve the problem that the model was overfitting to the high-proportion category due to the unbalanced sample number of network traffic categories, and it was difficult to identify the small-proportion categories, a method to augment the dataset was proposed. Considering the perspective of hyperparameter combination optimization, a hyperparameter search strategy based on Bayesian optimization and five-fold cross-validation was proposed to optimize the hyperparameter combination of the model. The combination of hyperparameters of the model was determined by the above methods. The public dataset was used for the above experiments and model tests. The results show that compared with other methods, the overall accuracy, precision, and F1 score are significantly improved, which verifies that the proposed method has better classification performance.

deep learning  /  traffic classification  /  attention mechanisms  /  convolutional neural networks  /  hyperparameter optimization  /  five-fold cross-validation
Hao-yao TANG, Xin CUI, Yi-wei ZHANG, Qing-hui ZHAO. Network Traffic Classification Method Improved Based on Data Augmentation and CNN-Optuna-Attention[J]. Science Technology and Engineering, 2025 , 25 (15) : 6419 -6430 . DOI: 10.12404/j.issn.1671-1815.2404568
Year 2025 volume 25 Issue 15
PDF
384
146
Cite this Article
BibTeX
Article Info
doi: 10.12404/j.issn.1671-1815.2404568
  • Receive Date:2024-06-18
  • Online Date:2025-07-09
  • Published:2025-05-28
Article Data
Affiliations
History
  • Received:2024-06-18
  • Revised:2025-11-17
Funding
Affiliations
    School of Computer Science and Technology, Shandong University of Technology, Zibo 255049, China
References
Share
https://castjournals.cast.org.cn/joweb/kxjsygc/EN/10.12404/j.issn.1671-1815.2404568
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数

Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)

Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT