Abstract
The dynamic nature of edge-computing environments necessitates adaptive task allocation methods that optimize task latency, resource utilization, energy usage, and execution efficiency. This study proposes an edge-based Deep Q-Network (DQN) framework for real-time intelligent decision-making and resource management. The problem of task assignment is modeled using a Markov decision process where CPU availability, resource usage, queue length, latency, task size, and energy consumption constitute the system states. An epsilon-greedy policy, experience replay, and a target network are applied to facilitate action selection and Q-value learning. The multi-objective reward function considers latency, resource consumption, energy consumption, computational cost, and task execution performance. The framework’s performance is analyzed using execution, resource, and energy performance measures. The results show an average latency of 34.2 ms, resource utilization is 89.3%, and task execution success rate is 95.6%. These results demonstrate the performance of task allocation and resource management in dynamic edge computing environments.References
- Bi, Suzhi, Liang Huang, Hui Wang, and Ying-Jun Angela Zhang. ”Lyapunov-guided deep reinforcement learning for stable online computation offloading in mobile-edge computing networks.” IEEE Transactions on Wireless Communications, 2021, vol. 20, no. 11: 7519-7537.
- Jiang, Wei, Daquan Feng, Yao Sun, Gang Feng, Zhenzhong Wang, and Xiang-Gen Xia. ”Joint computation offloading and resource allocation for D2D-assisted mobile edge computing.” IEEE Transactions on Services Computing, 2022, vol. 16, no. 3: 1949-1963.
- Peng, Xin, Zhengke Han, Wenwu Xie, Chao Yu, Peng Zhu, Jian Xiao, and Jinxia Yang. ”Deep reinforcement learning for shared offloading strategy in vehicle edge computing.” IEEE Systems Journal, 2022, vol. 17, no. 2: 2089-2100.
- Qu, Guanjin, Huaming Wu, Ruidong Li, and Pengfei Jiao. ”DMRO: A deep meta reinforcement learning-based task offloading framework for edge-cloud computing.” IEEE Transactions on Network and Service Management, 2021, vol. 18, no. 3: 3448-3459.
- KP, Supreethi, and Bipin Bihari Jayasingh. ”Deep reinforcement learning for dynamic task scheduling in edge-cloud environments.” International Journal of Electrical and Computer Engineering Systems, 2024, vol. 15, no. 10: 837-850.
- Shen, Shihao, Yiwen Han, Xiaofei Wang, and Yan Wang. ”Computation offloading with multiple agents in edge-computing–supported IoT.” ACM Transactions on Sensor Networks (TOSN), 2019, vol. 16, no. 1: 1-27.
- Yu, Xiaomo, Jie Mi, Ling Tang, Long Long, and Xiao Qin. ”Dynamic multi objective task scheduling in cloud computing using reinforcement learning for energy and cost optimization.” Scientific Reports, 2025, vol. 15, no. 1: 45387.
- Chen, Xing, Shengxi Hu, Chujia Yu, Zheyi Chen, and Geyong Min. ”Real-time offloading for dependent and parallel tasks in cloud-edge environments using deep reinforcement learning.” IEEE Transactions on Parallel and Distributed Systems, 2024, vol. 35, no. 3: 391-404.
- Zhao, Yuqi, Delun Jiang, Bing Li, Lei Fu, Jian Wang, and Duantengchuan Li. ”A deep reinforcement learning-based pointer scoring network for edge task scheduling.” In 2023 IEEE International Conference on Web Services (ICWS), IEEE, 2023, 299-309.
- Wu, Haixing, Jingwei Geng, Xiaojun Bai, and Shunfu Jin. ”Deep reinforcement learning-based online task offloading in mobile edge computing networks.” Information Sciences, 2024, vol. 654: 119849.

Journal of Artificial Intelligence and Capsule Networks