Skip to Content
Future InternetFuture Internet
  • Article
  • Open Access

10 June 2026

28 Pages

A Load-Aware Task Offloading Method for Mobile Edge Computing Under Eligibility Constraints

,
and
1
School of Computer Science and Engineering, Guilin University of Technology, Guilin 541006, China
2
Guangxi Key Laboratory of Embedded Technology and Intelligent System, Guilin University of Technology, Guilin 541006, China
*
Author to whom correspondence should be addressed.

Abstract

Mobile edge computing (MEC) enables computation-intensive and latency-sensitive tasks to be offloaded from mobile devices to nearby edge servers. Most existing MEC task offloading studies formulate offloading as a selection problem over a fixed or fully available set of candidate servers, which is restrictive in heterogeneous MEC scenarios with task-node eligibility constraints. Under such constraints, a task can be processed by an edge server only when task attributes, service requirements, link conditions, and node states jointly satisfy the corresponding eligibility conditions. The feasible action set therefore varies over time, while offloading decisions are further coupled with edge-node-side queue competition and long-term load evolution. To address this problem, this paper proposes Resource-oriented Scheduling Coordination (RoSCo), a load-aware task offloading method with scheduling-level constraint handling for eligibility-constrained MEC systems. In this paper, scheduling coordination refers to the joint use of feasible-action control, priority-aware edge-node service-order modeling, and load-responsive feedback within the task offloading decision process; it does not denote inter-server communication, task aggregation, federated model aggregation, or a distributed coordination protocol. RoSCo constructs a dynamic feasible action set, applies eligibility-aware action masking to exclude infeasible offloading actions, incorporates priority-aware edge-node service-order information to characterize queueing competition among heterogeneous tasks, and designs a load-responsive reward to guide congestion mitigation and load balancing. A dueling double deep Q-network (D3QN) is adopted as the value-learning backbone, while the main methodological contribution lies in embedding task-specific feasible-action control, priority-aware node-side queue information, and load-responsive feedback into the constrained offloading process. Simulation results show that RoSCo reduces the task drop rate and edge-node load imbalance while maintaining competitive task completion delay and energy consumption, especially under high-load and sparse-eligibility conditions.

1. Introduction

With the rapid development of the Internet of Things (IoT), mobile intelligent applications, and edge-assisted services, a growing number of mobile computing tasks are generated by resource-constrained mobile devices. These tasks are often computation-intensive and latency-sensitive, such as real-time inference, online decision-making, interactive sensing, and environment perception. Processing all tasks locally is usually inefficient because mobile devices are limited in computing capability, battery capacity, and thermal dissipation. Dong et al. [1] reviewed representative task offloading strategies for MEC and summarized how offloading can reduce execution latency and resource pressure by moving computation closer to end users. Luo and Dai [2] further reviewed reinforcement-learning-based computation offloading and showed why online learning is increasingly used when task arrivals, resource states, and network environments vary over time.
Task offloading is a fundamental problem in MEC systems. Gao et al. [3] formulated MEC task offloading as a Markov decision problem and used deep reinforcement learning (DRL) to learn execution-location decisions, while Peng et al. [4] investigated task offloading in multiple-service MEC scenarios using a DRL-based algorithm. These studies show how learning-based offloading can adapt to dynamic MEC states, but the decision space is still generally treated as a set of selectable execution options rather than as a task-specific feasible set determined by service eligibility. With the increase in task arrival dynamics, channel variation, and resource competition, DRL-based offloading has also been extended to vehicular edge computing and more complex learning settings. Wu et al. [5] studied DRL-based task offloading and load balancing for vehicular edge computing, and Qin et al. [6] combined density clustering and ensemble learning with DRL for MEC task offloading optimization. These methods improve online adaptability, but many of them still rely on a simplified assumption that tasks can be assigned over a fixed or broadly available candidate edge-server set.
This assumption is restrictive in heterogeneous MEC scenarios. In practical edge-service environments, whether a task can be processed by a specific edge server is not determined only by computation capacity or transmission rate. It may also depend on task attributes, service requirements, software or model availability, link conditions, node state, and current queue status. Recent studies have considered other forms of constraints in MEC offloading, such as temporal dependency among tasks [7] and location-privacy preservation during offloading [8]. However, these constraints differ from task-node eligibility: in the scenario considered here, a task may be executable only on a subset of edge servers that satisfy its service requirements and current acceptance conditions. Therefore, infeasible offloading actions are not merely high-cost actions; they are actions that cannot be executed in the current MEC environment.
The difficulty is not limited to action feasibility. Under continuous arrivals of heterogeneous tasks, eligibility constraints reshape both the candidate-node set and the subsequent service competition at edge servers. Li et al. [9] studied service caching with multi-agent reinforcement learning in cloud-edge collaboration computing, showing that service availability can affect edge-side decision-making. Guo et al. [10] investigated dependent task-graph offloading in MEC, indicating that the task structure can further couple current decisions with subsequent execution states. These studies demonstrate that offloading decisions may interact with service availability, task structure, and edge-side resource evolution. In the present work, this coupling appears in a different form: eligibility constraints may concentrate multiple tasks on a limited subset of acceptable edge nodes, thereby intensifying queue competition and affecting long-term load evolution.
Existing reinforcement-learning-based offloading methods do not fully resolve this coupling. Peng et al. [11] surveyed computation offloading in edge systems from the perspective of DRL and summarized the role of DRL in handling dynamic offloading decisions. Zheng et al. [12] studied computation offloading under incomplete information in edge computing networks, reflecting the practical difficulty of making decisions with imperfect system knowledge. Nevertheless, most existing methods still learn over predefined or weakly constrained action spaces, or they focus on general resource allocation and queue-aware scheduling without explicitly enforcing task-node eligibility during both action selection and value learning. These limitations indicate that eligibility-constrained MEC offloading requires a policy design that jointly considers action feasibility, edge-node queue competition, service-order effects, and long-term load regulation.
To address that problem, this paper investigates task offloading in a heterogeneous MEC system under dynamic task-node eligibility constraints. Unlike conventional task offloading studies that mainly optimize task assignment over a common candidate-node set, this paper explicitly models the eligibility relationship between task attributes and edge-server capabilities. On this basis, RoSCo is proposed to integrate eligibility-aware action control, priority-aware edge-node service-order modeling, and load-responsive reward design into a unified DRL framework. Here, coordination refers to scheduling-level consistency among feasible-action construction, node-side service-order representation, and load-responsive reward feedback. It does not refer to inter-server communication, task aggregation, federated training, or a distributed coordination protocol. The purpose is not only to avoid infeasible offloading actions but also to improve the consistency between current offloading decisions, edge-node queue competition, and long-term load balance.
The main contributions of this paper are summarized as follows:
(1)
An eligibility-constrained MEC task offloading model is constructed for heterogeneous tasks. The model describes task-node eligibility relationships according to task attributes, service requirements, link conditions, and node states, so that the dynamic feasible action set can be explicitly represented during offloading decision-making.
(2)
RoSCo is proposed for coordinated task offloading under eligibility constraints. The method combines eligibility-aware action masking, priority-aware edge-node service-order modeling, and load-responsive reward design. The action masking mechanism excludes infeasible offloading actions during policy learning; the priority-aware queue information characterizes service-order competition among heterogeneous tasks at edge servers; and the load-responsive reward guides the policy to suppress persistent congestion and improve load balance.
(3)
A D3QN-based constrained policy-learning procedure is developed for eligibility-constrained task offloading. D3QN is used as the value-learning backbone rather than being claimed as a new reinforcement learning architecture. The task-specific feasible action set is incorporated into both current action selection and target-action evaluation, so that the value-learning process remains consistent with the dynamic execution constraints of the MEC environment.
(4)
Simulation experiments are conducted under varying task arrival rates and mobile-device scales. The results show that RoSCo achieves more stable overall performance than representative baseline methods, especially in terms of task drop rate and edge-node load imbalance. Under sparse-eligibility and high-load conditions, RoSCo also maintains competitive task completion delay and energy consumption.
The remainder of this paper is organized as follows. Section 2 reviews related studies on MEC task offloading, edge-node queue competition and service ordering, and DRL-based offloading methods. Section 3 presents the system model and problem formulation. Section 4 introduces the proposed RoSCo method. Section 5 reports the experimental settings and result analysis. Section 6 concludes this paper and discusses future work.

