Abstract
We explore the feasibility of combining Graph Neural Network-based policy architectures with Deep Reinforcement Learning as an approach to problems in systems. This fits particularly well with operations on networks, which naturally take the form of graphs. As a case study, we take the idea of data-driven routing in intradomain traffic engineering, whereby the routing of data in a network can be managed taking into account the data itself. The particular subproblem which we examine is minimising link congestion in networks using knowledge of historic traffic flows. We show through experiments that an approach using Graph Neural Networks (GNNs) performs at least as well as previous work using Multilayer Perceptron architectures. GNNs have the added benefit that they allow for the generalisation of trained agents to different network topologies with no extra work. Furthermore, we believe that this technique is applicable to a far wider selection of problems in systems research.
Introduction
In intradomain traffic engineering, network operators aim to route data to minimize link congestion. While perfect foresight of future traffic demands would allow for mathematically optimal routing (the multicommodity flow problem), real-world scenarios require strategies that can adapt to historical patterns. Recent advances have successfully utilized Deep Reinforcement Learning (DRL) to learn these strategies directly from traffic data. However, existing state-of-the-art DRL approaches predominantly rely on Multilayer Perceptrons (MLPs).
MLPs suffer from a significant limitation: they require fixed input and output sizes. In a network context, this means an agent trained on a specific topology is tied to its exact number of nodes and edges. Any reconfiguration, such as a link failure or expansion, necessitates retraining from scratch. This paper introduces GDDR (GNN-based Data-Driven Routing), which leverages Graph Neural Networks (GNNs) to create routing agents capable of generalizing across diverse and dynamic network topologies.
Methodology
The core of GDDR is the replacement of the MLP policy network with a GNN architecture, trained using the Proximal Policy Optimization (PPO) algorithm. Since networks are inherently graph-structured, GNNs provide a natural inductive bias that allows the model to understand relationships between connected nodes and edges regardless of the specific topology.
To enable effective learning and generalization, several key components were implemented:
- Scalable Observation Space: Instead of an $O(|V|^2)$ demand matrix, the agent receives the sum of incoming and outgoing flows for each vertex, resulting in an $O(|V|)$ space that scales dynamically with the network size.
- Iterative GNN Policy: To handle variable numbers of edges, an "encode-process-decode" architecture was developed. This allows the GNN to output routing weights for edges iteratively, decoupling the agent's architecture from the network size.
- Softmin Routing and Loop Prevention: Edge weights are converted into traffic splitting ratios using a "softmin" function. To prevent routing loops, a custom algorithm ensures the network functions as a Directed Acyclic Graph (DAG) while maintaining multipath load balancing.
Experimental Setup
The framework was evaluated using real-world network graphs from The Internet Topology Zoo. The Abilene network served as the primary baseline, while other graphs of varying sizes were used to test generalization. Traffic data consisted of synthetic demand matrices designed to simulate temporal regularities and "elephant flows" through cyclical bimodal distributions.
Results and Discussion
Experimental results demonstrate that GNN-based policies are highly effective for traffic engineering. On the Abilene network, GNN policies achieved lower maximum utilization ratios compared to both standard shortest-path routing and previous MLP-based methods.
Key findings include:
- Performance: GNN policies outperformed the MLP baseline in minimizing link congestion, as evidenced by the lower maximum utilization ratios.
- Training Efficiency: Despite the perceived complexity of GNNs, they trained at the same frame rate as MLPs (~70 fps) and converged to high-performance plateaus more quickly.
- Zero-Shot Generalization: The iterative GNN policy demonstrated "zero-shot" generalization, successfully routing traffic on unseen topologies and networks with structural changes without any additional training.
Conclusion
GDDR demonstrates that GNNs are a powerful alternative to MLPs for network routing tasks, offering superior performance and the critical ability to generalize to new topologies. While the softmin approximation presents some challenges in reaching theoretical optima on complex graphs, the benefits of structural awareness and scalability are significant. Future work will focus on deploying these agents in real-world Software-Defined Networking (SDN) environments and extending the GNN-DRL approach to other systems problems like resource scheduling and rate control.
Summary updated