Network Anomaly Traffic Detection via Multi-view Feature Fusion

Song Hao, Wentao Fu, Xuanze Chen, Chengxiang Jin, Jiajun Zhou, Shanqing Yu, Qi Xuan · DOI

Introduction

As global network traffic expands in volume and complexity, traditional security measures are increasingly inadequate. The widespread adoption of encryption has rendered Deep Packet Inspection (DPI) computationally prohibitive and often ineffective. Modern threats, such as Advanced Persistent Threats (APTs) and sophisticated DDoS attacks, frequently exploit "single-view" detection biases. Most existing deep learning models analyze traffic either as a temporal sequence or a static graph, leaving significant blind spots.

To address these challenges, the MuFF (Multi-view Feature Fusion) framework was developed. MuFF integrates temporal sequences (the "rhythm" of packets) with interactive graphs (the "topology" of communication) to provide a comprehensive perspective on network behavior, significantly improving detection accuracy across diverse datasets.

The MuFF Framework

The MuFF framework processes raw traffic through two parallel pipelines before fusing the extracted features for final classification.

The MuFF architecture integrates temporal and interactive views for robust anomaly detection.

1. Temporal View: Capturing the Rhythm

The temporal view focuses on the sequential characteristics of traffic flows.

  • Packet Features: The model extracts sequences of packet lengths and directions from the first $n$ packets (typically 40) of a flow.
  • Hybrid Architecture: A Convolutional Neural Network (CNN) captures local spatial patterns, such as specific malicious instruction sequences within payloads. Simultaneously, a Long Short-Term Memory (LSTM) network captures long-term dependencies and periodic behaviors.
  • Attention Mechanism: An attention layer prioritizes the most suspicious segments of the temporal sequence, enhancing the model's sensitivity to subtle anomalies.

2. Interactive View: Mapping the Topology

The interactive view models network traffic as a graph where packets serve as nodes and their communication relationships define the edges.

Traffic interaction graph modeling the structural relationships between network entities.

By employing a Graph Convolutional Network (GCN), MuFF learns the structural patterns of device interactions. This is particularly effective for identifying scanning behaviors, botnet coordination, and other attacks that manifest as topological outliers rather than simple timing anomalies.

3. Feature Fusion

The features from both views are integrated using a weighted fusion parameter, $\alpha$. This allows the system to dynamically balance the importance of timing versus interaction based on the specific network environment. Research indicates that a balanced weight ($\alpha = 0.5$) typically yields optimal performance, suggesting that temporal and structural data are equally vital for high-fidelity detection.

Experimental Evaluation

MuFF was rigorously evaluated against six major real-world datasets: CIC-IOMT2024, UNSW-NB15, Darknet2020, ISCX-VPN2016, CIC-IoT2023, and USTC-TFC2016.

The framework consistently outperformed state-of-the-art baseline models (e.g., GraphSAGE, GIN, GAT):

  • High Precision: On the USTC-TFC2016 dataset, MuFF achieved an accuracy of 97.67% and a macro recall of 97.15%.
  • Superior Robustness: In the Darknet2020 and CIC-IoT2023 datasets, MuFF improved macro precision and recall by 1.69% to 2.86% over the next best performing models.
  • Encrypted Traffic Proficiency: The model demonstrated that metadata (packet sizes, timing, and interaction patterns) is sufficient to create a high-fidelity "fingerprint" of malicious activity, even without decrypting payloads.

Conclusion and Future Directions

The MuFF framework proves that the fusion of temporal and interactive features provides a significant advantage in network security. By analyzing both the "when" and the "how" of data transmission, it eliminates the blind spots inherent in single-view models.

While MuFF excels at detecting DDoS and common malware, challenges remain regarding extremely rare attack types (small-sample problems) and stealthy low-volume attacks that closely mimic benign behavior. Future research will focus on incorporating heterogeneous data sources and developing small-sample learning techniques to better identify "zero-day" threats.

Summary updated

BibTeX
@misc{hao2024network,
  author = {Song Hao and Wentao Fu and Xuanze Chen and Chengxiang Jin and Jiajun Zhou and Shanqing Yu and Qi Xuan},
  title = {{Network Anomaly Traffic Detection via Multi-view Feature Fusion}},
  year = {2024},
  eprint = {2409.08020},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.08020},
}
Figure