3. System Model and Problem Formulation

3.1. System Scenario and Network Model

This paper considers an MEC system composed of mobile terminals, a wireless access network, and multiple edge nodes. In this system, terminals generate tasks to be processed over consecutive time slots. Each task can either be executed locally or offloaded to the edge side. Different from conventional MEC offloading settings, this paper further considers the matching relationship between task attributes and node service capabilities. That is, whether a task can be accepted by a node depends not only on the current link condition and resource occupancy but also on the service eligibility of that node. As a result, before entering the decision stage, each task first goes through a screening process over candidate service nodes. The contraction of the eligible node set further changes the concentration of tasks on the edge side and the resulting edge-node queue competition structure. Figure 1 illustrates the overall relationship among task attributes, eligibility filtering, local fallback execution, and edge-node queue competition in the scenario considered in this paper.
Figure 1. Task-node eligibility filtering and edge-node queue competition. Colored blocks schematically distinguish heterogeneous task items and workload items and do not indicate quantitative values. Solid arrows denote feasible execution paths retained after eligibility filtering, whereas dashed arrows denote infeasible edge-node paths removed before offloading decision-making.
As shown in Figure 1, once heterogeneous tasks generated by different mobile terminals enter the offloading decision stage, they are first matched against node service capabilities according to their task attributes and current system states. Tasks that are not selected for offloading, or cannot satisfy the acceptance conditions of edge nodes, are executed locally as a fallback option. After eligibility filtering, tasks from different terminals may be concentrated on the same eligible edge nodes, thereby forming queueing competition at the edge side. In this paper, edge-node queue competition refers to the competition among tasks assigned to the same edge node for queue position and service order; it is different from terminal-side local execution and does not imply inter-terminal aggregation, inter-server task migration, or a distributed communication protocol. In the figure, mobile-terminal icons denote task generation and wireless access, the local-execution block denotes terminal-side fallback execution, server icons denote candidate edge nodes, solid arrows represent feasible execution paths retained after eligibility filtering, and dashed arrows represent infeasible edge paths removed before offloading decision-making. The priority queue shown in the figure is used to indicate that eligibility constraints not only change the candidate-node range of a task but also affect queue concentration and service ordering at the edge side, which further influence delay, drop rate, and load evolution.
Let U = { 1 , 2 , … , U } denote the set of mobile terminals, where U is the number of terminals and u ∈ U indexes a terminal. Let   E = { 1 , 2 , … , M }   denote the set of edge nodes, where M   is the number of edge nodes and e ∈ E indexes an edge node. To distinguish edge nodes from execution choices, local execution is represented by a special option 0 , which is not included in E . The complete execution-option set is therefore defined as
N = { 0 } ∪ E ,
At time slot t , terminal u generates a task denoted by J u ( t ) . The task is characterized by its input data size, required CPU cycles, task attribute label, and maximum tolerable completion delay:
J u ( t ) = ( d u ( t ) , c u ( t ) , τ u ( t ) , δ u ( t ) ) ,
where d u ( t ) denotes the input data size, c u ( t ) denotes the required number of CPU cycles, τ u ( t ) denotes the task attribute or service-type label, and δ u ( t ) denotes the task deadline.
On the communication side, an orthogonal frequency-division multiple access (OFDMA)-based uplink access model is adopted within each time slot. Each active terminal is assigned an orthogonal subchannel when transmitting to the selected edge node; therefore, co-channel interference among terminals is not considered in the transmission-rate expression. Since this paper focuses on eligibility-constrained task offloading rather than joint spectrum-resource optimization, subchannel bandwidth allocation is treated as a given network parameter. The uplink transmission rate from terminal u to edge node e at time slot t is given by
r u , e ( t ) = B   log 2 1 + p u h u , e ( t ) σ 2 ,   e ∈ E ,
where B denotes the bandwidth of the assigned uplink subchannel, p u is the transmit power of terminal u , h u , e ( t ) is the channel gain between terminal u and edge node e , and σ 2 is the noise power.
The local computing capability of terminal u is denoted by f u l o c , and the maximum computing capability of edge node e is denoted by f e max .
The execution decision for task J u ( t ) is represented by a binary variable x u , n ( t ) , where n ∈ N . Specifically, x u , 0 ( t ) = 1 indicates that the task is executed locally, while x u , e ( t ) = 1 indicates that the task is offloaded to edge node e ∈ E . Each newly arrived task can be assigned to only one execution option:
∑ n ∈ N x u , n ( t ) = 1 ,   x u , n ( t ) ∈ { 0,1 } ,   ∀ u , t .

3.2. Modeling of Eligibility Constraints and Edge-Node-Side Queue Competition

In this paper, eligibility constraints are modeled as a matching relationship between task attributes and node service capabilities. Unlike conventional settings that characterize node differences only by computing capability or link condition, this work further considers differences in task requirements with respect to runtime environment, service components, or processing capability. Therefore, whether a task can be offloaded to a node depends not only on the current resource state but also on whether the node has the corresponding service eligibility. It should be emphasized that when the eligibility condition is not satisfied, execution at that node is not merely associated with a higher execution cost; rather, the task cannot be accepted and processed by that node at all.
Let K denote the set of task attribute categories, and let τ u ( t ) ∈ K denote the attribute category of task J u ( t ) . For each edge node e ∈ E , let K e ⊆ K denote the set of task types that can be served by that node. The eligibility relationship between task J u ( t ) and edge node e is defined as
g u , e ( t ) = 1 , τ u ( t ) ∈ K e , 0 , τ u ( t ) ∉ K e ,
The local execution option 0 is always feasible with respect to service eligibility and is used as a fallback option when no edge node can accept the task.
On the edge side, feasibility is affected not only by service eligibility but also by queue capacity. Let q e ( t ) denote the pending workload of edge node e at time slot t , measured in CPU cycles, and let q e max denote the maximum queue workload that edge node e can accommodate. The dynamic feasible execution set for task J u ( t ) is then defined as
A u ( t ) = { 0 } ∪ e ∈ E ∣ g u , e ( t ) = 1 ,   q e ( t ) + c u ( t ) ≤ q e max ,
This definition separates the edge-node set E , the execution-option set N , and the task-specific feasible action set A u ( t ) . Decisions are not made over a fixed candidate set; instead, the feasible action set changes with task attributes, node eligibility, and current queue states.
Once eligibility constraints are introduced, task competition no longer spreads evenly over all nodes. Instead, it becomes concentrated on a subset of eligible service nodes. To characterize the service differences of heterogeneous tasks under edge-node-side queue competition, a priority score is assigned to each task as
P u ( t ) = α τ ^ u ( t ) + β d ^ u ( t ) + η ζ ^ u ( t ) ,
where τ ^ u ( t ) ,   d ^ u ( t ) ,   and   ζ ^ u t   denote the normalized representations of the task attribute level, data size, and urgency, respectively. Here, α, β, and η are weighting coefficients satisfying α + β + η = 1. The urgency term is defined by urgency level rather than by the maximum tolerable delay itself, so that tasks with a shorter tolerable delay can be assigned higher priority.
At the execution side, tasks are assumed to be processed in descending order of priority. If two tasks have the same priority, they are served according to their arrival order. To capture this mechanism without substantially increasing the state dimension, the paper further defines the amount of higher-priority pending workload that task J u ( t ) will face at node e as
q u , e h p ( t ) = ∑ j ∈ Q e ( t ) b j ( t ) 1 P j ( t ) ≥ P u ( t ) ,
where Q e ( t ) denotes the set of queued tasks at node e at time slot t , b j ( t ) denotes the remaining CPU-cycle workload of queued task j at the current time slot, and 1 ( ⋅ ) is the indicator function. This quantity describes the cumulative remaining workload that must be completed before the current task can begin service. It should be noted that q u , e h p ( t ) is directly observable from the environment at the current time slot and is incorporated as part of the task decision state, rather than being inferred solely from the total queue workload q e ( t ) .
Since current decisions continue to affect future load, the node queue evolves over time according to the mechanism of processed workload release and newly arrived task accumulation. Let the duration of a time slot be Δ t . Then, the queue evolution of node e is given by
q e ( t + 1 ) = max { q e ( t ) − f e max Δ t , 0 } + ∑ u ∈ U t x u , e ( t ) c u ( t ) ,
where U t denotes the set of terminals with newly arrived tasks at time slot t. This update relation indicates that the current offloading decision further influences the service feasibility and competitive environment of subsequent tasks by changing the node load.

