Skip to main content
QUICK REVIEW

[Paper Review] HERALD: Optimizing Heterogeneous DNN Accelerators for Edge Devices.

Hyoukjun Kwon, Liangzhen Lai|arXiv (Cornell University)|Sep 13, 2019
Advanced Neural Network ApplicationsComputer Science33 references13 citations
TL;DR

HERALD is a co-optimization framework for heterogeneous DNN accelerators (HDAs) that jointly determines hardware partitioning and layer scheduling to minimize energy-delay product (EDP). By exploiting the dependence graph structure of DNN layers, it reduces optimization complexity and achieves 56.0% average EDP improvement over monolithic accelerators across diverse workloads and accelerator configurations.

ABSTRACT

New real time applications such as virtual reality (VR) with multiple sub-tasks (e.g., image segmentation, hand tracking, etc.) based on deep neural networks (DNNs) are emerging. Such applications rely on multiple DNNs for each sub-task with heterogeneity and require to meet target processing rates for each sub-task. Thus, the new compound DNN workload imposes new challenges to accelerator designs in two folds: (1) meeting target processing rate for each DNN for sub-tasks and (2) efficiently processing heterogeneous layers. As a solution, we explore heterogeneous DNN accelerators (HDAs). HDAs consist of multiple accelerator substrates (i.e., sub-accelerators) to support model parallelism that implements different mapping styles to provide adaptivity to heterogeneous DNN layers. However, HDA's performance and energy heavily depend on (1) how we partition hardware resources for sub-accelerators, and (2) how we schedule layers on the sub-accelerators. Therefore, we propose an HDA optimization framework, Herald, which performs co-optimization of hardware partitioning and layer schedluing. Herald exploits the simplicity of dependence graph of DNN layers to reduce the complexity of the problem, which on average requires 9.48 ms per layer on a laptop with i9-9880H processor and 16GB memory. Herald can be utilized both in design time to perform co-optimization (optimizer) and in compile time to perform layer scheduling and report expected latency and energy (cost model/scheduler). In our case studies, co-optimized HDAs with the best EDP Herald identified provided 56.0% EDP improvements with 46.82% latency and 6.3% energy benefits on average across workloads and accelerators we evaluate compared to the best monolithic accelerators for each evaluation setting by deploying two complementary-style sub-accelerators in an HDA.

Motivation & Objective

  • Address the challenge of meeting target processing rates for multiple heterogeneous DNNs in real-time edge applications like VR with sub-tasks.
  • Overcome the performance and energy inefficiency of monolithic accelerators when handling heterogeneous DNN layers.
  • Co-optimize hardware resource partitioning and layer scheduling in heterogeneous DNN accelerators (HDAs) to improve energy-delay product (EDP).
  • Enable efficient compilation-time scheduling and latency/energy estimation via a lightweight cost model.

Proposed method

  • Propose a co-optimization framework, HERALD, that jointly determines sub-accelerator resource allocation and layer scheduling for HDAs.
  • Leverage the simplicity of DNN layer dependence graphs to reduce the computational complexity of the optimization problem.
  • Implement a design-time optimizer to co-optimize hardware partitioning and scheduling for minimal EDP.
  • Develop a compile-time cost model and scheduler that predict latency and energy based on HERALD's co-optimized configurations.
  • Use a laptop-based prototype to evaluate optimization overhead, achieving 9.48 ms per layer on average.

Experimental results

Research questions

  • RQ1How can hardware partitioning and layer scheduling be co-optimized to minimize EDP in heterogeneous DNN accelerators for edge devices?
  • RQ2What is the impact of using complementary-style sub-accelerators on performance and energy efficiency compared to monolithic designs?
  • RQ3How efficiently can the optimization framework scale across diverse DNN workloads and accelerator configurations?
  • RQ4What is the computational overhead of the co-optimization process in terms of time and resource usage?

Key findings

  • HERALD reduces the average EDP by 56.0% compared to the best monolithic accelerators across evaluated workloads and configurations.
  • The co-optimized HDAs achieve a 46.82% reduction in average latency and a 6.3% reduction in average energy consumption.
  • The optimization process requires only 9.48 ms per layer on average on a standard laptop, making it practical for design-time use.
  • The framework enables accurate compile-time prediction of latency and energy via its cost model and scheduler.
  • The use of two complementary-style sub-accelerators in HDAs significantly improves adaptability and efficiency for heterogeneous DNN layers.

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.