Language of Network: A Generative Pre-trained Model for Encrypted Traffic Comprehension
Язык сети: генеративная предобученная модель для анализа зашифрованного трафика
2025-05-26
SCID: 54.1/2rz4x5yj
Discuss with AI
encrypted traffic comprehensiongenerative pre-trained modelpretraining on unlabeled trafficprompt learning for downstream tasksprotocol-aware tokenization
Figures from the paper
Abstract (AI)
The increasing demand for privacy protection and security considerations leads to a significant rise in the proportion of encrypted network traffic. Since traffic content becomes unrecognizable after encryption, accurate analysis is challenging, making it difficult to classify applications and detect attacks. Deep learning is currently the predominant approach for encrypted traffic classification through feature analysis. However, these methods face limitations due to their high dependence on labeled data and difficulties in detecting attack variants. First, their performance is highly sensitive to data quality, where the highcost manual labeling process and dataset imbalance significantly degrade results. Second, the rapid evolution of attack patterns makes it challenging for models to identify new types of attacks. To tackle these challenges, we present GBC, a generative model based on pre-training for encrypted traffic comprehension. Since traditional tokenization methods are primarily designed for natural language, we propose a protocol-aware tokenization approach for encrypted traffic that improves model comprehension of fields specific to network traffic. In addition, GBC employs pretraining to learn general representations from extensive unlabeled traffic data. Through prompt learning, it effectively adapts to various downstream tasks, enabling both high-quality traffic generation and effective detection. Evaluations across multiple datasets demonstrate that GBC achieves superior results in both traffic classification and generation tasks, resulting in a 5% improvement in F1 score compared to state-of-the-art methods for classification tasks.
Key Findings
1
A protocol-aware tokenization method is proposed to tokenize encrypted traffic fields, improving model understanding of network-specific features.
2
GBC is a generative pre-trained model designed for encrypted network traffic comprehension, addressing limitations of supervised deep learning methods.
3
GBC uses pretraining on large-scale unlabeled traffic data to learn general representations, reducing dependence on labeled data.
4
On multiple datasets, GBC outperforms state-of-the-art methods for classification, achieving a 5% absolute improvement in F1 score.
5
Prompt learning enables GBC to adapt to multiple downstream tasks, supporting both high-quality traffic generation and effective detection.
Research Object
Encrypted network traffic (protocol-aware tokenized traffic data)
Research Subject
Pre-trained generative model (GBC) for encrypted traffic comprehension, including protocol-aware tokenization, learning representations from unlabeled traffic, prompt-based adaptation, and performance in traffic classification and generation
Publication Details
Publication Date
2025-05-26
Journal
Publisher
ISSN
Cited by
0
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest