Skip to main content
QUICK REVIEW

[Paper Review] Great Power, Great Responsibility: Recommendations for Reducing Energy for Training Language Models

J.C. McDonald, Baolin Li|arXiv (Cornell University)|May 19, 2022
Topic ModelingComputer Science5 citations
TL;DR

This paper proposes energy-reduction techniques for training and inferring large language models, focusing on power-capping and energy-aware scheduling in datacenters. It demonstrates that power-capping can reduce energy use by 15% with minimal impact on training time, offering a practical, non-intrusive method to lower the carbon footprint of NLP workloads without affecting model accuracy or performance.

ABSTRACT

The energy requirements of current natural language processing models continue to grow at a rapid, unsustainable pace. Recent works highlighting this problem conclude there is an urgent need for methods that reduce the energy needs of NLP and machine learning more broadly. In this article, we investigate techniques that can be used to reduce the energy consumption of common NLP applications. In particular, we focus on techniques to measure energy usage and different hardware and datacenter-oriented settings that can be tuned to reduce energy consumption for training and inference for language models. We characterize the impact of these settings on metrics such as computational performance and energy consumption through experiments conducted on a high performance computing system as well as popular cloud computing platforms. These techniques can lead to significant reduction in energy consumption when training language models or their use for inference. For example, power-capping, which limits the maximum power a GPU can consume, can enable a 15\% decrease in energy usage with marginal increase in overall computation time when training a transformer-based language model.

Motivation & Objective

  • To address the rapidly growing energy consumption of large language models in NLP and machine learning.
  • To identify practical, non-intrusive techniques that reduce energy usage during training and inference without compromising model accuracy.
  • To promote awareness and action within the NLP research community regarding environmental impact and energy efficiency.
  • To provide measurable, hardware- and datacenter-configurable methods for reducing energy consumption in AI workloads.
  • To advocate for integrating energy efficiency into research practices, including reporting energy use and optimizing hyperparameter tuning.

Proposed method

  • Power-capping is applied to limit the maximum power draw of GPUs during training, reducing energy consumption without altering model weights or performance.
  • Energy-aware scheduling is used to run experiments during low-usage periods when cooling and power demands are reduced.
  • Experiments are conducted on both a high-performance computing cluster and cloud platforms to evaluate energy and performance trade-offs.
  • Energy consumption is measured and reported using real-time monitoring, with a focus on carbon-free power sources to minimize environmental impact.
  • The study evaluates the impact of hardware configuration, datacenter PUE (Power Usage Effectiveness), and system load on energy efficiency.
  • A framework for tracking and reporting energy usage is proposed to support transparency and accountability in AI research.

Experimental results

Research questions

  • RQ1How can power-capping be effectively applied to reduce GPU energy consumption during language model training?
  • RQ2What is the trade-off between energy savings and training time when applying power-capping in NLP workloads?
  • RQ3How do datacenter characteristics such as PUE and cooling efficiency affect the overall energy consumption of AI training?
  • RQ4To what extent can energy-aware scheduling reduce total energy usage without impacting model performance?
  • RQ5What systemic changes in research practices can reduce the environmental footprint of NLP model development?

Key findings

  • Power-capping reduces energy consumption by up to 15% during training of a transformer-based language model with only a marginal increase in training time.
  • The same model architecture and hyperparameters produce identical weights and performance under different power-capping settings, confirming that accuracy is unaffected.
  • Energy savings are significantly amplified when power-capping is combined with energy-aware scheduling, especially during low-usage periods on carbon-free power sources.
  • The total energy consumption of the experiments in this study was 782 kWh, with 760 kWh consumed on a hydroelectric-powered HPC cluster, minimizing carbon emissions.
  • Datacenter power efficiency (PUE) and cooling load have a measurable impact on total energy use, highlighting the importance of infrastructure awareness in research planning.
  • The study demonstrates that energy reduction is achievable through system-level tuning without modifying model architecture or training algorithms.

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.