Next Article in Journal
Knowledge-Based Design Methodology for Human Resources Information Management
Previous Article in Journal
Cache-Based Resource Allocation and Auxiliary Beamforming Optimization Method for Marine Non-Terrestrial Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Task Offloading Based on Virtual Network Embedding in Software-Defined Edge Networks: A Deep Reinforcement Learning Approach

1
School of New-Generation Information Technology, Shandong Polytechnic, Jinan 250104, China
2
Qingdao Institute of Software, College of Computer Science and Technology, China University of Petroleum (East China), Qingdao 266580, China
3
School of Information and Communication Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China
*
Author to whom correspondence should be addressed.
Information 2026, 17(3), 278; https://doi.org/10.3390/info17030278
Submission received: 12 January 2026 / Revised: 6 March 2026 / Accepted: 7 March 2026 / Published: 10 March 2026
(This article belongs to the Section Information and Communications Technology)

Abstract

The advent of 5G/6G technologies and the pervasive deployment of IoT devices are driving the emergence of demanding applications that necessitate ultra-low latency, high bandwidth, and significant computational power. Traditional cloud computing models fall short in meeting these stringent requirements. To address this, Software-Defined Edge Networks (SDENs) have emerged as a promising architecture, yet efficiently managing their heterogeneous and geographically distributed resources poses substantial challenges for optimal application provisioning. In response, this paper proposes a novel framework for intelligent task offloading, which reframes the intricate multi-component application task offloading problem as a Virtual Network Embedding (VNE) challenge within a SDEN environment. We introduce a comprehensive model where complex applications are represented as Virtual Network Requests (VNRs). In this model, each VNR consists of virtual nodes that demand specific computing and storage resources, as well as virtual links that demand specific bandwidth and must adhere to maximum tolerable delay constraints. To dynamically solve this NP-hard VNE problem in the face of stochastic VNR arrivals and dynamic network conditions, we leverage Deep Reinforcement Learning (DRL). Specifically, a Soft Actor-Critic (SAC) agent is employed at the SDN controller. This agent learns a sequential decision-making policy for mapping virtual nodes to physical edge servers and virtual links to network paths. To guide the agent towards efficient resource utilization, we define the reward for each successful embedding as the long-term revenue-to-cost ratio. By learning to maximize this reward, the agent is naturally driven to find economically viable allocation strategies. Comprehensive simulation experiments demonstrate that our SAC-based VNE approach significantly outperforms other baselines across key metrics, affirming its efficacy in dynamic SDEN environments.

1. Introduction

The confluence of next-generation wireless technologies, notably 5G and beyond, and the proliferation of the Internet of Things (IoT) has catalyzed a paradigm shift toward a hyper-connected society [1,2]. This transformation is fostering a new wave of revolutionary applications, including immersive augmented and virtual reality (AR/VR), autonomous vehicles, industrial automation, and the nascent metaverse [3]. A common thread uniting these applications is their stringent demand for ultra-low latency, high bandwidth, and substantial computational power [4]. The conventional cloud computing model, which relies on centralized data centers, has proven increasingly inadequate for these latency-sensitive services due to the significant propagation delays incurred by routing data over long-haul networks and the potential for core network congestion. To bridge this gap, the paradigm of Mobile Edge Computing (MEC) has emerged, relocating computational and storage resources from the distant cloud to the network edge, in close proximity to end-users [5,6,7]. Concurrently, Software-Defined Networking (SDN) offers a programmable and centralized control plane, which integrated with MEC, forms a Software-Defined Edge Computing (SDEC) architecture [8,9,10]. This architecture provides the foundational agility and global network visibility necessary for dynamically managing distributed edge resources and orchestrating complex service delivery in real-time [11].
Despite the promise of the SDEC architecture, effectively managing its resources presents formidable challenges. The edge infrastructure is inherently heterogeneous and geographically dispersed, comprising a diverse array of physical assets such as powerful edge servers, computationally capable base stations, and interconnected network devices [12]. This distributed and varied nature complicates the core problem of resource allocation: how to efficiently and flexibly orchestrate these scattered resources to satisfy the diverse Quality of Service (QoS) requirements of myriad coexisting applications [13]. A brute-force or static allocation strategy is often suboptimal, leading to resource fragmentation, underutilization, and an inability to adapt to the dynamic fluctuations in service demands and network conditions. To address this fundamental challenge, network virtualization has been recognized as a pivotal enabling technology [14,15]. By decoupling services from the underlying physical hardware, it allows for the creation of multiple isolated, customized, and on-demand logical networks, commonly known as network slices, atop a shared physical infrastructure. The core technical problem in operationalizing network virtualization and network slicing is Virtual Network Embedding (VNE) [16]. Formally, VNE is the process of mapping a Virtual Network Request (VNR), an abstraction of a service’s resource demands, composed of virtual nodes (representing computational and storage requirements) and virtual links (representing communication and bandwidth requirements), onto the substrate physical network of edge servers and their interconnections [17,18]. This abstraction elegantly transforms the complex task of application-specific resource provisioning into a structured mapping problem, laying the groundwork for systematic and automated resource management.
The research landscape for VNE has evolved significantly over the years, progressing from early rule-based heuristics to more sophisticated, learning-based methodologies. Initial research on the VNE problem was predominantly focused on heuristic algorithms, which guide the search process using pre-defined, experience-driven rules. A classic and influential work in this area was proposed by Cheng et al. [19], who introduced the NodeRank algorithm. The core idea of NodeRank is to first compute a resource weight for all physical nodes, which holistically considers both their available resources and their topological significance within the network. Based on this calculated priority, physical nodes are then selected for mapping in a greedy fashion. Building on this, and recognizing that the efficient utilization of node resources can cascade to promote the efficient use of physical link resources, Zhang et al. [20] proposed two VNE algorithms based on multi-dimensional resource constraints, namely NRM-VNE and RCR-VNE. Other contributions in this domain have utilized meta-heuristic approaches, such as genetic algorithms and swarm intelligence, which employ population-based search strategies to explore the solution space more broadly than simple greedy methods [21]. Despite their simplicity and relatively low computational overhead, heuristic and meta-heuristic approaches suffer from several fundamental limitations that curtail their effectiveness, especially in large-scale and dynamic network environments. Their primary drawback is their myopic and greedy nature, which often leads them to converge on locally optimal solutions that are globally suboptimal. This shortsighted decision-making frequently results in severe resource fragmentation across the substrate network, where residual resources are scattered in small, unusable blocks. Consequently, the network’s ability to accept future, potentially more valuable, VNRs is diminished. Furthermore, these algorithms are based on static, pre-defined rules and lack the ability to adapt to the highly dynamic conditions of modern edge networks, such as stochastic VNR arrivals and fluctuating resource loads [22]. As the network scale increases, the performance of these static strategies degrades sharply, making them unsuitable for the demands of SDEN environments. To overcome these limitations, the mainstream approach for solving the VNE problem has increasingly shifted towards reinforcement learning (RL) [23,24]. The RL paradigm is exceptionally well-suited for this challenge as it reframes the VNE problem as a Markov Decision Process (MDP) [25]. In this formulation, the SDN controller, with its global network view, naturally assumes the role of an intelligent agent [26]. The current resource availability of the substrate network constitutes the state, the mapping decision for a virtual node or link represents the action, and a performance metric (e.g., revenue, acceptance rate) serves as the reward signal. By interacting with the network environment over time, the agent learns a sophisticated policy that maximizes the long-term cumulative reward, thereby transcending the limitations of static, rule-based methods. Several notable works have demonstrated the efficacy of RL in this domain. For instance, Yao et al. [27] proposed a continuous-decision VNE algorithm based on RL (CDRL), which pioneered the modeling of the node mapping stage as a sequential decision process, allowing the agent to make one mapping decision at a time. Pushing the boundaries of state representation further, Zhang et al. [28] introduced an innovative VNE algorithm that applies Graph Convolutional Networks (GCNs) within an RL framework (GRL). The GCN is leveraged to effectively extract spatial features and topological information from the substrate network, enabling the agent to make more informed decisions that account for the network’s structure. Furthermore, they designed a specific dynamic objective function based on a fitness matrix to guide the learning process, which was shown to significantly enhance the overall algorithm performance by aligning the reward signal more closely with the goal of sustainable resource allocation. Building upon these foundational DRL-based methods, more recent research has explored further specializations and architectural enhancements. For instance, He et al. [29] tackled a similar Virtual Network Function (VNF) placement problem by introducing an attention mechanism into a Deep Deterministic Policy Gradient (DDPG) framework. Their proposed A-DDPG algorithm leverages this mechanism to enable the DRL agent to focus on more relevant neighboring nodes with sufficient resources, thereby improving the quality of placement decisions. Concurrently, Xiao [30] proposed DVNE-DRL, a DRL-based framework notable for its detailed network feature extraction process and a multi-faceted reward function. The reward function in this work is explicitly shaped to jointly optimize for VNR acceptance rate, revenue-to-cost efficiency, and network load balancing, aiming to learn a more holistic embedding policy. Addressing the challenges of privacy and scalability in multi-domain networks, Zhang et al. [31] proposed an innovative framework combining Horizontal Federated Learning (HFL) with DRL. In their HFL-VNE approach, local DRL agents are deployed in each domain to make autonomous decisions, while a central server aggregates the model parameters, which avoids sharing raw local data and is designed to reduce cross-domain resource fragmentation while preserving privacy.
While the aforementioned approaches have advanced the field, they still face significant challenges in the context of dynamic SDENs. Firstly, heuristic algorithms, with their static and predefined rules, lack the adaptability to cope with stochastic VNR arrivals and fluctuating network resource loads. Secondly, their inherent myopic and greedy nature often leads to severe resource fragmentation, diminishing the network’s capacity to accept future, potentially more valuable, requests and thus undermining long-term performance. Thirdly, there is a need for a unified framework that can address the joint allocation of heterogeneous resources, holistically considering computing, storage, and network constraints.
Therefore, the problem we address is to develop an online and adaptive decision-making policy that can intelligently map incoming task offloading requests, framed as VNE problems, onto the physical SDEN infrastructure. The objective is to learn a policy that transcends short-term gains, aiming instead to optimize the long-term revenue-to-cost ratio and VNR acceptance rate, thereby ensuring both economic viability and high service availability. To tackle these challenges, this paper proposes a novel deep reinforcement learning framework. The primary contributions of our work are threefold:
(1)
A novel VNE-based formulation for task offloading in SDEC: We pioneer a formal model that transforms the intricate problem of application task offloading into a VNE problem. An application, composed of multiple interdependent subtasks, is abstracted as a Virtual Network Request (VNR), where virtual nodes represent the computational and storage demands of subtasks, and virtual links represent the data dependencies and communication bandwidth requirements between them. This modeling provides a unified and structured approach to the joint allocation of computing and network resources, which is a significant departure from conventional offloading models that often treat these resources disjointly.
(2)
A DRL framework for dynamic VNE: We design an intelligent and adaptive VNE algorithm based on the Soft Actor-Critic (SAC) model, a state-of-the-art DRL algorithm known for its sample efficiency and stability in continuous and large state spaces. The SDN controller acts as the learning agent, observing the global state of the edge network and making sequential embedding decisions. This framework is specifically tailored to learn a policy that maximizes long-term system performance in a highly dynamic environment where VNRs arrive stochastically.
(3)
DRL-driven optimization of key performance metrics: Our framework is meticulously designed to optimize critical long-term performance metrics for task offloading. This is achieved by engineering the reward function to directly reflect the revenue-to-cost ratio. By training the agent to maximize the cumulative reward, the learning process inherently steers the VNE policy towards solutions that not only increase revenue but also improve resource efficiency. As demonstrated in our experiments, this core optimization of the revenue-to-cost ratio consequently leads to significant improvements in the VNR acceptance rate and overall system revenue.
The remainder of this paper is structured as follows: Section 2 details the system architecture and problem formulation, where we formally model the SDEN and conceptualize the task offloading problem as a VNE formulation. Section 3 presents the VNE constraints that must be satisfied for a valid resource allocation, and defines the key performance metrics used for evaluating our proposed algorithm. In Section 4, we elaborate on the core contribution of this work, presenting the proposed task offloading algorithm based on VNE for SDEN, including its MDP formulation and the design of the SAC agent. Section 5 provides a comprehensive experimental evaluation, where we validate the performance of our approach through extensive simulations and analyze the results against several baseline algorithms. Finally, Section 6 concludes the paper.

