Skip to main content
QUICK REVIEW

[Paper Review] Benchmarking the Performance and Energy Efficiency of AI Accelerators for AI Training

Yuxin Wang, Qiang Wang|arXiv (Cornell University)|Sep 15, 2019
Advanced Neural Network ApplicationsComputer Science42 references6 citations
TL;DR

This paper benchmarks the performance and energy efficiency of Intel CPU, NVIDIA and AMD GPUs, and Google TPUs for deep learning training across diverse workloads including CNNs, RNNs, Transformers, and Deep Speech 2. Using a comprehensive evaluation framework, it reveals significant differences in performance and energy consumption across hardware and software stacks, offering actionable insights for hardware selection and optimization opportunities in AI accelerators.

ABSTRACT

Deep learning has become widely used in complex AI applications. Yet, training a deep neural network (DNNs) model requires a considerable amount of calculations, long running time, and much energy. Nowadays, many-core AI accelerators (e.g., GPUs and TPUs) are designed to improve the performance of AI training. However, processors from different vendors perform dissimilarly in terms of performance and energy consumption. To investigate the differences among several popular off-the-shelf processors (i.e., Intel CPU, NVIDIA GPU, AMD GPU, and Google TPU) in training DNNs, we carry out a comprehensive empirical study on the performance and energy efficiency of these processors by benchmarking a representative set of deep learning workloads, including computation-intensive operations, classical convolutional neural networks (CNNs), recurrent neural networks (LSTM), Deep Speech 2, and Transformer. Different from the existing end-to-end benchmarks which only present the training time, We try to investigate the impact of hardware, vendor's software library, and deep learning framework on the performance and energy consumption of AI training. Our evaluation methods and results not only provide an informative guide for end-users to select proper AI accelerators, but also expose some opportunities for the hardware vendors to improve their software library.

Motivation & Objective

  • To evaluate and compare the performance and energy efficiency of leading AI accelerators—Intel CPU, NVIDIA and AMD GPUs, and Google TPUs—on real-world deep learning workloads.
  • To analyze the impact of hardware architecture, vendor-optimized software libraries (e.g., cuDNN, ROCm, TensorFlow), and deep learning frameworks on training performance and energy consumption.
  • To provide empirical guidance for end-users in selecting cost-effective and efficient AI accelerators for model training under budget and performance constraints.
  • To expose performance bottlenecks and optimization opportunities for hardware and software vendors, particularly in kernel-level utilization and energy efficiency.

Proposed method

  • Benchmarked a representative set of deep learning workloads: computation-intensive operations, CNNs, LSTMs, Deep Speech 2, and Transformers.
  • Measured end-to-end training performance (samples/sec) and energy consumption (J/sample) across multiple hardware platforms under identical configurations.
  • Evaluated both low-level operations and full model training to isolate the impact of hardware and software stack components.
  • Used standardized frameworks (e.g., TensorFlow) and vendor-optimized libraries (cuDNN, ROCm, MKLDNN) to ensure realistic performance assessment.
  • Applied the roofline model to analyze performance limits and identify software inefficiencies in GPU utilization.
  • Collected results across multiple generations of GPUs (P100, V100, Titan X) and TPUs (Cloud TPU v2/v3), including power and energy metrics.

Experimental results

Research questions

  • RQ1How do different AI accelerators (CPU, GPU, TPU) compare in training performance and energy efficiency across diverse deep learning workloads?
  • RQ2To what extent does the choice of software library (e.g., cuDNN, ROCm) and framework affect the performance and energy consumption of AI training?
  • RQ3What are the performance and energy trade-offs between high-end GPUs (NVIDIA) and emerging alternatives (AMD Radeon VII) for training DNNs?
  • RQ4How does hardware-specific optimization in TPUs compare to GPU-based accelerators in terms of throughput and energy efficiency?
  • RQ5What are the key bottlenecks in current AI accelerator stacks that limit performance and energy efficiency?

Key findings

  • Google TPU v3 delivered the highest throughput (up to 35,772.93 samples/sec) on Transformer models, significantly outperforming GPUs and CPUs.
  • AMD Radeon VII achieved 275.50 samples/sec on ResNet-50 training, outperforming the NVIDIA Titan X (260.15 samples/sec) and approaching V100 performance.
  • Energy efficiency varied significantly: V100(MP) achieved the lowest energy consumption at 0.0066 J/sample on ResNet-50, while CPU consumed 300.12 J/sample, indicating high inefficiency for general-purpose processors.
  • NVIDIA V100 GPUs demonstrated superior performance-to-energy ratios, with 0.0088 J/sample on ResNet-50, compared to 0.0123 J/sample on P100 and 0.0198 J/sample on Radeon VII.
  • The Titan X (Pascal) showed inconsistent performance on larger models, with OOM (out of memory) errors on some workloads, highlighting memory limitations.
  • Performance disparities were observed even among GPUs with similar raw compute capacity, indicating that software stack and kernel optimization play a critical role in real-world efficiency.

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.