Skip to main content
QUICK REVIEW

[Paper Review] Zeus: Understanding and Optimizing GPU Energy Consumption of DNN Training

Jie You, Jae-Won Chung|arXiv (Cornell University)|Aug 12, 2022
Advanced Neural Network ApplicationsComputer Science22 citations
TL;DR

Zeus is an online optimization framework that jointly tunes batch size and GPU power limit to minimize a combined energy-time cost during recurring DNN training jobs, using a Thompson Sampling-based MAB and a just-in-time energy profiler.

ABSTRACT

Training deep neural networks (DNNs) is becoming increasingly more resource- and energy-intensive every year. Unfortunately, existing works primarily focus on optimizing DNN training for faster completion, often without considering the impact on energy efficiency. In this paper, we observe that common practices to improve training performance can often lead to inefficient energy usage. More importantly, we demonstrate that there is a tradeoff between energy consumption and performance optimization. To this end, we propose Zeus, an optimization framework to navigate this tradeoff by automatically finding optimal job- and GPU-level configurations for recurring DNN training jobs. Zeus uses an online exploration-exploitation approach in conjunction with just-in-time energy profiling, averting the need for expensive offline measurements, while adapting to data drifts over time. Our evaluation shows that Zeus can improve the energy efficiency of DNN training by 15.3%-75.8% for diverse workloads.

Motivation & Objective

  • Motivate reducing energy consumption in DNN training while acknowledging tradeoffs with performance.
  • Characterize how batch size and GPU power limit affect energy efficiency and time-to-accuracy across workloads.
  • Develop an online, data-drift-aware optimizer that requires no offline profiling and adapts to recurrent training jobs.
  • Enable integration with existing DNN workflows with minimal code changes.

Proposed method

  • Characterize energy vs. performance tradeoffs for DNN training across batch sizes and GPU power limits.
  • Formulate the optimization objective as a cost C(b,p;η) combining ETA and TTA with a user-defined η.
  • Decouple optimization of batch size and power limit to reduce search space while preserving optimality.
  • Use a just-in-time energy profiler to online-profile AvgPower(b,p) and Throughput(b,p) for power limits given a batch size.
  • Apply Gaussian Thompson Sampling as the MAB policy to select batch sizes across recurrences and update beliefs with observed costs.
  • Prune and adapt exploration for data drift and concurrent jobs using a windowed cost variance and non-stationary handling.

Experimental results

Research questions

  • RQ1How do batch size and GPU power limit jointly influence energy consumption and training time for DNNs?
  • RQ2Can an online, workload-adaptive optimizer minimize a combined energy-time cost without offline profiling?
  • RQ3How does Zeus handle stochastic training, data drift, and concurrent recurrent jobs in production clusters?

Key findings

  • Zeus reduces energy consumption by 15.3%–75.8% across diverse workloads compared to baseline max batch size and max power limit.
  • Training time is reduced by 60.6% relative to baseline configurations.
  • Zeus adapts quickly to data drift and supports multi-GPU settings.
  • The optimizer converges to near-optimal configurations with online profiling and Thompson Sampling.
  • Just-in-time profiling yields negligible overhead while avoiding expensive offline measurements.

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.