Skip to main content
QUICK REVIEW

[Paper Review] Hardware/Software Co-Exploration of Neural Architectures

Weiwen Jiang, Lei Yang|arXiv (Cornell University)|Jul 6, 2019
Advanced Neural Network ApplicationsComputer Science40 references16 citations
TL;DR

This paper proposes a hardware/software co-exploration framework for neural architecture search (NAS) that jointly optimizes neural architecture and FPGA hardware design spaces to maximize accuracy and hardware efficiency. By using a two-level (fast and slow) iterative exploration—where fast pruning eliminates low-efficiency architectures without full training, and slow reinforcement learning refines top candidates—it achieves 35.24% higher throughput and 54.05% higher energy efficiency than hardware-aware NAS on ImageNet, while maintaining comparable accuracy.

ABSTRACT

We propose a novel hardware and software co-exploration framework for efficient neural architecture search (NAS). Different from existing hardware-aware NAS which assumes a fixed hardware design and explores the neural architecture search space only, our framework simultaneously explores both the architecture search space and the hardware design space to identify the best neural architecture and hardware pairs that maximize both test accuracy and hardware efficiency. Such a practice greatly opens up the design freedom and pushes forward the Pareto frontier between hardware efficiency and test accuracy for better design tradeoffs. The framework iteratively performs a two-level (fast and slow) exploration. Without lengthy training, the fast exploration can effectively fine-tune hyperparameters and prune inferior architectures in terms of hardware specifications, which significantly accelerates the NAS process. Then, the slow exploration trains candidates on a validation set and updates a controller using the reinforcement learning to maximize the expected accuracy together with the hardware efficiency. Experiments on ImageNet show that our co-exploration NAS can find the neural architectures and associated hardware design with the same accuracy, 35.24% higher throughput, 54.05% higher energy efficiency and 136x reduced search time, compared with the state-of-the-art hardware-aware NAS.

Motivation & Objective

  • Address the limitation of existing hardware-aware NAS, which fixes hardware platforms and only explores neural architecture space, leading to suboptimal design tradeoffs.
  • Enable joint exploration of both neural architecture and hardware design spaces to expand design freedom and improve the Pareto frontier between accuracy and hardware efficiency.
  • Accelerate the NAS process by introducing a fast, lightweight pruning phase that evaluates hardware efficiency without full training.
  • Ensure final models meet real-time constraints (e.g., 10 FPS) by co-optimizing for timing specifications during search.
  • Demonstrate that model size alone cannot guarantee hardware efficiency, proving the necessity of co-exploration due to structural sensitivity in hardware mapping.

Proposed method

  • Implement a two-level iterative exploration: a fast phase for rapid hardware efficiency estimation and pruning of inferior architectures, and a slow phase for full training and policy gradient-based controller update.
  • Use the BLAST framework to partition neural networks onto multiple FPGAs for accurate hardware efficiency estimation (throughput, energy efficiency) during the fast phase.
  • Integrate reinforcement learning in the slow phase to maximize a multi-objective reward combining expected accuracy and hardware efficiency.
  • Treat hardware design space as first-class citizens in NAS, allowing exploration of custom FPGA configurations tailored to each neural architecture.
  • Support multiple hardware metrics (e.g., area, cost, power, reliability) as optimization objectives, with a focus on throughput and energy efficiency in the evaluation.
  • Extend existing NAS frameworks by adding hardware co-design capability, enabling plug-in integration with state-of-the-art NAS pipelines.

Experimental results

Research questions

  • RQ1Can jointly exploring neural architecture and hardware design spaces lead to better tradeoffs between accuracy and hardware efficiency than sequential or fixed-hardware NAS?
  • RQ2Does fast, hardware-efficiency-based pruning without full training significantly accelerate the NAS process while preserving search quality?
  • RQ3Can co-exploration identify architectures that meet strict real-time constraints (e.g., 10 FPS) where hardware-aware NAS fails?
  • RQ4How does the coupling between architecture structure and hardware efficiency affect design space exploration, and can it be leveraged to improve search outcomes?
  • RQ5To what extent does opening the hardware design space expand the Pareto frontier of accuracy versus hardware efficiency compared to fixed-hardware approaches?

Key findings

  • The co-exploration framework achieves 35.24% higher throughput and 54.05% higher energy efficiency than hardware-aware NAS on ImageNet, while maintaining comparable test accuracy.
  • On CIFAR-10 with Xilinx XC7Z015 FPGA, the co-exploration approach (design C) achieved 16.33% higher throughput and 28.80% higher energy efficiency than sequential optimization of a hardware-aware NAS model.
  • The framework successfully identified models meeting a 10 FPS timing constraint, whereas ProxylessNet and MobileNetV2 failed to meet this benchmark.
  • Compared to manually designed MobileNetV2, the co-exploration framework achieved 2.33× higher throughput and 1.57× higher energy efficiency with only 0.47% top-5 accuracy loss.
  • When compared to ProxylessNet, the co-exploration framework achieved 90.53% top-5 accuracy (vs. 92.50%) while meeting the 10 FPS requirement, demonstrating a better tradeoff in real-time systems.
  • The study confirms that model size alone cannot predict hardware efficiency—architectures with similar size can have vastly different hardware efficiency (e.g., 1.29% to 98.35%), proving the necessity of co-exploration.

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.