Skip to main content
QUICK REVIEW

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

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

This paper proposes MAESTRO, a data-centric analytical cost model that quantifies reuse, occupancy, and performance tradeoffs in DNN dataflows to guide hardware design space exploration. By encoding dataflow directives into a compiler-friendly format, MAESTRO enables efficient exploration of 480M designs, identifying 2.5M valid configurations at 0.17M designs/second, including Pareto-optimal throughput- and energy-efficient points.

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 systematic understanding and tools for exploring dataflow choices in DNN accelerator design.
  • To define a compiler-friendly formalism for specifying DNN dataflows using data-centric directives.
  • To model the performance and energy efficiency tradeoffs of dataflows based on spatio-temporal reuse and hardware occupancy.
  • To enable scalable hardware design space exploration (DSE) across millions of configurations.
  • To identify Pareto-optimal designs balancing throughput and energy efficiency.

Proposed method

  • Define a set of data-centric directives to concisely represent DNN dataflow strategies in a compiler-friendly format.
  • Analyze these directives to infer spatial and temporal reuse patterns in weights, activations, and outputs.
  • Construct an analytical cost model, MAESTRO, that estimates execution time and energy based on reuse and hardware resource occupancy.
  • Formulate cost-benefit tradeoffs using occupancy-driven performance and energy metrics.
  • Integrate MAESTRO into a hardware DSE framework to explore 480M design points efficiently.
  • Use the model to identify valid designs and Pareto-optimal configurations across throughput and energy dimensions.

Experimental results

Research questions

  • RQ1How can DNN dataflows be formally and compactly specified using data-centric directives?
  • RQ2What are the key performance and energy tradeoffs introduced by different dataflow choices in DNN accelerators?
  • RQ3To what extent can analytical modeling of reuse and occupancy predict dataflow efficiency without full simulation?
  • RQ4How efficiently can a dataflow model enable large-scale design space exploration of DNN accelerator configurations?
  • RQ5What are the Pareto-optimal tradeoffs between throughput and energy efficiency in DNN accelerator design?

Key findings

  • MAESTRO enables efficient exploration of 480 million DNN accelerator designs, identifying 2.5 million valid configurations.
  • The framework achieves an average exploration rate of 0.17 million designs per second, enabling scalable DSE.
  • The model successfully identifies Pareto-optimal designs that balance high throughput and low energy consumption.
  • The data-centric directive formalism allows precise specification and analysis of dataflow reuse patterns.
  • Analytical modeling via MAESTRO captures key performance and energy tradeoffs with high accuracy, reducing reliance on expensive simulation.

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.