Joint Task Scheduling and Computing Resource Allocation Optimization Strategy in Asynchronous Mobile Edge Computing Networks
-
摘要: 移动边缘计算(MEC)通过将密集型任务从传感器卸载到附近边缘服务器,来增强本地的计算能力,延长其电池寿命。然而,在面向无线传感器网等时变环境中,任务之间的异构性可能会导致通信低效率、高时延等问题。为此,该文提出一种异步移动边缘计算网络中的联合任务调度与计算资源分配优化策略,该策略实时感知任务信息年龄和能耗,将异步边缘卸载问题数学建模为NP难(NP-hard problem)的混合整数规划问题,并提出基于混合动作优势演员-评论家(HA2C)强化学习算法的任务调度和计算资源分配方案解决该问题。仿真结果表明,该文方法能显著降低异步卸载网络的平均信息年龄和能耗,满足无线传感器网络对任务时效性的要求。Abstract:
Objective Mobile Edge Computing (MEC) is a key technology for addressing the limited computing capabilities and energy constraints of wireless devices. MEC improves local computing performance and extends battery life by offloading computationally intensive tasks from sensors to nearby edge servers. However, in dynamic environments such as anomaly detection, environmental monitoring, and vehicle positioning, task heterogeneity becomes a significant factor limiting performance. For example, the asynchrony of task generation times can result in issues such as low communication efficiency and increased latency. Furthermore, traditional latency measurement techniques often fail to accurately assess task timeliness. To address these challenges, this paper proposes a strategy for the joint optimization of task scheduling and computational resource allocation in asynchronous MEC networks. The proposed strategy adaptively optimizes task scheduling and resource allocation, minimizing the average information age and energy consumption, thereby enhancing overall system performance. Methods This paper focuses on age-aware asynchronous MEC offloading and resource allocation. Specifically, a mathematical model is formulated based on the First Come First Served (FCFS) queuing principle, considering the order of asynchronous task arrivals. This model optimizes task scheduling and computational resource allocation in asynchronous MEC offloading, with the goal of minimizing the Average Age of Information (AoI) and average energy consumption. In dynamic asynchronous MEC, optimization problems are inherently complex. When these tasks involve both binary offloading decisions and continuous resource allocation, the combination of actions further complicates problem-solving, transforming it into a non-convex optimization challenge. Additionally, the actor network of the Actor-Critic algorithm (A2C) adapts its output layer to either a Categorical or Gaussian distribution, depending on whether the action space is discrete or continuous. This paper proposes a Hybrid Advantage Actor-Critic (HA2C) Deep Reinforcement Learning (DRL) algorithm, which effectively optimizes dynamic task scheduling and computational resource allocation strategies as tasks are generated. Results and Discussions In the simulations, the performance of the algorithm is evaluated by comparing four different strategies: random strategy, DRL strategy, delay strategy, and synchronous strategy. The following conclusions are drawn: 1. Average AoI is more sensitive to task timeliness than latency metrics. It not only accounts for the time interval between task generation and reception but also considers the intervals between task generations, offering a better measure of task timeliness. Moreover, the HA2C algorithm effectively balances the timeliness of information and energy consumption, achieving optimal average AoI and energy consumption ( Figure 4 ). 2. The hybrid action space of the HA2C algorithm is better suited for adapting to a growing number of devices. As the number of devices increases, HA2C significantly outperforms multi-agent algorithms and traditional A2C algorithms (Figure 5 ). This is because the number of actions in a discrete action space grows exponentially with the device count, ultimately leading to the curse of dimensionality, which degrades the performance of discrete DRL algorithms. 3. In the asynchronous MEC model, task generation occurs instantaneously and asynchronously. This setup allows a large amount of computational resources to be concentrated on tasks that arrive earlier, maximizing the utilization of MEC resources. As a result, asynchronous models outperform synchronous models in terms of both average AoI and average energy consumption (Figure 6 ). In conclusion, these experiments confirm that, compared to synchronous models, asynchronous models not only significantly improve computational efficiency but also effectively reduce energy consumption. Furthermore, the proposed HA2C algorithm proves to be highly effective in solving the asynchronous edge offloading and resource allocation problems, maintaining efficient performance even as the number of devices increases.Conclusions This paper leverages MEC to address the limited computational capacity and energy of wireless devices. Specifically, the paper considers scenarios where Wireless Sensor Network (WSN) edge computing systems continuously collect and process data to monitor real-time changes in the detection environment. In these contexts, the paper focuses on the heterogeneous generation times of sensor tasks deployed at different locations. The optimization goal is to minimize both average information age and energy consumption, achieved through task scheduling and adaptive resource allocation. The HA2C algorithm is designed to handle dynamic and unpredictable system changes while simultaneously managing both continuous and discrete actions. Simulation results demonstrate that the algorithm significantly reduces average information age and energy consumption in asynchronous offloading networks, while meeting the timeliness requirements of tasks in WSNs. -
[1] DEMEDEIROS K, HENDAWI A, and ALVAREZ M. A survey of AI-based anomaly detection in IoT and sensor networks[J]. Sensors, 2023, 23(3): 1352. doi: 10.3390/s23031352. [2] ZHANG Guangyang, SHEN Chao, SHI Qingjiang, et al. AoI minimization for WSN data collection with periodic updating scheme[J]. IEEE Transactions on Wireless Communications, 2023, 22(1): 32–46. doi: 10.1109/TWC.2022.3190986. [3] KANDRIS D, NAKAS C, VOMVAS D, et al. Applications of wireless sensor networks: An up-to-date survey[J]. Applied System Innovation, 2020, 3(1): 14. doi: 10.3390/asi3010014. [4] MACH P and BECVAR Z. Mobile edge computing: A survey on architecture and computation offloading[J]. IEEE Communications Surveys & Tutorials, 2017, 19(3): 1628–1656. doi: 10.1109/COMST.2017.2682318. [5] HORTELANO D, DE MIGUEL I, BARROSO R J D, et al. A comprehensive survey on reinforcement-learning-based computation offloading techniques in edge computing systems[J]. Journal of Network and Computer Applications, 2023, 216: 103669. doi: 10.1016/j.jnca.2023.103669. [6] HE Xingqiu, WANG Sheng, WANG Xiong, et al. Age-based scheduling for monitoring and control applications in mobile edge computing systems[C]. IEEE Conference on Computer Communications, London, UK, 2022: 1009–1018. doi: 10.1109/INFOCOM48880.2022.9796654. [7] QIN Xiaoqi, LI Yanlin, SONG Xianxin, et al. Timeliness of information for computation-intensive status updates in task-oriented communications[J]. IEEE Journal on Selected Areas in Communications, 2023, 41(3): 623–638. doi: 10.1109/JSAC.2022.3229431. [8] YATES R D, SUN Yin, BROWN D R, et al. Age of information: An introduction and survey[J]. IEEE Journal on Selected Areas in Communications, 2021, 39(5): 1183–1210. doi: 10.1109/JSAC.2021.3065072. [9] LI Rui, MA Qian, GONG Jie, et al. Age of processing: Age-driven status sampling and processing offloading for edge-computing-enabled real-time IoT applications[J]. IEEE Internet of Things Journal, 2021, 8(19): 14471–14484. doi: 10.1109/JIOT.2021.3064055. [10] LIU Wentao, LI Dong, LIANG Tianhao, et al. Joint trajectory and scheduling optimization for age of synchronization minimization in UAV-assisted networks with random updates[J]. IEEE Transactions on Communications, 2023, 71(11): 6633–6646. doi: 10.1109/TCOMM.2023.3297198. [11] XIE Mangang, GONG Jie, and MA Xiao. Is the packetized transmission efficient? An age-energy perspective[C]. IEEE Conference on Computer Communications Workshops, Toronto, Canada, 2020: 329–333. doi: 10.1109/INFOCOMWKSHPS50562.2020.9162651. [12] YOU Changsheng, ZENG Yong, ZHANG Rui, et al. Asynchronous mobile-edge computation offloading: Energy-efficient resource management[J]. IEEE Transactions on Wireless Communications, 2018, 17(11): 7590–7605. doi: 10.1109/TWC.2018.2868710. [13] CANG Yihan, GAO Songtao, YU Yiming, et al. Joint user scheduling and resource optimization in MEC networks with asynchronous computing[C]. 2023 IEEE International Conference on Communications Workshops, Rome, Italy, 2023: 151–157. doi: 10.1109/ICCWorkshops57953.2023.10283775. [14] QIN Xiaoqi, LI Yanlin, MA Nan, et al. Timeliness-oriented asynchronous task offloading in UAV-edge-computing systems[J]. IEEE Transactions on Network Science and Engineering, 2024, 11(1): 900–912. doi: 10.1109/TNSE.2023.3310055. [15] TAN Lin, KUANG Zhufang, ZHAO Lian, et al. Energy-efficient joint task Offloading and resource allocation in OFDMA-based collaborative edge computing[J]. IEEE Transactions on Wireless Communications, 2022, 21(3): 1960–1972. doi: 10.1109/TWC.2021.3108641. [16] LI Ji, GAO Hui, LV Tiejun, et al. Deep reinforcement learning based computation offloading and resource allocation for MEC[C]. 2018 IEEE Wireless Communications and Networking Conference, Barcelona, Spain, 2018: 1–6. doi: 10.1109/WCNC.2018.8377343. [17] CHEN Xu, JIAO Lei, LI Wenzhong, et al. Efficient multi-user computation offloading for mobile-edge cloud computing[J]. IEEE/ACM Transactions on Networking, 2016, 24(5): 2795–2808. doi: 10.1109/TNET.2015.2487344. [18] LIU Wenshuai, LI Bin, XIE Wancheng, et al. Energy efficient computation offloading in aerial edge networks with multi-agent cooperation[J]. IEEE Transactions on Wireless Communications, 2023, 22(9): 5725–5739. doi: 10.1109/TWC.2023.3235997. [19] MNIH V, BADIA A P, MIRZA M, et al. Asynchronous methods for deep reinforcement learning[C]. The 33rd International Conference on Machine Learning, New York City, USA, 2016: 1928–1937. -