[Paper Review] Co-Design of Deep Neural Nets and Neural Net Accelerators for Embedded Vision Applications
This paper presents a co-design methodology for deep neural networks (DNNs) and neural network accelerators tailored for embedded vision applications, achieving up to 6.3× speedup and 2.25× energy reduction by jointly optimizing DNN architecture (SqueezeNext) and accelerator microarchitecture (Squeezelerator). The approach leverages dataflow-aware DNN design and hardware-aware layer reorganization to maximize hardware utilization and minimize memory access overhead.
Deep Learning is arguably the most rapidly evolving research area in recent years. As a result it is not surprising that the design of state-of-the-art deep neural net models proceeds without much consideration of the latest hardware targets, and the design of neural net accelerators proceeds without much consideration of the characteristics of the latest deep neural net models. Nevertheless, in this paper we show that there are significant improvements available if deep neural net models and neural net accelerators are co-designed.
Motivation & Objective
- To address the growing disconnect between state-of-the-art DNN models and neural net accelerator designs, which are often evaluated in isolation.
- To demonstrate that co-designing DNNs and accelerators can yield significant performance, energy, and accuracy improvements in embedded vision workloads.
- To develop a systematic approach that integrates hardware constraints into DNN architecture design and vice versa.
- To create a specialized accelerator (Squeezelerator) that supports multiple dataflows (weight-stationary and output-stationary) for optimal layer-level performance.
- To design a new DNN family (SqueezeNext) that is explicitly optimized for the Squeezelerator's microarchitectural characteristics.
Proposed method
- Co-design of DNNs and accelerators using a feedback loop between architectural simulation and DNN design, focusing on hardware utilization and memory access patterns.
- Design of the Squeezelerator accelerator with support for both weight-stationary and output-stationary dataflows on a per-layer basis, enabling dynamic adaptation to layer characteristics.
- Optimization of SqueezeNet v1.0 into SqueezeNext by reducing initial layer filter size from 7×7 to 5×5 and reorganizing layer distribution to improve hardware utilization.
- Reduction of early-layer channel counts and redistribution of layers to later stages with higher MACs/cycle to improve PE utilization and hide memory latency.
- Fine-tuning of the Squeezelerator by doubling the register file size from 8 to 16 to enhance local data reuse and reduce off-chip memory access.
- Evaluation of performance, energy, and accuracy across multiple DNNs (SqueezeNet, Tiny Darknet, MobileNet, SqueezeNext) on the Squeezelerator and reference architectures.
Experimental results
Research questions
- RQ1Can co-designing DNNs and accelerators yield measurable improvements in inference speed and energy efficiency for embedded vision applications?
- RQ2How do hardware utilization patterns in DNN layers influence accelerator design choices, particularly for small, efficient models?
- RQ3To what extent can DNN architecture modifications—such as filter size and layer distribution—improve accelerator efficiency without sacrificing accuracy?
- RQ4Can a single accelerator support multiple dataflows (e.g., weight-stationary and output-stationary) per layer to adapt to varying layer characteristics?
- RQ5What is the impact of register file size and data reuse optimization on overall system performance and energy consumption?
Key findings
- The Squeezelerator accelerator achieves 1.1× to 6.35× speedup over single-dataflow accelerators on popular DNNs, with improved hardware utilization across diverse layer types.
- SqueezeNext, co-designed for the Squeezelerator, achieves 2.59× faster inference and 2.25× better energy efficiency than SqueezeNet v1.0, with improved top-1 accuracy (59.2% vs. 57.1%).
- The co-design approach results in 8.26× faster inference and 7.5× lower energy consumption compared to AlexNet, despite maintaining or improving accuracy.
- Reducing the first-layer filter size from 7×7 to 5×5 and reorganizing layer distribution significantly improved hardware utilization and reduced inference time, especially for large input feature maps.
- Fine-tuning the Squeezelerator with a doubled register file size (from 8 to 16) further enhanced performance, demonstrating the value of iterative co-design.
- The SqueezeNext family offers a favorable trade-off spectrum between accuracy, energy, and inference time, enabling application-specific model selection.
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.