NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Unveiling the potential of Graph Neural Networks for network modeling and optimization in SDN

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

Abstract

To achieve the vision of truly "self-driving" Software-Defined Networks (SDN), controllers must accurately predict how configuration changes will impact network performance. Traditional modeling techniques, such as queuing theory and packet-level simulators, often fail to balance speed and accuracy or struggle to generalize across different network topologies. This paper explores RouteNet, a novel Graph Neural Network (GNN) architecture designed to predict performance metrics like delay and jitter with high precision. By leveraging the relational inductive bias of GNNs, RouteNet demonstrates an unprecedented ability to generalize to unseen network topologies and routing schemes, offering a scalable solution for real-time network optimization.

Introduction

A fundamental challenge in modern network management is the "what-if" analysis: predicting the performance impact of a routing change before it is deployed. Traditional methods fall into two camps: mathematical models based on queuing theory, which are fast but often inaccurate due to oversimplified traffic assumptions; and packet-level simulators, which are highly accurate but too computationally expensive for real-time use.

Machine Learning (ML) offers a potential middle ground, but standard neural network architectures struggle with the graph-based nature of networks. A model trained on one topology typically fails when applied to another because it lacks an understanding of the underlying relational logic. RouteNet addresses this by using a specialized GNN architecture that treats the network as a collection of interacting links and paths.

The RouteNet Architecture

RouteNet is built upon the framework of Message-Passing Neural Networks (MPNN). Its core innovation lies in how it represents the complex dependencies between network components. Rather than treating nodes as independent entities, RouteNet models the relationship between links and paths.

Figure 1: The proposed knowledge plane architecture where an Optimizer uses the RouteNet GNN model to evaluate configurations against target policies.

The model operates through an iterative message-passing process:

  1. State Initialization: Hidden state vectors are assigned to every link and every source-destination path.
  2. Message Passing: Paths collect information from the links they traverse, and links update their states based on the aggregate traffic of all paths passing through them.
  3. Sequential Modeling: Gated Recurrent Units (GRUs) are used to manage these updates, capturing sequential dependencies such as how the specific order of links in a path contributes to cumulative jitter.
  4. Readout: A final layer translates these converged hidden states into predictions for mean delay and jitter.

Because this architecture mirrors the physical structure of the network, it is inherently topology-invariant, allowing it to learn the fundamental "physics" of network congestion.

Generalization and Performance

To test RouteNet's ability to generalize, the researchers trained the model on a 14-node NSF network using 260,000 samples from an OMNeT++ simulator. They then evaluated it on completely unseen topologies: the 24-node Geant2 and the 17-node German Backbone Network (GBN).

Figure 4: Cumulative distribution of relative error for delay and jitter across different network topologies (NSF, Geant2, GBN), demonstrating strong generalization.

The results were remarkable. RouteNet achieved a Pearson correlation coefficient ($\rho$) of over 0.99 for delay in most scenarios. As shown in the error distribution, the model maintained high accuracy even when moved to larger, more complex topologies it had never encountered during training. This level of generalization—maintaining an $R^2$ of 0.86 in the worst-case test—is a significant breakthrough for ML in networking.

Impact on Network Optimization

RouteNet’s computational efficiency allows it to be integrated directly into SDN optimization loops. In practical tests, an SDN controller using RouteNet to evaluate potential configurations was able to reduce average network delay by up to 43.5% compared to traditional Shortest Path (OSPF) routing. Furthermore, the model proved robust enough to predict the impact of link failures and ensure Service Level Agreement (SLA) compliance by identifying potential bottlenecks before they occurred.

Conclusion and Future Work

RouteNet demonstrates that Graph Neural Networks are uniquely suited for network modeling. By capturing the relational dependencies of links and paths, it provides the accuracy of a simulator with the speed required for real-time control. Future research will focus on extending the model to support heterogeneous link capacities and training on more diverse traffic distributions to prepare the system for production-scale deployment in diverse data center environments.

Summary updated

BibTeX
@inproceedings{rusek2019unveiling,
  author = {Krzysztof Rusek and José Suárez-Varela and Albert Mestres and Pere Barlet-Ros and Albert Cabellos-Aparicio},
  title = {{Unveiling the potential of Graph Neural Networks for network modeling and optimization in SDN}},
  booktitle = {Sosr},
  year = {2019},
  doi = {10.1145/3314148.3314357},
}
Figure