Structured Nonnegative Matrix Factorization for Traffic Flow Estimation of Large Cloud Networks

Syed Muhammad Atif, Nicolas Gillis, Sameer Qazi, Imran Naseem · DOI

Abstract

Network traffic matrix estimation is an ill-posed linear inverse problem: it requires to estimate the unobservable origin destination traffic flows, X, given the observable link traffic flows, Y, and a binary routing matrix, A, which are such that Y = AX. This is a challenging but vital problem as accurate estimation of OD flows is required for several network management tasks. In this paper, we propose a novel model for the network traffic matrix estimation problem which maps high-dimension OD flows to low-dimension latent flows with the following three constraints: (1) nonnegativity constraint on the estimated OD flows, (2) autoregression constraint that enables the proposed model to effectively capture temporal patterns of the OD flows, and (3) orthogonality constraint that ensures the mapping between low-dimensional latent flows and the corresponding link flows to be distance preserving. The parameters of the proposed model are estimated with a training algorithm based on Nesterov accelerated gradient and generally shows fast convergence. We validate the proposed traffic flow estimation model on two real backbone IP network datasets, namely Internet2 and G'EANT. Empirical results show that the proposed model outperforms the state-of-the-art models not only in terms of tracking the individual OD flows but also in terms of standard performance metrics. The proposed model is also found to be highly scalable compared to the existing state-of-the-art approaches.

Introduction

In large-scale cloud and ISP networks, operators require precise knowledge of traffic volume between every pair of nodes—the Origin-Destination (OD) matrix—to facilitate capacity planning, routing optimization, and anomaly detection. However, direct measurement of every OD pair is often technically or financially prohibitive. Consequently, operators typically measure traffic on physical links ($Y$), which relates to the OD flows ($X$) via a routing matrix ($A$) such that $Y = AX$.

The estimation of $X$ from $Y$ and $A$ is an ill-posed linear inverse problem because the number of links ($m$) is significantly smaller than the number of OD pairs ($n$). This leads to infinitely many possible OD matrices for a given set of link observations. Existing solutions often struggle with accuracy, produce non-physical negative traffic values, or fail to scale. This paper introduces a structured Nonnegative Matrix Factorization (NMF) framework to address these challenges by integrating temporal and geometric constraints.

Methodology

The proposed model, MCST-NMF (Multi-Constrained Structured Nonnegative Matrix Factorization), decomposes the traffic matrix $X$ into a low-rank product of two matrices: $W$ (spatial features) and $H$ (latent temporal flows), such that $X \approx WH$. The "Structured" nature of the model is defined by three primary constraints:

  1. Nonnegativity: Unlike traditional PCA-based methods, the model enforces $W, H \ge 0$, ensuring that estimated traffic values are always physically plausible.
  2. Autoregression: To capture diurnal cycles, latent flows in $H$ are constrained to follow an autoregressive pattern. Traffic at time $t$ is modeled as a weighted sum of specific previous time steps (lags).
  3. Orthogonality: An orthogonality constraint is applied to the mapping between latent flows and link flows to ensure the transformation is distance-preserving, aiding in the clustering of link flows based on temporal similarities.
Autoregressive structure of latent temporal flows in the MCST-NMF model.

The autoregressive structure, as illustrated in the figure above, allows the model to learn weights ($\Omega$) dynamically during training, adapting to the specific temporal characteristics of the network. The parameters are optimized using a Nesterov accelerated gradient method for fast convergence, with an Expectation-Maximization (EM) strategy employed to handle missing data.

Experimental Evaluation

The model was validated using two public backbone IP network datasets:

  • Internet2 (Abilene): 12 routers, 144 OD flows, 5-minute intervals.
  • GÉANT: 23 routers, 529 OD flows, 15-minute intervals.

Key Results

MCST-NMF was compared against state-of-the-art methods including PCA, MNETME (neural network), and CS-DME (compressed sensing).

  • Accuracy: On Internet2, the model achieved a mean Spatial Relative Error (SRE) of 0.39, outperforming PCA (0.51) and MNETME (0.69).
  • Temporal Tracking: The model demonstrated superior performance in capturing traffic peaks and troughs.
  • Scalability: Performance remained robust as the number of OD pairs increased, making it suitable for large cloud environments.
  • Ablation Study: Removing autoregression or orthogonality constraints resulted in a performance drop of up to 24%, confirming the importance of the structured constraints.

Conclusion

MCST-NMF provides a robust framework for OD traffic estimation by leveraging the inherent nonnegativity and temporal structure of network data. While the model shows significant improvements in accuracy and scalability, future work may explore Deep NMF architectures to capture more complex hierarchical features or incorporate multi-view learning from diverse network logs to further refine estimates.

Summary updated

BibTeX
@article{atif2021structured,
  author = {Syed Muhammad Atif and Nicolas Gillis and Sameer Qazi and Imran Naseem},
  title = {{Structured Nonnegative Matrix Factorization for Traffic Flow Estimation of Large Cloud Networks}},
  journal = {Computer Networks},
  year = {2021},
  doi = {10.1016/j.comnet.2021.108564},
}
Figure