r/ComputerEngineering • Performance Architect • Sep 20 '19

Computer Architecture Highlights: Week 10

Hi all! I'm an architecture PhD student, and I wanted to start posting a brief summary of an influential research paper (either old or new) every week! Here's a data-flow CNN accelerator with over 800 citations!

Title: Eyeriss: A Spatial Architecture for Energy-Efficient Dataflow for Convolutional Neural Networks

Conference: ISCA 2016

Paper Link: Link

Background: Parallelization and vectorization of convolutional neural networks (CNNs) can be used to improve throughput, but energy consumption can still remain high. As mentioned in the fused-layer CNN accelerator paper in a previous post, CNNs have a lot of opportunities for on-chip data re-use, which has been exploited to dramatically decrease the amount of off-chip traffic. Data-movement is expensive, but we also don't want an energy-optimization to affect accuracy.

Solution: The authors start by detailing the architecture of modern CNNs (some of which have over 1000 convolutional layers!) and show 3 reuse patterns in of CNNs (convolutional, image, and filter reuse). They further discuss 3 existing dataflows for CNNs (weight stationary, output stationary, and no local reuse), their operation, as well as their limitations in terms of energy efficiency. The authors next introduce their energy efficient dataflow called Row Stationary, that optimizes overall energy efficiency rather than for a single aspect of convolution (e.g. just weights).

From the ground up, they built up their architecture from convolution in a single processing element (PE), to the entire PE array. In a single PE, they show how the filter and partial sums can be cached in the register file, with the image input shifting out gradually over time (exploiting the fact that many of the same image pixels are used for multiple convolutions, so we don't need to get rid of every image element). They further show how filter rows are reused across PEs, partial sums are collected together vertically across the PE array, and how image rows are re-used diagonally. Furthermore, they show that they not only exploit reuse for on a single, but across multiple image inputs as well!

Major Impact: This paper has over 800 citations, and brought some great insight into the opportunities that data-oriented design has in hardware. Energy efficiency is critical, especially when you're talking about CNNs that run for weeks or months in giant data centers. In the evaluation of their architecture, the authors show how Row Stationary has 1.4x - 2.5x lower energy than other dataflows. Furthermore, they verified the results in a fabricated CNN processor chip (pretty good way to justify results if you ask me)!

That's all for this week! Check out the paper linked above for more details on CNNs, reuse patterns, and the natural fit of dataflow architectures for machine learning applications! Have a nice start to the weekend!

--Nick

Last Week's: Link

My YouTube: Link

My GitHub: Link

26 Upvotes

6 comments sorted by

3

u/aedrax Sep 21 '19

This is awesome, thanks for posting! You just gained a subscriber

1

u/EngrToday Performance Architect Sep 30 '19

No problem! glad you are enjoying them!

3

u/PlayboySkeleton Sep 21 '19

Seriously man. These are great! I have read every one.

1

u/EngrToday Performance Architect Sep 30 '19

Glad you think so! I have fun writing them!

2

u/Priyal101 Sep 28 '19

Do one about spectre and meltdown

2

u/EngrToday Performance Architect Sep 30 '19

Sure!