Traffic Matrix Estimation based on Denoising Diffusion Probabilistic Model

Xinyu Yuan, Yan Qiao, Pei Zhao, Rongyao Hu, Benchu Zhang · DOI

TL;DR

This paper introduces a novel approach to estimating network traffic matrices (TMs) using Denoising Diffusion Probabilistic Models (DDPMs). By combining DDPMs with a custom preprocessing module and a gradient-descent optimization strategy, the authors achieve state-of-the-art performance in both generating realistic traffic patterns and accurately estimating traffic flows from limited link-level measurements.

What Problem Does This Paper Address?

The "Traffic Matrix Estimation" (TME) problem is about understanding the flow of data between any two points (Origin-Destination or OD flows) in a network. Knowing these flows is crucial for network management tasks like traffic engineering and capacity planning. However, directly measuring all OD flows is prohibitively expensive and complex, especially in large networks. The traditional approach, network tomography, infers OD flows from coarser link-level measurements using linear equations. The challenge is that these equations are often "ill-posed" or "rank deficient," meaning there isn't a single, unique solution for the OD flows. Previous methods have tried to overcome this by making assumptions about traffic patterns (e.g., Poisson or Gaussian models), but these assumptions limit their generality. More recently, deep learning models like VAEs and GANs have shown promise, but they have their own limitations, such as generating blurry samples or unstable training. This paper aims to address these limitations by leveraging the powerful generative capabilities of DDPMs for more accurate and robust TME.

Methods

The core of this work is the application of Denoising Diffusion Probabilistic Models (DDPMs) to the TME problem. DDPMs are generative models that work by gradually adding noise to data (forward process) and then learning to reverse this process to generate new data from noise (backward process). The authors introduce several key innovations:

  • Preprocessing Module: To handle the inherent scale differences in traffic flows and reduce the dimensionality for DDPM, a preprocessing module is designed. This module uses an embedding network to map TMs to a lower-dimensional latent space and a recovery network to map back. This is crucial because standard normalization methods can distort highly polarized traffic data.
  • DDPM in Latent Space: Instead of applying the diffusion process directly to the high-dimensional TM data, the DDPM operates in the learned latent space. This makes the process more efficient and stable.
  • Gradient-Descent Optimization for Estimation: Directly optimizing the latent representation in DDPM for TME is difficult because generating a TM involves many iterative steps. The authors transform the TME problem into a gradient-descent optimization problem by parameterizing the noise factors in the DDPM's reverse process. These noise factors, along with the initial latent representation, are treated as hyperparameters to be optimized to minimize the difference between the predicted link loads (derived from the generated TM) and the actual measured link loads.
  • DDIM for Acceleration: To speed up the sampling process, which can be very slow for DDPMs, the authors incorporate the Denoising Diffusion Implicit Models (DDIM) framework, which allows for faster generation with fewer steps.

Datasets

The proposed method was evaluated using two real-world network traffic datasets:

  • Abilene Network: This dataset contains traffic matrix samples collected every 5 minutes from March to September 2004, with 12 routers. The first 16 weeks were used for training, and the 17th week for testing.
  • GÉANT Network: This dataset features traffic matrix samples collected at 15-minute intervals from January to April 2004, with 23 routers. The first 11 weeks were used for training, and the 12th week for testing.

Key Insights and Ideas

  • DDPMs are powerful for complex distributions: The paper highlights that DDPMs, with their multi-step generative process, are well-suited for learning and generating complex data distributions like traffic matrices, outperforming VAEs and GANs in this regard.
  • Preprocessing is critical for traffic data: Standard normalization techniques fail on traffic matrices due to extreme variations in flow volumes. A learned embedding/recovery module is essential to preserve traffic dynamics while reducing dimensionality.
  • Transforming TME into an optimization problem: Instead of directly solving linear equations, the authors cleverly frame TME as an optimization problem within the DDPM framework by treating noise variables as learnable parameters. This allows the model to find the TM that best fits the observed link loads.
  • Robustness to network scale and sparsity: The proposed DDPM-based method demonstrates superior performance, especially on the larger and sparser GÉANT dataset, indicating its robustness.

Key Results

The proposed DDPM-based TME method significantly outperformed state-of-the-art VAE-based and GAN-based methods on both TM synthesis and estimation tasks.

  • TM Synthesis: t-SNE and PCA analyses showed that the synthetic TMs generated by the DDPM-based model had the most overlap with the true TM data, indicating higher quality and similarity. This was particularly evident on the GÉANT dataset, where VAE and WGAN generated lower-quality samples.
  • TM Estimation:
    • Temporal Estimation Errors (TRE): The DDPM-based method showed more stable performance and lower estimation errors compared to VAE and WGAN, especially as measurement time increased.
  • Spatial Estimation Errors (SRE): The method achieved significantly lower SREs, particularly for larger flows, indicating better accuracy across different flow magnitudes.
  • Quantitative Metrics: In the Abilene dataset, the DDPM-based method improved accuracy by 68% over VAE and 25% over WGAN. In the GÉANT dataset, it achieved improvements of 14% and 36% respectively over the best baselines. The paper also reported significantly lower mean and median errors, indicating higher overall stability and accuracy.

Limitations and Future Work

  • Computational Cost: While DDIM helps, DDPMs can still be computationally intensive, especially for very large-scale networks. The paper mentions that the method may perform inefficiently for extremely large TMs.
  • Future Work: The authors suggest that their method can be used as a TM simulator when real data is unavailable. Further research could explore more efficient DDPM architectures or optimization strategies for even larger networks. The robustness of the method to different network topologies and traffic patterns could also be further investigated.

Summary updated

BibTeX
@misc{yuan2023traffic,
  author = {Xinyu Yuan and Yan Qiao and Pei Zhao and Rongyao Hu and Benchu Zhang},
  title = {{Traffic Matrix Estimation based on Denoising Diffusion Probabilistic Model}},
  year = {2023},
  eprint = {2410.15716},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.15716},
}
Figure