EcoFlow: Efficient Convolutional Dataflows for Low-Power Neural Network Accelerators

Lois Orosa, Skanda Koppula, Yaman Umuroglu, Konstantinos Kanellopoulos, Juan Gomez-Luna +3 more
2/4/2022
cs.LGcs.AR

Official code: CMU-SAFARI/sasiml (9 stars, Python, MIT, last commit 2023-07-31).

Abstract

Dilated and transposed convolutions are widely used in modern convolutional neural networks (CNNs). These kernels are used extensively during CNN training and inference of applications such as image segmentation and high-resolution image generation.

Show full abstract

Although these kernels have grown in popularity, they stress current compute systems due to their high memory intensity, exascale compute demands, and large energy consumption. We find that commonly-used low-power CNN inference accelerators based on spatial architectures are not optimized for both of these convolutional kernels. Dilated and transposed convolutions introduce significant zero padding when mapped to the underlying spatial architecture, significantly degrading performance and energy efficiency. Existing approaches that address this issue require significant design changes to the otherwise simple, efficient, and well-adopted architectures used to compute direct convolutions. To address this challenge, we propose EcoFlow, a new set of dataflows and mapping algorithms for dilated and transposed convolutions. These algorithms are tailored to execute efficiently on existing low-cost, small-scale spatial architectures and requires minimal changes to the network-on-chip of existing accelerators. EcoFlow eliminates zero padding through careful dataflow orchestration and data mapping tailored to the spatial architecture. EcoFlow enables flexible and high-performance transpose and dilated convolutions on architectures that are otherwise optimized for CNN inference. We evaluate the efficiency of EcoFlow on CNN training workloads and Generative Adversarial Network (GAN) training workloads. Experiments in our new cycle-accurate simulator show that EcoFlow 1) reduces end-to-end CNN training time between 7-85%, and 2) improves end-to-end GAN training performance between 29-42%, compared to state-of-the-art CNN inference accelerators.

View on arXivView PDF

Code Implementations(1)

CMU-SAFARI/sasimlOfficial100%
MIT

An extensible and fully programable cycle-accurate Spatial Architecture simulator for Machine Learning Workloads. Described in detail in the IEEE TC 2023 paper by Orosa et al. at https://arxiv.org/abs/2202.02310

92PythonFeb 22, 20223 years agoMIT

Similar Papers

Cite this paper

@article{orosa2022ecoflow,
  title  = {EcoFlow: Efficient Convolutional Dataflows for Low-Power Neural Network Accelerators},
  author = {Lois Orosa and Skanda Koppula and Yaman Umuroglu and Konstantinos Kanellopoulos and Juan Gomez-Luna and Michaela Blott and Kees Vissers and Onur Mutlu},
  year   = {2022},
  eprint = {2202.02310},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.02310}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.02310.svg)](https://codeofpaper.com/paper/2202.02310)

Discussion