Skip to main content
QUICK REVIEW

[Paper Review] Compute and Energy Consumption Trends in Deep Learning Inference

Radosvet Desislavov, Fernando Martínez‐Plumed|arXiv (Cornell University)|Sep 12, 2021
Advanced Neural Network ApplicationsComputer Science55 references43 citations
TL;DR

This paper analyzes how inference compute (FLOPs) and energy consumption in DNNs evolve, showing that hardware and algorithmic advances soften energy growth for high-performance models, though exponential trends persist for cutting-edge models.

ABSTRACT

The progress of some AI paradigms such as deep learning is said to be linked to an exponential growth in the number of parameters. There are many studies corroborating these trends, but does this translate into an exponential increase in energy consumption? In order to answer this question we focus on inference costs rather than training costs, as the former account for most of the computing effort, solely because of the multiplicative factors. Also, apart from algorithmic innovations, we account for more specific and powerful hardware (leading to higher FLOPS) that is usually accompanied with important energy efficiency optimisations. We also move the focus from the first implementation of a breakthrough paper towards the consolidated version of the techniques one or two year later. Under this distinctive and comprehensive perspective, we study relevant models in the areas of computer vision and natural language processing: for a sustained increase in performance we see a much softer growth in energy consumption than previously anticipated. The only caveat is, yet again, the multiplicative factor, as future AI increases penetration and becomes more pervasive.

Motivation & Objective

  • Assess whether inference energy costs grow exponentially with model size and performance.
  • Differentiate between training and inference costs to focus on real-world deployment energy use.
  • Evaluate how hardware improvements and algorithmic advances impact energy efficiency over time.
  • Provide a comprehensive, publicly accessible dataset of models, FLOPs, and hardware metrics for CV and NLP.

Proposed method

  • Aggregate inference FLOPs for CV and NLP models from literature and repositories.
  • Compile hardware data (Nvidia GPUs) from 2010–2021 to estimate FLOPs per Watt.
  • Use FLOPs per Watt to estimate energy per forward pass (FLOPs divided by FLOPs per Watt).
  • Differentiate between model progress (accuracy) and compute through plots of GFLOPs vs. performance.
  • Analyze trends for ImageNet (CV) and GLUE (NLP) benchmarks.

Experimental results

Research questions

  • RQ1Does inference energy consumption grow exponentially with model performance, or do efficiency gains mitigate growth over time?
  • RQ2How do hardware improvements and model algorithmic innovations interact to influence energy per inference?
  • RQ3Are there identifiable epochs where efficiency plateaus or accelerates for CV and NLP models?
  • RQ4What is the relationship between model size (FLOPs) and accuracy over time in real-world deployments?
  • RQ5How does the energy per inference compare to human energy benchmarks and broader energy use trends?

Key findings

  • Energy growth for state-of-the-art models is exponential in FLOPs, but efficiency gains and hardware specialization soften this growth for many models over time.
  • Algorithmic improvements (e.g., efficient architectures) enable higher accuracy without proportional increases in FLOPs.
  • Hardware advances (GPUs/accelerators) increase FLOPS/Watt, with notable efficiency jumps (e.g., 2018 T4 mixed precision).
  • In CV, models with similar FLOPs in earlier years achieve much higher accuracy later, indicating algorithmic progress beyond raw compute.
  • In NLP, GLUE-score improvements accompany rising GFLOPs, but many efficient models emerge (MobileBERT, SqueezeBERT) that balance performance and compute.
  • Estimated energy per forward pass (Joules) grows more slowly than FLOPs due to hardware efficiency, yet cutting-edge models still show rapid energy increase.

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.