3.3. Performance Metrics and Optimization Objective

Based on the above model, this paper defines performance metrics from three aspects: task delay, energy consumption, and system load, and further constructs the long-term optimization objective accordingly. The paper adopts a commonly used energy modeling approach in MEC task offloading studies, while jointly considering the energy cost of local execution at the terminal side and collaborative processing at the edge side.
This paper assumes that terminal-side local tasks are processed immediately upon arrival and that no extra local queue is maintained. Therefore, if task J u ( t ) is executed locally, its completion delay and local energy consumption are given by
T u l o c ( t ) = c u ( t ) f u l o c ,   E u l o c ( t ) = κ u ( f u l o c ) 2 c u ( t ) ,
where κ u   is the terminal-side energy coefficient. If the task is offloaded to edge node e , its completion delay consists of transmission delay, queue waiting delay, and edge execution delay. Specifically,
T u , e t x ( t ) = d u ( t ) r u , e ( t ) ,     T u , e w a i t ( t ) = q u , e h p ( t ) f e max ,     T u , e c p ( t ) = c u ( t ) f e max ,
Hence, the total completion delay after offloading is
T u , e o f f ( t ) = T u , e t x ( t ) + T u , e w a i t ( t ) + T u , e c p ( t ) ,
For energy consumption, a system-level energy accounting model is adopted. That is, the terminal uplink transmission energy and the edge-node computation energy are jointly included in the total task energy consumption. Accordingly,
E u , e t x ( t ) = p u T u , e t x ( t ) ,     E u , e c p ( t ) = κ e ( f e max ) 2 c u ( t ) ,
where κ e   is the edge-side energy coefficient. Therefore, the total energy consumption after offloading is
E u , e o f f ( t ) = E u , e t x ( t ) + E u , e c p ( t ) ,
By combining local execution and edge execution, the unified task delay and energy consumption are written as
T u ( t ) = x u , 0 ( t ) T u l o c ( t ) + ∑ e ∈ E x u , e ( t ) T u , e o f f ( t ) ,
E u ( t ) = x u , 0 ( t ) E u l o c ( t ) + ∑ e ∈ E x u , e ( t ) E u , e o f f ( t ) ,
To indicate whether a task is completed within its service deadline, the task completion indicator is defined as
S u ( t ) = 1 , T u ( t ) ≤ δ u ( t ) , 0 , T u ( t ) > δ u ( t ) ,
It should be noted that infeasible actions and insufficient capacity have already been excluded during the construction of the feasible action set. Therefore, S u ( t ) is used only to indicate whether an executed task is completed before its deadline. The task drop-rate metric reported in the experiments follows this definition of task incompletion.
To account for the different scales of delay, energy consumption, and load, delay and energy consumption are normalized. Specifically, delay is normalized by the task delay budget, whereas energy consumption is normalized by the corresponding local execution energy, defined as
T ¯ u ( t ) = T u ( t ) δ u ( t ) ,     E ¯ u ( t ) = E u ( t ) E u l o c ( t ) ,
To reflect the requirement of long-term load regulation, the load ratio of node e at time slot t is defined as
ρ e ( t ) = q e ( t ) q e max ,
and the system-level load penalty is defined as
L ( t ) = 1 | E | ∑ e ∈ E ρ e 2 ( t ) ,
where the quadratic term increases the model sensitivity to heavily loaded nodes, so that the policy can suppress persistent backlog accumulation on a small number of nodes while optimizing average performance.
In the experimental evaluation, the load coefficient of variation (Load CV) is further used to measure the dispersion of edge-node load ratios. Let ρ ¯ ( t ) denote the average load ratio of all edge nodes at time slot t , defined as
ρ ¯ ( t ) = 1 | E | ∑ e ∈ E ρ e ( t ) .
The coefficient of variation of edge-node load ratios is then defined as
L o a d C V ( t ) = 1 | E | ∑ e ∈ E ρ e ( t ) − ρ ¯ ( t ) 2 ρ ¯ ( t ) + ε ,
where ε is a small positive constant used to avoid division by zero under extremely light-load conditions. A lower Load CV indicates that the load ratios of different edge nodes are more evenly distributed, whereas a higher Load CV indicates that tasks are concentrated on a smaller subset of edge nodes. Therefore, Load CV is used as an evaluation metric for inter-node load imbalance, while L ( t ) is used as the load-related penalty term in reward construction.
Based on the above definitions, the instantaneous system cost at time slot t is defined as
C ( t ) = ∑ u ∈ U t ( ω 1 T ¯ u ( t ) + ω 2 E ¯ u ( t ) − ω 4 S u ( t ) ) + ω 3 L ( t ) ,
where ω 1 ,   ω 2 ,   ω 3 ,   ω 4 ≥ 0 are weighting coefficients for delay, energy consumption, system-level load penalty, and task-completion benefit, respectively. Accordingly, the long-term optimization objective of this paper is
min π E ∑ t = 1 ∞ γ t − 1 C ( t )
subject to
∑ n ∈ N x u , n ( t ) = 1 ,   ∀ u , t ,
x u , e ( t ) ≤ g u , e ( t ) ,   ∀ u ,   e ∈ E ,   t ,
q e ( t ) + ∑ u ∈ U t x u , e ( t ) c u ( t ) ≤ q e max ,   ∀ e ∈ E ,   t ,
x u , n ( t ) ∈ { 0,1 } ,   ∀ u ,   n ∈ N ,   t .
Here, π denotes the offloading policy, and γ ∈ ( 0,1 ) is the discount factor. These constraints respectively specify the unique assignment of each newly arrived task over the execution-option set N , the eligibility feasibility of edge offloading decisions, the edge-side queue-capacity limitation, and the binary nature of the decision variable.

3.4. Analysis of Problem Characteristics

