Skip to main content
QUICK REVIEW

[Paper Review] Understanding Reuse, Performance, and Hardware Cost of DNN Dataflows: A Data-Centric Approach Using MAESTRO

Hyoukjun Kwon, Prasanth Chatarasi|arXiv (Cornell University)|May 4, 2018
Parallel Computing and Optimization TechniquesComputer Science48 references16 citations
TL;DR

This paper introduces MAESTRO, a data-centric analytical model that quantifies reuse, performance, and hardware cost in DNN dataflows by encoding dataflow specifications via compiler-friendly directives. It enables fast, accurate design-space exploration across 480M configurations, identifying Pareto-optimal throughput- and energy-efficient designs at 0.17M designs/second, with key insights into balanced hardware resource allocation for optimal DNN accelerator performance.

ABSTRACT

The data partitioning and scheduling strategies used by DNN accelerators to leverage reuse and perform staging are known as dataflow, and they directly impact the performance and energy efficiency of DNN accelerator designs. An accelerator microarchitecture dictates the dataflow(s) that can be employed to execute a layer or network. Selecting an optimal dataflow for a layer shape can have a large impact on utilization and energy efficiency, but there is a lack of understanding on the choices and consequences of dataflows, and of tools and methodologies to help architects explore the co-optimization design space. In this work, we first introduce a set of data-centric directives to concisely specify the space of DNN dataflows in a compilerfriendly form. We then show how these directives can be analyzed to infer various forms of reuse and to exploit them using hardware capabilities. We codify this analysis into an analytical cost model, MAESTRO (Modeling Accelerator Efficiency via Spatio-Temporal Reuse and Occupancy), that estimates various cost-benefit tradeoffs of a dataflow including execution time and energy efficiency for a DNN model and hardware configuration. We demonstrate the use of MAESTRO to drive a hardware design space exploration (DSE) experiment, which searches across 480M designs to identify 2.5M valid designs at an average rate of 0.17M designs per second, including Pareto-optimal throughput- and energy-optimized design points.

Motivation & Objective

  • To address the lack of structured, quantitative understanding of DNN dataflow choices and their impact on performance and energy efficiency.
  • To provide a compiler-friendly, data-centric notation for specifying DNN dataflows that captures reuse and scheduling strategies.
  • To develop an analytical cost model (MAESTRO) that estimates execution time, energy efficiency, and hardware cost across diverse dataflow and hardware configurations.
  • To enable scalable, high-throughput design-space exploration (DSE) for DNN accelerators by pruning invalid designs early.
  • To guide the co-optimization of microarchitecture and dataflow by revealing tradeoffs in PE count, buffer size, and NoC bandwidth.

Proposed method

  • Introduce a set of data-centric directives to concisely represent DNN dataflows in a compiler-friendly format, capturing loop tiling, unrolling, and data mapping.
  • Analyze these directives to infer spatio-temporal reuse patterns, including regional and temporal reuse across PEs and on-chip buffers.
  • Develop MAESTRO, an analytical cost model that estimates execution time, energy efficiency, and hardware cost using parameters like PE count, buffer size, and NoC bandwidth.
  • Model communication overhead by accounting for data movement between L1, L2, and NoC, including latency from tile size and network topology.
  • Integrate the model into a DSE framework that prunes invalid designs early, enabling high-speed exploration at 0.17M designs/second.
  • Validate MAESTRO against cycle-accurate simulations and reported runtimes on Eyeriss and MAERI, showing high consistency.

Experimental results

Research questions

  • RQ1How can DNN dataflows be formally and compactly specified using data-centric directives that capture reuse and scheduling?
  • RQ2What are the key performance and energy tradeoffs across different dataflow configurations for a given DNN model and hardware?
  • RQ3How do variations in PE count, buffer size, and NoC bandwidth affect throughput and energy efficiency in DNN accelerators?
  • RQ4Can an analytical model accurately predict performance and cost without cycle-accurate simulation?
  • RQ5What are the optimal hardware configurations for different DNN layers, and how do they differ between early and late layers?

Key findings

  • MAESTRO achieves high accuracy in predicting execution time and energy efficiency, showing strong consistency with cycle-accurate simulations and reported runtimes on Eyeriss and MAERI.
  • The DSE framework based on MAESTRO explores 480M designs and identifies 2.5M valid designs at an average rate of 0.17M designs per second, enabling scalable exploration.
  • Throughput-optimized designs require a balanced allocation of resources across PEs, buffers, and NoC—excess buffer size alone does not improve performance or energy efficiency.
  • Dataflows with high spatial multicast or reduction support incur up to 47% higher energy consumption, indicating significant cost tradeoffs.
  • Early and late layers in DNNs exhibit dramatically different hardware preferences, motivating adaptive and heterogeneous accelerator designs.
  • The model reveals that optimal performance requires co-optimization of PEs, buffers, and NoC—highlighting that resource allocation must be balanced, not dominated by any single component.

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.