arXiv:2609.03503cs.AISep 2026

Manuscript Offprint

arXiv:2609.03503

PPO-STGNN: A Proximal Policy Optimization Approach with Spatio-Temporal Graph Neural Networks for DAG Task Scheduling in Cloud-Edge-End Computing

Yangshuo Qi, Chenwei Wang, Zihan Shen, Songlin Sun

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yangshuo Qi 1^{1}, Chenwei Wang 2^{2}, Zihan Shen 3^{3} and Songlin Sun ∗^{*}

1^{1} Beijing University of Posts and Telecommunications, Beijing, China

2^{2} Google, Mountain View, USA

3^{3} NanJing University, NanJing, China

SLSUN@BUPT.EDU.CN

Abstract. With the rapid development of the Internet of Things, computation intensive directed acyclic graph (DAG) tasks have become increasingly common in cloud-edge-end collaborative environments. However, cloud, edge, and end nodes are highly heterogeneous in computing capacity, network bandwidth, and energy consumption, which makes the efficient scheduling of tasks with complex dependencies an NP-hard problem. Traditional heuristic algorithms and conventional reinforcement-learning methods often fail to capture the spatio-temporal dynamics of system resources. This paper proposes PPO-STGNN, a DAG task-scheduling algorithm that integrates proximal policy optimization (PPO) with spatio-temporal graph neural networks (STGNNs). The method uses an STGNN to extract features from both the DAG task topology and the physical cloud-edge-end resource graph, and then optimizes the scheduling policy through PPO to minimize makespan and schedule length ratio (SLR) while improving CPU and memory load balancing. To accelerate convergence, a multi-teacher behavior-cloning mechanism is introduced for pretraining. Experimental results show that PPO-STGNN significantly improves load balancing while maintaining a low completion time, making it suitable for dynamic and heterogeneous cloud-edge-end DAG scheduling scenarios.

Keywords: DAG scheduling, Cloud-edge-end computing, Deep reinforcement learning, Graph neural network.

1 Introduction

With the popularization of IoT and 5G/6G technologies, massive data-processing demands have driven the evolution of computing paradigms toward cloud-edge-end collaborative architectures [1]. In such architectures, computing tasks are offloaded to edge or terminal nodes close to data sources, thereby substantially reducing transmission latency and alleviating backbone-network congestion. Modern intelligent applications, such as video analytics and federated learning, usually consist of multiple subtasks with strict logical and data dependencies. These applications can be mathematically modeled as directed acyclic graphs (DAGs) [2]. However, cloud-edge-end environments exhibit strong spatio-temporal heterogeneity: cloud nodes provide high computational power but introduce cross-layer latency, terminal devices are energy-constrained, and network-link conditions fluctuate dynamically. In this complex heterogeneous environment, efficient DAG task scheduling for minimizing makespan is a typical NP-hard problem [3].

Traditional DAG scheduling algorithms, such as HEFT, depend on static rules and greedy strategies, which limits their adaptability. Deep reinforcement learning (DRL) improves scheduling flexibility [4], but early MLP-based methods lose important DAG topology by flattening task and resource features. Recent GNN-based methods can capture task dependencies [5], [6], yet most of them focus on static topology and ignore temporal resource changes and hierarchical network constraints. Therefore, they remain insufficient for highly dynamic cloud-edge-end workloads [7].

To address these issues, this paper proposes a cloud-edge-end collaborative DAG task-scheduling algorithm based on PPO and STGNN. The main contributions of this work are as follows:

  1. A highly heterogeneous spatio-temporal scheduling model is constructed by jointly considering the computing and energy-consumption differences among powerful cloud nodes, medium-capacity edge nodes, and resource-limited end nodes, as well as strict hierarchical topology and link constraints.

  2. A PPO-STGNN scheduling architecture is proposed. The STGNN extracts joint spatio-temporal features from the DAG logical graph and the evolution of physical resources, providing the PPO agent with a global perspective for task-node matching.

  3. A multi-teacher behavior-cloning pretraining mechanism is introduced. Expert trajectories generated by heuristic algorithms are used for behavior-cloning pretraining, effectively mitigating the cold-start problem of DRL in large-scale joint action spaces.