Dynamic Virtual Network Embedding Algorithm based on Graph Convolution Neural Network and Reinforcement Learning

Peiying Zhang, Chao Wang, Neeraj Kumar, Weishan Zhang, Lei LiuarXiv 2022

TL;DR

This paper introduces a dynamic Virtual Network Embedding (VNE) algorithm that combines Graph Convolutional Neural Networks (GCNN) for feature extraction with Reinforcement Learning (RL) for decision-making. By utilizing a novel "fitness matrix" to track resource utilization, the algorithm effectively manages the shifting topologies and resource demands of real-world networks, significantly outperforming traditional heuristic and static machine-learning approaches.

What Problem Does This Paper Address?

In the world of network virtualization, Virtual Network Embedding (VNE) is the process of mapping virtual network requests (VNRs)—which consist of virtual nodes and links—onto a shared physical infrastructure. Think of it as a complex, multi-dimensional game of Tetris where the "blocks" (virtual networks) have specific CPU and bandwidth requirements, and the "board" (physical network) has limited capacity.

VNE is a known NP-hard problem. Traditional solutions rely on manual heuristics or linear programming, which are often too rigid to handle the dynamic nature of modern networks. In reality, virtual networks aren't static; nodes and links are added or removed, and resource demands fluctuate over time. Existing algorithms often ignore these temporal dynamics, leading to inefficient resource allocation and high "fragmentation," where physical resources are left in small, unusable chunks.

Methods

The authors propose a hybrid model that leverages the strengths of both deep learning and reinforcement learning:

  1. GCNN for Feature Extraction: Since networks are inherently graph-structured, standard neural networks struggle to process them. The authors use a Graph Convolutional Neural Network (GCNN) to automatically extract topological features (like node connectivity and resource availability) from the physical and virtual networks.
  2. Reinforcement Learning (RL) Agent: The algorithm employs the Asynchronous Advantage Actor-Critic (A3C) framework. The "Actor" network generates embedding strategies (policies), while the "Critic" network estimates the value of those strategies to guide training.
  3. Fitness Matrix and Value: This is the paper's "secret sauce." The authors define a fitness matrix to record the remaining CPU capacity of physical nodes relative to virtual requests. This allows the algorithm to calculate a "fitness value" that quantifies how well a physical node can support a virtual one, aiming to minimize resource fragmentation.
  4. Dynamic Handling: Unlike static models, this algorithm includes a specific process (Algorithm 1 in the paper) to re-evaluate and adjust embeddings as the virtual network structure changes (e.g., node/link reduction or increase).
Fig. 3: Graph convolution neural network model based on Reinforcement Learning.

Datasets

The researchers evaluated their algorithm using programmatically generated network environments:

  • Physical Network: A graph consisting of 100 nodes and approximately 600 links. CPU and bandwidth capacities were randomly distributed between 50 and 100 units.
  • Virtual Network Requests (VNRs): 1,000 requests were generated following a Poisson arrival process. Each VNR contained between 2 and 12 nodes, with resource requirements ranging from 1 to 50 units. The life cycle of each VNR followed an exponential distribution to simulate realistic network churn.

Key Insights and Ideas

  • Graphs are not Euclidean: The shift to GCNN is crucial because it treats the network as a graph rather than a simple grid, allowing the model to "understand" the importance of topology and neighbor relationships.
  • Dynamics as a First-Class Citizen: By explicitly modeling the change in network structure over time (as shown in Figure 2), the algorithm avoids the performance degradation that static models face when the environment shifts.
  • Reducing Fragmentation: The use of the fitness matrix encourages the agent to select physical nodes that leave the remaining infrastructure in a state that can still support future requests, rather than just picking the first available node with enough capacity.

Key Results

The proposed algorithm was compared against three baselines: NodeRank (heuristic), MCST-VNE (RL-based), and GCN-VNE (GCNN-based but static).

  • Long-term Average Revenue: In the later stages of the simulation, the proposed algorithm achieved a long-term average revenue 38.8%, 22.5%, and 24% higher than the three comparison algorithms, respectively.
  • Acceptance Rate: The algorithm maintained a significantly higher VNR acceptance rate (the percentage of requests successfully embedded) as time progressed and physical resources became scarce. It outperformed the baselines by 15.2%, 14.5%, and 2.7%.
  • Flexibility: By varying CPU resource requirements, the authors demonstrated that the algorithm remains robust across different scales of demand, showing a clear "turning point" where it optimizes for high-revenue large requests versus high-volume small requests.
Fig. 5: Comparison with the VNR acceptance rate of other algorithms.

Limitations and Future Work

While the results are promising, the paper focuses primarily on CPU and bandwidth. Real-world networks often involve more complex constraints like latency, reliability, and energy consumption. Additionally, the evaluation was performed on synthetic data; testing on large-scale, real-world ISP topologies would be a logical next step. The authors also note that while RL is powerful, the training process for A3C can be computationally intensive, which might pose challenges for ultra-real-time applications.

Summary updated

BibTeX
@misc{zhang2022dynamic,
  author = {Peiying Zhang and Chao Wang and Neeraj Kumar and Weishan Zhang and Lei Liu},
  title = {{Dynamic Virtual Network Embedding Algorithm based on Graph Convolution Neural Network and Reinforcement Learning}},
  year = {2022},
  eprint = {2202.02140},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.02140},
}
Figure