VW-SDK: Efficient Convolutional Weight Mapping Using Variable Windows for Processing-In-Memory Architectures

Johnny Rhe, Sungmin Moon, Jong Hwan Ko
12/21/2021
cs.LGcs.NE

Official code: djwhsdj/VW-SDK (3 stars, Jupyter Notebook, last commit 2021-09-18).

Abstract

With their high energy efficiency, processing-in-memory (PIM) arrays are increasingly used for convolutional neural network (CNN) inference. In PIM-based CNN inference, the computational latency and energy are dependent on how the CNN weights are mapped to the PIM array.

Show full abstract

A recent study proposed shifted and duplicated kernel (SDK) mapping that reuses the input feature maps with a unit of a parallel window, which is convolved with duplicated kernels to obtain multiple output elements in parallel. However, the existing SDK-based mapping algorithm does not always result in the minimum computing cycles because it only maps a square-shaped parallel window with the entire channels. In this paper, we introduce a novel mapping algorithm called variable-window SDK (VW-SDK), which adaptively determines the shape of the parallel window that leads to the minimum computing cycles for a given convolutional layer and PIM array. By allowing rectangular-shaped windows with partial channels, VW-SDK utilizes the PIM array more efficiently, thereby further reduces the number of computing cycles. The simulation with a 512x512 PIM array and Resnet-18 shows that VW-SDK improves the inference speed by 1.69x compared to the existing SDK-based algorithm.

View on arXivView PDF

Code Implementations(1)

djwhsdj/VW-SDKOfficial100%

Variable-window SDK

31Jupyter Notebook, PythonMay 27, 20215 years ago

Similar Papers

Cite this paper

@article{rhe2021vwsdk,
  title  = {VW-SDK: Efficient Convolutional Weight Mapping Using Variable Windows for Processing-In-Memory Architectures},
  author = {Johnny Rhe and Sungmin Moon and Jong Hwan Ko},
  year   = {2021},
  eprint = {2112.11282},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.11282}
}

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/2112.11282.svg)](https://codeofpaper.com/paper/2112.11282)

Discussion