Real-Time Network Traffic Forecasting with Missing Data: A Generative Model Approach

Lei Deng, Wenhan Xu, Jingwei Li, Danny H. K. TsangarXiv 2025 · DOI

Abstract: Accurate network traffic forecasting is critical for proactive network management, yet real-world data is frequently incomplete due to sensor failures, packet drops, or sampling strategies. This paper introduces the Generative Model for Forecasting (GMF) framework, which treats traffic prediction as a tensor completion problem. By leveraging a pre-trained generative model and optimizing within a compact latent space, GMF achieves high-accuracy, real-time forecasting even when up to 90% of historical data is missing.

Introduction

Modern network management—including proactive congestion control and dynamic resource allocation—relies heavily on accurate traffic forecasting. Most state-of-the-art models, such as LSTMs or Transformers, assume access to a complete and perfect history of traffic data. However, in operational environments, data is rarely perfect. Sensors fail, packets are dropped during periods of high congestion, and operators often sample only a subset of "Origin-Destination" (OD) pairs to minimize measurement overhead.

When data is missing, the underlying low-rank structure of network traffic—the predictable patterns across time and space—becomes distorted. Traditional solutions typically involve a two-step process: first imputing missing values and then performing the forecast. This approach is often too computationally expensive for real-time applications and suffers from "error accumulation," where inaccuracies in the imputation phase degrade the final forecast. GMF addresses these challenges by integrating Tensor Completion (TC) with Generative AI.

Methodology: The GMF Framework

The researchers rethink the forecasting task by modeling network traffic as a multi-dimensional structure and applying a generative prior to recover missing information.

Tensor Representation

Network traffic is modeled as a 3D tensor $\mathcal{T} \in \mathbb{R}^{n \times n \times n_3}$, where the dimensions represent the origin node, destination node, and time interval. Forecasting is framed as predicting the "future" slices of this tensor based on incomplete historical observations.

Figure 2: The 3D tensor structure representing network traffic across origin nodes, destination nodes, and time intervals.

The GMF Architecture

The GMF framework operates in two distinct phases: a pre-training phase and an online inference phase. This separation allows the model to learn complex patterns offline and apply them rapidly in real-time.

Figure 3: Overview of the GMF framework, showing the pre-training of the generator and optimizer (Phase 1) followed by real-time online inference (Phase 2).
  1. Generative Prior ($G_\theta$): Instead of optimizing the high-dimensional traffic tensor directly, the system uses a pre-trained generator. This model learns the intrinsic low-rank structure of network traffic during the pre-training phase, effectively "memorizing" the physics of traffic flow.
  2. Tensor Layers (TL): To avoid the loss of spatial information common in standard neural networks that "flatten" data, GMF utilizes specialized Tensor Layers based on the "t-product" operation. These layers preserve the multi-dimensional correlations between different network nodes.
  3. Latent Space Optimization: During inference, the model searches for a compact latent representation ($z$) that, when passed through the generator, matches the observed (incomplete) historical data. By optimizing in this low-dimensional space rather than the full tensor space, computational complexity is drastically reduced.
  4. Learning to Optimize: To meet real-time requirements, the authors replace iterative gradient descent with a lightweight neural network optimizer ($f_\phi$). This optimizer quickly maps current observations to the optimal latent state, enabling sub-100ms performance.

Experimental Evaluation

The model was evaluated using two real-world IP network datasets: the Abilene Dataset (12 nodes, 5-minute intervals) and the GÉANT Dataset (23 nodes, 15-minute intervals). To simulate real-world conditions, the researchers randomly masked between 10% and 90% of the historical data.

Key Results

  • Real-Time Performance: GMF achieves inference times of < 100 ms, making it suitable for high-speed network operations where traditional tensor completion methods (which can take several seconds) would fail.
  • High Accuracy: On the Abilene dataset, GMF maintained a Mean Absolute Error (MAE) below 0.002.
  • Robustness to Data Loss: Remarkably, the model maintains high stability even when 90% of the data is missing. While baselines like LSTMs saw their accuracy plummet when forced to rely on imputed data, GMF remained consistent by leveraging its generative prior.

Conclusion and Future Work

GMF demonstrates that generative models can effectively "hallucinate" missing network data by capturing spatiotemporal correlations in a latent space. While the model currently requires a representative historical dataset for pre-training and assumes a fixed network topology, it represents a significant step toward robust, real-time network intelligence. Future research may explore "Graph-Generative" models to accommodate dynamic topologies where nodes frequently join or leave the network.

Summary updated

BibTeX
@misc{deng2025real,
  author = {Lei Deng and Wenhan Xu and Jingwei Li and Danny H. K. Tsang},
  title = {{Real-Time Network Traffic Forecasting with Missing Data: A Generative Model Approach}},
  year = {2025},
  eprint = {2506.09647},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.09647},
}
Figure