DNN+NeuroSim V2.0: An End-to-End Benchmarking Framework for Compute-in-Memory Accelerators for On-chip Training

Xiaochen Peng, Shanshi Huang, Hongwu Jiang, Anni Lu, Shimeng Yu
3/13/2020
277 citations
cs.ETcs.LG

Official code: neurosim/DNN_NeuroSim_V2.0 (54 stars, C++, last commit 2021-06-01).

Abstract

DNN+NeuroSim is an integrated framework to benchmark compute-in-memory (CIM) accelerators for deep neural networks, with hierarchical design options from device-level, to circuit-level and up to algorithm-level. A python wrapper is developed to interface NeuroSim with a popular machine learning platform: Pytorch, to support flexible network structures.

Show full abstract

The framework provides automatic algorithm-to-hardware mapping, and evaluates chip-level area, energy efficiency and throughput for training or inference, as well as training/inference accuracy with hardware constraints. Our prior work (DNN+NeuroSim V1.1) was developed to estimate the impact of reliability in synaptic devices, and analog-to-digital converter (ADC) quantization loss on the accuracy and hardware performance of inference engines. In this work, we further investigated the impact of the analog emerging non-volatile memory non-ideal device properties for on-chip training. By introducing the nonlinearity, asymmetry, device-to-device and cycle-to-cycle variation of weight update into the python wrapper, and peripheral circuits for error/weight gradient computation in NeuroSim core, we benchmarked CIM accelerators based on state-of-the-art SRAM and eNVM devices for VGG-8 on CIFAR-10 dataset, revealing the crucial specs of synaptic devices for on-chip training. The proposed DNN+NeuroSim V2.0 framework is available on GitHub.

View on arXivView PDF

Code Implementations(1)

Benchmark framework of compute-in-memory based accelerators for deep neural network (on-chip training chip focused)

5419C++, HTMLMar 12, 20205 years ago
benchmarking-frameworkchip-trainingdnn-neurosimmemory-acceleratorsxiaochen-peng

Similar Papers

Cite this paper

@article{peng2020dnnneurosim,
  title  = {DNN+NeuroSim V2.0: An End-to-End Benchmarking Framework for Compute-in-Memory Accelerators for On-chip Training},
  author = {Xiaochen Peng and Shanshi Huang and Hongwu Jiang and Anni Lu and Shimeng Yu},
  year   = {2020},
  eprint = {2003.06471},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.06471}
}

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

Discussion