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
相关论文
共 50 条
  • [31] Complex event detection via attention-based video representation and classification
    Zhao, Zhicheng
    Xiang, Rui
    Su, Fei
    MULTIMEDIA TOOLS AND APPLICATIONS, 2018, 77 (03) : 3209 - 3227
  • [32] Network Traffic Prediction with Attention-based Spatial-Temporal Graph Network
    Peng, Yufei
    Guo, Yingya
    Hao, Run
    Lin, Junda
    2023 IEEE 24TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE SWITCHING AND ROUTING, HPSR, 2023,
  • [33] Bidirectional feature pyramid attention-based temporal convolutional network model for motor imagery electroencephalogram classification
    Xie, Xinghe
    Chen, Liyan
    Qin, Shujia
    Zha, Fusheng
    Fan, Xinggang
    FRONTIERS IN NEUROROBOTICS, 2024, 18
  • [34] Network traffic prediction with Attention-based Spatial-Temporal Graph Network
    Peng, Yufei
    Guo, Yingya
    Hao, Run
    Xu, Chengzhe
    COMPUTER NETWORKS, 2024, 243
  • [35] Bidirectional feature pyramid attention-based temporal convolutional network model for motor imagery electroencephalogram classification
    Xie, Xinghe
    Chen, Liyan
    Qin, Shujia
    Zha, Fusheng
    Fan, Xinggang
    Frontiers in Neurorobotics, 2024, 18
  • [36] Malware Classification Using Attention-Based Transductive Learning Network
    Deng, Liting
    Wen, Hui
    Xin, Mingfeng
    Sun, Yue
    Sun, Limin
    Zhu, Hongsong
    SECURITY AND PRIVACY IN COMMUNICATION NETWORKS (SECURECOMM 2020), PT II, 2020, 336 : 403 - 418
  • [37] ATTENTION-BASED DEEP SEQUENTIAL NETWORK FOR POLSAR IMAGE CLASSIFICATION
    Hua, Wenqiang
    Wang, Xinlei
    Zhang, Cong
    Jin, Xiaomin
    2022 IEEE INTERNATIONAL GEOSCIENCE AND REMOTE SENSING SYMPOSIUM (IGARSS 2022), 2022, : 1500 - 1503
  • [38] Tag recommendation by text classification with attention-based capsule network
    Lei K.
    Fu Q.
    Yang M.
    Liang Y.
    Neurocomputing, 2022, 391 : 65 - 73
  • [39] An optimized dual attention-based network for brain tumor classification
    Masoudi, Babak
    INTERNATIONAL JOURNAL OF SYSTEM ASSURANCE ENGINEERING AND MANAGEMENT, 2024, 15 (07) : 2868 - 2879
  • [40] Attention-Based Convolutional Neural Network for Earthquake Event Classification
    Ku, Bonhwa
    Kim, Gwantae
    Ahn, Jae-Kwang
    Lee, Jimin
    Ko, Hanseok
    IEEE GEOSCIENCE AND REMOTE SENSING LETTERS, 2021, 18 (12) : 2057 - 2061