2. System Model and Problem Formulation

This section introduces the architectural framework and formal models for our proposed task offloading scheme. We begin by defining the physical infrastructure of the SDEN. Subsequently, we abstract the application task requirements into a virtualized representation. Finally, we formulate the core task offloading challenge as a VNE problem. To clarify the process, a schematic diagram is shown in Figure 1. The symbols used in this paper are defined as shown in Table 1.

2.1. Software-Defined Edge Network Architecture

The underlying physical infrastructure in our study is an SDEN, which is formally modeled as an undirected graph, denoted by G S = ( N S , L S ) . This graph represents the complete set of physical resources available at the network edge for service provisioning.
  • Substrate Nodes ( N S ): The set N S comprises all physical nodes within the edge network. Each substrate node, n s N S , represents a physical entity such as an edge server or a base station equipped with computational capabilities. Each node is characterized by a vector of resource attributes, primarily its total computing capacity, denoted as C ( n s ) , and its total storage or memory capacity, denoted as M ( n s ) .
  • Substrate Links ( L S ): The set L S represents the physical communication links interconnecting the substrate nodes. Each substrate link, l s L S , that connects two nodes n s , i and n s , j is defined by its total available bandwidth, B W ( l s ) , and its inherent communication latency, D ( l s ) , which aggregates propagation, transmission, and processing delays.
The entire SDEN is orchestrated by a logically centralized SDN controller [32]. This controller maintains a global and near real-time perspective of the network’s topology and the dynamic state of all substrate resources (e.g., available CPU, memory, and link bandwidth). This centralized intelligence is fundamental for executing globally aware and optimized embedding decisions.

2.2. Application Task Model as a Virtual Network Request

We model a complex, multi-component application that is a candidate for offloading as a Virtual Network Request (VNR). Each VNR, which arrives at the system at a specific time and has a defined lifetime, is represented as a directed graph G V = ( N V , L V ) . This abstraction encapsulates the application’s comprehensive, end-to-end resource requirements.
  • Virtual Nodes ( N V ): The set N V corresponds to the individual subtasks or functional components of an application. Each virtual node, n v N V , specifies the resources necessary for its execution. These requirements are defined by the requested computational capacity, C ( n v ) , and the requested memory capacity, M ( n v ) .
  • Virtual Links ( L V ): The set L V represents the data dependencies and required communication flows between the application’s subtasks. Each virtual link, l v L V , from  n v , i to n v , j signifies that the output of subtask n v , i serves as input for subtask n v , j . Each virtual link is characterized by its requested data transfer bandwidth, B W ( l v ) , and a maximum tolerable delay constraint for the data transfer, D m a x ( l v ) .

2.3. Problem Formulation

Given the substrate SDEN model G S and a stochastic stream of incoming VNRs, each represented by a G V , the task offloading problem is formally defined as a VNE process. This process seeks a mapping function, F : G V G S , where G S is a valid subgraph of the substrate network G S . A valid mapping must satisfy all resource demands of the VNR while strictly adhering to the capacity constraints of the substrate network. This overarching challenge is decomposed into two constituent sub-problems:
  • Node Mapping: Each virtual node n v N V must be exclusively mapped onto a single physical node n s N S capable of satisfying its computational and memory requirements. Let a binary variable x n s n v { 0 , 1 } indicate if n v is mapped to n s . The node mapping function is constrained by:
    n s N S x n s n v = 1 , n v N V .
  • Link Mapping: Each virtual link l v L V connecting virtual nodes n v , i and n v , j must be mapped onto a physical path, denoted as P S ( n s , i , n s , j ) , in the substrate network. This path connects the physical nodes n s , i and n s , j that host n v , i and n v , j , respectively. The mapped path must collectively provide the required bandwidth and satisfy the end-to-end delay constraint. Let a binary variable y l s l v { 0 , 1 } indicate if substrate link l s is part of the path mapping virtual link l v .
