Skip to main content
QUICK REVIEW

[Paper Review] Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning

Aurick Qiao, Sang Keun Choe|arXiv (Cornell University)|Aug 27, 2020
Stochastic Gradient Optimization TechniquesComputer Science30 citations
TL;DR

Pollux jointly optimizes per-job configurations (batch size, learning rate, gradient accumulation) and cluster-wide resource allocations by modeling goodput (throughput × efficiency) to maximize overall DL training performance and fairness.

ABSTRACT

Pollux improves scheduling performance in deep learning (DL) clusters by adaptively co-optimizing inter-dependent factors both at the per-job level and at the cluster-wide level. Most existing schedulers expect users to specify the number of resources for each job, often leading to inefficient resource use. Some recent schedulers choose job resources for users, but do so without awareness of how DL training can be re-optimized to better utilize the provided resources. Pollux simultaneously considers both aspects. By monitoring the status of each job during training, Pollux models how their goodput (a novel metric we introduce that combines system throughput with statistical efficiency) would change by adding or removing resources. Leveraging these information, Pollux dynamically (re-)assigns resources to improve cluster-wide goodput, while respecting fairness and continually optimizing each DL job to better utilize those resources. In experiments with real DL jobs and with trace-driven simulations, Pollux reduces average job completion times by 37-50% relative to state-of-the-art DL schedulers, even when they are provided with ideal resource and training configurations for every job. Pollux promotes fairness among DL jobs competing for resources based on a more meaningful measure of useful job progress, and reveals a new opportunity for reducing DL cost in cloud environments. Pollux is implemented and publicly available as part of an open-source project at https://github.com/petuum/adaptdl.

Motivation & Objective

  • Motivate the challenge of efficiently scheduling DL workloads in shared clusters.
  • Propose a co-adaptive scheduling framework that jointly optimizes per-job training parameters and resource allocations.
  • Define goodput to capture both system throughput and statistical efficiency for DL training.
  • Model throughput and efficiency to enable predictive scheduling and dynamic reallocation of resources.
  • Demonstrate substantial reductions in completion times and improvements in fairness compared to state-of-the-art schedulers.

Proposed method

  • Define goodput as the product of system throughput and statistical efficiency for DL training.
  • Model statistical efficiency via gradient noise scale (PGNS) and predict efficiency across batch sizes.
  • Model system throughput with parameters for per-GPU batch size, resource allocation, and gradient accumulation, including overlap between gradient computation and synchronization.
  • Implement a two-level scheduler: PolluxAgent per-job that learns throughput and efficiency models and tunes local training parameters, and PolluxSched cluster-wide that reallocates resources to maximize cluster goodput while considering fairness and reallocation overhead.
  • Provide a plug-in LR scaling interface to accommodate rules like AdaScale, linear, and square-root scaling.
  • Validate models with experiments on real DL tasks and trace-driven simulations, reporting improvements over Tiresias and Optimus and cost reductions in cloud settings.

Experimental results

Research questions

  • RQ1How can goodput, as a joint measure of throughput and efficiency, be defined and predicted for DL training under varying resource allocations?
  • RQ2Can a co-adaptive architecture that tunes per-job training parameters and re-allocates cluster resources outperform existing DL schedulers in completion time and fairness?
  • RQ3How accurately can Pollux model DL job throughput and efficiency across different batch sizes and resource configurations?
  • RQ4What is the impact of gradient accumulation and learning-rate scaling on goodput and overall cluster performance?
  • RQ5What are the potential cost savings of goodput-driven auto-scaling in cloud environments?

Key findings

  • Pollux reduces average job completion time by up to 37%–50% compared to ideal-tuned baselines of state-of-the-art schedulers.
  • Pollux decreases average completion times by up to 73% in experiments versus Tiresias and Optimus.
  • Pollux improves finish-time fairness by 1.5×–5.4×.
  • Pollux demonstrates cluster-wide goodput improvements by dynamically reallocating resources in response to measured goodput models.
  • A cloud-case study suggests up to 25% potential cost reduction for training large models using goodput-driven auto-scaling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.