Joint DNN Partitioning and Task Offloading Based on Attention Mechanism-Aided Reinforcement Learning
The rapid advancement of artificial intelligence applications has resulted in the deployment of a growing number of deep neural networks (DNNs) on mobile devices. Given the limited computational capabilities and small battery capacity of these devices, supporting efficient DNN inference presents a significant challenge. This paper considers the joint design of DNN model partitioning and offloading under high-concurrent tasks scenarios. The primary objective is to accelerate DNN task inference and reduce computational delay. Firstly, we propose an innovative adaptive inference framework that partitions DNN models into interdependent sub-tasks through a hierarchical partitioning method. Secondly, we develop a delay prediction model based on a Random Forest (RF) regression algorithm to estimate the computational delay of each sub-task on different devices. Finally, we designed a high-performance DNN partitioning and task offloading method based on an attention mechanism-aided Soft Actor-Critic (AMSAC) algorithm. The bandwidth allocation for each user is determined by the attention mechanism based on the characteristics of the DNN tasks, and the Soft Actor-Critic algorithm is used for adaptive layer-level partitioning and offloading of the DNN model, reducing collaborative inference delay. Extensive experiments demonstrate that our proposed AMSAC algorithm effectively reduces DNN task inference latency cost and improves service quality.
Authors
- Juan Fang (ORCID: https://orcid.org/0000-0002-4542-8727)
- Ziyi Teng
- Shen Wu (ORCID: https://orcid.org/0009-0007-2981-9123)
- Mengyuan Zhang (ORCID: https://orcid.org/0000-0003-1405-2525)
- Yaqi Liu
Institutions
- Beijing University of Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Network and Service Management
- Published
- 2025-04-17
- DOI
- https://doi.org/10.1109/tnsm.2025.3561739
- Citations
- 4
- Primary Topic
- Brain Tumor Detection and Classification
- Type
- article
- Field-Weighted Citation Impact
- 3.37
Funders
- National Natural Science Foundation of China