The VNE problem is computationally equivalent to the multi-way separator problem and is thus NP-hard [33]. In the dynamic context of an SDEN, where VNRs arrive and depart stochastically, the primary objective is to develop a policy that can make intelligent embedding decisions online. The overarching goal transcends satisfying individual requests, aiming instead to optimize the long-term operational performance and economic efficiency of the entire system.

3. VNE Constraint and Performance Indicators

This Section details the specific mathematical constraints that must be upheld during the VNE process to ensure a valid resource allocation. Furthermore, it defines the key performance indicators (KPIs) utilized to evaluate the efficacy of our proposed DRL-based strategy. These metrics are essential for quantitatively assessing the long-term system performance and economic viability from the perspective of a network service provider.

3.1. VNE  Constraints

For a VNR to be successfully embedded onto the substrate network, a series of rigorous constraints governing both node and link resource allocation must be met. Let A C ( n s ) , A M ( n s ) , and  A B W ( l s ) represent the available computational, memory, and bandwidth resources on substrate node n s and link l s , respectively.
  • Node Resource Constraints: The aggregate resources required by all virtual nodes mapped onto a single physical node must not exceed its physical capacity.
    G V n v N V x n s n v · C ( n v ) A C ( n s ) , n s N S .
    G V n v N V x n s n v · M ( n v ) A M ( n s ) , n s N S .
  • Link Resource Constraints: The sum of bandwidth allocated to all virtual links passing through a single physical link cannot exceed its total bandwidth capacity.
    G V l v L V y l s l v · B W ( l v ) A B W ( l s ) , l s L S .
  • Latency Constraint: The cumulative latency of the physical path P S selected for a virtual link l v must not surpass the VNR’s maximum tolerable delay.
    l s P S D ( l s ) D m a x ( l v ) , l v L V .
Upon a successful embedding, the available resources of the corresponding substrate nodes and links must be updated by decrementing the allocated amounts. Conversely, when a VNR’s lifetime expires, its allocated resources are released back into the available resource pool.

3.2. Performance Evaluation Metrics

To systematically evaluate the performance of our DRL-based VNE strategy, we adopt three widely recognized, long-term metrics. These indicators reflect both the operational success and the economic efficiency of the system. For a given VNR i , let its arrival time be t a r r ( i ) and its departure time be t d e p ( i ) , defining its lifetime as Δ t ( i ) = t d e p ( i ) t a r r ( i ) .
  • Long-Term Average Revenue: This metric quantifies the total economic value generated by successfully accommodating VNRs over a sustained period. The revenue of a single VNR is a weighted sum of its requested resources, scaled by its lifetime.
    Rev ( VNR i ) = Δ t ( i ) n v N V ( i ) α C C ( n v ) + α M M ( n v ) + l v L V ( i ) α B W B W ( l v ) ,
    where α C , α M , and  α B W are unit price coefficients. The long-term average revenue over a time horizon T is:
    R a v g = lim T 1 T i accepted in T Rev ( VNR i ) .
  • Long-Term Average Revenue-to-Cost Ratio (R/C Ratio): This metric assesses the economic efficiency by comparing the revenue generated against the cost of the physical resources consumed. The cost of embedding a VNR includes its consumption of node resources and the network resources, where the latter is proportional to the number of hops in the mapped paths.
    Cos t ( VNR i ) = Δ t ( i ) n v N V ( i ) C ( n v ) + M ( n v ) + l v L V ( i ) hops ( P S ) · B W ( l v ) ,
    where hops ( P S ) is the number of physical links in the path P S . The long-term R/C ratio is:
    ρ R C = lim T i accepted in T Rev ( VNR i ) i accepted in T Cos t ( VNR i ) .
  • VNR Acceptance Ratio: This fundamental KPI measures service availability and the system’s capacity to handle incoming demand. It is defined as the ratio of successfully embedded VNRs to the total number of VNRs that arrived over a time window.
    ρ a c c e p t = lim T | { VNR i VNR i is accepted in T } | | { VNR i VNR i arrives in T } | .
    A high acceptance ratio signifies a robust and efficient embedding strategy that effectively mitigates resource fragmentation and minimizes service rejection.

4. The Proposed Task Offloading Algorithm Based VNE for SDEN

To address the dynamic and computationally complex VNE problem within the SDEN framework, we propose a novel resource allocation solution based on DRL. Our methodology formulates the sequential VNE process as a Markov Decision Process (MDP) [34] and employs a SAC agent, as shown in Figure 2. This agent, logically centralized at the SDN controller, is designed to learn a near-optimal embedding policy that maximizes long-term system objectives. This section provides a detailed exposition of the MDP formulation, the architectural design of the SAC agent, and the complete algorithm optimization process.

4.1. Markov Decision Process (MDP) Formulation

The sequential decision-making process inherent to VNE is formally modeled as an MDP, defined by the tuple S , A , P , R , γ [35]. Each component of this tuple is specifically tailored to the VNE problem as follows:
(1)
State Space ( S ): The state s t S at a given time step t must provide a comprehensive snapshot of the substrate network’s current resource availability. Building upon the models in Section 2, we define the state representation based on multi-dimensional features extracted for each physical node n s N S . For each node n s , the feature vector consists of:
  • Available Computing Resources ( A C ( n s ) ): The residual computing capacity on node n s . This is defined as its total capacity minus the sum of capacities of all virtual nodes currently mapped to it:
    A C ( n s ) = C ( n s ) G V n v N V x n s n v · C ( n v ) .
  • Available Memory Resources ( A M ( n s ) ): The residual memory capacity, defined similarly:
    A M ( n s ) = M ( n s ) G V n v N V x n s n v · M ( n v ) .
  • Aggregated Available Bandwidth ( A B W a g g ( n s ) ): A measure of the network connectivity of node n s , defined as the sum of available bandwidth on all links incident to it:
    A B W a g g ( n s ) = l s adj ( n s ) A B W ( l s ) ,
    where adj ( n s ) is the set of links connected to n s and A B W ( l s ) is the available bandwidth on link l s .
The complete state is thus represented as a matrix s t R | N S | × F , where | N S | is the number of physical nodes and F is the number of features per node. This structured representation allows the agent to perceive both nodal capacities and the local network topology context.
(2)
Action Space ( A ): The embedding of a single VNR with | N V | virtual nodes is decomposed into a sequence of | N V | decision steps. At each step k { 1 , , | N V | } , the agent considers the k-th virtual node, n v , k , and performs an action, a k . This action is the selection of a single physical node n s N S for mapping. The action space at each step is therefore discrete, with  | A | = | N S | . A composite action for an entire VNR is the ordered sequence of these individual node-mapping actions:
a VNR = ( a 1 , a 2 , , a | N V | ) ,
where each a k N S . This sequential approach makes the complex combinatorial problem tractable for RL.
(3)
Reward Function (R): The reward function is designed to guide the agent towards learning a policy that maximizes resource efficiency. The primary optimization objective is the long-term revenue-to-cost ratio. Therefore, a reward is granted to the agent only upon the completion of a VNR embedding attempt. A successful embedding is rewarded with the calculated R/C ratio of that specific VNR. By maximizing the long-term cumulative reward, the agent is trained not just to accept VNRs, but to find economically efficient embeddings. This single-objective reward function implicitly encourages behaviors that also improve the other key metrics, such as leaving sufficient resources for future VNRs (enhancing the acceptance ratio) and prioritizing profitable requests (boosting revenue). The reward, r t , is formally defined as:
r t = ρ R C , if VNR is accepted , 0 , if VNR is rejected .
(4)
State Transition Probability ( P ) and Discount Factor ( γ ): The state transition probability, P ( s t + 1 | s t , a VNR ) , is implicitly defined by the environment’s dynamics. The discount factor, γ , is set to 0.99, a standard value in DRL that encourages the agent to prioritize long-term cumulative rewards while giving immediate rewards significant weight.