The difficulty of the problem does not lie simply in summing multiple cost terms such as delay, energy consumption, and load. Instead, it lies in the fact that the decision boundary and state evolution are both shaped by eligibility constraints and edge-node-side queue dynamics. For different tasks, the feasible action set is not fixed in advance. It is jointly determined by task attributes, node eligibility, link condition, and the current queue state. Therefore, the feasible action set changes across tasks and time slots.
From the optimization perspective, the formulated problem involves binary offloading variables, task-specific eligibility constraints, edge-side queue-capacity constraints, and time-coupled queue evolution. These factors make the feasible region state-dependent and discrete. Once a task is assigned to an edge node, its waiting cost depends not only on the total node workload but also on its relative service order in the node queue. In this sense, offloading decisions are directly coupled with edge-node-side queue competition. The task allocation result at the current time slot also affects node load, feasible action availability, and competition intensity in subsequent time slots through queue updates. Therefore, the problem should not be treated as an independent convex optimization problem solved separately at each time slot.
If only the instantaneous cost is minimized greedily, tasks may remain concentrated on a small number of eligible service nodes under eligibility constraints, thereby aggravating hotspot backlog and degrading the completion quality of subsequent tasks. This temporal coupling provides the basis for formulating the problem as a Markov decision process. At each decision epoch, the state includes the current task attributes, link-related information, edge-node queue workload, feasible-action information, and load-related node status. The action corresponds to selecting local execution or one feasible edge node for the current task. After the action is executed, the environment updates the task completion status, node queues, and system load, and then moves to the next state. The reward reflects task-level delay and energy cost, task completion quality, and system-level load feedback.
Under this formulation, DRL is used to approximate the long-term action-value function over dynamic feasible actions. The role of D3QN in this paper is to provide the value-learning backbone, rather than to introduce a new neural-network architecture. The eligibility-aware action mask further restricts both current action selection and target-action evaluation to task-specific feasible actions, so that value learning remains consistent with the execution constraints of the MEC environment. Hence, the problem can be formulated as a long-horizon constrained sequential decision problem jointly driven by dynamic feasible action sets, edge-node-side queue competition, and accumulated load. The next section presents the method design on this basis.

4. Method Design

4.1. Overall Framework

The overall framework of RoSCo is shown in Figure 2. The method jointly addresses eligibility constraints, edge-node queue competition, and load variation within a unified decision process. After the current task arrives, the environment constructs the state representation according to the task attributes, uplink transmission rate, node queue workload, feasible-action information, and the local execution option. The policy then selects an execution location from the feasible action set. After the task is processed either locally or at the edge side, the environment updates the node queues and system load and further generates the state for the next time step.
Figure 2. Overall workflow of RoSCo.
From an architectural perspective, RoSCo follows a centralized decision architecture rather than a fully distributed multi-agent architecture. The policy model is assumed to be deployed at an MEC controller or edge-side service orchestrator, which collects task-side information and edge-node-side status before making each offloading decision. Specifically, mobile terminals provide task attributes, latency requirements, and uplink-related information, while edge nodes periodically report their service capability, eligibility-related availability, queue workload, and residual capacity. Based on these inputs, the controller constructs the current state representation and identifies the feasible execution set for the arriving task.
The feasible action set is explicitly generated before action selection, rather than being inferred only through trial-and-error interactions. For each task, the controller first checks the matching relationship between task attributes and node service eligibility, and then further considers link availability and edge-side queue-capacity constraints. Only local execution and edge nodes satisfying these conditions are retained as feasible actions. After the selected task is assigned to an edge node, the node processes it according to the priority-aware service order, and the updated queue and load status are reported back to the controller for subsequent decision epochs. The arrows in Figure 2 denote the information-flow and decision-feedback loop among state collection, feasible-action construction, action selection, environment interaction, replay, network update, and policy improvement. They do not represent federated training, inter-server aggregation, task aggregation across edge nodes, or an additional communication protocol. This setting is consistent with practical MEC systems in which multiple edge servers can be managed by an access-side controller or service orchestrator.
Multi-agent DRL is not adopted as the main modeling choice in this paper because the considered decision problem is defined at the level of each arriving task, where one execution location must be selected from a task-specific feasible action set. If different edge nodes are modeled as independent learning agents, feasible-action judgment would depend on partially observed and asynchronously updated eligibility and queue states, which may introduce additional non-stationarity, communication overhead, and credit-assignment difficulty. Since the focus of this work is eligibility-aware feasible-action control and load-responsive offloading under a unified decision space, a centralized D3QN-based policy is used as the value-learning backbone. Distributed or multi-agent extensions are left for future work.
In this process, the eligibility-aware action constraint, priority-aware edge-node service-order modeling, and load-responsive reward design correspond respectively to action screening, node-side service-order representation, and long-term load regulation. To implement the above decision process, this paper adopts D3QN as the value-learning backbone. In particular, the action mask is used in both current action selection and next-state target action computation, so that value updating is restricted to the feasible action sets associated with both the current state and the next state. The following subsections describe the action-space constraint, service-order modeling, reward construction, and policy learning procedure in turn.

4.2. Eligibility-Aware Action-Space Constraint

Under eligibility-constrained conditions, the set of eligible service nodes changes with both task attributes and node states. Accordingly, RoSCo directly incorporates the dynamic feasible action set into the decision process and restricts policy search to the currently feasible actions through an action-masking mechanism during action selection.
Let the action mask vector for the current task at time slot t be m u ( t ) = { m u , n ( t ) } n ∈ N ,   where
m u , n ( t ) = 1 , n ∈ A u ( t ) , 0 , n ∉ A u ( t ) ,
For the action-value output Q ( s t , n ; θ ) of the main network, the current action is selected only from the feasible action set as
a t = arg max n ∈ A u ( t ) Q ( s t , n ; θ ) .
This treatment ensures that policy updating always focuses on the return differences among feasible actions, rather than relying on a large number of invalid interactions to identify infeasible nodes. For the problem considered in this paper, the action space is no longer a predetermined full action set, but a dynamic feasible action set jointly determined by task attributes, node eligibility, and queue state.

4.3. Priority-Aware Edge-Node Service-Order Modeling

The action-feasibility constraint determines which edge nodes a task can enter, but the waiting cost inside an edge node still depends on the service order in the node queue. Under continuous arrivals of heterogeneous tasks and shared edge resources, decisions based only on total node load cannot adequately reflect the actual queueing pressure faced by the current task at the edge-node side.
To address this issue, RoSCo incorporates priority-aware edge-node service-order information into the offloading decision process. After a task is assigned to edge node e ∈ E , the node sorts the queue according to the priority score π u ( t ) defined in Section 3.2 and serves tasks sequentially in descending order of priority. The queue competition intensity relevant to the current task is characterized by q u , e h p ( t ) , namely the higher-priority pending workload. This quantity is explicitly computed by the environment for each candidate edge node at each time slot and is provided to the agent as a state feature. Therefore, the policy can perceive not only the total node load but also the priority-aware waiting pressure that the current task may face at different eligible edge nodes.

4.4. Load-Responsive Reward Design

If the reward is defined only by the delay and energy consumption of the current task, the policy may repeatedly choose a small number of nodes with high instantaneous return under eligibility constraints, thereby aggravating edge-side backlog accumulation. To avoid this issue, RoSCo incorporates both current task performance and system load into the reward design under a task-level decision framework. For the current decision task J u ( t ) , the immediate reward at time slot t is defined as
r t = − ( ω 1 T ¯ u ( t ) + ω 2 E ¯ u ( t ) − ω 4 S u ( t ) ) − ω 3 L ( t ) ,
Here, the task-level terms ensure that policy learning directly targets the completion quality of the current task, whereas the system-level load term L ( t )   reflects the influence of the current action on future system states. In this way, the state, action, and reward remain aligned at the same decision granularity, while long-term load regulation is incorporated into the learning process through the system-level load penalty.
Since infeasible actions have already been removed by the masking mechanism at the action-selection stage, this paper does not introduce an additional penalty term for eligibility violation. Accordingly, the focus of policy learning shifts from identifying invalid actions to comparing the long-term returns of feasible actions.

4.5. D3QN-Based Policy Learning

