The Attention-Based Autoencoder for Network Traffic Classification with Interpretable Feature Representation

被引:1
作者
Cui, Jun [1 ]
Bai, Longkun [2 ]
Zhang, Xiaofeng [2 ]
Lin, Zhigui [2 ]
Liu, Qi [3 ]
机构
[1] Tiangong Univ, Sch Life Sci, Tianjin 300380, Peoples R China
[2] Tiangong Univ, Sch Elect & Informat Engn, Tianjin 300380, Peoples R China
[3] Tianjin Chengjian Univ, Sch Comp & Informat Engn, Tianjin 300380, Peoples R China
来源
SYMMETRY-BASEL | 2024年 / 16卷 / 05期
关键词
traffic classification; feature representation; attention mechanism; autoencoder; interpretability;
D O I
10.3390/sym16050589
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
Network traffic classification is crucial for identifying network applications and defending against network threats. Traditional traffic classification approaches struggle to extract structural features and suffer from poor interpretability of feature representations. The high symmetry between network traffic classification and its interpretable feature representation is vital for network traffic analysis. To address these issues, this paper proposes a traffic classification and feature representation model named the attention mechanism autoencoder (AMAE). The AMAE model extracts the global spatial structural features of network traffic through attention mechanisms and employs an autoencoder to extract local structural features and perform dimensionality reduction. This process maps different network traffic features into one-dimensional coordinate systems in the form of spectra, termed FlowSpectrum. The spectra of different network traffic represent different intervals in the coordinate system. This paper tests the interpretability and classification performance of network traffic features of the AMAE model using the ISCX-VPN2016 dataset. Experimental results demonstrate that by analyzing the overall distribution of attention weights and local weight values of network traffic, the model effectively explains the differences in the spectral representation intervals of different types of network traffic. Furthermore, our approach achieves the highest classification accuracy of up to 100% for non-VPN-encrypted traffic and 99.69% for VPN-encrypted traffic, surpassing existing traffic classification schemes.
引用
收藏
页数:26
相关论文
共 44 条
  • [1] [Anonymous], 2012, Int. J. Eng. Innov. Technol. (IJEIT).
  • [2] Network traffic classification: Techniques, datasets, and challenges
    Azab, Ahmad
    Khasawneh, Mahmoud
    Alrabaee, Saed
    Choo, Kim-Kwang Raymond
    Sarsour, Maysa
    [J]. DIGITAL COMMUNICATIONS AND NETWORKS, 2024, 10 (03) : 676 - 692
  • [3] Bayat N., 2021, PREPRINT, DOI DOI 10.48550/ARXIV.2106.12693
  • [4] CORTES C, 1995, MACH LEARN, V20, P273, DOI 10.1023/A:1022627411411
  • [5] Semi-2DCAE: a semi-supervision 2D CNN AutoEncoder model for feature representation and classification of encrypted traffic
    Cui, Jun
    Bai, Longkun
    Li, Guangxu
    Lin, Zhigui
    Zeng, Penggao
    [J]. PEERJ COMPUTER SCIENCE, 2023, 9
  • [6] Network traffic classification using deep convolutional recurrent autoencoder neural networks for spatial-temporal features extraction
    D'Angelo, Gianni
    Palmieri, Francesco
    [J]. JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2021, 173
  • [7] GLADS: A global-local attention data selection model for multimodal multitask encrypted traffic classification of IoT
    Dai, Jianbang
    Xu, Xiaolong
    Xiao, Fu
    [J]. COMPUTER NETWORKS, 2023, 225
  • [8] Novel feature selection and classification of Internet video traffic based on a hierarchical scheme
    Dong, Yu-ning
    Zhao, Jia-jie
    Jin, Jiong
    [J]. COMPUTER NETWORKS, 2017, 119 : 102 - 111
  • [9] Draper-Gil Gerard, 2016, ICISSP 2016. 2nd International Conference on Information Systems Security and Privacy. Proceedings, P407
  • [10] Dusi M, 2009, IEEE ICC, P702