Skip to main content
QUICK REVIEW

[Paper Review] A Study on the Intersection of GPU Utilization and CNN Inference

Jack Kosaian, Amar Phanishayee|arXiv (Cornell University)|Dec 15, 2022
Advanced Neural Network ApplicationsComputer Science4 citations
TL;DR

This paper investigates GPU utilization in CNN inference, revealing significant variability across models despite high throughput or accuracy. It proposes using GPU utilization as a lightweight proxy metric in neural architecture search (NAS), demonstrating its potential to accelerate search by reducing reliance on expensive accuracy evaluations, though initial results show limited gains in search time or quality.

ABSTRACT

There has been significant progress in developing neural network architectures that both achieve high predictive performance and that also achieve high application-level inference throughput (e.g., frames per second). Another metric of increasing importance is GPU utilization during inference: the measurement of how well a deployed neural network uses the computational capabilities of the GPU on which it runs. Achieving high GPU utilization is critical to increasing application-level throughput and ensuring a good return on investment for deploying GPUs. This paper analyzes the GPU utilization of convolutional neural network (CNN) inference. We first survey the GPU utilization of CNNs to show that there is room to improve the GPU utilization of many of these CNNs. We then investigate the GPU utilization of networks within a neural architecture search (NAS) search space, and explore how using GPU utilization as a metric could potentially be used to accelerate NAS itself. Our study makes the case that there is room to improve the inference-time GPU utilization of CNNs and that knowledge of GPU utilization has the potential to benefit even applications that do not target utilization itself. We hope that the results of this study will spur future innovation in designing GPU-efficient neural networks.

Motivation & Objective

  • To analyze the GPU utilization of state-of-the-art CNNs used in image classification, revealing underutilization despite high throughput or accuracy.
  • To investigate whether techniques that increase arithmetic intensity can improve GPU utilization in general-purpose CNNs.
  • To evaluate whether GPU utilization can serve as a low-cost proxy metric for accuracy in neural architecture search (NAS), reducing search time and resource usage.
  • To explore the feasibility of using GPU utilization for approximate filtering in NAS, minimizing the need for full training evaluations.

Proposed method

  • Surveyed GPU utilization across a range of manually designed and NAS-identified CNNs, measuring utilization via throughput and FLOPs analysis.
  • Analyzed arithmetic intensity as a key driver of GPU utilization and applied techniques from prior work (Kosaian et al., 2021) to improve it in general-purpose CNNs.
  • Evaluated GPU utilization and accuracy across models in the NATS-Bench search space to identify correlations.
  • Adapted approximate filtering from data systems to NAS, using GPU utilization as a pre-filter to reduce the number of candidates requiring full accuracy training.
  • Conducted NAS simulations using reinforcement learning and approximate filtering, comparing Pareto frontiers of accuracy vs. throughput.
  • Measured resource efficiency by comparing GPU, network, and storage bandwidth usage between full accuracy evaluation and GPU utilization estimation.

Experimental results

Research questions

  • RQ1To what extent do state-of-the-art CNNs achieve high GPU utilization during inference, despite high throughput or accuracy?
  • RQ2Can techniques that increase arithmetic intensity—previously used for specialized CNNs—improve GPU utilization in general-purpose CNNs?
  • RQ3Is there a meaningful correlation between GPU utilization and model accuracy within a NAS search space?
  • RQ4Can GPU utilization serve as an effective, low-cost proxy metric to accelerate NAS by reducing the number of full accuracy evaluations?
  • RQ5What are the trade-offs in search efficiency and solution quality when using GPU utilization for approximate filtering in NAS?

Key findings

  • Many high-throughput and high-accuracy CNNs exhibit suboptimal GPU utilization, indicating untapped potential for performance improvement.
  • Techniques to increase arithmetic intensity successfully improved GPU utilization and throughput in general-purpose CNNs, suggesting transferability of prior methods.
  • A positive correlation was observed between GPU utilization and accuracy within the NATS-Bench search space, supporting the use of utilization as a proxy metric.
  • Approximate filtering using GPU utilization reduced the number of candidates requiring full accuracy evaluation, though the resulting Pareto frontiers were only marginally better than baseline methods.
  • Evaluating GPU utilization required only a single GPU and consumed no network or storage bandwidth, making it significantly more resource-efficient than full accuracy training.
  • While no major gains in search time or solution quality were observed, the resource efficiency of GPU utilization evaluation suggests it could improve NAS scalability in datacenter and cloud environments.

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.