After defining the action constraint, priority-aware service-order modeling, and reward design, this paper adopts D3QN as the policy-learning backbone for the long-term offloading problem. The use of D3QN is not intended to claim a new neural-network architecture. Rather, it provides a value-learning structure for discrete execution-location selection, while RoSCo modifies the decision process around this backbone through task-specific feasible-action construction, eligibility-aware action masking, priority-aware node-side queue information, and load-responsive reward feedback. In this way, the learning procedure is aligned with the dynamically constrained execution space of the eligibility-constrained MEC system.
For the current task J u ( t ) , the state vector at time slot t is represented as
s t = [ ϕ u ( t ) , r u ( t ) , q ( t ) , q u h p ( t ) , m u ( t ) ] ,
where ϕ u ( t ) = [ d u ( t ) , c u ( t ) , τ u ( t ) , δ u ( t ) , π u ( t ) ]   denotes the current task-attribute features; r u ( t ) = { r u , e ( t ) } e ∈ E denotes the uplink transmission rates to all edge nodes; q ( t ) = { q e ( t ) } e ∈ E denotes the total queue workload of all edge nodes; q u h p ( t ) = { q u , e h p ( t ) } e ∈ E denotes the higher-priority pending workload faced by the current task at each edge node; and m u ( t ) = { m u , n ( t ) } n ∈ N denotes the feasible-action mask. In particular, categorical variables are encoded in discrete form before being input into the network. The priority score is retained together with the original task attributes as an aggregated description of task urgency and service level. For the local execution option 0 , the edge-side feature components are uniformly set to zero, and a local-execution indicator is additionally introduced. At the same time, this action is always retained as feasible in the mask.
On this basis, action a t denotes the execution-location selection of the current task within the feasible action set A u ( t ) , the reward is defined as in the previous subsection, and the state transition is jointly determined by node queue updating and task arrival at the next time slot. The problem can therefore be formulated as a Markov decision process with action constraints.
In terms of network structure, this paper adopts a dueling value decomposition mechanism, in which state value and action advantage are estimated separately and then aggregated to obtain the action-value function. Specifically, for the feasible action set A ( s t ) = A u ( t ) , the output of the main network is written as
Q ( s t , n ; θ ) = V ( s t ; θ ) + A ( s t , n ; θ ) − 1 | A ( s t ) | ∑ n ′ ∈ A ( s t ) A ( s t , n ′ ; θ ) ,
where V ( s t ; θ ) denotes the state-value function, A ( s t , a ; θ ) denotes the action-advantage function of action a , and A ( s t ) denotes the feasible action set in state s t . The index n is used only to average advantage values over feasible actions. This structure separates state-value estimation from feasible-action advantage estimation under the dynamically constrained action space.
On this basis, a double-network estimation mechanism is further adopted to achieve stable training. Let θ denote the parameters of the main network and θ − denote those of the target network. For an experience sample ( s t , a t , r t , s t + 1 ) , the target action of the next state is selected from its feasible action set as
a t + 1 * = arg max n ∈ A ( s t + 1 ) Q ( s t + 1 , n ; θ ) ,
and the target value is then computed as
y t = r t + γ Q ( s t + 1 , a t + 1 * ; θ − ) .
where A ( s t + 1 ) denotes the feasible action set jointly determined by the task attributes and node states in the next state. The corresponding loss function is written as
L ( θ ) = E [ ( y t − Q ( s t , a t ; θ ) ) 2 ] .
Algorithm 1 summarizes the RoSCo training procedure. Compared with a standard DQN or D3QN training loop, the procedure includes three problem-specific operations. First, the task-specific feasible action set is reconstructed at each decision epoch according to task-node eligibility and queue-capacity constraints, and the corresponding action mask is applied before action selection. Second, priority-aware node-side queue information is computed by the environment and incorporated into the state, so that the policy can distinguish not only total node workload but also the waiting pressure faced by the current task at different feasible nodes. Third, the feasible action set of the next state is also reconstructed during target-value computation, which prevents the target action from being selected from infeasible execution options. Therefore, RoSCo uses D3QN as the value-learning backbone but constrains both action selection and value updating according to the actual execution conditions of the eligibility-constrained MEC system.
Algorithm 1 RoSCo training procedure with eligibility-aware masking and priority-aware service-order modeling
Input: main-network parameters θ ; target-network parameters θ − ; replay buffer D

Output: trained main-network parameters θ

1: Initialize θ , θ − , and replay buffer D .
2: for each training episode do
3:  Reset the MEC environment.
4:   for   each   decision   epoch   t  do
5:    Observe J u ( t ) , uplink rates, edge-node workloads, and service-eligibility information.
6:    Compute the eligibility indicator g u , e ( t ) for each edge node e ∈ E .
7:    Construct the task-specific feasible action set A u ( t ) ⊆ N .
8:    Generate the action mask m u ( t ) = { m u , n ( t ) } n ∈ N according to A u ( t ) , with local execution option 0 retained as feasible.
9:    Compute the priority score P u ( t ) and the higher-priority pending workload q u , e h p ( t ) for each feasible edge node.
10:   Construct the state s t = [ ϕ u ( t ) , r u ( t ) , q ( t ) , q u h p ( t ) , m u ( t ) ] .
11:   Select action a_t from A u ( t )  using the ε − g r e e d y policy:
           with probability ε , randomly select a t ∈ A u ( t ) ;
           otherwise, select a t = arg max n ∈ A u ( t ) Q ( s t , n ; θ ) .
12:   Execute a t and update the edge-node queue according to the priority-aware service order.
13:   Compute r t according to delay, energy consumption, task-completion gain, and load penalty.
14:          Observe the next state s t + 1 and store the transition sample ( s t , a t , r t , s t + 1 ) in replay buffer D .
15:          Randomly sample a mini-batch of transition samples from D .
16:          For each sampled transition, reconstruct the feasible action set A ( s t + 1 ) of the next state.
17:          Select the target action only from A ( s t + 1 ) using the main network:
                               a t + 1 * = arg max n ∈ A ( s t + 1 ) Q ( s t + 1 , n ; θ ) .
18:          Compute the target value using the target network:
                                 y t = r t + γ Q ( s t + 1 , a t + 1 * ; θ − ) .
19:          Update θ by minimizing the loss between y t and Q ( s t , a t ; θ ) .
20:          Periodically synchronize the target-network parameters θ − ← θ .
21: end for
22: end for
23: Return θ .

5. Experimental Results and Discussion

5.1. Experimental Settings

