Skip to main content
QUICK REVIEW

[Paper Review] TEST: an End-to-End Network Traffic Examination and Identification Framework Based on Spatio-Temporal Features Extraction

Yi Zeng, Zihao Qi|arXiv (Cornell University)|Aug 26, 2019
Internet Traffic Analysis and Secure E-votingComputer Science19 references9 citations
TL;DR

This paper proposes TEST, a deep learning-based end-to-end framework that jointly extracts spatial (via CNN) and temporal (via LSTM) features from raw network traffic to enable high-accuracy encrypted traffic classification and intrusion detection. By employing a three-layer hierarchical structure with balanced datasets, TEST achieves a state-of-the-art accuracy of 99.98% on an 8-class traffic dataset, outperforming models using only spatial or temporal features.

ABSTRACT

With more encrypted network traffic gets involved in the Internet, how to effectively identify network traffic has become a top priority in the field. Accurate identification of the network traffic is the footstone of basic network services, say QoE, bandwidth allocation, and IDS. Previous identification methods either cannot deal with encrypted traffics or require experts to select tons of features to attain a relatively decent accuracy.In this paper, we present a Deep Learning based end-to-end network traffic identification framework, termed TEST, to avoid the aforementioned problems. CNN and LSTM are combined and implemented to help the machine automatically extract features from both special and time-related features of the raw traffic. The presented framework has two layers of structure, which made it possible to attain a remarkable accuracy on both encrypted traffic classification and intrusion detection tasks. The experimental results demonstrate that our model can outperform previous methods with a state-of-the-art accuracy of 99.98%.

Motivation & Objective

  • To address the challenge of accurately classifying encrypted and malicious network traffic in the face of increasing encryption and privacy-preserving protocols.
  • To overcome limitations of traditional methods that rely on manual feature engineering or are ineffective on encrypted traffic.
  • To develop an end-to-end deep learning framework that automatically learns from raw traffic without requiring expert-selected features or exposing private information.
  • To improve classification robustness and accuracy by jointly modeling spatial and temporal traffic patterns using CNN and LSTM in a hierarchical, balanced training framework.

Proposed method

  • The framework employs a three-layer hierarchical structure: Preprocess layer (P-layer), General classification layer (G-layer), and Specialized action layer (S-layer) to enable modular, balanced training.
  • Spatial features are extracted using a Convolutional Neural Network (CNN) from raw traffic flow data, capturing structural patterns in packet sequences.
  • Temporal features are captured using a Long Short-Term Memory (LSTM) network, modeling time-series dependencies across flow intervals.
  • Each classification layer is trained on a carefully designed, balanced dataset to ensure high and stable performance across all traffic classes.
  • The integration of CNN and LSTM enables joint learning from both spatial and temporal dimensions of network traffic, enhancing feature representation.
  • The end-to-end design eliminates the need for manual feature selection and preserves privacy by operating directly on raw traffic inputs.

Experimental results

Research questions

  • RQ1Can a deep learning framework that jointly models spatial and temporal features from raw network traffic achieve superior classification accuracy compared to models using only one modality?
  • RQ2How does the use of balanced datasets in a hierarchical framework affect the robustness and accuracy of traffic classification across diverse traffic types?
  • RQ3To what extent can an end-to-end deep learning model identify encrypted and malicious traffic without relying on manually engineered features or protocol-level inspection?
  • RQ4Does the integration of CNN and LSTM in a multi-layered architecture significantly improve performance on real-world network traffic classification tasks?

Key findings

  • TEST achieved a state-of-the-art accuracy of 99.98% on classifying eight distinct types of network traffic, significantly outperforming baseline models.
  • The combination of CNN and LSTM in the framework led to a 19.71% improvement in accuracy over LeNet (80.27%) and a 17.92% improvement over 3-layer LSTM (81.96%).
  • TEST demonstrated superior robustness, with an F1 score of 1.0 for most traffic classes, particularly excelling in classifying Chat, Email, and File Transfer traffic.
  • The average F1 score of TEST (0.999) was substantially higher than LeNet (0.851) and LSTM (0.864), confirming its enhanced stability and performance.
  • The results confirm that leveraging both spatial and temporal features simultaneously leads to significantly better classification performance than using either modality alone.
  • The framework showed strong performance on unencrypted and malware traffic, though the gains were more pronounced for encrypted traffic, highlighting the value of joint feature learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.