U-Boost NAS: Utilization-Boosted Differentiable Neural Architecture Search

Ahmet Caner Yüzügüler, Nikolaos Dimitriadis, Pascal Frossard

Abstract

Optimizing resource utilization in target platforms is key to achieving high performance during DNN inference. While optimizations have been proposed for inference latency, memory footprint, and energy consumption, prior hardware-aware neural architecture search (NAS) methods have omitted resource utilization, preventing DNNs from taking full advantage of the target inference platforms. Modeling resource utilization efficiently and accurately is challenging, especially for widely-used array-based inference accelerators such as Google TPU. In this work, we propose a novel hardware-aware NAS framework that does not only optimize for task accuracy and inference latency, but also for resource utilization. We also propose and validate a new computational model for resource utilization in inference accelerators. By using the proposed NAS framework and the proposed resource utilization model, we achieve 2.8-4× speedup for DNN inference compared to prior hardware-aware NAS methods while attaining similar or improved accuracy in image classification on CIFAR-10 and Imagenet-100 datasets.

Introduction

Modern deep learning hardware, such as Google’s TPU or Tesla’s FSD chip, relies on "systolic arrays"—grids of processing elements (PEs) designed for massive matrix multiplication. However, there is often a significant gap between theoretical peak performance and real-world speed. For example, the average utilization of a TPUv4 is often reported at only about 33%.

The culprit is a mismatch between the neural network's architecture and the hardware's dimensions. If a hardware array is $128 \times 128$ but a convolutional layer has 129 channels, the hardware must run a second cycle just to process that one extra channel, leaving nearly 50% of the chip's power idling. Prior Hardware-Aware NAS (HW-NAS) methods typically treat hardware as a "black box" or focus only on total FLOPs or latency, often missing these subtle but critical "utilization cliffs."

U-Boost NAS Framework

The authors propose U-Boost NAS, which treats hardware utilization as a first-class optimization objective alongside accuracy and latency.

Analytical Utilization Model

They derive a mathematical model for how convolutional layers are tiled onto hardware arrays. This model uses the ceil (ceiling) function to account for how many hardware "tiles" are needed to cover a layer's dimensions.

Differentiable Relaxation

The ceil function is non-differentiable, which breaks standard gradient-based NAS. To fix this, the authors use a generalized logistic function to create a "smooth" approximation of the utilization model. This allows the search algorithm to "feel" the gradient toward more efficient dimensions, avoiding the sharp drops in efficiency seen in the "exact" model.

Figure 3: The exact utilization model exhibits a sawtooth pattern due to tiling effects. U-Boost NAS uses a smooth, differentiable approximation to enable gradient-based optimization.

Multi-Objective Loss

The search uses a loss function that balances three terms: $$\mathcal{L} = \mathcal{L}_{classification} + \lambda \cdot \mathcal{L}_{latency} - \beta \cdot \mathcal{L}_{utilization}$$

Experimental Evaluation

The researchers evaluated their method using CIFAR-10 and ImageNet-100 datasets. Since physical TPU access for every search iteration is impractical, they used a custom cycle-accurate hardware simulator validated against RTL designs, simulating a $128 \times 128$ systolic array. The proposed model was validated against Cloud TPU performance, showing a high degree of correlation and capturing the utilization drops that a simple roofline model misses.

Figure 4: Validation of the proposed utilization model against Cloud TPU performance. The model accurately captures the utilization cliffs compared to a standard roofline model.

Key Insights

  • The Depthwise Convolution Trap: Standard NAS often favors depthwise separable convolutions because they have very low FLOP counts. However, U-Boost NAS reveals that these layers often have abysmal hardware utilization (as low as 1%) on array-based accelerators. U-Boost learns to prefer standard or dilated convolutions that "fill the pipe" better.
  • Alignment is Everything: The search algorithm naturally gravitates toward channel dimensions that are multiples of the hardware array size (e.g., 128 or 256).
  • Beyond Black Boxes: Unlike lookup-table-based NAS (which can't interpolate) or FLOP-based NAS (which ignores hardware structure), the differentiable analytical model allows the optimizer to navigate the complex landscape of hardware efficiency effectively.

Results and Conclusion

Compared to latency-only NAS (like FBNet) or FLOP-based methods, U-Boost NAS achieved 2.8x to 4x speedups in inference time. On ImageNet-100, U-Boost reached a hardware utilization of 91%, whereas traditional FLOP-based NAS resulted in less than 10% utilization. The models produced by U-Boost sit on a significantly better Pareto front, providing higher accuracy at much lower latencies than all baselines. While currently focused on weight-stationary dataflows, U-Boost NAS demonstrates that explicitly modeling hardware utilization is a powerful tool for bridging the gap between theoretical model efficiency and actual hardware performance.

Summary updated

BibTeX
@misc{yuzuguler2022u,
  author = {Ahmet Caner Yüzügüler and Nikolaos Dimitriadis and Pascal Frossard},
  title = {{U-Boost NAS: Utilization-Boosted Differentiable Neural Architecture Search}},
  year = {2022},
  eprint = {2203.12412},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.12412},
}
Figure