[Paper Review] DNN Dataflow Choice Is Overrated.
This paper challenges the assumption that dataflow choice is critical in DNN accelerator design, showing that Halide's scheduling language can express all major DNN accelerators. By optimizing blocking and memory hierarchy instead of dataflow, the authors achieve up to 4.2X energy improvement over Eyeriss, with 2.6X savings from register file reduction and 25% more from an additional memory level.
Many DNN accelerators have been proposed and built using different microarchitectures and program mappings. To fairly compare these different approaches, we modified the Halide compiler to produce hardware as well as CPU and GPU code, and show that Halide's existing scheduling language has enough power to represent all existing dense DNN accelerators. Using this system we can show that the specific dataflow chosen for the accelerator is not critical to achieve good efficiency: many different dataflows yield similar energy efficiency with good performance. However, finding the best blocking and resource allocation is critical, and we achieve a 2.6X energy savings over Eyeriss system by reducing the size of the local register file. Adding an additional level in the memory hierarchy saves an additional 25%. Based on these observations, we develop an optimizer that automatically finds the optimal blocking and storage hierarchy. Compared with Eyeriss system, it achieves up to 4.2X energy improvement for Convolutional Neural Networks (CNNs), 1.6X and 1.8X improvement for Long Short-Term Memories (LSTMs) and multi-layer perceptrons (MLPs) respectively.
Motivation & Objective
- To investigate whether dataflow choice significantly impacts energy efficiency in DNN accelerators.
- To evaluate the role of scheduling and memory hierarchy in achieving high performance and low energy consumption.
- To develop an automated optimizer that finds optimal blocking and storage hierarchy for DNN workloads.
- To compare the proposed approach against existing accelerators like Eyeriss in terms of energy efficiency and performance.
Proposed method
- Extended the Halide compiler to generate hardware, CPU, and GPU code for fair comparison across platforms.
- Used Halide's scheduling language to express and evaluate all existing dense DNN accelerators.
- Systematically explored blocking parameters and resource allocation to minimize energy consumption.
- Introduced an additional memory hierarchy level to reduce off-chip memory access.
- Automated the search for optimal blocking and storage configurations using a custom optimizer.
- Measured performance and energy efficiency across CNNs, LSTMs, and MLPs on the generated hardware.
Experimental results
Research questions
- RQ1Does the choice of dataflow architecture significantly affect energy efficiency in DNN accelerators?
- RQ2Can Halide’s scheduling language express all known DNN accelerator microarchitectures?
- RQ3How critical is blocking and memory hierarchy design compared to dataflow selection for energy efficiency?
- RQ4What is the impact of reducing local register file size on energy consumption?
- RQ5Can an automated optimizer outperform hand-tuned designs like Eyeriss in energy efficiency?
Key findings
- Dataflow choice has minimal impact on energy efficiency; many different dataflows achieve similar performance and efficiency.
- Reducing the local register file size alone yields a 2.6X energy improvement over the Eyeriss system.
- Adding an additional memory hierarchy level provides an additional 25% energy reduction.
- The proposed optimizer achieves up to 4.2X energy improvement for Convolutional Neural Networks (CNNs) compared to Eyeriss.
- For LSTMs and multi-layer perceptrons (MLPs), the method achieves 1.6X and 1.8X energy improvements, respectively.
- Halide’s scheduling language is expressive enough to represent all existing dense DNN accelerators, enabling fair and systematic evaluation.
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.