Lune

AAAI2023Top-tier venue

Yet Another Traffic Classifier: A Masked Autoencoder Based Traffic Transformer with Multi-Level Flow Representation

Ruijie Zhao, Mingwei Zhan, Xianwen Deng, Yanhao Wang, Yijun Wang, Guan Gui, Zhi Xue

Abstract

Traffic classification is a critical task in network security and management. Recent research has demonstrated the effectiveness of the deep learning-based traffic classification method. However, the following limitations remain: (1) the traffic representation is simply generated from raw packet bytes, resulting in the absence of important information; (2) the model structure of directly applying deep learning algorithms does not take traffic characteristics into account; and (3) scenario-specific classifier training usually requires a labor-intensive and time-consuming process to label data. In this paper, we introduce a masked autoencoder (MAE) based traffic transformer with multi-level flow representation to tackle these problems. To model raw traffic data, we design a formatted traffic representation matrix with hierarchical flow information. After that, we develop an efficient Traffic Transformer, in which packet-level and flow-level attention mechanisms implement more efficient feature extraction with lower complexity. At last, we utilize the MAE paradigm to pre-train our classifier with a large amount of unlabeled data, and perform fine-tuning with a few labeled data for a series of traffic classification tasks. Experiment findings reveal that our method outperforms state-of-the-art methods on five real-world traffic datasets by a large margin. The code is available at https://github.com/NSSL-SJTU/YaTC.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

17 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • FENIX: Enabling In-Network DNN Inference with FPGA-Enhanced Programmable Switches cites Brain-on-Switch: Towards Advanced Intelligent Network Data Plane via NN-Driven Traffic Analysis at Line-Speed
  • Revolutionizing Encrypted Traffic Classification with MH-Net: A Multi-View Heterogeneous Graph Model cites Website Fingerprinting at Internet Scale
  • Revolutionizing Encrypted Traffic Classification with MH-Net: A Multi-View Heterogeneous Graph Model cites Deep Fingerprinting: Undermining Website Fingerprinting Defenses with Deep Learning
  • Deep Fingerprinting: Undermining Website Fingerprinting Defenses with Deep Learning cites Website Fingerprinting at Internet Scale
  • An Empirical Study of Training Self-Supervised Vision Transformers cites Emerging Properties in Self-Supervised Vision Transformers
  • The Sweet Danger of Sugar: Debunking Representation Learning for Encrypted Traffic Classification cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

  1. Brain-on-Switch: Towards Advanced Intelligent Network Data Plane via NN-Driven Traffic Analysis at Line-SpeedJinzhu Yan, Haotian Xu, Zhuotao Liu, Qi Li et al.NSDI 2024 · 60 citations
  2. The Sweet Danger of Sugar: Debunking Representation Learning for Encrypted Traffic ClassificationYuqi Zhao, Giovanni Dettori, Matteo Boffa, Luca Vassio et al.SIGCOMM 2025 · 17 citations
  3. Revolutionizing Encrypted Traffic Classification with MH-Net: A Multi-View Heterogeneous Graph ModelHaozhen Zhang, Haodong Yue, Xi Xiao, Le Yu et al.AAAI 2025 · 16 citations
  4. FENIX: Enabling In-Network DNN Inference with FPGA-Enhanced Programmable SwitchesXiangyu Gao, Tong Li, Yinchao Zhang, Ziqiang Wang et al.NSDI 2026 · 12 citations
  5. Facing Anomalies Head-On: Network Traffic Anomaly Detection via Uncertainty-Inspired Inter-Sample DifferencesXinglin Lian, Chengtai Cao, Yan Liu, Xovee Xu et al.WWW 2025 · 11 citations

Builds on8

  1. Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
  2. ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
  3. An Empirical Study of Training Self-Supervised Vision TransformersXinlei Chen, Saining Xie, Kaiming HeICCV 2021 · 2,340 citations
  4. Deep Fingerprinting: Undermining Website Fingerprinting Defenses with Deep LearningPayap Sirinam, Mohsen Imani, Marc Juarez, Matthew WrightCCS 2018 · 632 citations
  5. Website Fingerprinting at Internet ScaleAndriy Panchenko, Fabian Lanze, Jan Pennekamp, Thomas Engel et al.NDSS 2016 · 625 citations

Related papers

  1. HF-Transformer: A Non-Pretrained Encrypted Network Traffic Classification Model Based on Packet Header FieldsZhenzhen Yan, Lizhi Peng, Peiqiang Liu, Yingshuo Bao et al.INFOCOM 2026
  2. TrafficFormer: An Efficient Pre-trained Model for Traffic DataGuangmeng Zhou, Xiongwen Guo, Zhuotao Liu, Tong Li et al.S&P 2025
  3. Dual-Channel Interactive Graph Transformer for Traffic Classification with Message-Aware Flow RepresentationXing Qiu, Guang Cheng, Weizhou Zhu, Dandan Niu et al.AAAI 2025 · 4 citations
  4. ET-BERT: A Contextualized Datagram Representation with Pre-training Transformers for Encrypted Traffic ClassificationXinjie Lin, Gang Xiong, Gaopeng Gou, Zhen Li et al.WWW 2022 · 490 citations
  5. MIETT: Multi-Instance Encrypted Traffic Transformer for Encrypted Traffic ClassificationXu-Yang Chen, Lu Han, De-Chuan Zhan, Han-Jia YeAAAI 2025 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines