EPIM:基于Epitome的高效内存处理加速器
EPIM: Efficient Processing-In-Memory Accelerators based on Epitome
AI总结:
针对PIM加速器片上内存受限问题,提出基于轻量级类卷积神经算子Epitome的EPIM方案,通过软硬件协同优化大幅减小硬件面积,在ImageNet上准确率表现优异,超越现有PIM剪枝方法。
摘要:
大规模神经网络在内存处理(Processing-In-Memory, PIM)加速器上的应用面临片上内存容量受限的挑战。为解决这一问题,现有研究探索模型压缩算法以减小卷积神经网络(Convolutional Neural Networks, CNNs)的规模。这类算法大多要么旨在用尺寸缩减的参数表示神经算子(例如量化),要么搜索神经算子的最优组合(例如神经架构搜索),而设计与PIM加速器规格相匹配的神经算子仍是值得深入研究的方向。本文提出Epitome——一种具备类卷积功能的轻量级神经算子,用于为PIM加速器构建内存高效的CNN算子(即EPIM)。软件层面,我们评估了Epitome在PIM加速器上的延迟与能耗,并提出一种感知PIM的分层设计方法以提升其硬件效率,同时应用感知Epitome的量化进一步减小Epitome的尺寸。硬件层面,我们修改了现有PIM加速器的数据通路以适配Epitome,并实现特征图复用技术以降低计算开销。实验结果表明,我们的3位量化EPIM-ResNet50在ImageNet上达到71.59%的top-1准确率,将交叉阵列面积减小了30.65倍,EPIM的性能优于PIM上的现有最优剪枝方法。
英文摘要:
The utilization of large-scale neural networks on Processing-In-Memory (PIM) accelerators encounters challenges due to constrained on-chip memory capacity. To tackle this issue, current works explore model compression algorithms to reduce the size of Convolutional Neural Networks (CNNs). Most of these algorithms either aim to represent neural operators with reduced-size parameters (e.g., quantization) or search for the best combinations of neural operators (e.g., neural architecture search). Designing neural operators to align with PIM accelerators' specifications is an area that warrants further study. In this paper, we introduce the Epitome, a lightweight neural operator offering convolution-like functionality, to craft memory-efficient CNN operators for PIM accelerators (EPIM). On the software side, we evaluate epitomes' latency and energy on PIM accelerators and introduce a PIM-aware layer-wise design method to enhance their hardware efficiency. We apply epitome-aware quantization to further reduce the size of epitomes. On the hardware side, we modify the datapath of current PIM accelerators to accommodate epitomes and implement a feature map reuse technique to reduce computation cost. Experimental results reveal that our 3-bit quantized EPIM-ResNet50 attains 71.59% top-1 accuracy on ImageNet, reducing crossbar areas by 30.65 times. EPIM surpasses the state-of-the-art pruning methods on PIM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。