Skip to main content
QUICK REVIEW

[Paper Review] EDD: Efficient Differentiable DNN Architecture and Implementation Co-search for Embedded AI Solutions

Yuhong Li, Cong Hao|arXiv (Cornell University)|May 6, 2020
Advanced Neural Network ApplicationsComputer Science22 references9 citations
TL;DR

This paper proposes EDD, a differentiable, joint search framework for optimizing deep neural network (DNN) architecture and hardware implementation simultaneously. By fusing DNN search variables and hardware parameters into a unified, differentiable space, EDD enables gradient-based optimization, achieving state-of-the-art performance: 1.40× faster inference on GPU and 1.45× higher throughput on FPGA compared to prior NAS methods.

ABSTRACT

High quality AI solutions require joint optimization of AI algorithms and their hardware implementations. In this work, we are the first to propose a fully simultaneous, efficient differentiable DNN architecture and implementation co-search (EDD) methodology. We formulate the co-search problem by fusing DNN search variables and hardware implementation variables into one solution space, and maximize both algorithm accuracy and hardware implementation quality. The formulation is differentiable with respect to the fused variables, so that gradient descent algorithm can be applied to greatly reduce the search time. The formulation is also applicable for various devices with different objectives. In the experiments, we demonstrate the effectiveness of our EDD methodology by searching for three representative DNNs, targeting low-latency GPU implementation and FPGA implementations with both recursive and pipelined architectures. Each model produced by EDD achieves similar accuracy as the best existing DNN models searched by neural architecture search (NAS) methods on ImageNet, but with superior performance obtained within 12 GPU-hour searches. Our DNN targeting GPU is 1.40x faster than the state-of-the-art solution reported in Proxyless, and our DNN targeting FPGA delivers 1.45x higher throughput than the state-of-the-art solution reported in DNNBuilder.

Motivation & Objective

  • Address the gap in existing NAS methods that treat hardware implementation as a fixed or estimated component during search.
  • Enable simultaneous optimization of DNN accuracy and hardware performance (latency, throughput, energy) across diverse platforms.
  • Develop a unified, differentiable formulation that integrates DNN architecture and implementation variables into a single search space.
  • Achieve high-performance AI solutions with minimal search cost, targeting low-latency GPU and FPGA accelerators.
  • Demonstrate generalization across different hardware platforms, including GPUs, recursive, and pipelined FPGA architectures.

Proposed method

  • Formulate the co-search problem by merging DNN architecture variables (e.g., filter size, channel expansion) and hardware implementation variables (e.g., precision, tiling, pipelining) into a single, unified solution space.
  • Define a composite objective function that jointly optimizes DNN accuracy (via cross-entropy loss) and hardware performance (via latency/throughput loss), with differentiable components.
  • Use differentiable operations such as Gumbel-Softmax or differentiable architecture weights to enable gradient-based optimization over the fused search space.
  • Apply stochastic gradient descent (SGD) to jointly update both DNN architecture and implementation parameters, enabling efficient, end-to-end training.
  • Support multiple precision formats (e.g., 4-, 8-, 16-, 32-bit) and hardware-specific optimizations (e.g., kernel fusion, loop tiling, resource sharing) within the differentiable framework.
  • Validate the method on three platforms: GPU (low-latency), recursive FPGA, and pipelined FPGA, with search conducted in under 12 GPU-hours.

Experimental results

Research questions

  • RQ1Can a fully differentiable, joint search framework simultaneously optimize DNN architecture and hardware implementation for improved accuracy and performance?
  • RQ2How does co-searching DNN architecture and hardware implementation affect inference latency and throughput compared to separate NAS and implementation flows?
  • RQ3To what extent can the proposed differentiable formulation generalize across diverse hardware platforms such as GPUs and FPGAs with different architectural constraints?
  • RQ4Can the method discover DNNs that achieve comparable accuracy to state-of-the-art NAS models while significantly outperforming them in hardware efficiency?
  • RQ5How does the inclusion of hardware-aware constraints (e.g., precision, resource sharing, pipelining) in the search space impact the final model’s performance and efficiency?

Key findings

  • EDD-Net-1, the GPU-targeted model, achieves 11.17 ms inference latency on Titan RTX, which is 1.40× faster than the Proxyless-GPU model.
  • On the 1080 Ti GPU, EDD-Net-1 maintains high accuracy while reducing latency by 1.6× compared to MNasNet and 2.0× compared to FBNet-C.
  • EDD-Net-2, targeting a recursive FPGA accelerator, achieves 7.96 ms latency on Xilinx ZCU102, outperforming ProxylessNet (1.37× faster), FBNet (1.53× faster), and MNasNet (1.1× faster).
  • EDD-Net-3, targeting a pipelined FPGA accelerator on ZC706 with 900 DSPs, delivers 1.45× higher throughput than the DNNBuilder baseline under 16-bit fixed-point precision.
  • All EDD models achieve ImageNet top-1 accuracy comparable to state-of-the-art NAS models, while significantly improving hardware efficiency.
  • The entire co-search process is completed within 12 GPU-hours, demonstrating high efficiency compared to conventional NAS and implementation workflows.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.