Skip to main content
QUICK REVIEW

[Paper Review] Accuracy vs. Efficiency: Achieving Both through FPGA-Implementation Aware Neural Architecture Search

Weiwen Jiang, Xinyi Zhang|arXiv (Cornell University)|Jan 31, 2019
Advanced Neural Network ApplicationsComputer Science14 references7 citations
TL;DR

This paper proposes FNAS, a hardware-aware neural architecture search framework for FPGAs that jointly optimizes accuracy and latency. By using a tile-based abstraction model and a novel multi-FPGA scheduling paradigm, FNAS enables fast latency estimation and early pruning of non-compliant architectures, achieving up to 11.13× faster search and meeting strict timing specifications with less than 1% accuracy loss compared to state-of-the-art NAS methods.

ABSTRACT

A fundamental question lies in almost every application of deep neural networks: what is the optimal neural architecture given a specific dataset? Recently, several Neural Architecture Search (NAS) frameworks have been developed that use reinforcement learning and evolutionary algorithm to search for the solution. However, most of them take a long time to find the optimal architecture due to the huge search space and the lengthy training process needed to evaluate each candidate. In addition, most of them aim at accuracy only and do not take into consideration the hardware that will be used to implement the architecture. This will potentially lead to excessive latencies beyond specifications, rendering the resulting architectures useless. To address both issues, in this paper we use Field Programmable Gate Arrays (FPGAs) as a vehicle to present a novel hardware-aware NAS framework, namely FNAS, which will provide an optimal neural architecture with latency guaranteed to meet the specification. In addition, with a performance abstraction model to analyze the latency of neural architectures without training, our framework can quickly prune architectures that do not satisfy the specification, leading to higher efficiency. Experimental results on common data set such as ImageNet show that in the cases where the state-of-the-art generates architectures with latencies 7.81x longer than the specification, those from FNAS can meet the specs with less than 1% accuracy loss. Moreover, FNAS also achieves up to 11.13x speedup for the search process. To the best of the authors' knowledge, this is the very first hardware aware NAS.

Motivation & Objective

  • To address the inefficiency and lack of hardware awareness in existing Neural Architecture Search (NAS) frameworks.
  • To enable NAS to generate DNN architectures that meet specific FPGA latency constraints without sacrificing accuracy.
  • To reduce search time by eliminating architectures that violate timing specifications early in the process.
  • To develop a scalable and accurate latency estimation model for irregular, complex DNN architectures on multi-FPGA systems.
  • To introduce a novel scheduling paradigm that fully exploits parallelism across multiple FPGAs for improved performance.

Proposed method

  • Proposes a tile-based graph model to abstract DNN architectures for FPGA mapping, capturing task granularity, dependencies, and data access patterns.
  • Introduces a performance abstraction model that estimates latency without full training, enabling early pruning of non-compliant architectures.
  • Develops a new multi-FPGA scheduling paradigm that dynamically schedules tasks across FPGAs to maximize parallelism and reduce pipeline stalls.
  • The abstraction model captures complex inter-layer dependencies through additional edges in the task graph, enabling accurate latency prediction.
  • The framework integrates hardware-aware constraints directly into the search process, ensuring only feasible architectures are evaluated.
  • Theoretical analysis of execution latency and pipeline stalls is used to guide the latency estimation in the abstraction model.

Experimental results

Research questions

  • RQ1Can a NAS framework be designed to simultaneously optimize for accuracy and hardware latency on FPGAs?
  • RQ2How can latency be accurately estimated for irregular DNN architectures without full training or hardware synthesis?
  • RQ3What scheduling strategy enables efficient utilization of multiple FPGAs while minimizing pipeline stalls and execution time?
  • RQ4To what extent can hardware-aware pruning reduce search time while maintaining high accuracy?
  • RQ5Can a hardware-aware NAS framework generate architectures that meet strict timing constraints with minimal accuracy degradation?

Key findings

  • FNAS reduces search time by up to 11.13× compared to state-of-the-art NAS, with the highest speedup observed on CIFAR-10.
  • For architectures violating timing specifications, NAS produces models with latencies 7.81× longer than the target; FNAS generates compliant models with less than 1% accuracy loss.
  • On ImageNet, FNAS achieves less than 1% accuracy degradation even under tight timing constraints, demonstrating strong accuracy-efficiency trade-off.
  • The proposed scheduler reduces clock cycles across multiple FPGA accelerators compared to fixed scheduling, demonstrating improved hardware utilization.
  • As timing constraints tighten, FNAS search time decreases due to effective early pruning of infeasible architectures.
  • The abstraction model enables accurate latency estimation without full training, making early-stage pruning feasible and efficient.

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.