Skip to main content
QUICK REVIEW

[Paper Review] Generalized Latency Performance Estimation for Once-For-All Neural Architecture Search

Muhtadyuzzaman Syed, Arvind Akpuram Srinivasan|arXiv (Cornell University)|Jan 4, 2021
Advanced Neural Network ApplicationsComputer Science8 references5 citations
TL;DR

This paper proposes a generalized latency prediction framework for Once-For-All Neural Architecture Search (OFA) that replaces hardware-specific lookup tables with learnable latency predictors. By introducing fine-tuning and GPU-generalization strategies, the method achieves over 50% lower RMSE than ProxylessNAS and matches or exceeds baseline performance across diverse hardware platforms, significantly reducing manual effort and enabling efficient, hardware-agnostic NAS.

ABSTRACT

Neural Architecture Search (NAS) has enabled the possibility of automated machine learning by streamlining the manual development of deep neural network architectures defining a search space, search strategy, and performance estimation strategy. To solve the need for multi-platform deployment of Convolutional Neural Network (CNN) models, Once-For-All (OFA) proposed to decouple Training and Search to deliver a one-shot model of sub-networks that are constrained to various accuracy-latency tradeoffs. We find that the performance estimation strategy for OFA's search severely lacks generalizability of different hardware deployment platforms due to single hardware latency lookup tables that require significant amount of time and manual effort to build beforehand. In this work, we demonstrate the framework for building latency predictors for neural network architectures to address the need for heterogeneous hardware support and reduce the overhead of lookup tables altogether. We introduce two generalizability strategies which include fine-tuning using a base model trained on a specific hardware and NAS search space, and GPU-generalization which trains a model on GPU hardware parameters such as Number of Cores, RAM Size, and Memory Bandwidth. With this, we provide a family of latency prediction models that achieve over 50% lower RMSE loss as compared to with ProxylessNAS. We also show that the use of these latency predictors match the NAS performance of the lookup table baseline approach if not exceeding it in certain cases.

Motivation & Objective

  • Address the lack of generalizability in OFA’s hardware-specific latency lookup tables, which require extensive manual calibration per platform.
  • Reduce the computational and human cost of building latency lookup tables for new hardware platforms in NAS.
  • Enable efficient, hardware-agnostic latency estimation for Once-For-All NAS to support multi-platform deployment of CNN models.
  • Develop a scalable, trainable latency prediction framework that maintains high accuracy across diverse hardware configurations.
  • Demonstrate that learned latency predictors can match or surpass the performance of traditional lookup table-based NAS while minimizing training overhead.

Proposed method

  • Train a base latency predictor on a specific hardware platform (e.g., Samsung Note 10) using a dataset of CNN layer configurations and measured latencies.
  • Apply fine-tuning to adapt the base model to new hardware platforms using a small, targeted dataset (80% smaller than full training data).
  • Introduce GPU-generalization by training a latency predictor that takes GPU hardware parameters (cores, RAM size, memory bandwidth) as input features.
  • Construct a unified latency prediction model that generalizes across multiple hardware platforms using transfer learning and architectural adaptation.
  • Use the trained latency predictors as performance estimators in the NAS search loop, replacing lookup tables for efficient architecture evaluation.
  • Evaluate the framework across four hardware platforms: Samsung Galaxy Note 10, Intel Xeon CPU, RTX 2080 Ti GPU, and Tesla P40 GPU.

Experimental results

Research questions

  • RQ1Can a single latency predictor generalize effectively across diverse hardware platforms without requiring per-platform lookup tables?
  • RQ2How does fine-tuning a pre-trained latency predictor on a new hardware platform compare to training from scratch in terms of accuracy and data efficiency?
  • RQ3To what extent can a latency predictor trained on GPU parameters (e.g., core count, memory bandwidth) generalize across different GPU models?
  • RQ4Does using learned latency predictors in NAS degrade model accuracy or search efficiency compared to baseline lookup table methods?
  • RQ5What is the trade-off between prediction accuracy (RMSE) and data efficiency when applying transfer learning to latency estimation in NAS?

Key findings

  • The proposed latency predictors achieve over 50% lower RMSE compared to the ProxylessNAS baseline, demonstrating superior prediction accuracy.
  • Fine-tuned models trained on just 20% of the original dataset achieve performance on par with hardware-specific lookup tables, significantly reducing data and training overhead.
  • The fine-tuned latency predictors match or exceed the NAS performance of the lookup table baseline, with no degradation in model accuracy or search efficiency.
  • The GPU-generalization strategy enables a single model to predict latency across multiple GPU types using hardware configuration as input, reducing the need for per-GPU calibration.
  • On the RTX 2080 Ti, the fine-tuned latency predictor outperforms both the lookup table and direct measurement approaches for certain latency constraints, indicating improved robustness.
  • The framework enables efficient, multi-platform NAS without requiring manual latency measurements per hardware, drastically reducing CO2 emissions and GPU hours.

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.