4.2. The Soft Actor-Critic (SAC) Agent Architecture

Our framework employs a single-agent SAC model to effectively navigate the high-dimensional state space and learn a robust embedding policy. The SAC algorithm is an off-policy, actor-critic model designed for maximum entropy RL [36]. This objective encourages broad exploration by training a stochastic policy to maximize both the expected cumulative reward and the policy’s entropy. Within our single-agent context, the agent is composed of the following interconnected neural network components:
(1)
Actor Network ( π θ A ): The actor, also known as the policy network, is parameterized by θ A . It maps a given state s t to a probability distribution over the discrete action space, yielding π θ A ( a t | s t ) . During an embedding, the agent samples an action (i.e., selects a physical node) from this distribution.
(2)
Critic Networks (Q-Networks and V-Network): To ensure stable training and mitigate the overestimation bias common in value-based methods, our SAC agent utilizes a set of critic networks:
  • Two Q-Networks ( Q θ Q 1 , Q θ Q 2 ): Following the principle of clipped double-Q learning, two distinct Q-networks, parameterized by θ Q 1 and θ Q 2 , are maintained. Each network takes a state-action pair ( s t , a t ) as input and outputs its estimated value, Q j ( s t , a t ) . The minimum of these two Q-values is used during the Bellman updates to provide a conservative, lower-bound estimate of the action-value, which helps prevent overestimation.
  • A Value Network ( V θ V ): This network, parameterized by θ V , estimates the value of a state, V ( s t ) . Its role is to simplify the update rules for the other networks.
  • A Target Value Network ( V θ V ¯ ): A separate target V-network, with parameters θ V ¯ , is maintained. Its parameters are not trained via gradient descent directly but are instead updated slowly as an exponential moving average of the main V-network’s parameters. This use of a “soft” target network provides a stable learning target for the Q-networks, a crucial element for convergence in temporal-difference learning.
The detailed network structures are specified in Table 2. The input state matrix s t is first processed by convolutional layers to extract spatial features representing the network topology, followed by fully connected layers to produce the final outputs.

4.3. Algorithm Optimization Process

The SAC agent is trained using an off-policy approach, leveraging an experience replay buffer and optimizing for a maximum entropy objective.
(1)
Experience Replay Buffer ( D ): The agent continuously interacts with the SDEN environment. Each complete interaction, from the start of a VNR embedding to its final outcome (success or failure), results in a trajectory of experience tuples. A summary tuple, ( s t , a t , r t , s t + 1 ) , representing the initial state, the composite action sequence, the final reward, and the resulting network state, is stored in a large replay buffer D . For training, mini-batches of these experience tuples are randomly sampled from D . This practice breaks the temporal correlation between consecutive samples and leads to more stable and efficient learning.
(2)
Maximum Entropy Objective: In contrast to traditional RL algorithms that solely seek to maximize the cumulative reward, SAC enhances the objective with a policy entropy term. For a discrete action space, the entropy of the policy π at state s t is defined as:
H ( π ( · | s t ) ) = a t A π ( a t | s t ) log ( π ( a t | s t ) ) .
The unified optimization objective is to find a policy π * that maximizes the sum of the expected reward and the policy’s entropy:
π * = arg max π t E ( s t , a t ) ρ π r t + α H ( π ( · | s t ) ) ,
where ρ π denotes the state-action marginals of the trajectory distribution induced by policy π . The temperature parameter, α > 0 , is a crucial hyperparameter that controls the relative importance of the entropy term versus the reward, thereby balancing the exploration-exploitation trade-off.
(3)
Network Parameter Updates: The neural networks are updated iteratively by minimizing their respective loss functions, calculated using mini-batches of experiences sampled from D . Let a mini-batch experience be denoted by ( s , a , r , s ) .
  • Value Network Update: The V-network, parameterized by θ V , is trained to minimize the soft Bellman residual. Its loss function, L V ( θ V ) , is given by:
    L V ( θ V ) = E s D 1 2 V θ V ( s ) E a π θ A min j = 1 , 2 Q θ Q j ( s , a ) α log π θ A ( a | s ) 2 .
  • Q-Network Update: The parameters θ Q j of each Q-network are trained to minimize the mean squared Bellman error (MSBE). The learning target is computed using the reward r and the value of the next state s from the target V-network:
    L Q ( θ Q j ) = E ( s , a , r , s ) D 1 2 Q θ Q j ( s , a ) r + γ V θ V ¯ ( s ) 2 .
  • Actor Network Update: The actor (policy network) is updated by minimizing the Kullback–Leibler divergence between the policy distribution and the softmax of the Q-function values. This encourages the policy to favor actions with higher Q-values. The policy loss, L π ( θ A ) , is:
    L π ( θ A ) = E s D a π θ A α log ( π θ A ( a | s ) ) min j = 1 , 2 Q θ Q j ( s , a ) .
  • Target Network Soft Update: At each training step, the parameters of the target value network, θ V ¯ , are updated via a soft update, which is an exponential moving average of the main value network’s parameters. This ensures smoother and more stable updates.
    θ V ¯ τ θ V + ( 1 τ ) θ V ¯ ,
    where τ [ 0 , 1 ] is the smoothing factor for the target update, typically a small value like 0.005 .

4.4. VNE Decision and Learning Algorithm

The complete online VNE decision and training procedure is outlined in Algorithm 1. The algorithm operates in a continuous loop. The SDN controller, acting as the agent, receives incoming VNRs. For each VNR, it uses its current policy (actor network) to make a sequence of embedding decisions. After the final outcome is determined, the agent receives a reward and stores the experience in the replay buffer. Periodically, the agent samples from this buffer to perform a gradient descent step on all its networks, thereby progressively refining its VNE strategy. This closed-loop process allows the agent to continuously adapt and improve its performance in a dynamic SDEN environment.
To evaluate the agent’s learning progress, a validation process is implicitly performed. Periodically during training (e.g., after each epoch), the current policy’s performance is measured, and the results are averaged to produce the convergence curves. Once the training converges, the testing phase begins. In this phase, the learned actor network π θ A is deployed and its parameters are frozen (i.e., no further training updates are performed). The agent then processes a new, unseen stream of VNRs. The performance metrics are collected throughout this phase to fairly benchmark our proposed algorithm against the baselines.
Algorithm 1: The Proposed Task Offloading Algorithm Based VNE for SDEN
  • Input: SDEN environment simulator generating G S and a stream of VNRs; Uninitialized SAC networks; Hyperparameters.
  • Output: A trained actor network π θ A capable of making proficient VNE decisions.
  • Initialization: actor network π θ A and critic networks ( Q θ Q 1 , Q θ Q 2 , V θ V ) with random parameters; target value network parameters by cloning: θ V ¯ θ V ; an empty replay buffer D ; state s 0 .
  • Main Training Loop:
  1:
for each epoch m = 1 , 2 , , M  do
  2:
    Receive a new VNR, G V , from the environment;
  3:
    Initialize an empty mapping for the current VNR, M ;
  4:
    Set node embedding success flag, s u c c e s s n o d e true ;
  5:
    for each virtual node n v , k N V  do
  6:
        The agent selects a physical node (action) based on its policy: a k π θ A ;
  7:
        if the chosen physical node a k has sufficient resources for n v , k  then
  8:
           Add the mapping ( n v , k a k ) to M ;
  9:
        else
10:
            s u c c e s s n o d e false ;
11:
           break the inner loop. Node mapping failed;
12:
        end if
13:
    end for
