Neural Architecture Design for GPU-Efficient Networks

Ming Lin, Hesen Chen, Xiuyu Sun, Qi Qian, Hao Li, Rong JinarXiv 2020

Introduction

Modern deep learning relies heavily on Graphics Processing Units (GPUs) for inference. However, traditional neural architecture design often prioritizes reducing Floating Point Operations (FLOPs) or parameter counts, assuming these metrics correlate directly with speed. This paper challenges that assumption, introducing GENets (GPU-Efficient Networks)—a family of models optimized specifically for GPU hardware characteristics. GENets achieve over 81% top-1 accuracy on ImageNet while running up to 6.4 times faster than EfficientNet.

The FLOPs-Latency Disconnect

The core motivation for GENets is the observation that FLOPs are a poor proxy for latency on modern parallel processors like the NVIDIA V100 or T4. These GPUs feature thousands of CUDA cores and high memory bandwidth, favoring high parallelism. Many "efficient" architectures, such as EfficientNet, utilize depth-wise convolutions that reduce FLOPs but often underutilize GPU cores and increase memory access overhead.

Figure 4: Analysis of latency versus Batch Size (a), FLOPs (b), and number of parameters (c) for various architectures. Note the non-linear relationship between FLOPs/parameters and actual GPU latency.

As shown in the figure above, models with lower FLOPs can exhibit significantly higher latency than their "heavier" counterparts if they fail to saturate the hardware's computational capacity. This "FLOPs-latency gap" is a critical bottleneck in deploying high-performance models.

Methodology: Hybrid Design and LLR-NAS

To bridge this gap, the authors propose a two-pronged strategy:

1. Hybrid Architecture Design

By analyzing the "intrinsic rank" of convolutional kernels, the authors found that early layers (low-level features) require high-rank kernels to capture complex information. Consequently, GENets use full convolutions in the initial stages to saturate GPU cores. As the network goes deeper, the intrinsic rank decays, allowing for the use of more computationally efficient depth-wise convolutions or bottleneck structures without losing accuracy.

2. Local-Linear-Regression NAS (LLR-NAS)

To find the optimal configuration of these blocks, the authors developed LLR-NAS. Unlike traditional "brute-force" search methods, LLR-NAS is a lightweight approach that starts with a manually designed "MasterNet."

Figure 6: The MasterNet backbone used as the starting point for the LLR-NAS process.

The algorithm uses a linear model to predict how structural changes (width, depth, block type) affect accuracy and latency, efficiently identifying the Pareto-optimal frontier for GPU performance with minimal computational cost.

Experimental Results

Evaluated on ImageNet, GENets demonstrate superior efficiency across various precisions (FP16, INT8) and hardware (V100, T4):

  • GENet-large achieves 81.3% top-1 accuracy and is 6.4x faster than EfficientNet-B3 on an NVIDIA T4 (INT8).
  • GENet-normal (80.0% accuracy) outperforms OFANet-595M by 4.2x in speed at the same accuracy level.
  • The models show excellent transferability; designs optimized for the V100 remain highly efficient on the T4, validating the underlying hardware-aware principles.

Conclusion and Future Directions

GENets prove that understanding hardware-specific bottlenecks—like memory bandwidth and core utilization—is more critical for real-world performance than optimizing for theoretical metrics like FLOPs. While currently focused on NVIDIA GPUs and inference latency, future work could extend these principles to other accelerators and explore speedups during the training phase.

Summary updated

BibTeX
@misc{lin2020neural,
  author = {Ming Lin and Hesen Chen and Xiuyu Sun and Qi Qian and Hao Li and Rong Jin},
  title = {{Neural Architecture Design for GPU-Efficient Networks}},
  year = {2020},
  eprint = {2006.14090},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.14090},
}
Figure