RouteNet: Leveraging Graph Neural Networks for network modeling and optimization in SDN

Krzysztof Rusek, José Suárez-Varela, Paul Almasan, Pere Barlet-Ros, Albert Cabellos-Aparicio

Abstract

Modern Software-Defined Networks (SDN) require rapid performance evaluation to enable "self-driving" capabilities. Traditional methods like queuing theory are often inaccurate, while packet-level simulators are too slow for real-time optimization. This paper introduces RouteNet, a Graph Neural Network (GNN) based model that predicts network Key Performance Indicators (KPIs) such as delay, jitter, and packet loss. RouteNet captures the complex dependencies between topology, routing, and traffic patterns. Experimental results demonstrate that RouteNet achieves the accuracy of packet-level simulators with orders of magnitude faster inference and generalizes effectively to previously unseen network topologies.

Introduction

To achieve efficient, autonomous network management, the centralized SDN control plane must evaluate "what-if" scenarios rapidly. For instance, an optimizer seeking to minimize latency by reconfiguring routing needs a model to predict performance outcomes. Historically, network operators faced a trade-off between fast but inaccurate analytic models (e.g., Queuing Theory) and accurate but computationally intensive packet-level simulators.

Standard deep learning architectures like CNNs or fully-connected networks struggle with network data because they are not designed for graph-structured information. They typically fail to generalize; a model trained on a specific topology often fails when applied to a different one. RouteNet addresses these challenges by leveraging the inherent graph structure of communication networks.

Figure 1: RouteNet integrated into the SDN Knowledge Plane for network optimization.

Methodology

RouteNet is built on Message Passing Neural Networks (MPNNs) to model the circular dependencies in networks: path states depend on the links they traverse, and link states depend on the paths traversing them.

Key Technical Innovations

  • Message Passing Architecture: RouteNet uses hidden state vectors to encode link and path states, iteratively passing messages to converge on a global network state representation.
  • Sequential Link Aggregation via RNNs: Unlike standard GNNs that sum neighbor states, RouteNet treats paths as ordered sequences of links. It utilizes Gated Recurrent Units (GRUs) to aggregate link states, capturing sequential dependencies such as cumulative packet loss.
  • Probabilistic Modeling: Instead of point estimates, RouteNet predicts parameters of probability distributions (e.g., Normal for delay/jitter, Binomial for drops). This allows a single model to capture multiple statistics of the same process.
  • Residual Connections: To improve gradient flow during training, residual connections are added from path hidden states to the final readout layers.

Performance Evaluation

The model was trained on 260,000 samples from three topologies (NSF, Geant2, Germany50) and tested on an additional 112,000 samples, including a completely unseen 17-node GBN topology to evaluate zero-shot generalization.

Figure 2: Cumulative Distribution Function (CDF) of the relative error for delay, jitter, and drops in RouteNet across test and unseen (GBN) topologies.

Key Results

  • Generalization: On the unseen GBN topology, RouteNet achieved a Mean Relative Error (MRE) of 2.5% for delay, significantly outperforming the Queuing Theory baseline (12.6% MRE).
  • Efficiency: Inference is orders of magnitude faster than simulation. A 200-node network inference takes approximately 99.2 ms on a GPU.
  • Optimization Utility: When integrated into a routing optimizer, RouteNet-backed decisions matched the performance of those guided by ground-truth simulators, vastly outperforming traditional shortest-path heuristics.

Conclusion

RouteNet demonstrates that Graph Neural Networks can learn the underlying "physics" of network queuing and routing. By preserving topological relations, it achieves high accuracy and remarkable generalization. Future work includes expanding training sets for broader out-of-distribution generalization and extending the architecture to provide link-level congestion predictions.

Summary updated

BibTeX
@article{rusek2020routenet,
  author = {Krzysztof Rusek and José Suárez-Varela and Paul Almasan and Pere Barlet-Ros and Albert Cabellos-Aparicio},
  title = {{RouteNet: Leveraging Graph Neural Networks for network modeling and optimization in SDN}},
  journal = {IEEE JSAC},
  year = {2020},
  doi = {10.1109/jsac.2020.3000405},
}
Figure