All experiments were implemented in Python 3.10 with PyTorch 2.1.0 and conducted on a local workstation equipped with an Intel i9-13900F CPU, 32 GB DDR4 memory, and an NVIDIA GeForce RTX 4060 Ti graphics processing unit (GPU) under Windows 10 Professional 64-bit. The training and testing processes were both executed on a single GPU. To evaluate the effectiveness of RoSCo under eligibility-constrained MEC scheduling, this paper constructs a discrete-time simulation environment with multiple mobile terminals and multiple heterogeneous edge nodes. Unless otherwise specified, the default system scale includes 50 mobile terminals and 8 edge nodes. Tasks arrive continuously over time and are characterized by task size, required CPU cycles, latency requirement, eligibility-related attribute labels, and priority levels. Edge nodes differ in service capability, available resource capacity, and current queue state, so the set of executable nodes varies dynamically with task attributes and node-side eligibility conditions.
The simulation is organized in time slots. At each decision epoch, the environment first determines the dynamically feasible execution set according to the current task attributes and node-side eligibility constraints, and then the scheduling policy selects either local execution or one candidate edge node for offloading. Once a task is assigned, node-side service ordering and queue competition further affect waiting delay and subsequent system load evolution. Therefore, the experimental environment jointly reflects three coupled factors, namely eligibility-constrained action feasibility, edge-node queue competition, and long-term load accumulation, which together determine the actual execution cost of each offloading decision.
For comparative evaluation, the main performance figures report Greedy, DDQN, constraint-aware reinforcement learning (CA-RL), priority-service reinforcement learning (PS-RL), and RoSCo. Greedy selects the execution location with the minimum estimated instantaneous cost from the feasible candidates and is used as a non-learning baseline. DDQN introduces a double-network structure to alleviate action-value overestimation and is included as a basic value-learning baseline rather than as a Dueling-DQN comparison. CA-RL incorporates eligibility-aware action control and is used to examine the effect of feasible-action handling. PS-RL introduces a priority-based service-order mechanism into the learning framework and is used to evaluate the role of service-order information. RoSCo adopts D3QN as the value-learning backbone and further combines eligibility-aware action masking, priority-aware edge-node service-order modeling, and load-responsive reward design into a unified decision framework. Therefore, the comparison is organized to distinguish the effects of value-learning stabilization, eligibility-aware action control, priority-based service-order handling, and the full RoSCo design. For fair comparison, all learning-based methods share the same settings for the number of training episodes, batch size, replay buffer size, target-network update interval, and discount factor.
DQN is additionally included in the training-convergence comparison to show the effect of double-network value estimation and constrained policy learning during training, whereas the main performance figures focus on the stronger and mechanism-relevant baselines.
To reduce the influence of randomness, each experimental setting is independently repeated five times with different random seeds, and all reported results are presented as mean ± standard deviation (SD). For the training-convergence experiment, each learning-based method is trained for 1000 episodes and evaluated under the same environment configuration. The main simulation and training parameters are summarized in Table 2.
Table 2. Main simulation and training parameter settings.

5.2. Results and Discussion

Figure 3 shows the overall performance of different methods under different task arrival rates. When the number of mobile terminals is fixed at 50, the system load gradually increases as the task arrival rate grows. Accordingly, the task drop rate, average delay, and node-load dispersion all increase, indicating that node-side competition under eligibility constraints becomes more pronounced in the high-load regime. Compared with the baseline methods, RoSCo maintains a more stable overall performance over the full task-arrival-rate range. Averaged over this range, RoSCo reduces the drop rate, average delay, energy per task, and Load CV by 4.67%, 3.22%, 1.12%, and 8.95%, respectively, compared with CA-RL. When the task arrival rate increases to 420 tasks/slot, RoSCo still outperforms CA-RL by 0.86%, 1.04%, 0.75%, and 7.14% on the above four metrics, respectively. These results indicate that the advantage of RoSCo is not mainly reflected in the low-load regime, but in its ability to control edge-side backlog accumulation and inter-node load dispersion after the load increases. It should also be noted that RoSCo does not achieve the lowest energy per task at every sampled point, but it maintains a competitive energy-performance level overall.
Figure 3. Performance comparison of different methods under different task arrival rates: (a) drop rate; (b) average delay; (c) energy per task; (d) Load CV.
Figure 4 further compares the performance of different methods under different numbers of mobile terminals. When the task arrival rate is fixed at 250 tasks/slot, increasing the number of terminals leads to more concurrent task requests. As a result, node-side queueing and the eligibility-induced aggregation effect become more evident. Therefore, all methods exhibit performance degradation to different degrees in terms of drop rate, average delay, and load balancing. When averaged over the full range of terminal numbers, RoSCo reduces the drop rate, average delay, energy per task, and Load CV by 5.00%, 3.69%, 1.16%, and 9.62%, respectively, relative to the best-performing baseline for each metric. In the medium- and large-scale regions, the advantage of RoSCo becomes more evident. For example, when the number of terminals is 80, RoSCo reduces the drop rate, average delay, energy per task, and Load CV by 2.60%, 4.72%, 1.04%, and 7.22%, respectively, compared with PS-RL. At the largest system scale, the main strengths of RoSCo remain concentrated in the drop rate and Load CV, whereas its performance on average delay and energy per task remains close to that of the best-performing baseline. It should be emphasized that Load CV is computed from the load ratios of all edge nodes rather than from an aggregate system load. Therefore, this metric reflects inter-node load dispersion on the edge side. A lower Load CV indicates that the workload is less concentrated on a small subset of eligible edge nodes and that the load ratios of different edge nodes are more evenly distributed. Conversely, a higher Load CV indicates stronger load concentration, even when the total number of arriving tasks is unchanged. In this sense, Load CV is used to characterize whether the edge-side workload is shared more evenly across available service nodes.
Figure 4. Performance comparison of different methods under different terminal scales: (a) drop rate; (b) average delay; (c) energy per task; (d) Load CV.
Based on this definition, the Load CV trends in Figure 3 and Figure 4 show that RoSCo reduces inter-node load imbalance under both increasing task-arrival rates and increasing terminal scales. This does not mean that RoSCo reduces the total amount of workload generated by the system. Rather, it indicates that the proposed eligibility-aware action control and load-responsive reward help avoid repeatedly assigning tasks to a small number of currently attractive eligible nodes. Combining the trends in Figure 3 and Figure 4, the gains of RoSCo mainly come from its joint treatment of task-destination selection, edge-node-side queue competition, and long-term load dispersion under eligibility constraints, rather than from the optimization of a single metric alone.
Table 3 provide additional statistical support for the main performance comparisons under the two evaluation scenarios. The Friedman tests indicate significant overall differences among the five compared methods in all scenario–metric combinations. The pairwise results further show that RoSCo consistently achieves negative paired relative differences relative to DDQN, CA-RL, and PS-RL, with the most evident gains appearing in drop rate and Load CV, while the improvements in energy per task are comparatively smaller.
Table 3. Statistical significance summary under the arrival-rate and terminal-scale scenarios.
Figure 5 presents the variation of normalized return during training for different learning-based methods. Since Greedy does not involve parameter updating, this figure compares only learning-based methods with iterative training processes. Overall, the returns of all methods gradually increase as training proceeds, but clear differences exist in the growth rate and late-stage fluctuation behavior. DQN converges relatively slowly and reaches a lower return in the later training stage. After the double-network structure is introduced, DDQN shows improved training stability. PS-RL maintains relatively smooth growth in the middle and late training stages. Owing to its explicit handling of action feasibility, CA-RL exhibits a more stable training process than standard DQN and DDQN. By contrast, RoSCo maintains a higher return level in the middle and late stages. Over the last 50 training episodes, its average normalized return is 6.40% higher than that of CA-RL. This result indicates that, when dynamic feasible action sets and edge-node queue competition coexist, incorporating eligibility constraints, service-order information, and load-responsive rewards into the value-learning process is beneficial for improving training effectiveness. This convergence result should be interpreted as evidence that the masked D3QN learning process can stably learn under dynamic feasible action sets; it does not by itself prove that D3QN is the source of all performance gains. The mechanism-validation and ablation results are therefore used to further separate the effects of action masking, priority-aware queue information, and load-responsive reward design.
Figure 5. Training convergence curves of different learning-based methods.
Figure 6 reports the mechanism-validation results. Figure 6a mainly examines the impact of eligibility-constraint handling on the original action preference. For this reason, DDQN, CA-RL, and RoSCo are compared. As the eligibility ratio decreases, the feasible action set continues to shrink. Methods that do not explicitly adapt to a dynamic feasible action set are therefore more likely to direct their original action preferences toward infeasible nodes. Over the full eligibility-ratio range, the pre-mask invalid-action preference of RoSCo is reduced by 93.80% and 52.39%, respectively, compared with DDQN and CA-RL. Under the strongest constraint condition, namely ρ = 0.2, the corresponding reductions still reach 94.40% and 53.15%. This result indicates that the eligibility-aware action constraint not only prevents infeasible actions from being selected after masking but also substantially suppresses the original pre-mask preference for infeasible nodes at the policy-output level.
Figure 6. Mechanism-validation results: (a) pre-mask invalid-action preference under different eligibility ratios; (b) average delay of high-priority tasks.
Figure 6b focuses on the influence of priority-aware edge-node service-order modeling on the service quality of high-priority tasks. Accordingly, CA-RL, PS-RL, and RoSCo are selected for comparison because they represent different levels of constraint and service-order handling: CA-RL mainly accounts for eligibility-aware action control, PS-RL introduces priority-based service ordering, and RoSCo combines eligibility-aware action control with priority-aware edge-node service-order information. The results show that RoSCo achieves the lowest mean delay for high-priority tasks among the compared methods, with reductions of 8.17% and 3.20%, respectively, relative to CA-RL and PS-RL. This result indicates that handling eligibility constraints only at the action-selection level is not sufficient to fully reduce the waiting cost of high-priority tasks once they enter node-side queues. By contrast, after incorporating priority-aware service-order information into both state representation and decision-making, RoSCo is better able to distinguish the service pressure faced by high-priority tasks across candidate nodes and to avoid offloading decisions that appear feasible but induce unfavorable node-side queue competition. Therefore, the high-priority delay result provides mechanism-consistent evidence for the role of service-order modeling in node-side service differentiation under eligibility-constrained task scheduling. At the same time, the formal statistical significance claims of this paper remain centered on the main performance comparisons, whereas this mechanism-oriented result is used to support the interpretability of the proposed design.
To further analyze the contribution of each constituent mechanism, an ablation study is conducted under the same settings. The results are summarized in Table 4. Compared with the full model, removing the action constraint increases the drop rate, average delay, and Load CV by 14.87%, 12.95%, and 26.27%, respectively. This indicates that the dynamic feasible-action constraint is a key component for maintaining decision validity and controlling system-level load dispersion. Removing the priority-aware edge-node service-order mechanism increases average delay, energy per task, and high-priority task delay by 8.51%, 5.20%, and 7.98%, respectively, showing that node-side service order affects not only the delay of critical tasks but also the overall system performance. Removing the load-responsive reward increases the drop rate, average delay, and Load CV by 9.69%, 6.10%, and 20.72%, respectively. Because Load CV is computed over the load ratios of different edge nodes, these increases indicate that removing the corresponding mechanisms makes workload distribution more uneven across the edge side, rather than merely changing an aggregate load statistic. This indicates that decision-making based only on task-level return is insufficient to suppress backlog accumulation at heavily loaded nodes and maintain long-term system stability. Overall, action-feasibility handling, priority-aware service-order modeling, and load-responsive rewards operate at different decision levels, and removing any one of them leads to performance degradation to varying degrees.
Table 4. Ablation results.
Taken together, the trends shown in Figure 3, Figure 4, Figure 5 and Figure 6 are largely consistent. The advantage of RoSCo is mainly reflected in its stable control of task drop rate, load dispersion, and high-priority task delay under eligibility constraints, rather than in absolute superiority on every metric under every scenario.

