非易失性存储器交叉开关架构上二值神经网络的综合基准评测
Comprehensive Benchmarking of Binary Neural Networks on NVM Crossbar Architectures
AI总结:
本文在NeuroSim模拟器上对部署于NVM交叉开关存内计算架构的ImageNet二值神经网络进行综合基准评测,分析输入精度和ADC分辨率对精度与硬件性能的影响,并识别影响面积、延迟和能耗的架构瓶颈。
摘要:
非易失性存储器(NVM)交叉开关已被认为是一种有前景的技术,可用于加速重要的机器学习运算,其中矩阵-向量乘法是一个关键示例。二值神经网络(BNN)由于对激活值和权重都采用低位宽表示,特别适合与NVM交叉开关配合使用。然而,BNN的激进量化可能导致次优精度,而NVM交叉开关的模拟效应会在推理过程中进一步降低精度。本文提出了一项综合研究,对在ImageNet上训练和验证并部署在NeuroSim(一种基于NVM交叉开关的存内计算(PIM)架构模拟器)上的BNN进行基准评测。我们的研究分析了各种参数(如输入精度和ADC分辨率)对推理精度和硬件性能指标的影响。我们发现,与原始BNN相比,8位ADC分辨率和4位输入精度可实现接近最优的精度。此外,我们还识别了PIM架构中影响面积、延迟和能耗的瓶颈组件,并展示了不同BNN层对硬件性能的影响。
英文摘要:
Non-volatile memory (NVM) crossbars have been identified as a promising technology, for accelerating important machine learning operations, with matrix-vector multiplication being a key example. Binary neural networks (BNNs) are especially well-suited for use with NVM crossbars due to their use of a low-bitwidth representation for both activations and weights. However, the aggressive quantization of BNNs can result in suboptimal accuracy, and the analog effects of NVM crossbars can further degrade the accuracy during inference. This paper presents a comprehensive study that benchmarks BNNs trained and validated on ImageNet and deployed on NeuroSim, a simulator for NVM-crossbar-based PIM architecture. Our study analyzes the impact of various parameters, such as input precision and ADC resolution, on both the accuracy of the inference and the hardware performance metrics. We have found that an ADC resolution of 8-bit with an input precision of 4-bit achieves near-optimal accuracy compared to the original BNNs. In addition, we have identified bottleneck components in the PIM architecture that affect area, latency, and energy consumption, and we demonstrate the impact that different BNN layers have on hardware performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。