arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2105.03736cs.LGcs.AIcs.AR
收藏

PIM-DRAM:使用商品DRAM中的处理加速机器学习工作负载

PIM-DRAM: Accelerating Machine Learning Workloads using Processing in Commodity DRAM

School of Electrical and Computer Engineering, Purdue University(普渡大学电气与计算机工程学院)

Sourjya Roy, Mustafa Ali, Anand Raghunathan

摘要:

深度神经网络(DNN)已经改变了机器学习的领域,并且被广泛部署在涉及图像、视频、语音和自然语言处理的许多应用中。DNN日益增长的计算需求已经通过图形处理单元(GPU)和专用加速器得到了广泛的解决。然而,随着模型大小的增长,这些冯·诺依曼架构需要非常高的内存带宽来保持处理元件被利用,因为大部分数据驻留在主内存中。内存中的处理已被提出作为ML工作负载的内存墙瓶颈的一个有前途的解决方案。在这项工作中,我们提出了一种新的基于DRAM的内存处理(PIM)乘法原语,结合内部存储库累积,以加速ML工作负载中的矩阵向量运算。所提出的乘法原语增加了< 1%的面积开销,并且不需要DRAM外围设备的任何改变。因此,所提出的乘法可以很容易地在商品DRAM芯片中采用。随后,我们设计了一个基于DRAM的PIM架构,数据映射方案和在DRAM中执行DNN的流程。在AlexNet、VGG 16和ResNet 18等网络上进行的系统评估表明,所提出的架构、映射和数据流可以在NVIDIA Titan Xp GPU上提供高达19.5倍的加速,这凸显了克服未来几代DNN硬件内存瓶颈的必要性。

英文摘要:

Deep Neural Networks (DNNs) have transformed the field of machine learning and are widely deployed in many applications involving image, video, speech and natural language processing. The increasing compute demands of DNNs have been widely addressed through Graphics Processing Units (GPUs) and specialized accelerators. However, as model sizes grow, these von Neumann architectures require very high memory bandwidth to keep the processing elements utilized as a majority of the data resides in the main memory. Processing in memory has been proposed as a promising solution for the memory wall bottleneck for ML workloads. In this work, we propose a new DRAM-based processing-in-memory (PIM) multiplication primitive coupled with intra-bank accumulation to accelerate matrix vector operations in ML workloads. The proposed multiplication primitive adds < 1% area overhead and does not require any change in the DRAM peripherals. Therefore, the proposed multiplication can be easily adopted in commodity DRAM chips. Subsequently, we design a DRAM-based PIM architecture, data mapping scheme and dataflow for executing DNNs within DRAM. System evaluations performed on networks like AlexNet, VGG16 and ResNet18 show that the proposed architecture, mapping, and data flow can provide up to 19.5x speedup over an NVIDIA Titan Xp GPU highlighting the need to overcome the memory bottleneck in future generations of DNN hardware.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