Flow Transformer: A Novel Anonymity Network Traffic Classifier with Attention Mechanism

被引:6
|
作者
Zhao, Ruijie [1 ]
Huang, Yiteng [1 ]
Deng, Xianwen [1 ]
Xue, Zhi [1 ]
Li, Jiabin [1 ]
Huang, Zijing [2 ]
Wang, Yijun [1 ]
机构
[1] Shanghai Jiao Tong Univ, Sch Elect Informat & Elect Engn, Shanghai, Peoples R China
[2] Fudan Univ, Sch Comp Sci, Shanghai, Peoples R China
关键词
Anonymity network; traffic classification; deep learning; transformer; attention mechanism;
D O I
10.1109/MSN53354.2021.00045
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Supervising anonymity network is a critical issue in the field of network security, and traditional traffic analysis methods cannot cope with complex anonymity traffic. In recent years, the traffic analysis method based on deep learning has achieved good performance. However, most of the existing studies do not consider the temporal-spatial correlation of the traffic, and only use a single flow for classification. A few works take continuous flows as flow sequence for traffic classification, but they do not distinguish the different importance of each flow. To tackle this issue, we propose a novel flow-based traffic classifier called FLOW TRANSFORMER to classify anonymity network traffic. FLOW TRANSFORMER uses multi-head attention mechanism to set higher weights for important flows, and extracts flow sequence features according to the importance weights. Besides, the RF-based feature selection method is designed to select the optimal feature combination, which can effectively avoid the insignificant features from reducing the performance and efficiency of the classifier. Experimental results on two real-world traffic datasets demonstrate that the proposed method outperforms state-of-the-art methods with a large margin.
引用
收藏
页码:223 / 230
页数:8
相关论文
共 50 条
  • [1] A Novel Traffic Classifier With Attention Mechanism for Industrial Internet of Things
    Zhao, Ruijie
    Huang, Yiteng
    Deng, Xianwen
    Shi, Yong
    Li, Jiabin
    Huang, Zijing
    Wang, Yijun
    Xue, Zhi
    [J]. IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2023, 19 (11) : 10799 - 10810
  • [2] Traffic Flow Forecasting Based on Transformer with Diffusion Graph Attention Network
    Zhang, Hong
    Wang, Hongyan
    Chen, Linlong
    Zhao, Tianxin
    Kan, Sunan
    [J]. INTERNATIONAL JOURNAL OF AUTOMOTIVE TECHNOLOGY, 2024, 25 (03) : 455 - 468
  • [3] Traffic Flow Forecasting Based on Transformer with Diffusion Graph Attention Network
    Hong Zhang
    Hongyan Wang
    Linlong Chen
    Tianxin Zhao
    Sunan Kan
    [J]. International Journal of Automotive Technology, 2024, 25 : 455 - 468
  • [4] EGFormer: An Enhanced Transformer Model with Efficient Attention Mechanism for Traffic Flow Forecasting
    Yang, Zhihui
    Zhang, Qingyong
    Chang, Wanfeng
    Xiao, Peng
    Li, Minglong
    [J]. VEHICLES, 2024, 6 (01): : 120 - 139
  • [5] Traffic flow matrix-based graph neural network with attention mechanism for traffic flow prediction
    Chen, Jian
    Zheng, Li
    Hu, Yuzhu
    Wang, Wei
    Zhang, Hongxing
    Hu, Xiping
    [J]. INFORMATION FUSION, 2024, 104
  • [6] Spatial-Temporal Graph Attention Gated Recurrent Transformer Network for Traffic Flow Forecasting
    Wu, Di
    Peng, Kai
    Wang, Shangguang
    Leung, Victor C. M.
    [J]. IEEE INTERNET OF THINGS JOURNAL, 2024, 11 (08): : 14267 - 14281
  • [7] A novel transformer-based network with attention mechanism for automatic pavement crack detection
    Guo, Feng
    Liu, Jian
    Lv, Chengshun
    Yu, Huayang
    [J]. CONSTRUCTION AND BUILDING MATERIALS, 2023, 391
  • [8] Traffic Prediction for Optical Fronthaul Network Using Self-Attention Mechanism-Based Transformer
    Zhao, Xujun
    Wu, Yonghan
    Hao, Xue
    Zhang, Lifang
    Wang, Danshi
    Zhang, Min
    [J]. 2022 ASIA COMMUNICATIONS AND PHOTONICS CONFERENCE, ACP, 2022, : 1207 - 1210
  • [9] Hierarchical Spatial-Temporal Neural Network with Attention Mechanism for Traffic Flow Forecasting
    Lian, Qingyun
    Sun, Wei
    Dong, Wei
    [J]. APPLIED SCIENCES-BASEL, 2023, 13 (17):
  • [10] A Dense Inception Network with Attention Mechanism for Short-term Traffic Flow Prediction
    zhang, Zhao
    Jiao, Xiaohong
    [J]. 2020 CHINESE AUTOMATION CONGRESS (CAC 2020), 2020, : 96 - 100