<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xml:lang="en" article-type="research-article" dtd-version="1.1">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">CMC</journal-id>
<journal-id journal-id-type="nlm-ta">CMC</journal-id>
<journal-id journal-id-type="publisher-id">CMC</journal-id>
<journal-title-group>
<journal-title>Computers, Materials &#x0026; Continua</journal-title>
</journal-title-group>
<issn pub-type="epub">1546-2226</issn>
<issn pub-type="ppub">1546-2218</issn>
<publisher>
<publisher-name>Tech Science Press</publisher-name>
<publisher-loc>USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">51944</article-id>
<article-id pub-id-type="doi">10.32604/cmc.2024.051944</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Two-Stage IoT Computational Task Offloading Decision-Making in MEC with Request Holding and Dynamic Eviction</article-title>
<alt-title alt-title-type="left-running-head">Two-Stage IoT Computational Task Offloading Decision-Making in MEC with Request Holding and Dynamic Eviction</alt-title>
<alt-title alt-title-type="right-running-head">Two-Stage IoT Computational Task Offloading Decision-Making in MEC with Request Holding and Dynamic Eviction</alt-title>
</title-group>
<contrib-group>
<contrib id="author-1" contrib-type="author" corresp="yes">
<name name-style="western"><surname>Wang</surname><given-names>Dayong</given-names></name><xref ref-type="aff" rid="aff-1">1</xref><email>wangdayong@graduate.utm.my</email></contrib>
<contrib id="author-2" contrib-type="author">
<name name-style="western"><surname>Bakar</surname><given-names>Kamalrulnizam Bin Abu</given-names></name><xref ref-type="aff" rid="aff-1">1</xref></contrib>
<contrib id="author-3" contrib-type="author">
<name name-style="western"><surname>Isyaku</surname><given-names>Babangida</given-names></name><xref ref-type="aff" rid="aff-2">2</xref></contrib>
<aff id="aff-1"><label>1</label><institution>Department of Computer Science, Faculty of Computing, Universiti Teknologi Malaysia</institution>, <addr-line>Johor Bahru, Johor, 81310</addr-line>, <country>Malaysia</country></aff>
<aff id="aff-2"><label>2</label><institution>Department of Computer Science, Faculty of Information Communication Technology, Sule Lamido University</institution>, <addr-line>Jigawa, 741103</addr-line>, <country>Nigeria</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor1"><label>&#x002A;</label>Corresponding Author: Dayong Wang. Email: <email>wangdayong@graduate.utm.my</email></corresp>
</author-notes>
<pub-date date-type="collection" publication-format="electronic">
<year>2024</year></pub-date>
<pub-date date-type="pub" publication-format="electronic">
<day>15</day>
<month>8</month>
<year>2024</year>
</pub-date>
<volume>80</volume>
<issue>2</issue>
<fpage>2065</fpage>
<lpage>2080</lpage>
<history>
<date date-type="received">
<day>19</day>
<month>3</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>20</day>
<month>6</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2024 Wang, Bakar and Isyaku</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Wang, Bakar and Isyaku</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This work is licensed under a <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="TSP_CMC_51944.pdf"></self-uri>
<abstract>
<p>The rapid development of Internet of Things (IoT) technology has led to a significant increase in the computational task load of Terminal Devices (TDs). TDs reduce response latency and energy consumption with the support of task-offloading in Multi-access Edge Computing (MEC). However, existing task-offloading optimization methods typically assume that MEC&#x2019;s computing resources are unlimited, and there is a lack of research on the optimization of task-offloading when MEC resources are exhausted. In addition, existing solutions only decide whether to accept the offloaded task request based on the single decision result of the current time slot, but lack support for multiple retry in subsequent time slots. It is resulting in TD missing potential offloading opportunities in the future. To fill this gap, we propose a Two-Stage Offloading Decision-making Framework (TSODF) with request holding and dynamic eviction. Long Short-Term Memory (LSTM)-based task-offloading request prediction and MEC resource release estimation are integrated to infer the probability of a request being accepted in the subsequent time slot. The framework learns optimized decision-making experiences continuously to increase the success rate of task offloading based on deep learning technology. Simulation results show that TSODF reduces total TD&#x2019;s energy consumption and delay for task execution and improves task offloading rate and system resource utilization compared to the benchmark method.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Decision making</kwd>
<kwd>internet of things</kwd>
<kwd>load prediction</kwd>
<kwd>task offloading</kwd>
<kwd>multi-access edge computing</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<label>1</label>
<title>Introduction</title>
<p>The rapid development of the Internet of Things (IoT) in recent years has resulted in insufficient Terminal Device (TD) computing capabilities [<xref ref-type="bibr" rid="ref-1">1</xref>]. To solve this issue, computing task offloading technology moves tasks to other servers for execution [<xref ref-type="bibr" rid="ref-2">2</xref>]. With the support of task offloading technology, TDs can delegate computing-intensive tasks to cloud computing platforms with sufficient resources, clout-lets in local area networks, and various edge computing nodes [<xref ref-type="bibr" rid="ref-3">3</xref>]. However, resource-rich cloud computing platforms are usually far away from TD [<xref ref-type="bibr" rid="ref-4">4</xref>], which will generate more network transmission delays [<xref ref-type="bibr" rid="ref-5">5</xref>]. In addition, traditional edge computing nodes and cloud-lets cannot support TD mobility well. Although Mobile Cloud Computing (MCC) supports the mobility of terminal devices, it still cannot solve the problem of high network communication latency [<xref ref-type="bibr" rid="ref-6">6</xref>].</p>
<p>The latest development trend is to offload the computing tasks of TDs to the Multi-access Edge Computing (MEC) network. Since the network communication distance between MEC and TDs is usually only one hop, and MEC supports the mobility of TDs very well [<xref ref-type="bibr" rid="ref-7">7</xref>]. However, MEC is different from MCC, and MEC has relatively limited computing resources. Therefore, task offloading decisions and resource allocation need to be optimized [<xref ref-type="bibr" rid="ref-8">8</xref>].</p>
<p>A large number of existing solutions to support MEC computing decision-making and resource allocation introduce traditional mathematical algorithms, heuristic algorithms, AI-based methods, etc. [<xref ref-type="bibr" rid="ref-9">9</xref>]. However, they only directly decide whether the computing task is run locally on the TD or on the MEC based on the decision result of the current time slot. Although some algorithms consider the problem of task offloading for multiple time slots in the future, they do not consider the problem of maintaining task offloading requests to strive for more offloading opportunities in multiple time slots in the future and notify TD as early as possible to start task execution locally. In MEC under conditions of relatively insufficient resources. This way, TDs may lose task offloading opportunities in the next few time slots and cause an increase in the overall task execution delay.</p>
<p>In this work, we focus on optimizing the task offloading decision optimization problem of IoT computing tasks under insufficient MEC resources. To overcome the limitations of single timeslot optimization, this study adopts a combined approach utilizing task offloading load prediction and virtual decision-making for subsequent timeslots to seek additional available resources for task offloading requests. In the proposed two-stage task offloading decision framework, the Deep Q-Network (DQN)-based decision generation algorithm and the Long Short-Term Memory (LSTM)-based task request time series prediction algorithm jointly predict the possibility of each offloading request being approved in future time slots, thereby determining the optimal offloading of the offloading task. strategies and reduce overall task execution time.
<list list-type="bullet">
<list-item>
<p>This study provides an in-depth analysis of the performance limitations of existing IoT task offloading methods in resource-constrained MEC networks and elucidates that the cause of this problem is the lack of ability to maximize the potential acceptance opportunities for offloading requests.</p></list-item>
<list-item>
<p>Combining task offloading request prediction and online offloading decision generation to infer the probability of offloading requests being accepted.</p></list-item>
<list-item>
<p>Jointly consider the delay-sensitivity of computational tasks and the predicted completion time to adjust strategies of offloading requests entails holding and eviction for optimizing decision-making.</p></list-item>
<list-item>
<p>Simulation experiment results show that the proposed framework reduces the task completion time and energy consumption and improves the MEC utilization of the system.</p></list-item>
</list></p>
<p>The rest of this study is organized as follows. <xref ref-type="sec" rid="s2">Section 2</xref> discussed the related work of the IoT task offloading method in MEC. <xref ref-type="sec" rid="s3">Section 3</xref> illustrated the proposed two-stage task offloading decision framework. <xref ref-type="sec" rid="s4">Section 4</xref> presented the performance evaluation and result discussion. The conclusion was given in <xref ref-type="sec" rid="s5">Section 5</xref>.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Related Works</title>
<p>As a key technique in IoT task offloading, the optimization of offloading decisions and resource allocation has been extensively studied in the past decades [<xref ref-type="bibr" rid="ref-10">10</xref>&#x2013;<xref ref-type="bibr" rid="ref-13">13</xref>]. Classic task decision-making methods based on mathematical optimization are relatively mature. Such methods can usually find the global optimal solution in a strict mathematical sense [<xref ref-type="bibr" rid="ref-14">14</xref>&#x2013;<xref ref-type="bibr" rid="ref-16">16</xref>]. However, this method requires mathematical modeling for specific application scenarios, so it has poor dynamic adaptability. In addition, this type of optimization method performs poorly when dealing with complex constrained problems with high-dimensional nonlinearity. The task offloading decision-making method based on game theory allows multiple participants to negotiate, and this method is suitable for adversarial task offloading and resource allocation scenarios [<xref ref-type="bibr" rid="ref-17">17</xref>,<xref ref-type="bibr" rid="ref-18">18</xref>]. This method is usually more conducive to ensuring that all parties involved receive relatively fair benefits. In addition, task offloading solutions based on game theory can better avoid system bottlenecks and single-point failures. However, such methods lead to a rapid increase in computational complexity when the number of participants is large, resulting in solution difficulties. In addition, this type of method may have difficulty converging in a dynamic system environment, and the game equilibrium state may be unstable. The task offloading optimization method based on fuzzy theory can more comprehensively consider multiple factors that affect decision-making effects and can use simpler models to describe complex real-life problems, thereby reducing the complexity of problem modeling. However, the performance of such methods is usually poor and the system output results are not intuitive. Based on heuristic methods, we do not seek the absolute optimal solution but seek relatively better solutions [<xref ref-type="bibr" rid="ref-19">19</xref>,<xref ref-type="bibr" rid="ref-20">20</xref>]. This method is cost-effective and suitable for solving large-scale problems. However, such methods are prone to falling into local optimal problems.</p>
<p>In order to cope with large-scale and dynamic complex computing task offloading application scenarios, various decision-making optimization methods based on AI technology have emerged in large numbers in the past decade [<xref ref-type="bibr" rid="ref-21">21</xref>,<xref ref-type="bibr" rid="ref-22">22</xref>]. This method has self-learning capabilities and can continuously optimize the model itself based on historical data and experience. In addition, AI-based task offloading decision-making methods can usually discover complex relationships hidden in high-dimensional data, so it is easy to find the global optimal solution. Moreover, this type of method can better adapt to dynamic changes in the network environment [<xref ref-type="bibr" rid="ref-23">23</xref>,<xref ref-type="bibr" rid="ref-24">24</xref>]. However, the methods discussed above lack the prediction of the offloading environment status for multiple time slots.</p>
<p>Besides, some researchers consider prediction with the computational load on the edge server. However, such studies mainly focus on the prediction of load on computing nodes but ignore the prediction of characteristics of task offloading requests from TD [<xref ref-type="bibr" rid="ref-25">25</xref>,<xref ref-type="bibr" rid="ref-26">26</xref>]. In addition, the AI models selected in a small number of studies can generate predictions of task scheduling decisions for multiple time slots in the future. However, no consideration is given to finding as many offloading opportunities as possible for offloading tasks in multiple time slots. We selected representative research works of different technical classifications for analysis, which cover common binary and partial task offloading optimization methods. The focus of the study is to analyze the start time of local execution tasks after the offload request is rejected. <xref ref-type="table" rid="table-1">Table 1</xref> shows the characteristics of representative task offloading algorithms to initiate local task execution.</p>
<table-wrap id="table-1">
<label>Table 1</label>
<caption>
<title>Comparison of task offloading optimization algorithm characteristics</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Ref.</th>
<th>Year</th>
<th>Type</th>
<th>Method</th>
<th>Mode</th>
<th>Paradigm</th>
<th>Response to offloading decisions</th>
</tr>
</thead>
<tbody>
<tr>
<td>[<xref ref-type="bibr" rid="ref-27">27</xref>]</td>
<td>2024</td>
<td>AI</td>
<td>Meta reinforcement learning</td>
<td>PO</td>
<td>MEC/IOT</td>
<td>Starting local task execution after an offloading request has been rejected</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-28">28</xref>]</td>
<td>2023</td>
<td>AI</td>
<td>Q-learning</td>
<td>PO</td>
<td>MEC/IIOT</td>
<td>Starting local task execution after an offloading request has been rejected</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-29">29</xref>]</td>
<td>2023</td>
<td>AI</td>
<td>DDPG</td>
<td>PO</td>
<td>MEC/IIOT</td>
<td>Starting local task execution after an offloading request has been rejected</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-30">30</xref>]</td>
<td>2021</td>
<td>Heuristic</td>
<td>GA</td>
<td>BO</td>
<td>MEC/IOT</td>
<td>Starting local task execution after an offloading request has been rejected</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-31">31</xref>]</td>
<td>2023</td>
<td>Heuristic</td>
<td>NSGA-III</td>
<td>PO</td>
<td>MEC/IOT</td>
<td>Starting local task execution after an offloading request has been rejected</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-32">32</xref>]</td>
<td>2021</td>
<td>Lyapunov</td>
<td>Lyapunov-guided DRL</td>
<td>BO</td>
<td>Multi-user MEC</td>
<td>Starting local task execution after an offloading request has been rejected</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-33">33</xref>]</td>
<td>2022</td>
<td>Lyapunov</td>
<td>Classic lyapunov</td>
<td>PO</td>
<td>MEC/IOT</td>
<td>Starting local task execution after an offloading request has been rejected</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-34">34</xref>]</td>
<td>2021</td>
<td>Game theory</td>
<td>Coalitional game-based</td>
<td>BO</td>
<td>MEC/IOT</td>
<td>Retry in the next decision cycle</td>
</tr>
<tr>
<td>[<xref ref-type="bibr" rid="ref-35">35</xref>]</td>
<td>2023</td>
<td>Classic</td>
<td>Mathematical optimization</td>
<td>BO</td>
<td>MEC/UAV</td>
<td>Starting local task execution after an offloading request has been rejected</td>
</tr>
</tbody>
</table>
<table-wrap-foot><p>Note: Abbreviations: BO, Binary offloading; PO, Partial offloading.</p>
</table-wrap-foot>
</table-wrap>
<p>The available resources of the MEC change dynamically due to the dynamics of task offloading requests and the completion of the running of computing tasks on the MEC. According to the review of literature, the majority of decision mechanisms only rely on the current slot&#x2019;s task offloading network condition to make the final offloading decision. This results in rejected tasks immediately starting execution locally on the TD, missing the opportunity to seek edge computing resources in more time slots. We illustrate this issue with <xref ref-type="fig" rid="fig-1">Fig. 1</xref>, which represents a common problem widely observed in similar studies [<xref ref-type="bibr" rid="ref-28">28</xref>,<xref ref-type="bibr" rid="ref-33">33</xref>,<xref ref-type="bibr" rid="ref-35">35</xref>,<xref ref-type="bibr" rid="ref-36">36</xref>].</p>
<fig id="fig-1">
<label>Figure 1</label>
<caption>
<title>Completion time of different task execution locations</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_51944-fig-1.tif"/>
</fig>
<p>It can be found in <xref ref-type="fig" rid="fig-1">Fig. 1</xref> that appropriately retrying to obtain the opportunity of task offloading in several adjacent decision cycles will be beneficial to reducing the completion time of the task after the first task offloading application is rejected. However, starting local task execution prematurely and excessive offload retries will increase task completion time.</p>

</sec>
<sec id="s3">
<label>3</label>
<title>Materials and Methods</title>
<p>In this section, the Two-Stage Task Offloading Decision Framework (TSODF) is proposed to allow offloading decision attempts across multiple time slots. In this method, best-effort decision optimization is performed on offloading requests and task allocation in each slot based on Deep Q-learning. In addition, the historical TD task offloading requests are input into the prediction model based on SLTM in time series to predict the task request load of multiple time slots in the future. Furthermore, the offloading decision for pending requests in future time slots is reasoned by combining the inferred MEC available computing resources and predicted TD task offloading requests. This enables the assessment of the cost and benefits of pending task requests. Subsequently, optimized decisions with higher request acceptance rates are output to reduce task execution latency and energy consumption.</p>
<p>We consider a MEC system, where M IoT TDs and an EMC server. Let <inline-formula id="ieqn-1"><mml:math id="mml-ieqn-1"><mml:mi>D</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula>, denote the sets of the TDs. The MEC server <inline-formula id="ieqn-2"><mml:math id="mml-ieqn-2"><mml:mi>S</mml:mi></mml:math></inline-formula> has powerful computing power <inline-formula id="ieqn-3"><mml:math id="mml-ieqn-3"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and unlimited battery life. We assume that every computational task is indivisible and let <inline-formula id="ieqn-4"><mml:math id="mml-ieqn-4"><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula>. Each TD can choose to execute tasks locally or offload computing tasks to MEC for execution. <xref ref-type="fig" rid="fig-2">Fig. 2</xref> depicts the task offloading system model targeted by TSODF, referencing a typical MEC network architecture [<xref ref-type="bibr" rid="ref-37">37</xref>].</p>
<fig id="fig-2">
<label>Figure 2</label>
<caption>
<title>The system architecture of task offloading in MEC</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_51944-fig-2.tif"/>
</fig>
<p>In the proposed framework, the DQN-based decision-making model performs best-effort optimized task offloading decisions for each time slot. Based on the allocated MEC server resource records, TSODF estimates the CPU resources available in each future time slot. The LSTM-based prediction module predicts task offloading requests in several future time slots based on historical TDs task offloading request records. TSODF jointly analyzes the above information to determine whether to continue to look for offloading opportunities for waiting task offloading requests, and outputs the optimized final decision result. <xref ref-type="fig" rid="fig-3">Fig. 3</xref> shows the proposed system framework of TSODF.</p>
<fig id="fig-3">
<label>Figure 3</label>
<caption>
<title>The system model of TSODF</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_51944-fig-3.tif"/>
</fig>
<p>TSODF contains two main work stages, in which stage 1 performs the generation of optimal offloading decisions in each decision cycle based on deep reinforcement learning; stage 2 performs task offloading request load prediction based on LSTM. In addition, TSODF estimates the available resources of the future MEC server based on the decision results that have been generated. Thus, TSODF infers the probability that a task offloading request will be accepted in the future for offloading tasks that have not yet been accepted. Based on this mechanism, task offloading requests will be suspended waiting for an upcoming acceptance opportunity or starting local execution immediately.</p>
<p>The DQN-based but time-slot offloading decision generation method is discussed in <xref ref-type="sec" rid="s3_1">Section 3.1</xref>. <xref ref-type="sec" rid="s3_2">Section 3.2</xref> introduces the task offloading request prediction method based on LSTM. The complete TSODF framework workflow is given in <xref ref-type="sec" rid="s3_3">Section 3.3</xref>.</p>
<sec id="s3_1">
<label>3.1</label>
<title>Single Time-Slot Offloading Decision Based on DRL</title>
<p>In order to make task offloading request decisions for each time slot based on available MEC resources, we build an adaptation algorithm based on DRL technology. Different from previous research, the DRL-based decision-making algorithm constructed needs to run synchronously with other modules on a global scale.</p>
<p>The system state in each time slots <inline-formula id="ieqn-5"><mml:math id="mml-ieqn-5"><mml:mi>t</mml:mi></mml:math></inline-formula> can be presented as follows:
<disp-formula id="eqn-1"><label>(1)</label><mml:math id="mml-eqn-1" display="block"><mml:msub><mml:mi>s</mml:mi><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:mi>L</mml:mi><mml:mi>o</mml:mi><mml:mi>a</mml:mi><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:mi>Q</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>L</mml:mi><mml:mi>e</mml:mi><mml:mi>n</mml:mi><mml:mi>g</mml:mi><mml:mi>t</mml:mi><mml:msub><mml:mi>h</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="negativethinmathspace" /><mml:mo>,</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-6"><mml:math id="mml-ieqn-6"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, <inline-formula id="ieqn-7"><mml:math id="mml-ieqn-7"><mml:mi>L</mml:mi><mml:mi>o</mml:mi><mml:mi>a</mml:mi><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, <inline-formula id="ieqn-8"><mml:math id="mml-ieqn-8"><mml:mi>Q</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>L</mml:mi><mml:mi>e</mml:mi><mml:mi>n</mml:mi><mml:mi>g</mml:mi><mml:mi>t</mml:mi><mml:msub><mml:mi>h</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula id="ieqn-9"><mml:math id="mml-ieqn-9"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> symbolize the current load of the server, the load status of the TD, the length of the task queue, and the type of task, respectively. In addition, more content can be added to the state space in different scenarios without affecting the working logic of the proposed framework. The task offloading decision and the computing resource allocation constitute the action space at epoch time slot <inline-formula id="ieqn-10"><mml:math id="mml-ieqn-10"><mml:mi>t</mml:mi></mml:math></inline-formula> can be described as:
<disp-formula id="eqn-2"><label>(2)</label><mml:math id="mml-eqn-2" display="block"><mml:msub><mml:mi>a</mml:mi><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-11"><mml:math id="mml-ieqn-11"><mml:msub><mml:mi>a</mml:mi><mml:mrow><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the task offloading decisions. In addition, the object is to minimize the joint cost and the system reword. Consider system states as follows:
<disp-formula id="eqn-3"><label>(3)</label><mml:math id="mml-eqn-3" display="block"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>x</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:mfrac><mml:mo>&#x00D7;</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>,</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-12"><mml:math id="mml-ieqn-12"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>x</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> represents the energy consumption of task execution, <inline-formula id="ieqn-13"><mml:math id="mml-ieqn-13"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the computing power of device <inline-formula id="ieqn-14"><mml:math id="mml-ieqn-14"><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>. The transfer time of a task is calculated as follows:
<disp-formula id="eqn-4"><label>(4)</label><mml:math id="mml-eqn-4" display="block"><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:mfrac><mml:mo>,</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-15"><mml:math id="mml-ieqn-15"><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-16"><mml:math id="mml-ieqn-16"><mml:mi>B</mml:mi></mml:math></inline-formula> represent the data size of the task and network bandwidth, respectively. The energy consumption of TD for network transmission task data is calculated as follows:
<disp-formula id="eqn-5"><label>(5)</label><mml:math id="mml-eqn-5" display="block"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-17"><mml:math id="mml-ieqn-17"><mml:mi>T</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-18"><mml:math id="mml-ieqn-18"><mml:mi>P</mml:mi></mml:math></inline-formula> represent transmission time and RF power consumption, respectively. This way, the total energy consumption and latency can be calculated as follows:
<disp-formula id="eqn-6"><label>(6)</label><mml:math id="mml-eqn-6" display="block"><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mo movablelimits="false">&#x2211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi>D</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mi>x</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi><mml:mi>s</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>X</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:math></disp-formula>
<disp-formula id="eqn-7"><label>(7)</label><mml:math id="mml-eqn-7" display="block"><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>u</mml:mi><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>o</mml:mi><mml:mi>w</mml:mi><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:math></disp-formula></p>
<p>We consider energy consumption and latency together to form the reward as follow of reinforcement learning:</p>
<p><disp-formula id="eqn-8"><label>(8)</label><mml:math id="mml-eqn-8" display="block"><mml:mi>R</mml:mi><mml:mo>=</mml:mo><mml:mi>&#x03B1;</mml:mi><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mi>&#x03B2;</mml:mi><mml:mo>&#x22C5;</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:math></disp-formula>where <inline-formula id="ieqn-19"><mml:math id="mml-ieqn-19"><mml:mi>&#x03B1;</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-20"><mml:math id="mml-ieqn-20"><mml:mi>&#x03B2;</mml:mi></mml:math></inline-formula> are weight factors used to balance the importance of different rewards.</p>
<p>Through the reinforcement learning process, the optimal transfer strategy will be found to obtain the relatively optimal solution of the offloading decision for each time slot <inline-formula id="ieqn-21"><mml:math id="mml-ieqn-21"><mml:mi>i</mml:mi></mml:math></inline-formula>. As Algorithm 1 shows, DQN-based decision generation and resource allocation work in cycles for each time slot, which is composed of three main parts:
<list list-type="simple">
<list-item><label>1)</label><p>Randomly initialize the deep neural network and generate offloading decisions and resource allocations for continuously incoming task offloading requests (lines 1&#x2013;10).</p></list-item>
<list-item><label>2)</label><p>Execute the offload decisions generated by the preceding steps and collect updated system status. Meanwhile, the rewards for offloading decisions are calculated based on the accumulated delay and energy consumption (lines 11&#x2013;13).</p></list-item>
<list-item><label>3)</label><p>Cache continuously generated decisions, system state, and rewards. Records from the cache are randomly selected to train and update the weights of the neural network. Thus, the decision-making capabilities of algorithms will continue to improve (lines 14&#x2013;19).</p></list-item>
</list></p>
<fig id="fig-8">
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_51944-fig-8.tif"/>
</fig>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>IoT Task Offloading Request Prediction</title>
<p>In order to predict the task offloading request load from TD in each subsequent time slot, we build a task offloading request sequence prediction algorithm based on LSTM. The prediction includes the number, size, CPU requirements and deadline of subsequent tasks that need to be offloaded. This algorithm provides a calculation basis for the decision-making optimization in the second stage. Let H(t) denote the offloading task request time series composed of tasks <inline-formula id="ieqn-45"><mml:math id="mml-ieqn-45"><mml:msub><mml:mrow><mml:mi mathvariant="normal">&#x0393;</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, and input it into the LSTM-based prediction model on a rolling basis. In order to output the predicted values of multiple attributes for the offloading task, we added three fully connected layers to the output of the LSTM network. This way, the prediction mode will output <inline-formula id="ieqn-46"><mml:math id="mml-ieqn-46"><mml:msub><mml:mrow><mml:mi mathvariant="normal">&#x0393;</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mi>&#x03D6;</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, where <inline-formula id="ieqn-47"><mml:math id="mml-ieqn-47"><mml:mi>&#x03D6;</mml:mi></mml:math></inline-formula> is half the slot required for the longest task execution in history. <xref ref-type="fig" rid="fig-3">Fig. 3</xref> presents the structure of the task offloading request prediction model. As shown in Algorithm 2, its implementation includes two steps:
<list list-type="simple">
<list-item><label>1)</label><p>Task offloading requests from TDs are continuously collected and saved in order, thereby generating time series data for training the LSTM-based prediction model network. The collected task request characteristics include type, size, deadline, etc. (lines 1&#x2013;7).</p></list-item>
<list-item><label>2)</label><p>Predict task offloading requests for subsequent time slots based on the trained LSTM model. The predicted output value for each round contains the task characteristics of offloading requests for multiple consecutive time slots. The prediction is moved forward continuously through the decision-making cycle (lines 8&#x2013;12).</p></list-item>
</list></p>
<fig id="fig-9">
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_51944-fig-9.tif"/>
</fig>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Offload Decision Optimization with Offload Request Retention and Eviction</title>
<p>It is necessary to judge the possibility of each waiting request being accepted in multiple time slots in order to find as many offloading opportunities as possible for tasks from TD within the appropriate range. The completion time of the task will be shortened if the offloaded task can be executed in the MEC after waiting for several time slots. In contrast, TD should be notified as early as possible to start local task execution when no offloading opportunity can be found for the task in the future. This way, it&#x2019;s needed to combine available MEC resources, predicted results of task offloading requests, and the latest offloading decision results to generate optimized offloading decisions <inline-formula id="ieqn-54"><mml:math id="mml-ieqn-54"><mml:msubsup><mml:mrow><mml:mtext>D</mml:mtext></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x2217;</mml:mo></mml:mrow></mml:msubsup></mml:math></inline-formula>. <xref ref-type="fig" rid="fig-4">Fig. 4</xref> shows the working principle of the TSODF, and Algorithm 3 shows the specific workflow.</p>
<fig id="fig-4">
<label>Figure 4</label>
<caption>
<title>The working principle of TSODF</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_51944-fig-4.tif"/>
</fig>
<p>The main idea of TSODF is to find the possibility of being accepted for a currently unaccepted task offloading request in future time slots based on the estimation of the release of available resources of the MEC server and the prediction of subsequent task offloading requests from TD. The LSTM neural network in the framework is responsible for predicting future task offloading request sequences to understand in advance the load that the MEC server will bear. The DQN-based task offloading decision making module is responsible for generating the optimal offloading decision for the current time slot. In addition, the DQN module is also responsible for generating future-oriented virtual offloading decisions based on predicted task requests and service resource availability of countermeasures. Thus, TSODF decides whether the task should be wait to be accepted. As shown in Algorithm 3, its implementation includes four steps:
<list list-type="simple">
<list-item><label>1)</label><p>Call Algorithm 1 to generate the local optimal offloading decision and resource allocation for the task offloading request in the current time slot (lines 1&#x2013;5).</p></list-item>
<list-item><label>2)</label><p>Call Algorithm 2 to predict the task offloading request characteristics of subsequent time slots, and the expected resource consumptions of the edge server are estimated based on the prediction results (lines 6&#x2013;7).</p></list-item>
<list-item><label>3)</label><p>The joint predicted task offload request load and the current operating state of the edge server invoke Algorithm 1 to generate offload decisions and resource allocations for future virtual time slots (lines 8&#x2013;11).</p></list-item>
<list-item><label>4)</label><p>The possibility of the task offloading request being accepted in subsequent time slots is speculated based on the inference results. Thus, the holding and eviction decision of the task offloading request is generated (lines 12&#x2013;15).</p></list-item>
</list></p>
<fig id="fig-10">
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_51944-fig-10.tif"/>
</fig>
<p>In Algorithm 3, line 1 constructs a time slot-based algorithm to continuously run the main loop (line 1). Calls Algorithm 1 to generate the optimal task offloading decision for the current time slot (lines 2 and 3). Temporarily holds currently unaccepted task offloading requests and calls Algorithm 2 to predict future task offloading request trends (lines 4&#x2013;6). Estimates the available resources of the future MEC server based on known task offloading decisions (line 7). Calls Algorithm 1 to virtually generate offloading decisions for the next decision cycle (line 8). Determines the possibility that the offload request in the holding state will be accepted in multiple time slots in the future based on the prediction results of the previous steps (lines 9&#x2013;15). Unloading requests for tasks that are about to get an unloading opportunity continue to be maintained. On the contrary, local execution is started for tasks that have no chance of offloading in the short term.</p>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Results and Discussion</title>
<p>In this section, numerical results are presented to evaluate the performance of the proposed TSODF framework. Simulation environment information is given in <xref ref-type="sec" rid="s4_1">Section 4.1</xref>. The results of the experiments and data analysis are discussed in <xref ref-type="sec" rid="s4_2">Section 4.2</xref>.</p>
<sec id="s4_1">
<label>4.1</label>
<title>Simulation Settings</title>
<p>To assess the evaluation of IoT task offloading in MEC, we adopt an MEC computing network, where there is an MEC server with an access point (AP) which covers a range of 50 m. The wireless channel bandwidth is set to 40 MHz, and N &#x003D; 10 TDs are randomly distributed in the coverage of the wireless AP. The computing capacity of a TD is set to 0.8 GHz. The total CPU cycle of MEC server is set to 4 GHz. The transmit power of a TD is set as 100 mW and the background noise <inline-formula id="ieqn-77"><mml:math id="mml-ieqn-77"><mml:mi>S</mml:mi><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is &#x2212;100 dBm. The range of task size is set from 300 to 1024 KB. The deadline for each task is randomly generated from 0.1 to 2 s. The simulation environment was built on the Windows 10 operating system, and Python 3.10 was selected as the program running environment. The computer hardware comes with inter I7 CPU, and 16 GB RAM. <xref ref-type="table" rid="table-2">Table 2</xref> lists the key parameters in the simulation.</p>
<table-wrap id="table-2">
<label>Table 2</label>
<caption>
<title>Parameter settings in the simulation</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Parameters</th>
<th>Value and unit</th>
<th>Parameters</th>
<th>Value and unit</th>
</tr>
</thead>
<tbody>
<tr>
<td>Number of TDs</td>
<td>10</td>
<td>Transmission power of TDn</td>
<td>100 mW</td>
</tr>
<tr>
<td>Total number of task types</td>
<td>5</td>
<td>Background noise power</td>
<td>&#x2212;100 dBm</td>
</tr>
<tr>
<td>Probability of type-k task requested</td>
<td><inline-formula id="ieqn-78"><mml:math id="mml-ieqn-78"><mml:mn>0</mml:mn><mml:mo>&#x003C;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x1D4AB;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003C;</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula></td>
<td>Data size of task</td>
<td>300&#x2013;1024 KB</td>
</tr>
<tr>
<td>Available CPU cycle of TDn</td>
<td>0.8 GHz</td>
<td>CPU requirement to process</td>
<td>100&#x2013;10000 Megacycles</td>
</tr>
<tr>
<td>Computing capability of MEC</td>
<td>4 GHz</td>
<td>Deadline of task</td>
<td>0.1&#x2013;2 s</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Analysis of Results</title>
<p>The task offloading rate is one of the main indicators used to measure the task offloading mechanism. It is the ratio of offloaded tasks to the total task volume [<xref ref-type="bibr" rid="ref-38">38</xref>]. The average task completion time is an important indicator for evaluating the task offloading mechanism and is used to demonstrate the time saving benefits of task offloading [<xref ref-type="bibr" rid="ref-39">39</xref>]. The average energy consumption of task completion is used to measure the energy saving benefit of task offloading [<xref ref-type="bibr" rid="ref-40">40</xref>].</p>
<p>In order to verify the TSODA, we compare the task offloading rate with classical DQN-based decision making method.
<list list-type="bullet">
<list-item>
<p>TD only (TO). The TO solution denotes that all IoT tasks will be processed on TDs.</p></list-item>
<list-item>
<p>MEC only (MO). The MO solution denotes that all IoT tasks will be processed on the MEC server. In addition, the computing resources of the MEC server will be evenly allocated to each IoT task.</p></list-item>
<list-item>
<p>Classic DQN (Classic-DQN). IoT tasks will be distributed and processed between the MEC server and TDs based on a pure DQN-based offloading decision-making method.</p></list-item>
<list-item>
<p>Two-Stage Task Offloading Decision Framework (TSODF). The TSODF solution denotes that all IoT tasks will be processed according to the decisions given by the two-stage task offloading decision framework.</p></list-item>
</list></p>
<p><xref ref-type="fig" rid="fig-5">Fig. 5a</xref> shows the comparison between 4 schemes. It can be observed that the convergence time of TSODF with added task offloading prediction is not much different from the classic DQN scheme. However, the delay of tasks scheduled by the TSODF algorithm is significantly improved compared to the classic DQN method. <xref ref-type="fig" rid="fig-5">Fig. 5b</xref> shows the latency differences between various offloading decision algorithms for task offloading requests with different task sizes. It can be seen that when the total amount of offloading task requests is greater than the upper limit of the computing power of the MEC server, the delay of the classic DQN method is close to that of the MEC-only method. However, the delay of the TSODF method stabilizes at a relatively low level for a long time.</p>
<fig id="fig-5">
<label>Figure 5</label>
<caption>
<title>(a) Performance of different algorithms under total task sizes D &#x003D; 100 Mb. (b) Delay with different total task sizes</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_51944-fig-5.tif"/>
</fig>
<p>In this study, the energy consumption of TD is the most focused indicator and the energy consumption of the MEC server is not calculated due to the limited battery capacity of TD. The TSODF algorithm allocates more computing tasks to the MEC server for execution, thereby reducing the energy consumption of TD.</p>
<p><xref ref-type="fig" rid="fig-6">Fig. 6a</xref> presents the differences in TD energy consumption of various task offloading methods. In addition, <xref ref-type="fig" rid="fig-6">Fig. 6b</xref> shows the difference in utilization of MEC server computing resources by each method. In the MEC network environment, the offloading rate of IoT computing tasks offloading refers to the ratio of offloading computing tasks from the local execution of IoT devices to edge computing nodes. It is one of the important indicators to measure the algorithm since each method always offloads as many tasks as possible from TD to the MEC network. <xref ref-type="fig" rid="fig-7">Fig. 7a</xref>,<xref ref-type="fig" rid="fig-7">b</xref> respectively show the difference between the offloading rates of the task offloading decision-making methods under different task sizes and different TD numbers.</p>
<fig id="fig-6">
<label>Figure 6</label>
<caption>
<title>(a) Total TD&#x2019;s energy consumption. (b) System resource utilization</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_51944-fig-6.tif"/>
</fig><fig id="fig-7">
<label>Figure 7</label>
<caption>
<title>(a) Task offloading rate with different total task sizes. (b) Task offloading rate with different numbers of TDs varies from 1 to 10</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_51944-fig-7.tif"/>
</fig>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Conclusion</title>
<p>In this work, the optimization of IoT task offloading decisions in MEC is studied in depth. Different from previous work, the proposed Two-Stage Task Offloading Decision Framework (TSODF) considers the continuous optimization of multiple attempts for unapproved offload requests when MEC resources are insufficient. The TSODF is designed to explore available edge computing network resources to accept task offloading requests from TDs. In this way, the success rate of task offloading and the utilization of edge computing resources are increased, resulting in overall reductions in task completion time and energy consumption. In addition, the request eviction reduces the delay for local task execution in waiting for decision-making. Simulation results show that the performance of the proposed task offloading framework improves the overall task offloading rate and reduces the overall task execution latency and energy consumption compared to the classical DQN-based task offloading decision scheme. Although only the case of DQN-based offloading decision generation techniques is considered in this paper, the proposed framework can be easily extended to the scenarios with the different types of offloading decision generation techniques. For future work, we will investigate optimization methods for IoT task offloading decisions in MEC environments supporting scalable IoT networks.</p>
</sec>
</body>
<back>
<ack><p>We thank Universiti Teknologi Malaysia (UTM) for supporting us during this work.</p></ack>
<sec><title>Funding Statement</title>
<p>The authors received no specific funding for this study.</p>
</sec>
<sec><title>Author Contributions</title>
<p>The authors confirm contribution to the paper as follows: Dayong Wang contributed to Conceptualization and writing-original draft preparation, Babangida Isyaku and Dayong Wang contributed to methodology, Babangida Isyaku and Kamalrulnizam Bin Abu Bakar contributed to writing-review and editing, and Kamalrulnizam Bin Abu Bakar supervised the process of the research. All authors reviewed the results and approved the final version of the manuscript.</p>
</sec>
<sec sec-type="data-availability"><title>Availability of Data and Materials</title>
<p>Not applicable.</p>
</sec>
<sec sec-type="COI-statement"><title>Conflicts of Interest</title>
<p>The authors declare that they have no conflicts of interest to report regarding the present study.</p>
</sec>
<ref-list content-type="authoryear">
<title>References</title>
<ref id="ref-1"><label>[1]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>K. B. A.</given-names> <surname>Bakar</surname></string-name>, <string-name><given-names>F. T.</given-names> <surname>Zuhra</surname></string-name>, <string-name><given-names>B.</given-names> <surname>Isyaku</surname></string-name>, and <string-name><given-names>S. B.</given-names> <surname>Sulaiman</surname></string-name></person-group>, &#x201C;<article-title>A review on the immediate advancement of the internet of things in wireless telecommunications</article-title>,&#x201D; <source>IEEE Access</source>, vol. <volume>11</volume>, no. <issue>70</issue>, pp. <fpage>21020</fpage>&#x2013;<lpage>21048</lpage>, <year>2023</year>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2023.3250466</pub-id>.</mixed-citation></ref>
<ref id="ref-2"><label>[2]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>X.</given-names> <surname>Jin</surname></string-name>, <string-name><given-names>W.</given-names> <surname>Hua</surname></string-name>, <string-name><given-names>Z.</given-names> <surname>Wang</surname></string-name>, and <string-name><given-names>Y.</given-names> <surname>Chen</surname></string-name></person-group>, &#x201C;<article-title>A survey of research on computation offloading in mobile cloud computing</article-title>,&#x201D; <source>Wirel. Netw.</source>, vol. <volume>28</volume>, no. <issue>4</issue>, pp. <fpage>1563</fpage>&#x2013;<lpage>1585</lpage>, <year>May 2022</year>. doi: <pub-id pub-id-type="doi">10.1007/s11276-022-02920-2</pub-id>.</mixed-citation></ref>
<ref id="ref-3"><label>[3]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>K.</given-names> <surname>Sadatdiynov</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Cui</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Zhang</surname></string-name>, <string-name><given-names>J. Z.</given-names> <surname>Huang</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Salloum</surname></string-name> and <string-name><given-names>M. S.</given-names> <surname>Mahmud</surname></string-name></person-group>, &#x201C;<article-title>A review of optimization methods for computation offloading in edge computing networks</article-title>,&#x201D; <source>Digit. Commun. Netw.</source>, vol. <volume>9</volume>, no. <issue>2</issue>, pp. <fpage>450</fpage>&#x2013;<lpage>461</lpage>, <year>Apr. 2023</year>. doi: <pub-id pub-id-type="doi">10.1016/j.dcan.2022.03.003</pub-id>.</mixed-citation></ref>
<ref id="ref-4"><label>[4]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>B.</given-names> <surname>Isyaku</surname></string-name>, <string-name><given-names>K. B.</given-names> <surname>Abu Bakar</surname></string-name>, <string-name><given-names>F. A.</given-names> <surname>Ghaleb</surname></string-name>, and <string-name><given-names>S.</given-names> <surname>Sulaiman</surname></string-name></person-group>, &#x201C;<article-title>Performance evaluation of flowtable eviction mechanisms for software defined networks considering traffic flows variabilities</article-title>,&#x201D; in <conf-name>2022 IEEE 12th Symp. Comput. Appl. Ind. Electron. (ISCAIE)</conf-name>, <year>May 2022</year>, pp. <fpage>71</fpage>&#x2013;<lpage>75</lpage>. doi: <pub-id pub-id-type="doi">10.1109/ISCAIE54458.2022.9794547</pub-id>.</mixed-citation></ref>
<ref id="ref-5"><label>[5]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Zhou</surname></string-name>, <string-name><given-names>W.</given-names> <surname>Jadoon</surname></string-name>, and <string-name><given-names>I. A.</given-names> <surname>Khan</surname></string-name></person-group>, &#x201C;<article-title>Computing offloading strategy in mobile edge computing environment: A comparison between adopted frameworks, challenges, and future directions</article-title>,&#x201D; <source>Electronics</source>, vol. <volume>12</volume>, no. <issue>11</issue>, pp. <fpage>2452</fpage>, <year>Jan. 2023</year>. doi: <pub-id pub-id-type="doi">10.3390/electronics12112452</pub-id>.</mixed-citation></ref>
<ref id="ref-6"><label>[6]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S. A.</given-names> <surname>Abdulzahra</surname></string-name>, <string-name><given-names>A. K. M.</given-names> <surname>Al-Qurabat</surname></string-name>, and <string-name><given-names>A. K.</given-names> <surname>Idrees</surname></string-name></person-group>, &#x201C;<article-title>Compression-based data reduction technique for IoT sensor networks</article-title>,&#x201D; <source>Baghdad Sci. J.</source>, vol. <volume>18</volume>, no. <issue>1</issue>, pp. <fpage>0184</fpage>, <year>2021</year>. doi: <pub-id pub-id-type="doi">10.21123/bsj.2021.18.1.0184</pub-id>.</mixed-citation></ref>
<ref id="ref-7"><label>[7]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>Jin</surname></string-name>, <string-name><given-names>M. A.</given-names> <surname>Gregory</surname></string-name>, and <string-name><given-names>S.</given-names> <surname>Li</surname></string-name></person-group>, &#x201C;<article-title>A review of intelligent computation offloading in multiaccess edge Computing</article-title>,&#x201D; <source>IEEE Access</source>, vol. <volume>10</volume>, no. <issue>3</issue>, pp. <fpage>71481</fpage>&#x2013;<lpage>71495</lpage>, <year>2022</year>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2022.3187701</pub-id>.</mixed-citation></ref>
<ref id="ref-8"><label>[8]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Maray</surname></string-name> and <string-name><given-names>J.</given-names> <surname>Shuja</surname></string-name></person-group>, &#x201C;<article-title>Computation offloading in mobile cloud computing and mobile edge computing: Survey, taxonomy, and open issues</article-title>,&#x201D; <source>Mob. Inf. Syst.</source>, vol. <volume>2022</volume>, no. <issue>3</issue>, pp. <fpage>e1121822</fpage>, <year>2022</year>. doi: <pub-id pub-id-type="doi">10.1155/2022/1121822</pub-id>.</mixed-citation></ref>
<ref id="ref-9"><label>[9]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>B.</given-names> <surname>Kar</surname></string-name>, <string-name><given-names>W.</given-names> <surname>Yahya</surname></string-name>, <string-name><given-names>Y. D.</given-names> <surname>Lin</surname></string-name>, and <string-name><given-names>A.</given-names> <surname>Ali</surname></string-name></person-group>, &#x201C;<article-title>Offloading using traditional optimization and machine learning in federated cloud-edge&#x2013;fog systems: A survey</article-title>,&#x201D; <source>IEEE Commun. Surv. Tutor.</source>, vol. <volume>25</volume>, no. <issue>2</issue>, pp. <fpage>1199</fpage>&#x2013;<lpage>1226</lpage>, <year>2023</year>. doi: <pub-id pub-id-type="doi">10.1109/COMST.2023.3239579</pub-id>.</mixed-citation></ref>
<ref id="ref-10"><label>[10]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>K.</given-names> <surname>Sadatdiynov</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Cui</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Zhang</surname></string-name>, <string-name><given-names>J. Z.</given-names> <surname>Huang</surname></string-name>, <string-name><given-names>N. N.</given-names> <surname>Xiong</surname></string-name> and <string-name><given-names>C.</given-names> <surname>Luo</surname></string-name></person-group>, &#x201C;<article-title>An intelligent hybrid method: Multi-objective optimization for MEC-enabled devices of IoE</article-title>,&#x201D; <source>J. Parallel Distr. Comput.</source>, vol. <volume>171</volume>, pp. <fpage>1</fpage>&#x2013;<lpage>13</lpage>, <year>Jan. 2023</year>. doi: <pub-id pub-id-type="doi">10.1016/j.jpdc.2022.09.008</pub-id>.</mixed-citation></ref>
<ref id="ref-11"><label>[11]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Maray</surname></string-name>, <string-name><given-names>E.</given-names> <surname>Mustafa</surname></string-name>, and <string-name><given-names>J.</given-names> <surname>Shuja</surname></string-name></person-group>, &#x201C;<article-title>Wireless power assisted computation offloading in mobile edge computing: A deep reinforcement learning approach</article-title>,&#x201D; <source>Hum.-Centric Comput. Inf. Sci.</source>, vol. <volume>14</volume>, pp. <fpage>22</fpage>, <year>2024</year>. doi: <pub-id pub-id-type="doi">10.22967/HCIS.2024.14.022</pub-id>.</mixed-citation></ref>
<ref id="ref-12"><label>[12]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Ahmed</surname></string-name> <etal>et al.</etal></person-group>, &#x201C;<article-title>A survey on vehicular task offloading: Classification, issues, and challenges</article-title>,&#x201D; <source>J. King Saud Univ.-Comput. Inf. Sci.</source>, vol. <volume>34</volume>, no. <issue>7</issue>, pp. <fpage>4135</fpage>&#x2013;<lpage>4162</lpage>, <year>May 2022</year>. doi: <pub-id pub-id-type="doi">10.1016/j.jksuci.2022.05.016</pub-id>.</mixed-citation></ref>
<ref id="ref-13"><label>[13]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Maray</surname></string-name>, <string-name><given-names>E.</given-names> <surname>Mustafa</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Shuja</surname></string-name>, and <string-name><given-names>M.</given-names> <surname>Bilal</surname></string-name></person-group>, &#x201C;<article-title>Dependent task offloading with deadline-aware scheduling in mobile edge networks</article-title>,&#x201D; <source>Internet of Things</source>, vol. <volume>23</volume>, no. <issue>1</issue>, pp. <fpage>100868</fpage>, <year>Oct. 2023</year>. doi: <pub-id pub-id-type="doi">10.1016/j.iot.2023.100868</pub-id>.</mixed-citation></ref>
<ref id="ref-14"><label>[14]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>Z.</given-names> <surname>Yu</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Gong</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Gong</surname></string-name>, and <string-name><given-names>Y.</given-names> <surname>Guo</surname></string-name></person-group>, &#x201C;<article-title>Joint task offloading and resource allocation in UAV-enabled mobile edge computing</article-title>,&#x201D; <source>IEEE Internet Things J.</source>, vol. <volume>7</volume>, no. <issue>4</issue>, pp. <fpage>3147</fpage>&#x2013;<lpage>3159</lpage>, <year>Apr. 2020</year>. doi: <pub-id pub-id-type="doi">10.1109/JIOT.2020.2965898</pub-id>.</mixed-citation></ref>
<ref id="ref-15"><label>[15]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>I. A.</given-names> <surname>Elgendy</surname></string-name>, <string-name><given-names>W. Z.</given-names> <surname>Zhang</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Zeng</surname></string-name>, <string-name><given-names>H.</given-names> <surname>He</surname></string-name>, <string-name><given-names>Y. C.</given-names> <surname>Tian</surname></string-name> and <string-name><given-names>Y.</given-names> <surname>Yang</surname></string-name></person-group>, &#x201C;<article-title>Efficient and secure multi-user multi-task computation offloading for mobile-edge computing in mobile IoT networks</article-title>,&#x201D; <source>IEEE Trans. Netw. Serv. Manag.</source>, vol. <volume>17</volume>, no. <issue>4</issue>, pp. <fpage>2410</fpage>&#x2013;<lpage>2422</lpage>, <year>Dec. 2020</year>. doi: <pub-id pub-id-type="doi">10.1109/TNSM.2020.3020249</pub-id>.</mixed-citation></ref>
<ref id="ref-16"><label>[16]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>L.</given-names> <surname>Ma</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Shi</surname></string-name> and <string-name><given-names>M.</given-names> <surname>Huang</surname></string-name></person-group>, &#x201C;<article-title>TCDA: Truthful combinatorial double auctions for mobile edge computing in industrial internet of things</article-title>,&#x201D; <source>IEEE Trans. Mob. Comput.</source>, vol. <volume>21</volume>, no. <issue>11</issue>, pp. <fpage>4125</fpage>&#x2013;<lpage>4138</lpage>, <year>Nov. 2022</year>. doi: <pub-id pub-id-type="doi">10.1109/TMC.2021.3064314</pub-id>.</mixed-citation></ref>
<ref id="ref-17"><label>[17]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>Y.</given-names> <surname>Chen</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Zhao</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Zhou</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Qi</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Xu</surname></string-name> and <string-name><given-names>J.</given-names> <surname>Huang</surname></string-name></person-group>, &#x201C;<article-title>A distributed game theoretical approach for credibility-guaranteed multimedia data offloading in MEC</article-title>,&#x201D; <source>Inf. Sci.</source>, vol. <volume>644</volume>, no. <issue>11</issue>, pp. <fpage>119306</fpage>, <year>Oct. 2023</year>. doi: <pub-id pub-id-type="doi">10.1016/j.ins.2023.119306</pub-id>.</mixed-citation></ref>
<ref id="ref-18"><label>[18]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Huang</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Wu</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Chen</surname></string-name>, and <string-name><given-names>X.</given-names> <surname>Shen</surname></string-name></person-group>, &#x201C;<article-title>Distributed offloading in overlapping areas of mobile-edge computing for internet of things</article-title>,&#x201D; <source>IEEE Internet Things J.</source>, vol. <volume>9</volume>, no. <issue>15</issue>, pp. <fpage>13837</fpage>&#x2013;<lpage>13847</lpage>, <year>Aug. 2022</year>. doi: <pub-id pub-id-type="doi">10.1109/JIOT.2022.3143539</pub-id>.</mixed-citation></ref>
<ref id="ref-19"><label>[19]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>Hao</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Zhang</surname></string-name>, and <string-name><given-names>Q.</given-names> <surname>Gu</surname></string-name></person-group>, &#x201C;<article-title>Optimal IoT service offloading with uncertainty in sdn-based mobile edge computing</article-title>,&#x201D; <source>Mobile Netw. Appl.</source>, vol. <volume>27</volume>, no. <issue>6</issue>, pp. <fpage>2318</fpage>&#x2013;<lpage>2327</lpage>, <year>Dec. 2022</year>. doi: <pub-id pub-id-type="doi">10.1007/s11036-021-01796-4</pub-id>.</mixed-citation></ref>
<ref id="ref-20"><label>[20]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>T.</given-names> <surname>Zhou</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Yue</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Qin</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Nie</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Li</surname></string-name> and <string-name><given-names>C.</given-names> <surname>Li</surname></string-name></person-group>, &#x201C;<article-title>Joint device association, resource allocation, and computation offloading in ultradense multidevice and multitask IoT networks</article-title>,&#x201D; <source>IEEE Internet Things J.</source>, vol. <volume>9</volume>, no. <issue>19</issue>, pp. <fpage>18695</fpage>&#x2013;<lpage>18709</lpage>, <year>Oct. 2022</year>. doi: <pub-id pub-id-type="doi">10.1109/JIOT.2022.3161670</pub-id>.</mixed-citation></ref>
<ref id="ref-21"><label>[21]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Xu</surname></string-name>, <string-name><given-names>B.</given-names> <surname>Ai</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Chen</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Cui</surname></string-name>, and <string-name><given-names>N.</given-names> <surname>Wang</surname></string-name></person-group>, &#x201C;<article-title>Deep reinforcement learning for computation and communication resource allocation in multiaccess MEC assisted railway IoT networks</article-title>,&#x201D; <source>IEEE Trans. Intell. Transp. Syst.</source>, vol. <volume>23</volume>, no. <issue>12</issue>, pp. <fpage>23797</fpage>&#x2013;<lpage>23808</lpage>, <year>Dec. 2022</year>. doi: <pub-id pub-id-type="doi">10.1109/TITS.2022.3205175</pub-id>.</mixed-citation></ref>
<ref id="ref-22"><label>[22]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>Zhou</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Li</surname></string-name>, <string-name><given-names>N.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>G.</given-names> <surname>Min</surname></string-name>, and <string-name><given-names>J.</given-names> <surname>Wu</surname></string-name></person-group>, &#x201C;<article-title>Accelerating deep learning inference via model parallelism and partial comSputation offloading</article-title>,&#x201D; <source>IEEE Trans. Parallel Distrib. Syst.</source>, vol. <volume>34</volume>, no. <issue>2</issue>, pp. <fpage>475</fpage>&#x2013;<lpage>488</lpage>, <year>Feb. 2023</year>. doi: <pub-id pub-id-type="doi">10.1109/TPDS.2022.3222509</pub-id>.</mixed-citation></ref>
<ref id="ref-23"><label>[23]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Acheampong</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Zhang</surname></string-name>, and <string-name><given-names>X.</given-names> <surname>Xu</surname></string-name></person-group>, &#x201C;<article-title>A parallel computing based model for online binary computation offloading in mobile edge computing</article-title>,&#x201D; <source>Comput. Commun.</source>, vol. <volume>203</volume>, no. <issue>4</issue>, pp. <fpage>248</fpage>&#x2013;<lpage>261</lpage>, <year>Apr. 2023</year>. doi: <pub-id pub-id-type="doi">10.1016/j.comcom.2023.03.004</pub-id>.</mixed-citation></ref>
<ref id="ref-24"><label>[24]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Iftikhar</surname></string-name> <etal>et al.</etal></person-group>, &#x201C;<article-title>HunterPlus: AI based energy-efficient task scheduling for cloud-fog computing environments</article-title>,&#x201D; <source>Internet of Things</source>, vol. <volume>21</volume>, no. <issue>2</issue>, pp. <fpage>100667</fpage>, <year>Apr. 2023</year>. doi: <pub-id pub-id-type="doi">10.1016/j.iot.2022.100667</pub-id>.</mixed-citation></ref>
<ref id="ref-25"><label>[25]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Tang</surname></string-name> and <string-name><given-names>V. W. S.</given-names> <surname>Wong</surname></string-name></person-group>, &#x201C;<article-title>Deep reinforcement learning for task offloading in mobile edge computing systems</article-title>,&#x201D; <source>IEEE Trans. Mob. Comput.</source>, vol. <volume>21</volume>, no. <issue>6</issue>, pp. <fpage>1985</fpage>&#x2013;<lpage>1997</lpage>, <year>Jun. 2022</year>. doi: <pub-id pub-id-type="doi">10.1109/TMC.2020.3036871</pub-id>.</mixed-citation></ref>
<ref id="ref-26"><label>[26]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Tuli</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Ilager</surname></string-name>, <string-name><given-names>K.</given-names> <surname>Ramamohanarao</surname></string-name>, and <string-name><given-names>R.</given-names> <surname>Buyya</surname></string-name></person-group>, &#x201C;<article-title>Dynamic scheduling for stochastic edge-cloud computing environments using A3C learning and residual recurrent neural networks</article-title>,&#x201D; <source>IEEE Trans. Mob. Comput.</source>, vol. <volume>21</volume>, no. <issue>3</issue>, pp. <fpage>940</fpage>&#x2013;<lpage>954</lpage>, <year>Mar. 2022</year>. doi: <pub-id pub-id-type="doi">10.1109/TMC.2020.3017079</pub-id>.</mixed-citation></ref>
<ref id="ref-27"><label>[27]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M. A.</given-names> <surname>Hossain</surname></string-name>, <string-name><given-names>W.</given-names> <surname>Liu</surname></string-name>, and <string-name><given-names>N.</given-names> <surname>Ansari</surname></string-name></person-group>, &#x201C;<article-title>Computation-efficient offloading and power control for MEC in IoT networks by meta reinforcement learning</article-title>,&#x201D; <source>IEEE Internet Things J.</source>, vol. <volume>11</volume>, no. <issue>9</issue>, pp. <fpage>16722</fpage>&#x2013;<lpage>16730</lpage>, <year>2024</year>. doi: <pub-id pub-id-type="doi">10.1109/JIOT.2024.3355023</pub-id>.</mixed-citation></ref>
<ref id="ref-28"><label>[28]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Wu</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Xue</surname></string-name>, and <string-name><given-names>L.</given-names> <surname>Zhang</surname></string-name></person-group>, &#x201C;<article-title>Q-learning-aided offloading strategy in edge-assisted federated learning over industrial IoT</article-title>,&#x201D; <source>Electronics</source>, vol. <volume>12</volume>, no. <issue>7</issue>, pp. <fpage>1706</fpage>, <year>Jan. 2023</year>. doi: <pub-id pub-id-type="doi">10.3390/electronics12071706</pub-id>.</mixed-citation></ref>
<ref id="ref-29"><label>[29]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H. Mai</given-names> <surname>Do</surname></string-name>, <string-name><given-names>T. P.</given-names> <surname>Tran</surname></string-name>, and <string-name><given-names>M.</given-names> <surname>Yoo</surname></string-name></person-group>, &#x201C;<article-title>Deep reinforcement learning-based task offloading and resource allocation for industrial IoT in MEC federation system</article-title>,&#x201D; <source>IEEE Access</source>, vol. <volume>11</volume>, pp. <fpage>83150</fpage>&#x2013;<lpage>83170</lpage>, <year>2023</year>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2023.3302518</pub-id>.</mixed-citation></ref>
<ref id="ref-30"><label>[30]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>C.</given-names> <surname>Li</surname></string-name>, <string-name><given-names>Q.</given-names> <surname>Cai</surname></string-name>, <string-name><given-names>C.</given-names> <surname>Zhang</surname></string-name>, <string-name><given-names>B.</given-names> <surname>Ma</surname></string-name>, and <string-name><given-names>Y.</given-names> <surname>Luo</surname></string-name></person-group>, &#x201C;<article-title>Computation offloading and service allocation in mobile edge computing</article-title>,&#x201D; <source>J. Supercomput.</source>, vol. <volume>77</volume>, no. <issue>12</issue>, pp. <fpage>13933</fpage>&#x2013;<lpage>13962</lpage>, <year>Dec. 2021</year>. doi: <pub-id pub-id-type="doi">10.1007/s11227-021-03749-w</pub-id>.</mixed-citation></ref>
<ref id="ref-31"><label>[31]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>K.</given-names> <surname>Sadatdiynov</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Cui</surname></string-name>, and <string-name><given-names>J. Z.</given-names> <surname>Huang</surname></string-name></person-group>, &#x201C;<article-title>Offloading dependent tasks in MEC-enabled IoT systems: A preference-based hybrid optimization method</article-title>,&#x201D; <source>Peer-to-Peer Netw. Appl.</source>, vol. <volume>16</volume>, no. <issue>2</issue>, pp. <fpage>657</fpage>&#x2013;<lpage>674</lpage>, <year>Mar. 2023</year>. doi: <pub-id pub-id-type="doi">10.1007/s12083-022-01435-z</pub-id>.</mixed-citation></ref>
<ref id="ref-32"><label>[32]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Bi</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Huang</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Wang</surname></string-name>, and <string-name><given-names>Y. J. A.</given-names> <surname>Zhang</surname></string-name></person-group>, &#x201C;<article-title>Lyapunov-guided deep reinforcement learning for stable online computation offloading in mobile-edge computing networks</article-title>,&#x201D; <source>IEEE Trans. Wirel. Commun.</source>, vol. <volume>20</volume>, no. <issue>11</issue>, pp. <fpage>7519</fpage>&#x2013;<lpage>7537</lpage>, <year>Nov. 2021</year>. doi: <pub-id pub-id-type="doi">10.1109/TWC.2021.3085319</pub-id>.</mixed-citation></ref>
<ref id="ref-33"><label>[33]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>Hu</surname></string-name>, <string-name><given-names>W.</given-names> <surname>Song</surname></string-name>, <string-name><given-names>Q.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>R. Q.</given-names> <surname>Hu</surname></string-name>, and <string-name><given-names>H.</given-names> <surname>Zhu</surname></string-name></person-group>, &#x201C;<article-title>Energy efficiency and delay tradeoff in an MEC-enabled mobile IoT network</article-title>,&#x201D; <source>IEEE Internet Things J.</source>, vol. <volume>9</volume>, no. <issue>17</issue>, pp. <fpage>15942</fpage>&#x2013;<lpage>15956</lpage>, <year>Sep. 2022</year>. doi: <pub-id pub-id-type="doi">10.1109/JIOT.2022.3153847</pub-id>.</mixed-citation></ref>
<ref id="ref-34"><label>[34]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>X.</given-names> <surname>Yang</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Luo</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Sun</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Zou</surname></string-name>, and <string-name><given-names>M.</given-names> <surname>Guizani</surname></string-name></person-group>, &#x201C;<article-title>Coalitional game-based cooperative computation offloading in MEC for reusable tasks</article-title>,&#x201D; <source>IEEE Internet Things J.</source>, vol. <volume>8</volume>, no. <issue>16</issue>, pp. <fpage>12968</fpage>&#x2013;<lpage>12982</lpage>, <year>Aug. 2021</year>. doi: <pub-id pub-id-type="doi">10.1109/JIOT.2021.3064186</pub-id>.</mixed-citation></ref>
<ref id="ref-35"><label>[35]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Xu</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Huang</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Chen</surname></string-name>, and <string-name><given-names>S.</given-names> <surname>Chen</surname></string-name></person-group>, &#x201C;<article-title>Robust task offloading in dynamic edge computing</article-title>,&#x201D; <source>IEEE Trans. Mob. Comput.</source>, vol. <volume>22</volume>, no. <issue>1</issue>, pp. <fpage>500</fpage>&#x2013;<lpage>514</lpage>, <year>Jan. 2023</year>. doi: <pub-id pub-id-type="doi">10.1109/TMC.2021.3068748</pub-id>.</mixed-citation></ref>
<ref id="ref-36"><label>[36]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M. Y.</given-names> <surname>Akhlaqi</surname></string-name> and <string-name><given-names>Z. B.</given-names> <surname>Mohd Hanapi</surname></string-name></person-group>, &#x201C;<article-title>Task offloading paradigm in mobile edge computing-current issues, adopted approaches, and future directions</article-title>,&#x201D; <source>J. Netw. Comput. Appl.</source>, vol. <volume>212</volume>, no. <issue>10</issue>, pp. <fpage>103568</fpage>, <year>Mar. 2023</year>. doi: <pub-id pub-id-type="doi">10.1016/j.jnca.2022.103568</pub-id>.</mixed-citation></ref>
<ref id="ref-37"><label>[37]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>B.</given-names> <surname>Liang</surname></string-name>, <string-name><given-names>M. A.</given-names> <surname>Gregory</surname></string-name>, and <string-name><given-names>S.</given-names> <surname>Li</surname></string-name></person-group>, &#x201C;<article-title>Multi-access edge computing fundamentals, services, enablers and challenges: A complete survey</article-title>,&#x201D; <source>J. Netw. Comput. Appl.</source>, vol. <volume>199</volume>, no. <issue>1</issue>, pp. <fpage>103308</fpage>, <year>Mar. 2022</year>. doi: <pub-id pub-id-type="doi">10.1016/j.jnca.2021.103308</pub-id>.</mixed-citation></ref>
<ref id="ref-38"><label>[38]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Shirke</surname></string-name> and <string-name><given-names>M. M.</given-names> <surname>Chandane</surname></string-name></person-group>, &#x201C;<article-title>Collaborative offloading decision policy framework in IoT using edge computing</article-title>,&#x201D; <source>Multimed. Tools Appl.</source>, <year>Jan. 2023</year>. doi: <pub-id pub-id-type="doi">10.1007/s11042-023-14383-4</pub-id>.</mixed-citation></ref>
<ref id="ref-39"><label>[39]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>W.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Gao</surname></string-name>, <string-name><given-names>Z.</given-names> <surname>Zhang</surname></string-name>, and <string-name><given-names>Z.</given-names> <surname>Han</surname></string-name></person-group>, &#x201C;<article-title>Delay-optimal computation offloading in large-Scale Multi-access edge computing using mean field game</article-title>,&#x201D; <source>IEEE Trans. Wirel. Commun.</source>, <year>2023</year>. doi: <pub-id pub-id-type="doi">10.1109/TWC.2023.3344229</pub-id>.</mixed-citation></ref>
<ref id="ref-40"><label>[40]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>L.</given-names> <surname>Cui</surname></string-name> <etal>et al.</etal></person-group>, &#x201C;<article-title>Joint optimization of energy consumption and latency in mobile edge computing for internet of things</article-title>,&#x201D; <source>IEEE Internet Things J.</source>, vol. <volume>6</volume>, no. <issue>3</issue>, pp. <fpage>4791</fpage>&#x2013;<lpage>4803</lpage>, <year>Jun. 2019</year>. doi: <pub-id pub-id-type="doi">10.1109/JIOT.2018.2869226</pub-id>.</mixed-citation></ref>
</ref-list>
</back></article>