[Paper Review] Standing on the Shoulders of Giants: Hardware and Neural Architecture Co-Search with Hot Start
HotNAS proposes a hardware and neural architecture co-search framework that starts from pre-trained models (a 'hot start') to reduce search time from hundreds of GPU hours to under 3 GPU hours. By integrating model compression into a co-design pipeline with hardware-aware neural architecture search, HotNAS achieves up to 5.79% Top-1 and 3.97% Top-5 accuracy gains on ImageNet with 5ms latency constraints on Xilinx FPGAs.
Hardware and neural architecture co-search that automatically generates Artificial Intelligence (AI) solutions from a given dataset is promising to promote AI democratization; however, the amount of time that is required by current co-search frameworks is in the order of hundreds of GPU hours for one target hardware. This inhibits the use of such frameworks on commodity hardware. The root cause of the low efficiency in existing co-search frameworks is the fact that they start from a "cold" state (i.e., search from scratch). In this paper, we propose a novel framework, namely HotNAS, that starts from a "hot" state based on a set of existing pre-trained models (a.k.a. model zoo) to avoid lengthy training time. As such, the search time can be reduced from 200 GPU hours to less than 3 GPU hours. In HotNAS, in addition to hardware design space and neural architecture search space, we further integrate a compression space to conduct model compressing during the co-search, which creates new opportunities to reduce latency but also brings challenges. One of the key challenges is that all of the above search spaces are coupled with each other, e.g., compression may not work without hardware design support. To tackle this issue, HotNAS builds a chain of tools to design hardware to support compression, based on which a global optimizer is developed to automatically co-search all the involved search spaces. Experiments on ImageNet dataset and Xilinx FPGA show that, within the timing constraint of 5ms, neural architectures generated by HotNAS can achieve up to 5.79% Top-1 and 3.97% Top-5 accuracy gain, compared with the existing ones.
Motivation & Objective
- Address the inefficiency of current hardware and neural architecture co-search frameworks that require hundreds of GPU hours per target hardware.
- Overcome the bottleneck of cold-start search by leveraging existing pre-trained models from a model zoo to accelerate convergence.
- Integrate model compression into the co-search space to reduce latency while maintaining accuracy.
- Develop a globally optimized, coupled search pipeline across hardware design, neural architecture, and compression spaces.
- Enable fast, accurate, and hardware-aware model generation for real-time edge applications with strict timing constraints.
Proposed method
- Initiate the search from a 'hot start' using a pre-existing model zoo containing manually designed, NAS-identified, or transfer-learned models.
- Use iDetect to identify hardware performance bottlenecks (e.g., memory bandwidth, compute utilization) in candidate models.
- Construct an iSpace search space based on iDetect results, including neural architecture variations (e.g., depth, width, kernel size), hardware loop tiling, and compression techniques (e.g., pruning).
- Employ iSearch, a reinforcement learning-based optimizer with a reward function weighted by accuracy and latency (controlled via hyperparameter α), to co-optimize across all search spaces.
- Utilize iDesign to build a performance model that predicts latency and resource usage for candidate designs, enabling fast evaluation without full synthesis.
- Apply a two-stage fine-tuning process: fast-search with small batch size (β=10) for rapid exploration, followed by full-precision fine-tuning (β=195) for final accuracy validation.
Experimental results
Research questions
- RQ1Can starting from a 'hot' state using pre-trained models significantly reduce the time required for hardware and neural architecture co-search?
- RQ2How does integrating model compression into the co-search space affect the trade-off between latency, accuracy, and hardware efficiency?
- RQ3To what extent can the coupling of hardware design, neural architecture, and compression spaces be effectively co-optimized to meet strict timing constraints?
- RQ4Can the proposed framework achieve state-of-the-art accuracy while reducing search time from hundreds of GPU hours to under 3 hours?
- RQ5How does the choice of reward function hyperparameter α influence the balance between accuracy and latency in the final design?
Key findings
- HotNAS reduces search time from approximately 200 GPU hours (cold start) to less than 3 GPU hours for ImageNet and 20 minutes for CIFAR-10, without using proxy datasets.
- On ImageNet with a 5ms latency constraint on Xilinx ZCU 102 FPGA, HotNAS achieves 5.79% Top-1 and 3.97% Top-5 accuracy gain over state-of-the-art models.
- For CIFAR-10, HotNAS improves accuracy by up to 0.10% (MobileNet) and reduces latency by up to 48.26% (BitNet), with a 20-minute search time using fast-search mode.
- The fast-search mode (β=10) achieves competitive accuracy—e.g., 0.11% higher than 1-epoch-search for DenseNet—while reducing search time to under 20 minutes.
- The reward function with α=0.7 (accuracy-focused) converges after ~160 episodes and produces models near the 2ms latency threshold, while α=0.3 (latency-focused) converges faster (~120 episodes) with lower latency.
- When latency constraints are violated, training is terminated early to accelerate search, demonstrating the framework’s efficiency in filtering infeasible designs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.