14:
    if  s u c c e s s n o d e is true then
15:
        Attempt to map all virtual links l v L V based on M using a k-shortest path algorithm;
16:
        if all virtual links are successfully mapped (satisfying bandwidth and delay) then
17:
           Calculate the reward: r t ;
18:
        else
19:
           Set the reward: r t 0 ;
20:
        end if
21:
    else
22:
        Set the reward: r t 0 ;
23:
    end if
24:
    The environment transitions to the next state s ;
25:
    Store the experience tuple s , a VNR , r t , s ) in the replay buffer D ;
26:
    Update the current state: s s ;
27:
    if  | D | > BatchSize  then
28:
        Sample a random mini-batch of transitions from D .
29:
        Update the Q-critic networks Q θ Q 1 and Q θ Q 2 by minimizing L Q ( θ Q j ) .
30:
        Update the value network V θ V by minimizing L V ( θ V ) .
31:
        Update the actor network π θ A by minimizing L π ( θ A ) .
32:
        Perform a soft update on the target value network parameters: θ V ¯ τ θ V + ( 1 τ ) θ V ¯ .
33:
    end if
34:
end for

5. Simulation Experiment

In this section, we present a comprehensive empirical evaluation of our proposed SAC-based VNE algorithm for task offloading in a SDEN environment. The primary objectives of these experiments are twofold: first, to demonstrate the learning convergence and stability of our DRL agent, and second, to rigorously benchmark its performance against several established VNE algorithms. We begin by detailing the simulation environment, including the generation of substrate network topologies and dynamic VNR arrivals, followed by a description of the baseline algorithms and performance metrics. Finally, we will analyze the training process and the comparative performance results.

5.1. Simulation Environment Setup

To create a realistic yet controlled experimental setting, we developed a discrete-time event simulator in Python 3.6.12, leveraging libraries such as NetworkX 1.11 for graph modeling and PyTorch 1.4.0 for implementing the DRL agent. The simulation environment is meticulously configured to mirror the key characteristics of a dynamic SDEN.
  • Substrate Network (SDEN) Generation: The physical SDEN topology is generated using the GT-ITM topology generator, a standard tool for creating realistic network graphs. We simulate an edge network consisting of 100 physical nodes ( N S   = 100 ), representing a moderately sized metropolitan area network. These nodes are interconnected by 500 physical links ( L S   = 500 ). The computational and storage resources of the physical nodes, as well as the bandwidth and latency attributes of the physical links, are uniformly distributed within predefined ranges, reflecting the inherent heterogeneity of edge infrastructure. The specific resource distributions are detailed in Table 3.
  • Virtual Network Request (VNR) Generation: To simulate a dynamic workload, VNRs arrive at the system according to a Poisson process, with a configurable average arrival rate ( λ ). The lifetime of each VNR follows an exponential distribution. The structural characteristics of each VNR, such as the number of virtual nodes and their connectivity, are also randomly generated. The number of virtual nodes per VNR is drawn from a uniform distribution between 2 and 10, and any two virtual nodes are connected with a probability of 0.5. The resource demands (computing, memory, bandwidth, and delay constraints) for each VNR are uniformly sampled from the ranges specified in Table 3.
  • Experimental Parameters: Table 3 provides a comprehensive summary of all simulation parameters, including the physical network configuration, VNR characteristics, and the crucial hyperparameters used for training our SAC agent. These DRL parameters were determined through empirical tuning to ensure stable and efficient convergence.

5.2. Baseline Algorithms

To rigorously evaluate the performance of our proposed SAC-VNE algorithm, we compare it against a set of well-established and representative baseline algorithms from the literature, covering both heuristic and other learning-based approaches:
  • NodeRank: A classic greedy heuristic algorithm. It prioritizes the mapping of virtual nodes onto physical nodes with the highest “rank”, a metric that combines both available resources and topological importance. It is a widely used benchmark for its simplicity and effectiveness in static scenarios.
  • RCR: This heuristic algorithm is designed to optimize the Revenue-to-Cost Ratio directly. It follows a greedy approach by always selecting the node and link mappings that yield the best immediate R/C ratio for the current VNR, without considering long-term consequences.
  • CDRL: A pioneering RL-based VNE algorithm that models the node mapping as a sequential decision process. This provides a relevant DRL-based comparison, although its core algorithm may differ from our SAC implementation.
  • GRL: A more advanced DRL algorithm that integrates a GCN to extract topological features from the substrate network. This serves as a state-of-the-art DRL baseline, allowing us to assess the specific benefits of our SAC formulation against other powerful network representation techniques.
  • All baseline algorithms are implemented and executed within the identical simulation environment to ensure a fair and rigorous comparison.

5.3. Performance Analysis

Before presenting the detailed performance results, it is important to clarify how our simulation environment addresses the variability of system load. Instead of testing under separate, static scenarios, our experimental setup is designed to simulate a continuous and dynamic operational environment where the system load inherently fluctuates over time. This is achieved through three key mechanisms:
  • Stochastic VNR arrivals: VNRs arrive according to a Poisson process, a standard model for simulating random request arrivals. This naturally creates periods of high traffic intensity (high load) when many VNRs arrive in a short time, and periods of lower intensity (light/medium load).
  • Finite VNR lifetimes: Each accepted VNR occupies resources for a finite, exponentially distributed lifetime before releasing them. The continuous cycle of resource allocation and deallocation ensures that the total occupied system resources (i.e., the system load) are constantly changing.
  • Randomized resource demands: The resource requirements for each VNR are randomly generated from uniform distributions. This heterogeneity means that the impact of each VNR on the system load varies, further contributing to a dynamic load profile.
Therefore, the long-term performance metrics presented in our results are not reflective of a single load condition. Instead, they represent the average performance of each algorithm across a continuously evolving spectrum of system loads, which we argue is a more realistic and comprehensive method for evaluating its robustness and adaptability in a real-world dynamic SDEN environment.
The performance evaluation is conducted in two main phases. First, we analyze the agent’s learning behavior during the training phase to demonstrate convergence and stability. Second, we perform a rigorous comparative analysis of the final, converged policy against the selected baseline algorithms to validate its effectiveness and superiority.

5.3.1. Training Performance and Convergence Analysis

During the training phase, our SAC agent interacts with the simulated SDEN environment over a total of 600 epochs. To monitor the learning progress, we plot the evolution of the three key performance metrics as a function of the training epochs. These convergence curves, shown in Figure 3, Figure 4 and Figure 5, illustrate the agent’s ability to learn and progressively improve its embedding policy from a random initialization to a stable and effective strategy.
As depicted in all three figures, the initial performance of the agent is poor across all metrics. For instance, the long-term average revenue (Figure 3) starts at a low value, indicating that the randomly initialized policy is making inefficient or often unsuccessful embedding decisions. This is expected, as the agent has not yet learned any meaningful correlation between network states and optimal actions. However, as the training progresses, a clear upward trend is observable in all three metrics. The agent begins to explore the environment, and through the feedback provided by the meticulously designed reward function, it starts to favor actions that lead to higher revenue, better efficiency, and successful embeddings.
The curves exhibit a period of rapid improvement in the early stages (approximately the first 100–150 epochs), followed by a phase of diminishing returns where performance continues to improve but at a slower rate. After approximately 400 epochs, all three metrics, long-term average revenue, R/C ratio, and VNR acceptance ratio, begin to plateau and fluctuate within a stable, high-performance range. This behavior signifies that the SAC agent’s policy has converged. The agent has successfully learned to balance the exploration-exploitation trade-off, transitioning from exploring a wide range of actions to consistently exploiting its learned knowledge to make near-optimal embedding decisions. The stability in the later epochs confirms that the proposed training framework is robust and capable of producing a reliable policy for dynamic VNE.

5.3.2. Comparative Performance Evaluation

