Abstract
This paper introduces a Graph Neural Network (GNN) architecture designed to act as a "Network Digital Twin," capable of predicting performance metrics like delay and jitter across varying network sizes. The core innovation lies in using scale-independent feature representations and recursive flow-splitting, allowing a model trained on small networks (up to 50 nodes) to generalize accurately to networks six times larger (300 nodes) with only a marginal increase in error.
Introduction
Machine Learning (ML) models, including standard GNNs, often suffer from a "generalization gap": they perform well on data similar to their training set but fail when faced with larger or more complex structures. In computer networking, this is a critical limitation. A model trained in a small-scale lab environment must be able to operate in massive, real-world customer networks.
The authors identify three specific scaling hurdles in networking:
- Topology Size: More nodes and edges than seen during training.
- Link Capacity: Larger networks often have much higher link capacities and aggregated traffic volumes, leading to "out-of-distribution" numerical values.
- Path Length: As networks grow, the number of hops a packet takes increases, creating longer sequences than the model was trained to process.
Methodology
The proposed GNN implements a three-stage message-passing algorithm involving three primary entities: Flows ($F$), Queues ($Q$), and Links ($L$). This structure allows the model to capture the complex interdependencies between traffic patterns and physical infrastructure.
Key technical innovations include:
- Scale-Independent Capacities: Instead of raw link capacity, the model represents capacity as a product of a virtual reference capacity ($C_{ref}$) and a scale factor ($S_f$). This keeps input features within a known numerical range.
- Recursive Flow Splitting: To handle paths longer than those seen in training, the model defines a maximum sequence length ($L_{max}$). Longer flows are split into segments, passing the GNN's hidden state between them to maintain context across many hops.
- Queuing Theory-Inspired Output: The model predicts queue occupation (0 to 1) rather than direct end-to-end delay. Total delay is then reconstructed using principles from Queuing Theory, providing a stronger relational inductive bias.
Experimental Setup
Ground truth data was generated using OMNeT++, a high-fidelity packet-level network simulator. Synthetic topologies ranging from 25 to 300 nodes were generated using the Power-Law Out-Degree Algorithm, with characteristics extrapolated from the Internet Topology Zoo. Crucially, the model was trained exclusively on small networks (25–50 nodes) and tested on unseen networks up to 300 nodes to evaluate scaling limits.
Key Results and Insights
The model demonstrates remarkable robustness to network size. On networks similar to the training size (50–99 nodes), it achieved a low 4.5% absolute relative error. As the network size increased to 300 nodes—a 6x scale-up—the error stabilized at approximately 10%.
This "graceful degradation" suggests that embedding domain knowledge (like Queuing Theory) into the GNN architecture makes it inherently more robust than purely data-driven approaches. Furthermore, the model is computationally efficient; inference times ranged from 48ms to 100ms on a standard CPU, making it suitable for real-time network management.
Limitations and Future Work
While successful, the current evaluation focused on FIFO scheduling policies. Future work will explore more complex scheduling like Weighted Fair Queuing. Additionally, while 300 nodes is a significant step, "mega-networks" with thousands of nodes may require further optimizations in message-passing efficiency to maintain sub-second inference times. Finally, moving from high-fidelity simulations to real-world hardware will be necessary to account for physical buffer management quirks.
Summary updated