Abstract
NASAIC is a novel framework that jointly optimizes neural network architectures and custom ASIC hardware designs for multi-task workloads. By utilizing pre-defined hardware "templates" and a reinforcement learning (RL) controller, it achieves significant reductions in latency, energy, and area (up to 2.49× energy efficiency) compared to traditional sequential design methods, all while maintaining high accuracy.
Introduction
As AI moves to edge devices like AR glasses, the demand for high-performance, low-power execution is skyrocketing. Application-Specific Integrated Circuits (ASICs) are the gold standard for efficiency, but they are notoriously difficult to design. Current Neural Architecture Search (NAS) techniques usually target fixed hardware like GPUs or FPGAs. When researchers try to combine NAS with ASIC design, they hit two major walls: an explosive design space and multi-task complexity. Real-world devices often run multiple models simultaneously (e.g., image classification and segmentation), and hardware optimized for one may be inefficient for another. The NASAIC framework aims to bridge this gap by "co-exploring" the neural architecture and the underlying heterogeneous ASIC hardware simultaneously.
Methodology
The NASAIC (Neural Architecture and ASIC Co-exploration) framework relies on several key innovations to manage the vast design space:
- ASIC Templates: To make the hardware search space manageable, the framework uses "templates" based on successful existing designs like Shidiannao, NVDLA, and Eyeriss. Each template has a fixed dataflow style, allowing the search to focus on resource allocation (Processing Elements and bandwidth).
- Heterogeneous Sub-Accelerators: NASAIC builds a single chip composed of multiple "sub-accelerators." Each sub-accelerator can use a different template optimized for a specific type of neural network (e.g., NVDLA for ResNets, Shidiannao for U-Nets).
- RL-Based Controller: A Recurrent Neural Network (RNN) acts as a controller to simultaneously predict DNN hyperparameters (filter numbers, skip layers) and hardware parameters (template selection, resource allocation).
- Early Pruning: An "Optimizer Selector" quickly discards architecture-hardware pairs that violate design specifications (latency, energy, or area) before the time-consuming training phase.
Evaluation and Results
The framework was evaluated using synthesized workloads targeting common edge AI tasks, such as image classification (CIFAR-10) and image segmentation (Nuclei).
The experimental results demonstrate that NASAIC significantly outperforms traditional "successive" design approaches. Compared to sequential NAS and ASIC design, NASAIC achieved a 17.77% reduction in latency, a 2.49× reduction in energy, and a 2.32× reduction in area, with a negligible average accuracy loss of only 0.76%. Furthermore, when compared to standard hardware-aware NAS (which keeps the ASIC design fixed), NASAIC achieved 3.65% higher accuracy by adjusting the hardware to better suit the evolving neural architecture.
Discussion and Conclusion
A key insight from this research is the confirmation that specific hardware dataflows favor specific network structures. For instance, NVDLA-style hardware handles layers with many channels well, while Shidiannao-style hardware excels at high-resolution layers typical of U-Nets.
The failure of sequential design highlights the necessity of joint exploration to find the true Pareto optimal front. By allowing for hardware heterogeneity, NASAIC can handle multi-task workloads much more efficiently than a single "one-size-fits-all" accelerator. Future work may expand this approach to include on-chip memory sizing and more complex multi-task reward functions.
Summary updated