After the training process converges, the learned policy of our SAC-VNE agent is frozen and subjected to a comprehensive testing phase using a new, unseen set of VNRs. Its performance is benchmarked against the baseline algorithms across our three primary metrics over a simulated testing period of 24,000 time units. The results, presented in Figure 6, Figure 7 and Figure 8, demonstrate the sustained performance of each algorithm under a continuous stream of dynamic network loads.
Figure 6 illustrates the performance comparison in terms of long-term average revenue. Our proposed SAC-VNE algorithm consistently and significantly outperforms all baseline algorithms. This superiority stems from its ability to make farsighted decisions that optimize for long-term rewards, a stark contrast to the myopic nature of heuristic baselines like NodeRank and RCR, while the other DRL-based methods (GRL and CDRL) also show strong performance, SAC-VNE’s higher revenue indicates a more effective policy, likely due to the SAC algorithm’s enhanced exploration capabilities and stable learning dynamics, which allow it to discover more profitable embedding strategies.
Figure 7 presents the comparative analysis of the long-term R/C ratio, a direct measure of resource utilization efficiency. Once again, our SAC-VNE algorithm achieves the highest R/C ratio. This result is particularly significant as it demonstrates that our agent does not just chase high-revenue VNRs at any cost; it has learned to find resource-efficient mappings that minimize the consumption of substrate resources (e.g., by favoring shorter network paths). The greedy RCR baseline, while designed to optimize this metric, performs poorly in the long run, showcasing the pitfalls of local optimization, which can lead to severe resource fragmentation.
Finally, Figure 8 compares the VNR acceptance ratio of all algorithms. The SAC-VNE algorithm maintains the highest acceptance rate throughout the simulation. This outcome validates our hypothesis that a learning-based approach, optimized for long-term system health, can more effectively mitigate resource fragmentation than heuristic methods. By making intelligent, non-greedy choices, our agent preserves resource contiguity, thus leaving the network in a better state to accommodate future VNRs. The consistent performance gap between SAC-VNE and the other baselines across all three metrics provides strong evidence of its effectiveness and robustness for dynamic task offloading in SDENs.
Quantitatively, across the entire simulation period, our proposed SAC-VNE algorithm demonstrates a remarkable and consistent advantage. On average, it improves the long-term average revenue by 19.3%, the long-term revenue-to-cost ratio by 13.7%, and the VNR acceptance ratio by 9.1% when compared to the average performance of all baseline algorithms. These figures provide strong, quantitative evidence of our method’s effectiveness and robustness for dynamic task offloading in SDENs.

5.3.3. Result Discussion and Justification

The substantial performance enhancements achieved by the proposed SAC-VNE framework over the baselines can be justified by several key algorithmic properties:
  • Overcoming myopic heuristics: Heuristic methods like NodeRank and RCR make myopic, greedy decisions to satisfy immediate VNR demands, while this provides short-term gains, it inevitably leads to bottleneck resource exhaustion and severe network fragmentation over time, causing future profitable VNRs to be rejected. Our SAC agent, conversely, optimizes for the long-term cumulative discounted reward. It learns to strategically sacrifice short-term suboptimal placements to preserve critical node and link contiguity for future, highly profitable requests.
  • Maximum entropy exploration: Compared to traditional DRL methods like CDRL, our algorithm leverages the SAC framework. SAC’s unique maximum entropy objective intrinsically encourages broader exploration of the vast action space (mapping combinations). This prevents the agent from converging prematurely to local optima, ensuring a more robust and adaptable policy under dynamic traffic conditions.
  • Stability of double-Q learning: The incorporation of clipped double Q-learning within the critic network design actively mitigates the overestimation bias that commonly plagues temporal-difference learning in complex state spaces. This allows the SAC agent to evaluate the true long-term value of a mapping action more accurately than simpler DRL variants, translating directly into superior resource allocation efficiency (highest R/C ratio) and maximized sustained revenue.

6. Conclusions

This paper addresses the critical challenge of efficient resource allocation in dynamic SDENs by proposing a novel framework that integrates SDN, VNE, and DRL. We innovatively reformulate the multi-component task offloading problem as a VNE challenge and employ a SAC agent to learn an optimal embedding policy. This agent is guided by a reward function designed to maximize the long-term revenue-to-cost ratio, thereby fostering both economically and resource-efficient decisions. Our comprehensive simulations validate the significant superiority of this approach. Specifically, the proposed SAC-VNE algorithm demonstrated an average improvement of 19.3% in long-term revenue, 13.7% in revenue-to-cost ratio, and 9.1% in VNR acceptance rate compared to established baselines. These results confirm that framing task offloading as a VNE problem and solving it with an advanced DRL technique is a highly effective and superior paradigm for intelligent and adaptive resource management in modern edge computing environments.

Author Contributions

