[Paper Review] Benchmarking the Performance and Power of AI Accelerators for AI Training
This paper benchmarks the performance and energy efficiency of leading AI accelerators—Intel CPU, NVIDIA GPU, AMD GPU, and Google TPU—across diverse deep learning workloads, including CNNs, LSTMs, Deep Speech 2, and Transformers. It reveals significant differences in training time and energy consumption due to hardware design, vendor-optimized libraries, and deep learning frameworks, offering actionable insights for hardware selection and software optimization.
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 major off-the-shelf AI accelerators in training deep neural networks.
- To identify how hardware architecture, vendor-optimized software libraries, and deep learning frameworks collectively influence training efficiency.
- To provide empirical data that guides end-users in selecting optimal AI accelerators for specific workloads.
- To expose gaps and opportunities in current software libraries that could improve performance and energy efficiency on existing hardware.
Proposed method
- Conducted a comprehensive empirical study using a representative set of deep learning workloads: computation-intensive operations, CNNs, LSTMs, Deep Speech 2, and Transformers.
- Measured training time and energy consumption across four processors: Intel CPU, NVIDIA GPU, AMD GPU, and Google TPU.
- Used standardized deep learning frameworks and vendor-provided software libraries to isolate the impact of hardware and software stack.
- Compared results across different workloads to assess variability in performance and energy efficiency.
- Analyzed the contribution of each component—hardware, software library, and framework—on overall training efficiency.
- Employed controlled experimental conditions to ensure fair comparison across vendors and platforms.
Experimental results
Research questions
- RQ1How do different AI accelerators (CPU, GPU, TPU) compare in training time and energy consumption across diverse deep learning workloads?
- RQ2To what extent does the vendor-optimized software library influence the performance and energy efficiency of AI training?
- RQ3How do variations in deep learning frameworks affect the performance and power consumption of AI accelerators?
- RQ4Which hardware-software combinations deliver the best performance-to-energy ratio for specific neural network architectures?
Key findings
- Significant performance differences exist among AI accelerators, with TPUs showing superior training speed for certain workloads like Transformers.
- NVIDIA GPUs achieved the best performance-to-energy ratio for many CNN and LSTM workloads due to highly optimized cuDNN libraries.
- AMD GPUs showed higher energy consumption relative to performance, especially in comparison to NVIDIA and TPU across most benchmarks.
- The choice of deep learning framework had measurable impact on training time and energy use, particularly when combined with suboptimal software libraries.
- Vendor-optimized software libraries contributed substantially to performance gains, with NVIDIA’s cuDNN and Google’s XLA showing notable improvements over generic implementations.
- Energy efficiency varied significantly across workloads, with Transformers and computation-intensive operations showing the most divergent results across hardware platforms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.