arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.23249cs.LGcs.AImath.OC
收藏

一种具有间隙感知生成的异构DAG调度学习方法

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

AI总结:

提出WeCAN,一种端到端强化学习框架,通过加权交叉注意力编码器建模任务-资源池兼容性,并引入跳序扩展生成机制消除调度间隙,在TPC-H等真实DAG上优于强基线。

摘要:

有向无环图(DAG)的高效调度是大规模数据密集型计算系统的核心问题,其中查询计划、数据处理工作负载和计算图由依赖任务组成,这些任务竞争有限的异构资源池。在实践中,实现高性能执行需要调度器适应具有不同资源池和任务类型的环境,同时在严格运行时预算下生成调度。我们提出WeCAN,一种用于异构DAG调度的端到端强化学习框架,解决了任务-资源池兼容系数和生成诱导的最优性间隙。它采用两阶段单次通过设计:单次前向传播产生任务-资源池分数和全局参数,随后通过生成映射构建调度,无需重复网络调用。其加权交叉注意力编码器通过兼容系数门控建模任务-资源池交互,并且对环境波动具有规模无关性。此外,广泛使用的列表调度映射可能因受限可达性而产生生成诱导的最优性间隙。我们引入一种顺序空间分析,通过可行调度顺序刻画生成映射的可达集,解释生成诱导间隙的机制,并给出间隙消除的充分条件。在这些条件指导下,我们设计了一种跳序扩展实现,具有解析参数化的递减跳序规则,在保持单次通过效率的同时扩大可达顺序集。在真实TPC-H查询DAG、资源密集型工作负载数据集和ML编译器计算图上的实验表明,相比强基线,我们改善了完工时间,推理时间与经典启发式相当,且快于多轮神经调度器。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