Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Mean Masked Autoencoder with Flow-Mixing for Encrypted Traffic Classification

About

Network traffic classification using self-supervised pre-training models based on Masked Autoencoders (MAE) has demonstrated a huge potential. However, existing methods are confined to isolated byte-level reconstruction of individual flows, lacking adequate perception of the multi-granularity contextual relationship in traffic. To address this limitation, we propose Mean MAE (MMAE), a teacher-student MAE paradigm with flow mixing strategy for building encrypted traffic pre-training model. MMAE employs a self-distillation mechanism for teacher-student interaction, where the teacher provides unmasked flow-level semantic supervision to advance the student from local byte reconstruction to multi-granularity comprehension. To break the information bottleneck in individual flows, we introduce a dynamic Flow Mixing (FlowMix) strategy to replace traditional random masking mechanism. By constructing challenging cross-flow mixed samples with interferences, it compels the model to learn discriminative representations from distorted tokens. Furthermore, we design a Packet-importance aware Mask Predictor (PMP) equipped with an attention bias mechanism that leverages packet-level side-channel statistics to dynamically mask tokens with high semantic density. Numerous experiments on a number of datasets covering encrypted applications, malware, and attack traffic demonstrate that MMAE achieves state-of-the-art performance. The code is available at https://github.com/lx6c78/MMAE

Xiao Liu, Xiaowei Fu, Fuxiang Huang, Lei Zhang• 2026

Related benchmarks

TaskDatasetResultRank
Encrypted Traffic ClassificationISCX Tor 2016
Accuracy100
22
Encrypted Traffic ClassificationCIC-IoT 2022
Accuracy99.9
21
Encrypted Traffic ClassificationCSTNET-TLS
Accuracy (AC)94.35
20
Encrypted Traffic ClassificationISCXVPN 2016
Accuracy (AC)99.57
10
Encrypted Traffic ClassificationUSTC-TFC 2016
Accuracy99.95
10
Encrypted Traffic ClassificationCrossPlatform Android
Accuracy (AC)98.97
8
Encrypted Traffic ClassificationCrossPlatform iOS
Accuracy99
8
Showing 7 of 7 rows

Other info

Follow for update