arXiv:2611.09093cs.NENov 2026

Manuscript Offprint

arXiv:2611.09093

Two-Layer Evolutionary Scheduling for Machine Learning Jobs in Multi-Cluster Environments

Jingyuan Xu, Changwu Huang, Lemeng Pan, Ke Tang, Xin Yao

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

Jingyuan Xu, Changwu Huang, Member, IEEE, Lemeng Pan, Ke Tang Fellow, IEEE and Xin Yao Fellow, IEEE

Abstract—The rapid growth of large-scale machine learning (ML) workloads has led to unprecedented demands on GPU cluster scheduling systems. However, existing heuristic schedulers struggle to handle the complexity and dynamics of multi-cluster GPU environments, often leading to load imbalance, long queuing delays, and poor alignment to business objectives. This paper formulates the ML scheduling problem in multi-cluster GPU environments as online multi-objective optimization that minimizes the average and maximum weighted queuing times while maximizing GPU time utilization. To solve this optimization problem, we propose EVO-GP, a two-layer evolutionary online scheduling method that decouples global job-to-cluster allocation from intra-cluster GPU resource allocation. At the job-to-cluster allocation layer, an evolutionary algorithm assigns arriving jobs to feasible clusters to promote load balance across clusters. At the resource allocation layer, a priority function automatically learned offline via genetic programming is used to rank jobs and guide GPU allocation within each cluster. Extensive experiments on both real-world data and simulated workloads demonstrate that the proposed EVO-GP method consistently outperforms state-of-the-art baselines, while maintaining superior adaptability and scalability.

Index Terms—Machine learning job scheduling, multi-cluster scheduling, job allocation, resource allocation, evolutionary computation.

I. INTRODUCTION

In recent years, machine learning (ML) techniques, particularly deep learning, have achieved remarkable success across various domains, including speech recognition, robotic control, and medical diagnostics [1], [2]. To meet the growing computational demands associated with ML model training, many leading technology companies have deployed large-scale GPU clusters [3], [4], [5]. However, the inherent complexity and distinctive characteristics of ML jobs often lead to low resource utilization and high operational costs under conventional scheduling strategies [6], [7]. Consequently, designing efficient scheduling strategies for GPU clusters has become a critical research challenge.

Existing GPU cluster schedulers can be broadly classified into three categories. The first category is heuristic sched-

ulers [8], [9], [10], [11], [12], which rely on predefined rules (such as First-In First-Out (FIFO) [8], [9], Shortest Job First (SJF) [10]) to schedule jobs. While simple, these manually designed heuristics lack flexibility and generalization, making them difficult to adapt to dynamic workloads or changing business objectives. The second category consists of Integer Linear Programming (ILP)-based schedulers [13], [14], [15]. However, the strict requirement for linear objectives and constraints restricts their modeling flexibility and scalability in complex real-world environments. The third category encompasses reinforcement learning (RL)-based schedulers [16], [17], [18], [19], which learn scheduling policies from historical data or online interactions. While RL can capture dynamic patterns, the resulting policies lack sufficient interpretability and controllability, hindering the incorporation of domain expertise and making system behaviors difficult to explain [20].

From the perspective of scheduling scenarios, most existing GPU cluster schedulers focus on job scheduling within a single cluster. In real-world operations, however, large-scale GPU clusters often suffer from severe inter-job interference caused by resource contention [21], which can make shared clusters less efficient than dedicated private clusters [22]. Consequently, many systems adopt a cluster partitioning strategy, dividing a single large cluster into several logically isolated virtual clusters (VCs) to reduce management complexity and improve resource utilization [3], [5]. While this approach mitigates interference, it can lead to load imbalance across clusters: when some VCs experience serious queuing delays due to job backlogs, other VCs may remain underutilized, causing resource wastage. A common remedy is to periodically adjust the size of each VC, scaling down those under low loads and scaling up those under high demands [3]. However, such reconfigurations are typically performed only every few days [3], which is insufficient to respond to real-time workload fluctuations and limits the benefit of multi-cluster coordination.

These observations reveal two key research gaps. From the method perspective, existing schedulers are either rigid (heuristics and ILP approaches) or opaque (RL-based methods), making them difficult to jointly optimize multiple objectives while retaining interpretability and ability to incorporate domain knowledge. From the scenario perspective, most work either focused on single-cluster environments or handle multi-cluster settings in an ad hoc and coarse-grained manner, lacking principled mechanisms for online, fine-grained coordination across clusters.

To address these challenges, this paper formulates ML job scheduling in multi-cluster GPU environments as a multi-objective optimization problem that minimizes the average

Jingyuan Xu and Ke Tang is with the Guangdong Provincial Key Laboratory of Brain-inspired Intelligent Computation, Department of Computer Science and Engineering of Southern University of Science and Technology, Shenzhen, China.

Changwu Huang is with the School of AI and Liberal Arts, Beijing Normal-Hong Kong Baptist University, Zhuhai, China.

Lemeng Pan is with the Huawei Technologies Company, Ltd., Shenzhen, China.

Xin Yao is with the School of Data Science, Lingnan University, Hong Kong SAR, China.

Corresponding authors: Changwu Huang (changwuhuang@bnbu.edu.cn) and Xin Yao (xinyao@ln.edu.hk).

and maximum weighted queuing times while maximizing GPU time utilization. Then, we propose EVO-GP, a two-layer evolutionary online scheduling framework for the formulated ML training job scheduling in multi-cluster GPU environments. This new framework adopts a collaborative optimization mechanism that decouples global job allocation from local resource allocation. At the job allocation layer, an evolutionary algorithm dynamically assigns incoming jobs to suitable clusters to ensure global load balance across clusters. At the resource allocation layer, a priority function is automatically learned by genetic programming (GP) and used to determine job priorities and guide GPU allocation within each cluster. Such a framework combines the global search capability of evolutionary algorithms with the interpretability of GP-learned rules.

The main contributions of this paper include:

  • Problem formulation for multi-cluster ML job scheduling. Unlike existing scheduling models that are confined to a single cluster, we explicitly formulate the scheduling problem for rigid ML jobs in heterogeneous multi-cluster environments. The objectives minimize average and maximum weighted queuing times while maximizing resource utilization, aligning with both efficiency and practical requirements.

  • Two-layer evolutionary online scheduling method. We propose EVO-GP, a novel two-layer evolutionary online ML job scheduling method that performs job allocation and resource allocation. The upper layer handles global load balancing via evolutionary search, while the lower layer manages local resource allocation using a learned priority function.

  • Priority function automatically learned by GP. We employ a GP-based approach to automatically discover high-quality, human-interpretable priority functions. This offline learning process reduces reliance on human-designed heuristics and improves adaptability to varying optimization preferences.

  • Comprehensive evaluation and generalization. Extensive experiments on both real-world traces and simulated workloads, in both multi-cluster and single-cluster settings, demonstrate that the proposed EVO-GP consistently outperforms state-of-the-art baselines according to commonly used key metrics. It balances multiple objectives and generalizes well across different cluster environments.

The remainder of this paper is organized as below. Section II formalizes the multi-cluster ML job scheduling problem and briefly reviews the related work. Section III introduces our proposed EVO-GP framework, detailing the evolutionary job allocation algorithm and the GP-based priority function learning method. Section IV presents the experimental setup and analyzes the results. Finally, Section V concludes the paper.

References (36)