Conceptualization, L.M., P.Z. and N.C.; methodology, L.M., P.Z. and N.C.; validation, L.M., P.Z. and N.C.; investigation, L.M. and N.C.; data curation, L.M., P.Z. and N.C.; writing—original draft preparation, L.M. and N.C.; writing—review and editing, L.M., P.Z. and N.C.; visualization, L.M. and N.C.; supervision, P.Z.; project administration, P.Z.; funding acquisition, P.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the National Natural Science Foundation of China under Grant 62471493, partially supported by the Natural Science Foundation of Shandong Province under Grant ZR2023LZH017, ZR2024MF066, and partially supported by the Industry-university Research Innovation Foundation of Ministry of Education of China under Grant 2024IT019.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Mahmood, O.A.; Abdellah, A.R.; Muthanna, A.; Koucheryavy, A. Distributed Edge Computing for Resource Allocation in Smart Cities Based on the IoT. Information 2022, 13, 328. [Google Scholar] [CrossRef] [Scilit]
  2. Liu, Y.; Peng, M.; Shou, G.; Chen, Y.; Chen, S. Toward Edge Intelligence: Multiaccess Edge Computing for 5G and Internet of Things. IEEE Internet Things J. 2020, 7, 6722–6747. [Google Scholar] [CrossRef] [Scilit]
  3. Hu, M.; Luo, X.; Chen, J.; Lee, Y.C.; Zhou, Y.; Wu, D. Virtual reality: A survey of enabling technologies and its applications in IoT. J. Netw. Comput. Appl. 2021, 178, 102970. [Google Scholar] [CrossRef] [Scilit]
  4. Kuchuk, H.; Malokhvii, E. Integration of IoT with cloud, fog, and edge computing: A review. Adv. Inf. Syst. 2024, 8, 65–78. [Google Scholar] [CrossRef] [Scilit]
  5. Dong, S.; Tang, J.; Abbas, K.; Hou, R.; Kamruzzaman, J.; Rutkowski, L.; Buyya, R. Task offloading strategies for mobile edge computing: A survey. Comput. Netw. 2024, 254, 110791. [Google Scholar] [CrossRef] [Scilit]
  6. Shi, Y.; Xia, Y.; Gao, Y. Cross-Server Computation Offloading for Multi-Task Mobile Edge Computing. Information 2020, 11, 96. [Google Scholar] [CrossRef] [Scilit]
  7. Qin, Y.; Chen, J.; Jin, L.; Yao, R.; Gong, Z. Task offloading optimization in mobile edge computing based on a deep reinforcement learning algorithm using density clustering and ensemble learning. Sci. Rep. 2025, 15, 211. [Google Scholar] [CrossRef] [Scilit]
  8. Rafique, W.; Qi, L.; Yaqoob, I.; Imran, M.; Rasool, R.U.; Dou, W. Complementing IoT services through software defined networking and edge computing: A comprehensive survey. IEEE Commun. Surv. Tutor. 2020, 22, 1761–1804. [Google Scholar] [CrossRef] [Scilit]
  9. Wang, A.; Zha, Z.; Guo, Y.; Chen, S. Software-defined networking enhanced edge computing: A network-centric survey. Proc. IEEE 2019, 107, 1500–1519. [Google Scholar] [CrossRef] [Scilit]
  10. Hettiarachchi, E.D.S.I.; Sarkar, N.I.; Gutierrez, J. Impact of Southbound Expansion on Clustered OpenFlow Software-Defined Network Controller Synchronisation Using ODL and ONOS. Information 2024, 15, 440. [Google Scholar] [CrossRef] [Scilit]
  11. Wu, G.; Wang, H.; Zhang, H.; Shen, Y.; Shen, S.; Yu, S. Mean-Field Game-Based Task-Offloaded Load Balance for Industrial Mobile Edge Computing Systems Using Software-Defined Networking. IEEE Trans. Mob. Comput. 2024, 23, 13773–13786. [Google Scholar] [CrossRef] [Scilit]
  12. Van Anh, D.; Chehri, A.; Quy, N.M.; Hue, C.T.M.; Nguyen, D.C.; Quy, V.K. An Software Defined Networking (SDN) Enhanced Edge Computing Framework for Internet of Healthcare Things (IoHT). In Proceedings of the GLOBECOM 2024—2024 IEEE Global Communications Conference, Cape Town, South Africa, 8–12 December 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 415–419. [Google Scholar] [CrossRef] [Scilit]
  13. Alnoman, A.; Sharma, S.K.; Ejaz, W.; Anpalagan, A. Emerging Edge Computing Technologies for Distributed IoT Systems. IEEE Netw. 2019, 33, 140–147. [Google Scholar] [CrossRef] [Scilit]
  14. Wu, S.; Chen, N.; Xiao, A.; Zhang, P.; Jiang, C.; Zhang, W. AI-Empowered Virtual Network Embedding: A Comprehensive Survey. IEEE Commun. Surv. Tutor. 2025, 27, 1395–1426. [Google Scholar] [CrossRef] [Scilit]
  15. Khan, L.U.; Guizani, M.; Yaqoob, I.; Al-Fuqaha, A.; Erbad, A.; Han, Z. Network Virtualization Empowered Metaverse: A Hierarchical Matching Approach. IEEE Trans. Netw. Sci. Eng. 2026, 13, 5403–5416. [Google Scholar] [CrossRef] [Scilit]
  16. Zhu, R.; Li, G.; Zhang, Y.; Fang, Z.; Wang, J. Load-Balanced Virtual Network Embedding Based on Deep Reinforcement Learning for 6G Regional Satellite Networks. IEEE Trans. Veh. Technol. 2023, 72, 14631–14644. [Google Scholar] [CrossRef] [Scilit]
  17. Rezaeimoghaddam, P.; Al-Anbagi, I. Trust-Aware Virtual Network Embedding in Wireless Sensor Networks. IEEE Sens. J. 2023, 23, 6326–6337. [Google Scholar] [CrossRef] [Scilit]
  18. Maity, I.; Vu, T.X.; Chatzinotas, S.; Minardi, M. D-ViNE: Dynamic Virtual Network Embedding in Non-Terrestrial Networks. In Proceedings of the 2022 IEEE Wireless Communications and Networking Conference (WCNC), Austin, TX, USA, 10–13 April 2022; IEEE: Piscataway, NJ, USA, 2022; pp. 166–171. [Google Scholar] [CrossRef] [Scilit]
  19. Cheng, X.; Su, S.; Zhang, Z.; Wang, H.; Yang, F.; Luo, Y.; Wang, J. Virtual network embedding through topology-aware node ranking. ACM SIGCOMM Comput. Commun. Rev. 2011, 41, 38–47. [Google Scholar] [CrossRef] [Scilit]
  20. Zhang, P.; Yao, H.; Liu, Y. Virtual Network Embedding Based on Computing, Network, and Storage Resource Constraints. IEEE Internet Things J. 2018, 5, 3298–3304. [Google Scholar] [CrossRef] [Scilit]
  21. Nguyen, K.T.; Huang, C. Distributed parallel genetic algorithm for online virtual network embedding. Int. J. Commun. Syst. 2021, 34, e4691. [Google Scholar] [CrossRef] [Scilit]
  22. Melo, M.; Sargento, S.; Killat, U.; Timm-Giel, A.; Carapinha, J. Optimal Virtual Network Embedding: Node-Link Formulation. IEEE Trans. Netw. Serv. Manag. 2013, 10, 356–368. [Google Scholar] [CrossRef] [Scilit]
  23. Fischer, A.; Botero, J.F.; Beck, M.T.; De Meer, H.; Hesselbach, X. Virtual network embedding: A survey. IEEE Commun. Surv. Tutor. 2013, 15, 1888–1906. [Google Scholar] [CrossRef] [Scilit]
  24. Hu, C.; Li, J.; Shi, H.; Ning, B.; Gu, Q. Decentralized Offloading Strategies Based on Reinforcement Learning for Multi-Access Edge Computing. Information 2021, 12, 343. [Google Scholar] [CrossRef] [Scilit]
  25. Zhu, Z.; Lin, K.; Jain, A.K.; Zhou, J. Transfer Learning in Deep Reinforcement Learning: A Survey. IEEE Trans. Pattern Anal. Mach. Intell. 2023, 45, 13344–13362. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  26. Zhu, S.; Han, G.; Lin, C.; Tao, Q. Underwater Target Tracking Based on Hierarchical Software-Defined Multi-AUV Reinforcement Learning: A Multi-AUV Advantage-Attention Actor-Critic Approach. IEEE Trans. Mob. Comput. 2024, 23, 13639–13653. [Google Scholar] [CrossRef] [Scilit]
  27. Yao, H.; Ma, S.; Wang, J.; Zhang, P.; Jiang, C.; Guo, S. A continuous-decision virtual network embedding scheme relying on reinforcement learning. IEEE Trans. Netw. Serv. Manag. 2020, 17, 864–875. [Google Scholar] [CrossRef] [Scilit]
  28. Zhang, P.; Wang, C.; Kumar, N.; Zhang, W.; Liu, L. Dynamic Virtual Network Embedding Algorithm Based on Graph Convolution Neural Network and Reinforcement Learning. IEEE Internet Things J. 2022, 9, 9389–9398. [Google Scholar] [CrossRef] [Scilit]
  29. He, N.; Yang, S.; Li, F.; Trajanovski, S.; Zhu, L.; Wang, Y.; Fu, X. Leveraging Deep Reinforcement Learning With Attention Mechanism for Virtual Network Function Placement and Routing. IEEE Trans. Parallel Distrib. Syst. 2023, 34, 1186–1201. [Google Scholar] [CrossRef] [Scilit]
  30. Xiao, X. DVNE-DRL: Dynamic virtual network embedding algorithm based on deep reinforcement learning. Sci. Rep. 2023, 13, 19789. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  31. Zhang, P.; Chen, N.; Li, S.; Choo, K.K.R.; Jiang, C.; Wu, S. Multi-Domain Virtual Network Embedding Algorithm Based on Horizontal Federated Learning. IEEE Trans. Inf. Forensics Secur. 2023, 18, 3363–3375. [Google Scholar] [CrossRef] [Scilit]
  32. Baktir, A.C.; Ozgovde, A.; Ersoy, C. How Can Edge Computing Benefit From Software-Defined Networking: A Survey, Use Cases, and Future Directions. IEEE Commun. Surv. Tutor. 2017, 19, 2359–2391. [Google Scholar] [CrossRef] [Scilit]
  33. Mano, T.; Inoue, T.; Wang, Y. Np-hardness boundary of virtual network embedding with node location constraints. IEEE Netw. Lett. 2021, 3, 186–190. [Google Scholar] [CrossRef] [Scilit]
  34. Haeri, S.; Trajković, L. Virtual network embedding via Monte Carlo tree search. IEEE Trans. Cybern. 2017, 48, 510–521. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  35. Wu, S.; Chen, N.; Wen, G.; Xu, L.; Zhang, P.; Zhu, H. Virtual Network Embedding for Task Offloading in IIoT: A DRL-Assisted Federated Learning Scheme. IEEE Trans. Ind. Inform. 2024, 20, 6814–6824. [Google Scholar] [CrossRef] [Scilit]
  36. Haarnoja, T.; Zhou, A.; Abbeel, P.; Levine, S. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In Proceedings of the International Conference on Machine Learning, Stockholm, Sweden, 10–15 July 2018; PMLR; JMLR: Cambridge, MA, USA, 2018; pp. 1861–1870. [Google Scholar]
