Best of Both Worlds: AutoML Codesign of a CNN and its Hardware Accelerator
Authors:
- 1 July 2020
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
Abstract
Neural architecture search (NAS) has been very successful at outperforming human-designed convolutional neural networks (CNN) in accuracy, and when hardware information is present, latency as well. However, NAS-designed CNNs typically have a complicated topology, therefore, it may be difficult to design a custom hardware (HW) accelerator for such CNNs. We automate HW-CNN codesign using NAS by including parameters from both the CNN model and the HW accelerator, and we jointly search for the best model-accelerator pair that boosts accuracy and efficiency. We call this Codesign-NAS. In this paper we focus on defining the Codesign-NAS multiobjective optimization problem, demonstrating its effectiveness, and exploring different ways of navigating the codesign search space. For CIFAR-10 image classification, we enumerate close to 4 billion model-accelerator pairs, and find the Pareto frontier within that large search space. This allows us to evaluate three different reinforcement-learning-based search strategies. Finally, compared to ResNet on its most optimal HW accelerator from within our HW design space, we improve on CIFAR-100 classification accuracy by 1.3% while simultaneously increasing performance/area by 41% in just ~1000 GPU-hours of running Codesign-NAS.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- ShrinkML: End-to-End ASR Model Compression Using Reinforcement Learning2019
- FPGA/DNN Co-Design2019
- MnasNet: Platform-Aware Neural Architecture Search for Mobile2019
- Eyeriss v2: A Flexible Accelerator for Emerging Deep Neural Networks on Mobile DevicesIEEE Journal on Emerging and Selected Topics in Circuits and Systems, 2019
- DLA: Compiler and FPGA Overlay for Neural Network Inference Acceleration2018
- A Configurable Cloud-Scale DNN Processor for Real-Time AI2018
- In-Datacenter Performance Analysis of a Tensor Processing Unit2017
- Deep Residual Learning for Image Recognition2016
- Design tradeoffs for hard and soft FPGA-based Networks-on-Chip2012