Hadamard product-based in-memory computing design for floating point neural network training
-
Published:2023-02-24
Issue:1
Volume:3
Page:014009
-
ISSN:2634-4386
-
Container-title:Neuromorphic Computing and Engineering
-
language:
-
Short-container-title:Neuromorph. Comput. Eng.
Author:
Fan Anjunyi,
Fu Yihan,
Tao Yaoyu,
Jin Zhonghua,
Han Haiyue,
Liu Huiyu,
Zhang Yaojun,
Yan BonanORCID,
Yang YuchaoORCID,
Huang Ru
Abstract
Abstract
Deep neural networks (DNNs) are one of the key fields of machine learning. It requires considerable computational resources for cognitive tasks. As a novel technology to perform computing inside/near memory units, in-memory computing (IMC) significantly improves computing efficiency by reducing the need for repetitive data transfer between the processing and memory units. However, prior IMC designs mainly focus on the acceleration for DNN inference. DNN training with the IMC hardware has rarely been proposed. The challenges lie in the requirement of DNN training for high precision (e.g. floating point (FP)) and various operations of tensors (e.g. inner and outer products). These challenges call for the IMC design with new features. This paper proposes a novel Hadamard product-based IMC design for FP DNN training. Our design consists of multiple compartments, which are the basic units for the matrix element-wise processing. We also develop BFloat16 post-processing circuits and fused adder trees, laying the foundation for IMC FP processing. Based on the proposed circuit scheme, we reformulate the back-propagation training algorithm for the convenience and efficiency of the IMC execution. The proposed design is implemented with commercial 28 nm technology process design kits and benchmarked with widely used neural networks. We model the influence of the circuit structural design parameters and provide an analysis framework for design space exploration. Our simulation validates that MobileNet training with the proposed IMC scheme saves
91.2
%
in energy and
13.9
%
in time versus the same task with NVIDIA GTX 3060 GPU. The proposed IMC design has a data density of 769.2 Kb mm−2 with the FP processing circuits included, showing a 3.5 × improvement than the prior FP IMC designs.
Funder
PKU-Baidu Fund
The 111 Project
Tencent Foundation through the XPLORER PRIZE
National Natural Science Foundation of China
Fok Ying-Tong Education Foundation
Subject
Psychiatry and Mental health,Neuropsychology and Physiological Psychology
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Editorial: Focus issue on in-memory computing;Neuromorphic Computing and Engineering;2024-07-02