Abstract
Virtual Network Embedding (VNE) is a critical challenge in Network Function Virtualization (NFV), requiring efficient mapping of virtual resources onto physical infrastructure under strict constraints. Traditional reinforcement learning (RL) approaches often struggle with "hard" constraints and unsolvable requests, leading to training instability. This paper introduces CONAL (CONstraint-Aware Learning), a novel RL framework that utilizes a violation-tolerant modeling approach, adaptive reachability budgets, and contrastive graph learning. Experimental results demonstrate that CONAL achieves significantly higher service acceptance rates and superior training stability compared to state-of-the-art methods.
Introduction
In NFV-enabled networks, VNE involves mapping incoming Virtual Network (VN) requests—each with specific CPU and bandwidth requirements—onto a Physical Network (PN) with finite resources. This is an NP-hard problem where any constraint violation renders a solution invalid. Existing RL-based VNE solvers face two primary hurdles:
- Inefficient Learning from Failure: Most agents terminate training upon hitting a constraint, losing valuable information about near-miss scenarios.
- Unsolvable Instances: When a request is physically impossible to fulfill, standard RL algorithms often experience "exploding" penalties (Lagrangian multipliers), causing erratic training behavior.
The CONAL Framework
CONAL addresses these challenges through a multi-faceted architectural approach designed to handle constraints gracefully.
Violation-tolerant CMDP
Instead of binary success/failure, CONAL formulates VNE as a Constrained Markov Decision Process (CMDP) that allows the agent to complete mappings even when constraints are violated. This enables the agent to quantify the "degree of violation," providing a richer gradient signal for policy improvement.
Adaptive Reachability Budget (ARB)
To manage unsolvable requests, CONAL introduces an Adaptive Reachability Budget. A surrogate policy estimates the minimum possible violation for a given instance, which then serves as a dynamic safety threshold. By penalizing the agent only for exceeding this minimum feasible violation, CONAL prevents the mathematical instability typically associated with safe RL in impossible scenarios.
Constraint-aware Graph Representation
The framework employs a heterogeneous Graph Attention Network (GAT) to fuse virtual and physical network features. To enhance bandwidth sensitivity, CONAL utilizes Path-bandwidth Contrast (PC). Inspired by Barlow Twins, this technique trains the model to identify critical topological features by comparing augmented views of the network, ensuring the representation is robust to non-essential link variations.
Evaluation and Results
CONAL was evaluated against traditional heuristics and modern RL baselines using synthetic (Waxman) and real-world (SDNlib) topologies.
As shown in the results table, CONAL consistently outperforms existing methods:
- Higher Acceptance: On the WX100 benchmark, CONAL achieved a VN Acceptance Ratio (VN_RAC) of 0.813, significantly higher than the best RL baseline, GAL-VNE (0.776).
- Better Revenue: It showed improvements of up to 24% in the Revenue-to-Consumption (LT_R2C) ratio compared to top-tier baselines like GA-VNE.
- Stability: Training curves show that while other methods suffer from wild fluctuations in their Lagrangian multipliers, CONAL remains stable, leading to more reliable convergence.
- Real-world Generalization: In the sparse BRAIN topology, where routing is particularly difficult, CONAL maintained high feasibility while other RL methods saw their performance drop sharply.
Conclusion
CONAL represents a significant step forward in constraint-aware resource allocation. By shifting from binary failure modes to a continuous violation-tolerant spectrum and introducing adaptive budgets for unsolvable tasks, it provides a robust and high-performing solution for VNE. Future work will focus on reducing computational overhead and exploring performance in highly dynamic physical topologies.
Summary updated