[Paper Review] DNA: Differentiable Network-Accelerator Co-Search
DNA proposes a differentiable network-accelerator co-search framework that jointly optimizes DNN architectures and accelerator micro-architectures for maximum accuracy and hardware efficiency. By integrating a generic accelerator design space and a differentiable accelerator search engine, DNA achieves up to 3.04× higher FPS with 5.46% higher ImageNet accuracy than SOTA, while reducing search time by up to 1234.3×.
Powerful yet complex deep neural networks (DNNs) have fueled a booming demand for efficient DNN solutions to bring DNN-powered intelligence into numerous applications. Jointly optimizing the networks and their accelerators are promising in providing optimal performance. However, the great potential of such solutions have yet to be unleashed due to the challenge of simultaneously exploring the vast and entangled, yet different design spaces of the networks and their accelerators. To this end, we propose DNA, a Differentiable Network-Accelerator co-search framework for automatically searching for matched networks and accelerators to maximize both the task accuracy and acceleration efficiency. Specifically, DNA integrates two enablers: (1) a generic design space for DNN accelerators that is applicable to both FPGA- and ASIC-based DNN accelerators and compatible with DNN frameworks such as PyTorch to enable algorithmic exploration for more efficient DNNs and their accelerators; and (2) a joint DNN network and accelerator co-search algorithm that enables simultaneously searching for optimal DNN structures and their accelerators' micro-architectures and mapping methods to maximize both the task accuracy and acceleration efficiency. Experiments and ablation studies based on FPGA measurements and ASIC synthesis show that the matched networks and accelerators generated by DNA consistently outperform state-of-the-art (SOTA) DNNs and DNN accelerators (e.g., 3.04x better FPS with a 5.46% higher accuracy on ImageNet), while requiring notably reduced search time (up to 1234.3x) over SOTA co-exploration methods, when evaluated over ten SOTA baselines on three datasets. All codes will be released upon acceptance.
Motivation & Objective
- To address the challenge of jointly optimizing DNNs and their accelerators in a vast, entangled design space.
- To overcome the limitations of non-differentiable hardware costs and sparse optima in co-optimization.
- To develop a scalable, generic accelerator search space compatible with both FPGA- and ASIC-based accelerators.
- To enable efficient, gradient-based exploration of DNN and accelerator co-design through differentiable search.
- To reduce search time while outperforming expert-designed and tool-generated SOTA accelerators in accuracy and throughput.
Proposed method
- Introduces a Generic DNN Accelerator Design Space (GADS) applicable to both FPGA- and ASIC-based accelerators, enabling algorithmic exploration of micro-architectures and mapping methods.
- Develops Differentiable Accelerator Search (DAS), a gradient-based search engine that navigates large, discrete accelerator design spaces more efficiently than RL-based methods.
- Employs a joint differentiable co-search algorithm that simultaneously optimizes DNN structure and accelerator configuration for accuracy and hardware efficiency.
- Uses differentiable operations to enable backpropagation through discrete architectural choices, allowing end-to-end optimization of both network and accelerator.
- Supports integration with PyTorch and enables hardware-aware neural architecture search via differentiable search over accelerator parameters.
- Employs FPGA measurements and ASIC synthesis for validation, with search space sampling and ablation studies to evaluate performance.
Experimental results
Research questions
- RQ1Can a differentiable co-search framework jointly optimize DNN architectures and accelerator micro-architectures to maximize both accuracy and hardware efficiency?
- RQ2How does the proposed Differentiable Accelerator Search (DAS) engine compare to RL-based or random search in navigating large, discrete accelerator design spaces?
- RQ3To what extent can a generic accelerator design space (GADS) enable scalable, hardware-agnostic co-design of DNNs and accelerators?
- RQ4How does DNA’s co-optimization strategy reduce search time while outperforming SOTA methods in accuracy and throughput?
- RQ5What architectural patterns emerge in DNA-generated networks and accelerators, and how do they contribute to efficiency and accuracy?
Key findings
- DNA-generated networks and accelerators achieve 75.6% top-1 accuracy on ImageNet with 42 FPS on a ZC706 FPGA, outperforming SOTA DNNs and accelerators.
- DNA improves throughput by up to 3.04× and accuracy by 5.46% compared to SOTA on ImageNet, while reducing search time by up to 1234.3×.
- The DAS engine outperforms SOTA accelerators by up to 2.12× in throughput on VGG16 under the same FPGA and precision constraints.
- DNA-generated accelerators use a chunk-based pipelined architecture that adapts to layer-specific dimensions, with early layers parallelizing spatial dimensions and deeper layers using channel-level parallelism.
- The co-search framework discovers networks that favor wider, skip-connected architectures, trading depth for width to improve both accuracy and hardware efficiency.
- Ablation studies confirm that DAS significantly outperforms random search and RL-based methods in both search efficiency and final performance.
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.