6. Conclusions

This paper investigated task offloading in heterogeneous MEC systems under task-node eligibility constraints. Different from conventional MEC offloading studies that assume a fixed or fully available candidate-server set, the considered scenario requires each task to be assigned only to execution locations satisfying its service requirements, link conditions, and node-state constraints. Under this setting, offloading decisions are coupled with dynamic feasible action sets, edge-node queue competition, and long-term edge-server load evolution.
To address this problem, RoSCo was proposed as a load-aware task offloading method with eligibility-aware action control, priority-aware service-order modeling, and load-responsive feedback for eligibility-constrained MEC systems. The method constructs a dynamic feasible action set for each arriving task and applies eligibility-aware action masking to exclude infeasible offloading actions during policy learning. Priority-aware edge-node service-order information is incorporated to represent queueing and service-order competition among heterogeneous tasks at edge servers. In addition, a load-responsive reward is designed to guide the learning process toward congestion mitigation and load balancing. The offloading policy is learned using D3QN as the value-learning backbone, with the feasible action set considered in both current action selection and target-action evaluation.
Simulation results show that RoSCo achieves a more stable trade-off among task drop rate, task completion delay, energy consumption, and edge-server load balance than representative baseline methods. The advantage is more evident under high-load and sparse-eligibility conditions, where feasible execution locations are limited and edge-node queue competition becomes more pronounced. The ablation results further indicate that eligibility-aware action masking, priority-aware service-order modeling, and load-responsive reward design contribute to different aspects of the overall performance, namely action feasibility control, node-side service-order representation, and long-term load regulation.
Several limitations remain for future work. First, the current study is evaluated in a simulated MEC environment, and the system parameters are abstracted from typical edge-computing settings. Future work can further validate the proposed method using real edge traces or testbed-based experiments. Second, the current model focuses on single-task offloading decisions under dynamic eligibility constraints, while more complex dependency structures among tasks, such as workflow tasks or collaborative multi-service tasks, have not been considered. Third, the proposed framework can be extended to distributed or multi-agent MEC systems, where multiple mobile devices and edge servers make decisions under incomplete information and decentralized control.

Author Contributions

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

Funding

This research was funded by the Guangxi Key Research and Development Program (Research, Development, and Application Demonstration of a Container Cloud Platform Based on Cloud-Native and Service-Mesh Technologies, grant number GuiKe AB25069377) and the Guangxi Key Research and Development Program (Research and Industrialization of Cloud Intelligence Technologies in a Trusted Environment, grant number GuiKe AB25069300).

Data Availability Statement

Due to project privacy restrictions, the code is not publicly available. Researchers who are interested in the implementation details may contact the corresponding author by email for further information.

Acknowledgments

