A Learning Method with Gap-Aware Generation for Heterogeneous DAG Scheduling
School of Mathematical Science, Peking University(北京大学数学科学学院);State Key Laboratory of Mathematical Sciences, Institute of Computational Mathematics and Scientific/Engineering Computing, Academy of Mathematics and Systems Science, Chinese Academy of Sciences(数学科学国家重点实验室,计算数学与科学/工程计算研究所,中国科学院数学系统科学研究院);Theory Lab, Central Research Institute, 2012 Labs, Huawei Technologies Co., Ltd(华为技术有限公司2012实验室理论实验室,中央研究院);Beijing International Center for Mathematical Research, Peking University(北京大学北京国际数学研究中心)
Ruisong Zhou, Haijun Zou, Li Zhou, Chumin Sun, Zaiwen Wen
Efficient scheduling of directed acyclic graphs (DAGs) is a core problem in large-scale data-intensive computing systems, where query plans, data-processing workloads, and computation graphs consist of dependent tasks competing for limited heterogeneous resource pools. In practice, achieving high-performance execution requires schedulers to adapt across environments with varying resource pools and task types, while generating schedules under tight runtime budgets. We propose WeCAN, an end-to-end reinforcement learning framework for heterogeneous DAG scheduling that addresses task-pool compatibility coefficients and generation-induced optimality gaps. It adopts a two-stage single-pass design: a single forward pass produces task-pool scores and global parameters, followed by a generation map that constructs schedules without repeated network calls. Its weighted cross-attention encoder models task-pool interactions gated by compatibility coefficients, and is size-agnostic to environment fluctuations. Moreover, widely used list-scheduling maps can incur generation-induced optimality gaps from restricted reachability. We introduce an order-space analysis that characterizes the reachable set of generation maps via feasible schedule orders, explains the mechanism behind generation-induced gaps, and yields sufficient conditions for gap elimination. Guided by these conditions, we design a skip-extended realization with an analytically parameterized decreasing skip rule, which enlarges the reachable order set while preserving single-pass efficiency. Experiments on real-world TPC-H query DAGs, resource-intensive workload datasets, and ML-compiler computation graphs demonstrate improved makespan over strong baselines, with inference time comparable to classical heuristics and faster than multi-round neural schedulers.
Edge Generation Scheduling for DAG Tasks Using Deep Reinforcement Learning
TUM School of Engineering and Design, Technical University of Munich(慕尼黑工业大学TUM工程与设计学院);Department of Electrical Engineering and Computer Sciences, University of California Berkeley(加州大学伯克利分校电气工程与计算机科学系)
Deep Q-Learning-Based Intelligent Scheduling for ETL Optimization in Heterogeneous Data Environments
The George Washington University(乔治华盛顿大学);University of Southern California(南加州大学);Washington University in St. Louis(圣路易斯华盛顿大学);The University of Texas at Austin(德克萨斯大学奥斯汀分校)