Comparative Evaluation of CNN, CNN-LSTM, and CNN-AGRU Architectures for Encrypted Network Traffic Classification
Abstract
The increasing adoption of encryption protocols has made network traffic classification more challenging by limiting the effectiveness of traditional payload inspection techniques. Deep learning provides an alternative approach by learning discriminative patterns from available traffic representations without requiring decryption of application content. This study presents a comparative evaluation of three deep learning architectures for encrypted network traffic classification: Convolutional Neural Networks (CNNs), CNN combined with Long Short-Term Memory (CNN-LSTM), and CNN combined with an Attention-based Gated Recurrent Unit (CNN-AGRU). The experiments use the USTC-TFC2016 dataset and consider two traffic representations: Flow+L7 and Session+L7. Application-layer payload bytes are standardized to 784 bytes through truncation or zero-padding and transformed into 28 x 28 grayscale images for model training and evaluation. The classification tasks include binary classification of benign and malicious traffic and multi-class classification of individual application and malware categories. The results show that all three architectures achieve binary classification accuracy above 99.9% across both traffic representations. For multi-class classification, CNN-AGRU achieves the highest reported accuracy, reaching 94.60% with Flow+L7 and 91.34% with Session+L7. These findings indicate the potential of combining convolutional feature extraction with attention-based recurrent modelling for multi-class encrypted traffic classification. Further evaluation using independent datasets, controlled ablation experiments, and computational efficiency measurements is required to assess generalization and practical deployment suitability.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI
- Comments
- Comparative evaluation of three deep learning architectures for encrypted network traffic classification using the USTC-TFC2016 dataset. Comparative study of CNN, CNN-LSTM, and CNN-AGRU architectures for encrypted network traffic classification. Includes experimental evaluation on the USTC-TFC2016 dataset
Related papers
Exposure of Virtual Asset Service Providers to Quantum Cryptanalysis: A Comparative Analysis with the Banking System and Public Blockchains in Brazil and the United
Shared title terminologycs.CRLuciano Juvinski
Revisiting the Performance of Privacy-Preserving DNS Resolution: An Evaluation of ODoQ
Shared title terminologycs.CRPrakriti Tripathi, Aditya Kulkarni, Tamal Das
Prior Shift in Disguise: Rethinking the Evaluation of Data Augmentation for Rare-Attack Network Intrusion Detection
Shared title terminologycs.CRHuiheng Li, Zikang Liu
BlockGuard: Serverless Selective Homomorphic Encryption for Federated Learning
Shared title terminologycs.CRAmine Barrak
Cyber Threat Classification Under Non-Stationary Environments: An Adapt In-Context Learning (Adapt-ICL) Approach
Shared title terminologycs.CRChengjun Zhang, Yang Gao, Benjamin Ampel et al.
Controlled Autonomy for Agentic AI: A Layer-by-Layer Evaluation of Policy Enforcement, Cryptographic Identity and Isolation
Shared title terminologycs.CRHisham Ali, Vasileios Mavroeidis, Nikolaos Pitropakis et al.