AUTHOR=Dazzi Martino , Sebastian Abu , Benini Luca , Eleftheriou Evangelos TITLE=Accelerating Inference of Convolutional Neural Networks Using In-memory Computing JOURNAL=Frontiers in Computational Neuroscience VOLUME=15 YEAR=2021 URL=https://www.frontiersin.org/journals/computational-neuroscience/articles/10.3389/fncom.2021.674154 DOI=10.3389/fncom.2021.674154 ISSN=1662-5188 ABSTRACT=

In-memory computing (IMC) is a non-von Neumann paradigm that has recently established itself as a promising approach for energy-efficient, high throughput hardware for deep learning applications. One prominent application of IMC is that of performing matrix-vector multiplication in O(1) time complexity by mapping the synaptic weights of a neural-network layer to the devices of an IMC core. However, because of the significantly different pattern of execution compared to previous computational paradigms, IMC requires a rethinking of the architectural design choices made when designing deep-learning hardware. In this work, we focus on application-specific, IMC hardware for inference of Convolution Neural Networks (CNNs), and provide methodologies for implementing the various architectural components of the IMC core. Specifically, we present methods for mapping synaptic weights and activations on the memory structures and give evidence of the various trade-offs therein, such as the one between on-chip memory requirements and execution latency. Lastly, we show how to employ these methods to implement a pipelined dataflow that offers throughput and latency beyond state-of-the-art for image classification tasks.