During the preparation of this manuscript, the authors used ChatGPT (GPT-5.4 Thinking, OpenAI) to translate parts of the initial draft and improve the English language and readability. After using this tool/service, the authors carefully reviewed and edited the content as needed and take full responsibility for the final content of the publication.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. 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]
  2. Luo, Z.; Dai, X. Reinforcement learning-based computation offloading in edge computing: Principles, methods, challenges. Alex. Eng. J. 2024, 108, 89–107. [Google Scholar] [CrossRef] [Scilit]
  3. Gao, X.; Ang, M.C.; Althubiti, S.A. Deep reinforcement learning and Markov decision problem for task offloading in mobile edge computing. J. Grid Comput. 2023, 21, 78. [Google Scholar] [CrossRef] [Scilit]
  4. Peng, Z.; Wang, G.; Nong, W.; Qiu, Y.; Huang, S. Task offloading in multiple-services mobile edge computing: A deep reinforcement learning algorithm. Comput. Commun. 2023, 202, 1–12. [Google Scholar] [CrossRef] [Scilit]
  5. Wu, Z.; Jia, Z.; Pang, X.; Zhao, S. Deep reinforcement learning-based task offloading and load balancing for vehicular edge computing. Electronics 2024, 13, 1511. [Google Scholar] [CrossRef] [Scilit]
  6. 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]
  7. Zhang, X.; Fang, C.; Bai, Z.; Zhang, L.; Wang, P.; Cao, Z. Temporal dependency task offloading via deep reinforcement learning for mobile edge computing. Peer-Peer Netw. Appl. 2025, 18, 288. [Google Scholar] [CrossRef] [Scilit]
  8. Min, M.; Liu, Z.; Duan, J.; Zhang, P.; Li, S. Safe-learning-based location-privacy-preserved task offloading in mobile edge computing. Electronics 2024, 13, 89. [Google Scholar] [CrossRef] [Scilit]
  9. Li, Y.; Zhang, Z.; Chao, H.C. Service caching with multi-agent reinforcement learning in cloud-edge collaboration computing. Peer-Peer Netw. Appl. 2025, 18, 93. [Google Scholar] [CrossRef] [Scilit]
  10. Guo, R.; Zhou, L.; Li, L.; Song, Y.; Xie, X. Dependent task graph offloading model based on deep reinforcement learning in mobile edge computing. Electronics 2025, 14, 3184. [Google Scholar] [CrossRef] [Scilit]
  11. Peng, P.; Lin, W.; Wu, W.; Zhang, H.; Peng, S.; Wu, Q.; Li, K. A survey on computation offloading in edge systems: From the perspective of deep reinforcement learning approaches. Comput. Sci. Rev. 2024, 53, 100656. [Google Scholar] [CrossRef] [Scilit]
  12. Zheng, X.; Tahir, M.; Frnda, J.; Anwar, M.S.; Choi, A.; Kumar, R. Computation offloading based on incomplete information in edge computing networks. Clust. Comput. 2025, 28, 908. [Google Scholar] [CrossRef] [Scilit]
  13. Yao, Z.; Xia, S.; Li, Y.; Wu, G. Cooperative task offloading and service caching for digital twin edge networks: A graph attention multi-agent reinforcement learning approach. IEEE J. Sel. Areas Commun. 2023, 41, 3401–3413. [Google Scholar] [CrossRef] [Scilit]
  14. Xie, M.; Ye, J.; Zhang, G.; Ni, X. Deep reinforcement learning-based computation offloading and distributed edge service caching for mobile edge computing. Comput. Netw. 2024, 250, 110564. [Google Scholar] [CrossRef] [Scilit]
  15. Zheng, L.; Tan, L. A decentralized scheme for multi-user edge computing task offloading based on dynamic pricing. Peer-Peer Netw. Appl. 2025, 18, 91. [Google Scholar] [CrossRef] [Scilit]
  16. Pang, S.; Wang, T.; Gui, H.; He, X.; Hou, L. An intelligent task offloading method based on multi-agent deep reinforcement learning in ultra-dense heterogeneous network with mobile edge computing. Comput. Netw. 2024, 250, 110555. [Google Scholar] [CrossRef] [Scilit]
  17. Chen, T.; Ai, J.; Xiong, X.; Hu, G. Cooperative service caching and task offloading in mobile edge computing: A novel hierarchical reinforcement learning approach. Electronics 2025, 14, 380. [Google Scholar] [CrossRef] [Scilit]
  18. Xiong, J.; Guo, P.; Wang, Y.; Meng, X.; Zhang, J.; Qian, L.; Yu, Z. Multi-agent deep reinforcement learning for task offloading in group distributed manufacturing systems. Eng. Appl. Artif. Intell. 2023, 118, 105710. [Google Scholar] [CrossRef] [Scilit]
  19. Wu, H.; Geng, J.; Bai, X.; Jin, S. Deep reinforcement learning-based online task offloading in mobile edge computing networks. Inf. Sci. 2024, 654, 119849. [Google Scholar] [CrossRef] [Scilit]
  20. Li, N.; Zhai, L.; Ma, Z.; Zhu, X.; Li, Y. Lyapunov-guided deep reinforcement learning for service caching and task offloading in mobile edge computing. Comput. Netw. 2024, 250, 110593. [Google Scholar] [CrossRef] [Scilit]
  21. Deng, T.; Yu, Z.; Yuan, D. Task offloading optimization in mobile edge computing under uncertain processing cycles and intermittent communications. Comput. Netw. 2024, 245, 110359. [Google Scholar] [CrossRef] [Scilit]
  22. Segal, M. A multiserver system with preemptive priorities. Oper. Res. 1970, 18, 316–323. [Google Scholar] [CrossRef] [Scilit]
  23. Kella, O.; Yechiali, U. Waiting times in the non-preemptive priority M/M/c queue. Stoch. Models 1985, 1, 257–262. [Google Scholar] [CrossRef] [Scilit]
  24. Wang, S.; Zhao, S.; Gui, H.; He, X.; Lu, Z.; Chen, B.; Fan, Z.; Pang, S. Energy-efficient collaborative task offloading in multi-access edge computing based on deep reinforcement learning. Ad Hoc Netw. 2025, 169, 103743. [Google Scholar] [CrossRef] [Scilit]
  25. You, C.; Huang, K.; Chae, H.; Kim, B.H. Energy-efficient resource allocation for mobile-edge computation offloading. IEEE Trans. Wirel. Commun. 2017, 16, 1397–1411. [Google Scholar] [CrossRef] [Scilit]
  26. Mnih, V.; Kavukcuoglu, K.; Silver, D.; Rusu, A.A.; Veness, J.; Bellemare, M.G.; Graves, A.; Riedmiller, M.; Fidjeland, A.K.; Ostrovski, G.; et al. Human-level control through deep reinforcement learning. Nature 2015, 518, 529–533. [Google Scholar] [CrossRef] [Scilit]
  27. van Hasselt, H.; Guez, A.; Silver, D. Deep reinforcement learning with double Q-learning. Proc. AAAI Conf. Artif. Intell. 2016, 30, 2094–2100. [Google Scholar] [CrossRef] [Scilit]
  28. Wang, Z.; Schaul, T.; Hessel, M.; van Hasselt, H.; Lanctot, M.; de Freitas, N. Dueling network architectures for deep reinforcement learning. In Proceedings of the 33rd International Conference on Machine Learning, New York, NY, USA, 19–24 June 2016; Volume 48, pp. 1995–2003. [Google Scholar] [CrossRef] [Scilit]
  29. Mustafa, E.; Shuja, J.; Rehman, F.; Namoun, A.; Ali, M.; Alourani, A. Deep reinforcement learning with dueling DQN for partial computation offloading and resource allocation in mobile edge computing. IEEE Access 2025, 13, 94319–94335. [Google Scholar] [CrossRef] [Scilit]
  30. Ling, C.; Peng, K.; Wang, S.; Xu, X.; Leung, V.C.M. A multi-agent DRL-based computation offloading and resource allocation method with attention mechanism in MEC-enabled IIoT. IEEE Trans. Serv. Comput. 2024, 17, 3037–3051. [Google Scholar] [CrossRef] [Scilit]
  31. Ma, Y.; Zhao, Y.; Hu, Y.; He, X.; Feng, S. Multi-agent deep reinforcement learning for joint task offloading and resource allocation in IIoT with dynamic priorities. Sensors 2025, 25, 6160. [Google Scholar] [CrossRef] [Scilit]
  32. Jiang, G.; Huang, R.; Bao, Z.; Wang, G. A task offloading and resource allocation strategy based on multi-agent reinforcement learning in mobile edge computing. Future Internet 2024, 16, 333. [Google Scholar] [CrossRef] [Scilit]
  33. Nieto, G.; de la Iglesia, I.; Lopez-Novoa, U.; Perfecto, C. Deep reinforcement learning techniques for dynamic task offloading in the 5G edge-cloud continuum. J. Cloud Comput. 2024, 13, 94. [Google Scholar] [CrossRef] [Scilit]
  34. Mahapatra, A.; Majhi, S.K.; Mishra, K.; Pradhan, R.; Rao, D.C.; Panda, S.K. An energy-aware task offloading and load balancing for latency-sensitive IoT applications in the Fog-Cloud continuum. IEEE Access 2024, 12, 14334–14349. [Google Scholar] [CrossRef] [Scilit]
  35. Giannopoulos, A.E.; Paralikas, I.; Spantideas, S.T.; Trakadas, P. HOODIE: Hybrid computation offloading via distributed deep reinforcement learning in delay-aware cloud-edge continuum. IEEE Open J. Commun. Soc. 2024, 5, 7818–7841. [Google Scholar] [CrossRef] [Scilit]
  36. Pournazari, J.; Ullah, A.; Al-Dubai, A.; Liu, X. Computation offloading in the edge-to-cloud compute continuum: A survey of federated architectural solutions. Clust. Comput. 2025, 28, 839. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.