Skip to main content
QUICK REVIEW

[Paper Review] Leveraging Spatial and Temporal Correlations for Network Traffic Compression

Paul Almasan, Krzysztof Rusek|arXiv (Cornell University)|Jan 21, 2023
Network Traffic and Congestion ControlComputer Science3 citations
TL;DR

This paper proposes a novel neural network-based compression method for network traffic that leverages spatial and temporal correlations across multiple network links using graph and recurrent neural networks. By predicting probability distributions for arithmetic coding, it achieves 50%-65% better compression ratios than GZIP on real-world networks, significantly outperforming generic compression in online and storage scenarios.

ABSTRACT

The deployment of modern network applications is increasing the network size and traffic volumes at an unprecedented pace. Storing network-related information (e.g., traffic traces) is key to enable efficient network management. However, this task is becoming more challenging due to the ever-increasing data transmission rates and traffic volumes. In this paper, we present a novel method for network traffic compression that exploits spatial and temporal patterns naturally present in network traffic. We consider a realistic scenario where traffic measurements are performed at multiple links of a network topology using tools like SNMP or NetFlow. Such measurements can be seen as multiple time series that exhibit spatial and temporal correlations induced by the network topology, routing or user behavior. Our method leverages graph learning methods to effectively exploit both types of correlations for traffic compression. The experimental results show that our solution is able to outperform GZIP, the extit{de facto} traffic compression method, improving by 50\%-65\% the compression ratio on three real-world networks.

Motivation & Objective

  • Address the growing challenge of storing massive volumes of network traffic data from modern high-speed networks.
  • Overcome the suboptimal compression performance of generic tools like GZIP on structured network traffic.
  • Leverage inherent spatial and temporal correlations in link-level traffic measurements to improve compression efficiency.
  • Design a practical, online-compressible solution suitable for real-world deployment in network operations and digital twins.
  • Demonstrate that machine learning-based prediction of traffic distributions can outperform traditional compression on real network traces.

Proposed method

  • Model link-level traffic as multiple time series exhibiting spatio-temporal correlations from network topology and user behavior.
  • Use a Recurrent Neural Network (RNN) to capture temporal patterns and a Spatio-Temporal Graph Neural Network (ST-GNN) to model spatial dependencies across links.
  • Train the predictor to estimate the probability distribution of traffic values in the next time bin based on historical data.
  • Apply arithmetic coding (AC) to compress the traffic data using the predicted distributions, improving encoding efficiency.
  • Implement a lightweight decoder that inverts the compression process using the same predicted distributions.
  • Optimize for online deployment by measuring time cost per time bin and model size, ensuring real-time feasibility.
Figure 1: Overview of the network traffic compression scenario. Link-level traffic measurements are extracted from the real-world network and stored in the disk.
Figure 1: Overview of the network traffic compression scenario. Link-level traffic measurements are extracted from the real-world network and stored in the disk.

Experimental results

Research questions

  • RQ1Can machine learning models effectively exploit both spatial and temporal correlations in network traffic to improve compression beyond generic tools?
  • RQ2How does the proposed method perform compared to GZIP on real-world network traces with varying degrees of correlation?
  • RQ3What is the computational cost and model size of the proposed compression system in an online deployment scenario?
  • RQ4Can the method achieve high compression gains while remaining lightweight and suitable for real-time use?
  • RQ5Does the method maintain high performance even in low-correlation traffic scenarios?

Key findings

  • The proposed method improves compression ratios by 50%-65% compared to GZIP on three real-world network datasets: Geant, Campus network, and Abilene.
  • On synthetic data with weak correlations, the method still achieves at least a 35% improvement over GZIP, demonstrating robustness.
  • The average compression cost per time bin is under 3.2 seconds for the ST-GNN model and under 0.5 seconds for the RNN model, indicating feasibility for online use.
  • Model sizes are lightweight, ranging from 202 KB to 575 KB, making them practical for deployment in network operations.
  • The method achieves a compression factor of 2.6x to 4.2x over the original data size, significantly reducing storage requirements.
  • The system maintains high performance even when the first time-window elements are unavailable during decompression, relying on uniform probability as a fallback.
Figure 2: Two link-level network traffic measurements during $\approx$ 1 month from two real-world datasets. Notice the y-axis is in logarithmic scale. The figures indicate that the resulting time series from the measurements have temporal patterns.
Figure 2: Two link-level network traffic measurements during $\approx$ 1 month from two real-world datasets. Notice the y-axis is in logarithmic scale. The figures indicate that the resulting time series from the measurements have temporal patterns.

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.