Towards Constraint-aware Learning for Resource Allocation in NFV Networks

Tianfu Wang, Long yang, Chao Wang, Chuan Qin, Liwei Deng, Li Shen, Hui Xiong

TL;DR

This paper introduces CONAL, a novel framework for Virtual Network Embedding (VNE) in NFV networks that tackles the challenge of complex, hard constraints. By formulating VNE as a violation-tolerant Constrained Markov Decision Process (CMDP) and employing a reachability-guided optimization with an adaptive budget, CONAL achieves significantly improved solution feasibility and training stability, outperforming existing methods.

What Problem Does This Paper Address?

Network Function Virtualization (NFV) enables flexible deployment of virtual networks (VNs) on shared physical infrastructure. A core challenge in NFV is Virtual Network Embedding (VNE), which involves mapping VNs to physical networks (PNs). This process is an NP-hard combinatorial optimization problem fraught with intricate and hard constraints, such as resource availability (computing and bandwidth) and path connectivity. Existing approaches, including traditional heuristics and current Reinforcement Learning (RL) methods, often struggle to effectively handle these complex constraints. This leads to compromised system performance, stability, and a lack of guaranteed feasibility for the embedded VNs. A key issue is how to deal with "unsolvable instances" where no feasible solution exists, which can destabilize RL training. Furthermore, accurately capturing the nuanced relationships between VN and PN, especially concerning path bandwidth, remains a challenge for current representation learning techniques.

Methods

CONAL introduces several key innovations to address these challenges:

  • Violation-tolerant CMDP Formulation: Instead of strictly penalizing any constraint violation, CONAL adopts a violation-tolerant CMDP. This allows for complete solution construction and more precise assessment of both solution quality and the degree of violation, even when intermediate steps might have minor violations.
  • Reachability-guided Optimization with Adaptive Reachability Budget (ARB): To ensure persistent zero constraint violation, CONAL uses a reachability-guided optimization objective. Crucially, to handle unsolvable instances and improve training stability, it introduces an adaptive reachability budget. This budget dynamically adjusts based on the solvability of an instance, preventing the instability caused by fixed zero budgets when faced with impossible scenarios.
  • Constraint-aware Graph Representation: To better capture complex VNE constraints, CONAL proposes a novel graph representation. This includes:
  • Heterogeneous Modeling (HM): Integrating VN and PN into a single heterogeneous graph to model cross-graph status interactions.
  • Path-bandwidth Contrast (PC): Employing contrastive learning with feasibility-consistent augmentations to enhance the model's sensitivity to path bandwidth constraints and mitigate the noise from irrelevant links.

These components are integrated into an actor-critic RL framework (specifically, a Lagrangian-based PPO algorithm) for policy optimization.

Datasets

The paper uses the Virne benchmarking library for VNE simulations. The physical network topology used is a Waxman topology (WX100) with 100 nodes and approximately 500 links. For real-world validation, they use network topologies from SNDlib, specifically GEANT and BRAIN.

Key Insights and Ideas

  • The "unsolvable instance" problem is a major bottleneck for RL in VNE: The paper highlights how the presence of instances with no feasible solution can lead to Lagrange multipliers diverging, causing training instability. The adaptive reachability budget is a clever solution to this.
  • Constraint violations aren't always fatal: By adopting a "violation-tolerant" approach, CONAL can still construct complete solutions and get a better sense of overall feasibility, rather than prematurely terminating and losing valuable information.
  • Graph representation matters for complex constraints: Simply using standard GNNs isn't enough. The heterogeneous modeling and path-bandwidth contrast are crucial for capturing the intricate relationships and bandwidth requirements that define VNE feasibility.
  • Trade-off between performance and stability: The adaptive reachability budget and the path-bandwidth contrast augmentations demonstrate a nuanced approach to balancing these two critical aspects of RL training.

Key Results

CONAL consistently outperforms state-of-the-art baselines across various metrics, including:

  • VN Acceptance Rate (VN_ACR): Significantly higher, indicating better ability to accept VN requests.
  • Long-Term Revenue-to-Consumption Ratio (LT_R2C): Demonstrates superior economic efficiency.
  • Long-Term Revenue (LT_REV): Achieves higher revenue.
  • Constraint Violation (C_VIO): Lower, indicating better constraint satisfaction.

For example, in the default settings, CONAL shows improvements in VN_ACR, LT_R2C, and LT_REV compared to leading baselines like NEA-VNE, GA-VNE, and GAL-VNE. The ablation studies confirm the efficacy of each proposed component (HM, PC, REACH, ARB), with the path-bandwidth contrast module (PC) showing a particularly significant impact. The method also demonstrates strong generalizability, scalability, and robustness in real-world network topologies and latency-aware VNE scenarios.

Limitations and Future Work

  • Computational Complexity: While CONAL achieves superior performance, its heterogeneous graph modeling slightly increases computational complexity compared to simpler GNN-based methods. However, the paper argues this is a worthwhile trade-off for performance gains.
  • Hyperparameter Sensitivity: The paper explores the impact of hyperparameters like the surrogate policy update interval and the augment ratio, suggesting that finding optimal values is important for balanced performance and robustness.
  • Future Work: The paper implicitly suggests that further exploration of different graph representation techniques and adaptive optimization strategies could lead to even more robust and efficient VNE solutions. The success in latency-aware VNE also points towards extending CONAL to handle other QoS requirements.

Summary updated

BibTeX
@inproceedings{wang2025towards,
  author = {Tianfu Wang and Long yang and Chao Wang and Chuan Qin and Liwei Deng and Li Shen and Hui Xiong},
  title = {{Towards Constraint-aware Learning for Resource Allocation in NFV Networks}},
  booktitle = {ML4Wireless @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=ZCeIa1gskv},
}
Figure