Gemma: Reinforcement Learning-Based Graph Embedding and Mapping for Virtual Network Applications

Minjae Park, Youngseok Lee, Ikjun Yeom, Honguk Woo

Abstract

Virtual Network Mapping (VNM) is a fundamental challenge in network virtualization, requiring the efficient allocation of virtual nodes and links onto physical substrate resources. As an NP-hard problem, traditional heuristics often fail to generalize across diverse network topologies. We propose Gemma (neural Graph EMbedding and MApping), a reinforcement learning (RL) framework that utilizes graph embeddings and a novel two-stage mapping process to optimize VNM. Gemma introduces a selective embedding update mechanism to maintain high performance while significantly reducing computational overhead. Experimental results across online data center (DCNet) and offline ISP scenarios demonstrate that Gemma outperforms state-of-the-art methods in both efficiency and mapping quality.

Introduction

In the domain of network virtualization, Virtual Network Mapping (VNM) involves the placement of virtual nodes and links onto a physical substrate network, such as a data center or an ISP backbone, while adhering to strict resource constraints like CPU and bandwidth. Due to its NP-hard nature, this combinatorial optimization problem has historically been addressed using hand-crafted heuristics. However, these methods are often brittle and fail to adapt to changing topologies or workloads.

Conceptual overview of mapping virtual network nodes to substrate nodes via graph embedding.

While deep reinforcement learning (DRL) has emerged as a promising alternative, existing models frequently struggle with scalability or fail to capture the intricate structural relationships between network nodes. Gemma addresses these limitations by combining relational graph embeddings with an efficient mapping architecture.

Methodology

Gemma employs an encoder-decoder architecture driven by RL, designed for both high accuracy and computational efficiency.

1. Graph Embedding Encoder

To ensure the model understands the underlying network topology, Gemma uses a Laplacian matrix-based graph convolution approach. This converts the network structure into low-dimensional vectors, capturing relational features that simple multi-layer perceptron (MLP) models overlook.

2. Two-Stage Mapping Process

Standard RL decoders typically score every possible pair of virtual and substrate nodes, leading to a complexity of $O(nm)$. Gemma optimizes this by splitting the task into two stages:

  • Ranking: Virtual nodes are ranked based on their resource requirements and topological importance.
  • Mapping: The best substrate node is identified for the top-ranked virtual node. This reduction to $O(n+m)$ complexity enables Gemma to scale effectively to large networks.
The overall structure of the Gemma framework, illustrating the encoder-decoder flow from network features to node mapping.

3. Model-Based Selective Embedding

Substrate networks are dynamic, with resource availability changing after every mapping. Recalculating embeddings for every change is computationally prohibitive. Gemma introduces the EMModel, a distance prediction model that estimates the magnitude of embedding changes. If the predicted change is below a certain threshold, the expensive recalculation is skipped, providing a significant speedup with minimal impact on accuracy.

Experimental Evaluation

The researchers evaluated Gemma using two distinct scenarios:

  • DCNet (Online): Simulates a data center with a Fat-tree topology. Requests arrive individually over time, following query structures from the TPC-H benchmark.
  • ISP (Offline): Simulates an Internet Service Provider using Erdos-Renyi random graphs. The model handles batch requests to maximize the overall acceptance ratio.

Key Results

Gemma consistently outperformed traditional heuristics (e.g., GRC, First-Fit) and state-of-the-art DRL methods (e.g., RLVine, GVine).

  • Performance: In DCNet tests, Gemma achieved significantly lower "slowdown" metrics. In ISP scenarios, it maintained a higher acceptance ratio, particularly as resource heterogeneity increased.
  • Scalability: Gemma's inference time remained under 3 seconds even for large virtual networks, whereas baseline models exhibited exponential runtime growth.
  • Robustness: Across various network scales, Gemma showed a 2.3% to 13.5% improvement over competing learning-based methods.

Conclusion

Gemma demonstrates that a unified learning-based framework can effectively generalize across diverse network environments. By prioritizing structural awareness and computational efficiency through selective updates and two-stage mapping, it provides a scalable solution for modern virtual network applications. Future work will focus on transitioning Gemma to a distributed model to enhance resilience in massive-scale deployments and integrating RL-based link mapping.

Summary updated

BibTeX
@article{park2021gemma,
  author = {Minjae Park and Youngseok Lee and Ikjun Yeom and Honguk Woo},
  title = {{Gemma: Reinforcement Learning-Based Graph Embedding and Mapping for Virtual Network Applications}},
  journal = {IEEE Access},
  year = {2021},
  doi = {10.1109/access.2021.3100283},
}
Figure