Figure 1. System Modeling and VNE-Based Task Offloading Process Diagram. All resource values are represented as abstract units to generalize the model. Legend: Substrate Node Resource: (Compute Capacity, Memory); Substrate Link Resource: (Available Bandwidth, Delay); Virtual Node Resource: (Required Compute, Required Memory); Virtual Link Resource: (Required Bandwidth, Maximum Tolerable Delay).
Figure 1. System Modeling and VNE-Based Task Offloading Process Diagram. All resource values are represented as abstract units to generalize the model. Legend: Substrate Node Resource: (Compute Capacity, Memory); Substrate Link Resource: (Available Bandwidth, Delay); Virtual Node Resource: (Required Compute, Required Memory); Virtual Link Resource: (Required Bandwidth, Maximum Tolerable Delay).
Information 17 00278 g001
Figure 2. The Proposed SAC-Based Optimization Framework for Task Offloading in SDEN.
Figure 2. The Proposed SAC-Based Optimization Framework for Task Offloading in SDEN.
Information 17 00278 g002
Figure 3. Convergence Curve of Long-Term Average Revenue during Agent Training.
Figure 3. Convergence Curve of Long-Term Average Revenue during Agent Training.
Information 17 00278 g003
Figure 4. Convergence Curve of Long-Term Average Revenue-to-Cost Ratio during Agent Training.
Figure 4. Convergence Curve of Long-Term Average Revenue-to-Cost Ratio during Agent Training.
Information 17 00278 g004
Figure 5. Convergence Curve of VNR Acceptance Ratio during Agent Training.
Figure 5. Convergence Curve of VNR Acceptance Ratio during Agent Training.
Information 17 00278 g005
Figure 6. Performance Comparison of Long-Term Average Revenue over Simulation Time.
Figure 6. Performance Comparison of Long-Term Average Revenue over Simulation Time.
Information 17 00278 g006
Figure 7. Performance Comparison of Long-Term Revenue-to-Cost Ratio (R/C Ratio) over Simulation Time.
Figure 7. Performance Comparison of Long-Term Revenue-to-Cost Ratio (R/C Ratio) over Simulation Time.
Information 17 00278 g007
Figure 8. Performance Comparison of VNR Acceptance Ratio over Simulation Time.
Figure 8. Performance Comparison of VNR Acceptance Ratio over Simulation Time.
Information 17 00278 g008
Table 1. Summary of Notations.
Table 1. Summary of Notations.
SymbolDescription
Substrate Network (SDEN) Parameters
G S The undirected graph representing the substrate network.
N S The set of physical (substrate) nodes in the SDEN.
L S The set of physical (substrate) links in the SDEN.
n s An individual physical node, n s N S .
l s An individual physical link, l s L S .
C ( n s ) Total computing capacity of a physical node n s .
M ( n s ) Total memory/storage capacity of a physical node n s .
B W ( l s ) Total bandwidth capacity of a physical link l s .
D ( l s ) Communication latency of a physical link l s .
Virtual Network Request (VNR) Parameters
G V The directed graph representing a Virtual Network Request.
N V The set of virtual nodes (subtasks) in a VNR.
L V The set of virtual links (data dependencies) in a VNR.
n v An individual virtual node, n v N V .
l v An individual virtual link, l v L V .
C ( n v ) Computing capacity required by a virtual node n v .
M ( n v ) Memory/storage capacity required by a virtual node n v .
B W ( l v ) Bandwidth required by a virtual link l v .
D m a x ( l v ) Maximum tolerable delay for a virtual link l v .
Mapping and State Variables
F The VNE mapping function, F : G V G S .
x n s n v Binary variable; 1 if n v is mapped to n s , 0 otherwise.
y l s l v Binary variable; 1 if l s is used to map l v , 0 otherwise.
P S A physical path in the substrate network, P S L S .
A C ( n s ) Available computing capacity on physical node n s .
A M ( n s ) Available memory capacity on physical node n s .
A B W ( l s ) Available bandwidth on physical link l s .
Performance Metrics and Other Symbols
t a r r ( i ) Arrival time of the i-th VNR.
t d e p ( i ) Departure time of the i-th VNR.
Δ t ( i ) Lifetime of the i-th VNR.
Rev ( VNR i ) Revenue generated by the i-th VNR.
Cost ( VNR i ) Cost incurred by embedding the i-th VNR.
α C , α M , α B W Unit price coefficients for resources.
hops ( P S ) The number of links (hops) in a physical path P S .
TA long-term time horizon for evaluation.
R a v g Long-term average revenue.
ρ R C Long-term revenue-to-cost ratio.
ρ a c c e p t VNR acceptance ratio.
Table 2. Network Structure Configuration for the SAC Agent.
Table 2. Network Structure Configuration for the SAC Agent.
NetworkLayerInput → Output DimensionActivation
Actor ( π θ A )Input | N S | × F 128 ReLU
Hidden 128 128 ReLU
Output 128 | N S | Softmax
Value ( V θ V )Input | N S | × F 128 ReLU
Hidden 128 128 ReLU
Output 128 1 Linear
Q-Critics ( Q θ Q j )Input ( | N S | × F ) 128 ReLU
Hidden 128 128 ReLU
Output 128 | A | Linear
Table 3. Configuration Details for the Simulation Environment.
Table 3. Configuration Details for the Simulation Environment.
Parameter CategoryConfiguration
Substrate Network (SDEN) Configuration
Number of Physical Nodes ( N S )100
Number of Physical Links ( L S )500
Computing Capacity of Nodes ( C ( n s ) )U [50, 100]
Memory Capacity of Nodes ( M ( n s ) )U [50, 100]
Bandwidth of Links ( B W ( l s ) )U [50, 100]
Latency of Links ( D ( l s ) )U [1, 20]
Virtual Network Request (VNR) Configuration
Total Number of VNRs (training & testing)2000 (1000 + 1000)
Number of Virtual Nodes ( | N V | )U [2, 10]
Virtual Link Connectivity Probability0.5
Requested Computing ( C ( n v ) )U [1, 20]
Requested Memory ( M ( n v ) )U [1, 20]
Requested Bandwidth ( B W ( l v ) )U [1, 20]
Max. Tolerable Delay ( D m a x ( l v ) )U [1, 20]
SAC Agent Hyperparameter Configuration
Actor Network Learning Rate ( λ A )0.0001
Critic Networks Learning Rate ( λ C )0.0001
Discount Factor ( γ )0.99
Replay Buffer Size ( | D | )50,000
Batch Size128
Target Network Update Factor ( τ )0.01
Temperature Parameter ( α )0.1
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ma, L.; Zhang, P.; Chen, N. Task Offloading Based on Virtual Network Embedding in Software-Defined Edge Networks: A Deep Reinforcement Learning Approach. Information 2026, 17, 278. https://doi.org/10.3390/info17030278

AMA Style

Ma L, Zhang P, Chen N. Task Offloading Based on Virtual Network Embedding in Software-Defined Edge Networks: A Deep Reinforcement Learning Approach. Information. 2026; 17(3):278. https://doi.org/10.3390/info17030278

Chicago/Turabian Style

Ma, Lixin, Peiying Zhang, and Ning Chen. 2026. "Task Offloading Based on Virtual Network Embedding in Software-Defined Edge Networks: A Deep Reinforcement Learning Approach" Information 17, no. 3: 278. https://doi.org/10.3390/info17030278

APA Style

Ma, L., Zhang, P., & Chen, N. (2026). Task Offloading Based on Virtual Network Embedding in Software-Defined Edge Networks: A Deep Reinforcement Learning Approach. Information, 17(3), 278. https://doi.org/10.3390/info17030278

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop